.doctor-form-container {
  padding: 1rem;
}

.doctor-form-title {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2.5rem;
}

.form-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.section-header {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-toggle {
  font-size: 1.25rem;
}

.form-label {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.form-control-custom {
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem;
}

.avatar-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.avatar-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #9e9e9e;
}

.file-input-label {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.actions-container {
  margin-top: 1rem;
  text-align: center;
}

.btn-submit {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  margin-right: 1rem;
}

.btn-cancel {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
}


.modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.modal-content {
  background-color: #fff;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  background-color: #1e3a8a;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: #fff;
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}

.modal-body {
  padding: 25px 20px;
}

.modal-message {
  color: #111;
  font-size: 1.1rem;
  margin: 0 0 15px 0;
  font-weight: bold;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 10px;
}

.modal-list-item {
  color: #111;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
}

.modal-confirm-btn {
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .doctor-form-title {
    font-size: 2rem;
  }
  
  .section-header {
    font-size: 1.5rem;
  }
  
  .form-section {
    padding: 1rem;
  }
  
  .avatar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-submit,
  .btn-cancel {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .doctor-form-container { padding: 0.75rem; }
  .doctor-form-title { font-size: 1.75rem; }
  .form-section { padding: 0.75rem; }
  .section-header { font-size: 1.25rem; }
  .form-label { font-size: 1rem; }
  .form-control-custom { font-size: 1rem; }
  .btns-container { display: flex; flex-direction: column; gap: 8px; }
  .btn-submit, .btn-cancel { width: 100%; margin-right: 0; }
}