/* Patient login modal — shared across pages with injected header */
#patientAuthModal.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  z-index: 10000001 !important;
}
#patientAuthModal .dialog {
  width: min(420px, calc(100vw - 28px)) !important;
  max-height: calc(100vh - 40px) !important;
  overflow: auto !important;
  border-radius: 12px !important;
  background: #fff !important;
}
#patientAuthModal .patient-auth-head {
  position: static !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5edf3;
  background: linear-gradient(135deg, #125873 0%, #20d0cd 100%);
  color: #fff;
  border-radius: 12px 12px 0 0;
}
#patientAuthModal .patient-auth-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}
#patientAuthModal .close {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}
#patientAuthModal .modal-body label {
  display: block;
  font-weight: 600;
  color: #13465c;
  margin-bottom: 6px;
  font-size: 13px;
}
#patientAuthModal .modal-body input {
  width: 100%;
  border: 1px solid #c9dbe6;
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 13px;
  box-sizing: border-box;
  background: #fff;
}
#patientAuthModal .modal-body input:focus {
  outline: none;
  border-color: #20d0cd;
  box-shadow: 0 0 0 3px rgba(32, 208, 205, 0.15);
}
#patientAuthModal .modal-body .btn-primary {
  background: #125873;
  border: 0;
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
#patientAuthModal .modal-body .btn {
  border: 1px solid #d7e6ef;
  background: #f7fbfe;
  color: #13465c;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
