
/* Driver drawer */
.driverDrawer :global(.MuiDrawer-paper) {
  width: 500px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow: hidden;
}

/* Input fields */
.driverInput :global(.MuiOutlinedInput-root) {
  background-color: #eaf6ec;
  border-radius: 12px;
}

.driverInput :global(.MuiOutlinedInput-root fieldset) {
  border-color: transparent;
}

.driverInput :global(.MuiOutlinedInput-root:hover fieldset) {
  border-color: #dcefe0;
}

.driverInput :global(.MuiOutlinedInput-root.Mui-focused fieldset) {
  border-color: #15803d;
  border-width: 1px;
}

.driverInput :global(.MuiInputBase-input) {
  font-size: 13px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Drawer header */
.driverHeader {
  padding: 18px 20px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.driverHeaderIcon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: #eaf6ec;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form content */
.driverFormContent {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.driverFormContent::-webkit-scrollbar {
  width: 5px;
}

.driverFormContent::-webkit-scrollbar-thumb {
  background-color: #d5e7d9;
  border-radius: 5px;
}

/* Profile image */
.driverImageSection {
  background-color: #eaf6ec;
  border-radius: 14px;
  padding: 14px;
}

.driverImagePreview {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background-color: #ffffff;
}

.driverUploadButton {
  color: #15803d !important;
  border-color: #b7dcc0 !important;
  border-radius: 10px !important;
  text-transform: none !important;
  background-color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.driverUploadButton:hover {
  border-color: #15803d !important;
  background-color: #f5fbf6 !important;
}

/* Verification */
.driverVerification {
  background-color: #eaf6ec;
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.driverVerificationSwitch
  :global(.MuiSwitch-switchBase.Mui-checked) {
  color: #15803d;
}

.driverVerificationSwitch
  :global(.MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track) {
  background-color: #15803d;
  opacity: 1;
}

.driverVerificationSwitch :global(.MuiSwitch-track) {
  background-color: #9ca3af;
  opacity: 1;
}

.driverVerificationSwitch :global(.MuiSwitch-thumb) {
  box-shadow: none;
}

/* Footer */
.driverFooter {
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
}

.driverCancelButton {
  text-transform: none !important;
  background-color: #eaf6ec !important;
  color: #34443a !important;
  border-radius: 11px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
}

.driverCancelButton:hover {
  background-color: #dcefe0 !important;
}

.driverSubmitButton {
  background-color: #15803d !important;
  color: #ffffff !important;
  text-transform: none !important;
  border-radius: 11px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.driverSubmitButton:hover {
  background-color: #11632f !important;
  box-shadow: none !important;
}

.driverSubmitButton:global(.Mui-disabled) {
  background-color: #a5c9ad !important;
  color: #ffffff !important;
}

/* Responsive layout */
@media (max-width: 600px) {
  .driverDrawer :global(.MuiDrawer-paper) {
    width: 100%;
  }
}
