/* ==========================================
   APPOINTMENT SCHEDULER
========================================== */
#visit-search {
  border: 1.5px solid black !important;
  color: black;
}

.appointment-wrapper {
  /* background:#f3f3f3; */
  background: #4c006d;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center; /* horizontal center */
  text-align: center;
  min-height: 60vh; /* important */
  padding: 60px 0;
}

/* ==========================================
   INTAKE STEP LOADING OVERLAY
========================================== */
.intake-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(28, 0, 40, 0.58);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.intake-loading-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intake-loading-card {
  min-width: 250px;
  padding: 28px 32px;
  border-radius: 14px;
  background: #fff;
  color: #2a0036;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
}

.intake-loading-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border: 4px solid #eadcf0;
  border-top-color: #6c008f;
  border-radius: 50%;
  animation: intake-loading-spin 0.75s linear infinite;
}

.intake-loading-title {
  font-size: 18px;
  font-weight: 700;
}

.intake-loading-message {
  margin-top: 4px;
  color: #606060;
  font-size: 14px;
}

body.intake-is-loading {
  overflow: hidden;
}

@keyframes intake-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-loading-overlay {
    transition: none;
  }

  .intake-loading-spinner {
    animation-duration: 1.5s;
  }
}

.appointment-container {
  width: 80%;
  max-width: 1550px;
  margin: auto;
}

/* ==========================================
   TITLE
========================================== */

.appointment-title {
  font-family: "Lato", sans-serif;
  font-size: 50px;
  font-weight: 600;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

/* ==========================================
   PROGRESS BAR
========================================== */

.progress-wrapper {
  background: #77009c;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 700px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 110px;
}

.circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2a0036;
  transition: 0.3s ease;
}

.step .circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2c0038;
  transition: 0.3s;
}

.step.active .circle {
  width: 16px;
  height: 16px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.step.completed .circle {
  background: #fff;
}

.step p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.step.active p {
  font-weight: 700;
}

.step-line {
  width: 95px;
  height: 1px;
  background: #2a0036;
  margin: 0 12px;
  margin-top: -18px;
}

.step.completed + .step-line {
  background: #fff;
}

/* ==========================================
   BODY
========================================== */

.appointment-body {
  /* background:#eaf2fb; */
  width: 80%;
  border-radius: 18px;
  background: white;
  /* padding:40px 0 80px; */
  /* padding: 1%; */
  min-height: 650px;
}

.content-box {
  width: 50%;
  margin: auto;
}

.question-title {
  margin-top: 1%;
  font-size: 1.5rem;
  line-height: 1.75rem;
  color: #444444;
  margin-bottom: 35px;
  font-weight: 500;
}

/* ==========================================
   STEP VISIBILITY
========================================== */

.appointment-step {
  display: none;
}

.appointment-step.active {
  display: block;
}

/* ==========================================
   APPOINTMENT CARDS
========================================== */

.appointment-card {
  background: #fff;
  border-radius: 18px;
  padding: 3%;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: 0.25s;
  cursor: pointer;
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid #d8e3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c008f;
  font-weight: 700;
  margin-right: 20px;
  flex-shrink: 0;
}

.card-content {
  flex: 1;
}

.card-content h4 {
  font-size: 22px;
  margin-bottom: 5px;
  color: #333;
}

.card-content p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

.card-arrow {
  font-size: 34px;
  color: #444;
}

/* ==========================================
   BACK BUTTON
========================================== */

.back-btn {
  width: 720px;
  margin: 0 auto 20px;
  color: #6c008f;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  margin-top: 1%;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  opacity: 0.8;
}

/* ==========================================
   RADIO OPTION CARDS
========================================== */

.appointment-option-card {
  background: #fff;
  color: black;
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.appointment-option-card:hover {
  transform: translateY(-2px);
}

.option-radio {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #cfd5df;
  margin-right: 15px;
  position: relative;
}

.appointment-option-card.selected .option-radio {
  border-color: #77009c;
}

.appointment-option-card.selected .option-radio::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #77009c;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.option-content {
  font-size: 22px;
  color: #333;
}

/* ==========================================
   LOCATION CARDS
========================================== */

.location-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 30px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
}

.location-card:hover {
  transform: translateY(-2px);
}

.location-card h4 {
  margin: 0;
  font-size: 20px;
}

/* ==========================================
   SCHEDULE
========================================== */

.schedule-box {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.schedule-box .form-control {
  height: 52px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-appointment {
  background: #77009c;
  border: none;
  color: #fff;
  padding: 14px 35px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-appointment:hover {
  background: #620081;
  color: #fff;
}

/* ==========================================
   SUCCESS PAGE
========================================== */

.success-box {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.success-box h2 {
  margin-bottom: 15px;
}

.success-box p {
  color: #666;
}

/* add new css */
.progress-wrapper:has(.step.active[data-step="1"]) {
  display: none;
}
body:has(.step.active[data-step="1"]) .back-btn {
  display: none;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {
  .appointment-title {
    font-size: 48px;
  }

  .content-box,
  .back-btn {
    width: 90%;
  }

  .steps {
    width: 100%;
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .appointment-title {
    font-size: 38px;
  }

  .steps {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px;
  }

  .content-box {
    width: 92%;
  }

  .appointment-card {
    padding: 25px;
  }

  .card-content h4 {
    font-size: 20px;
  }

  .question-title {
    font-size: 24px;
  }

  .appointment-option-card {
    padding: 25px;
  }

  .option-content {
    font-size: 20px;
  }
}

#schedule-box {
  margin-top: 10%;
}

/* location blade start */
.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 48px !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px !important;
  padding-left: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
}

.location-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #ced4da;
  height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #212529;
  line-height: 48px;
  font-weight: 500;
}

.select2-results__option--highlighted {
  background-color: #0d6efd !important;
  color: #fff !important;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  margin-top: 5px;
}

.search-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

.search-item:hover {
  background: #f8f9fa;
}
/* location blade end */
.appointment-card.next-step:hover {
  background-color: #7c00a7;
}

.appointment-card.next-step:hover h4,
.appointment-card.next-step:hover p,
.appointment-card.next-step:hover span,
.appointment-card.next-step:hover .card-icon,
.appointment-option-card:hover,
.appointment-card.next-step:hover .card-content,
.appointment-option-card:hover .option-content,
.appointment-option-card:hover .option-radio {
  color: #fff !important;
}

.appointment-card.next-step:hover .card-arrow i {
  color: #fff !important;
}

.appointment-option-card:hover,
.appointment-card.next-step:hover {
  background-color: #7c00a7;
  color: white;
}

/* location start */
#state-selection-container {
  max-height: 300px; /* adjust height as needed */
  overflow-y: auto; /* enable vertical scroll */
  padding-right: 5px; /* optional: prevent scrollbar overlap */
}

/* Optional: style the scrollbar */
#state-selection-container::-webkit-scrollbar {
  width: 8px;
}

#state-selection-container::-webkit-scrollbar-thumb {
  background-color: #7c00a7;
  border-radius: 4px;
}

#state-selection-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
/* location end */

/* medical information start */
.patient-info-wrapper {
  padding: 20px;
  padding-top: 10px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #24467a;
  text-align: center;
  width: 100%;
}

.patient-card {
  border: 1px solid #e2e6ea;
  border-radius: 20px;
  padding: 35px;
  background: #fff;
}

.form-label {
  display: block;
  text-align: left !important;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.custom-input {
  height: 64px;
  border-radius: 12px;
  border: 1px solid #d8dde6;
  font-size: 18px;
  padding: 12px 18px;
}

textarea.custom-input {
  height: auto;
}

.custom-input:focus {
  border-color: #246bfd;
  box-shadow: none;
}

.continue-btn {
  background: #246bfd;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-left: auto;
}

.continue-btn-d {
  display: block;
  margin-left: auto;
}

.severity-group {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.severity-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
}

.severity-option input {
  width: 18px;
  height: 18px;
}

/* Scoped to the booking steps: unscoped, this centered every Bootstrap
   row on the home page (service cards, footer). */
.patient-card,
.appointment-wrapper .row,
.appointment-wrapper .col-md-6 {
  text-align: center;
}

.severity-option {
  color: black;
}

/* medical information end */
/* payment-consent-appointment-confirmation start */
.form-section-header h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #24467a;
  margin-bottom: 25px;
}

.patient-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 35px;
  background: #fff;
}

.consent-box {
  margin-bottom: 25px;
}

.consent-box p {
  color: black;
  text-align: left;
}

.consent-content {
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  padding: 20px;
  height: 150px;
  color: black;
  overflow-y: auto;
  background: #fafafa;
  margin-bottom: 15px;
}

.custom-input {
  height: 58px;
  border-radius: 12px;
}

.stripe-element {
  height: 58px;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.summary-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 25px;
}

.custom-checkbox {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
}
.custom-checkbox {
  color: black;
}
/* payment-consent-appointment-confirmation end */

/* UTI start */
.question-block {
  display: block;
  text-align: left;
  margin-bottom: 18px;
}

.question-block label {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  display: block;
}

/* inputs alignment fix */
.question-block input,
.question-block select {
  width: 100%;
}

/* radio + checkbox layout */
.radio-group label,
.checkbox-group label {
  margin-right: 15px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* CARD */
.patient-card {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

/* SCROLL FIX (IMPORTANT) */
.uti-scroll {
  height: 70vh;
  overflow-y: auto !important;
  padding: 10px;
  border: 1px solid #ddd;
}

/* scrollbar styling */
.uti-scroll::-webkit-scrollbar {
  width: 6px;
}

.uti-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.uti-scroll::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.card-header-custom h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #324e7b;
}
.consent-scroll-bar {
  height: 100vh; /* full screen height */
  overflow-y: auto; /* enable vertical scroll */
  overflow-x: hidden;
}

/* UTI end */

/* patient-into start */
.patient-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 1%;
  margin-bottom: 20px;
}

.card-header-custom {
  margin-top: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.card-header-custom h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #324e7b;
}

.card-header-custom i {
  color: #6A3F8F;
  font-size: 24px;
}

.card-body {
  padding: 25px;
}

.card-body label {
  text-align: left;
  color: black;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.card-body label span {
  color: red;
}

.form-control {
  height: 52px;
  border-radius: 8px;
}
.cl {
  display: flex;
  justify-content: flex-end; /* pushes buttons to the right */
  gap: 12px; /* space between the buttons */
  margin-top: 20px; /* optional spacing from content above */
}

#dateRangePicker {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
}

#selectedProvider {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
}
/* patient-into end */

.provider-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #496285;
  color: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.provider-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.provider-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
}

.provider-left h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.provider-right {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.info-item .label {
  font-weight: 600;
  margin-bottom: 5px;
}

.provider-left h3 {
  color: white;
}

.error {
  border: 2px solid red !important;
}

.error:focus {
  outline: none;
  border-color: red !important;
}

/* consent form start */
.digital-signature-wrapper .signature-section {
  margin-top: 30px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.digital-signature-wrapper .signature-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.digital-signature-wrapper .signature-note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 18px;
}

.digital-signature-wrapper .signature-canvas-wrapper {
  border: 2px dashed #00979c;
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
  padding: 10px;
}

.digital-signature-wrapper #signature-pad {
  width: 100%;
  height: 200px;
  background: #fff;
  border-radius: 10px;
  cursor: crosshair;
}

.digital-signature-wrapper .signature-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.digital-signature-wrapper .btn-signature {
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.digital-signature-wrapper .btn-clear {
  background: #fee2e2;
  color: #dc2626;
}

.digital-signature-wrapper .btn-clear:hover {
  background: #fecaca;
  transform: translateY(-1px);
}

.digital-signature-wrapper .btn-save {
  background: #00979c;
  color: #fff;
}

.digital-signature-wrapper .btn-save:hover {
  background: #007d82;
  transform: translateY(-1px);
}

.digital-signature-wrapper #signature-pad {
  width: 100%;
  height: 200px;
  background: #fff;
  border-radius: 10px;
  cursor: crosshair;
}

/* consent form end */
/* Patient-info start */
#verifiedCheck {
  display: none;
  color: #28a745;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.email-input-wrapper {
  position: relative;
}

.email-input-wrapper input {
  width: 100%;
}

.email-input-wrapper {
  position: relative;
}

#verifiedCheck {
  display: none;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #28a745;
  font-size: 20px;
}

#emailError {
  display: block;
  margin-top: 5px;
  text-align: left;
  font-size: 14px;
  color: red;
}

.phone-input-wrapper {
  position: relative;
}

.phone-input-wrapper input {
  width: 100%;
  padding-right: 45px;
}

.error-message {
  text-align: center;
}

.iti__dial-code {
  color: black;
}

.iti__country {
  color: black;
}

.phone-wrapper {
  position: relative;
  width: 100%;
}

/* intl-tel-input wrapper */
.phone-wrapper .iti {
  width: 100%;
}

/* Input */
.phone-wrapper input {
  width: 100%;
  height: 45px;
  padding-right: 130px; /* space for Verify button */
  border-radius: 12px;
}

/* Verify button inside input */
.verify-btn {
  position: absolute;

  right: 8px;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  height: 38px;

  min-width: 110px;

  border-radius: 10px;

  white-space: nowrap;
}
.verify-btn.btn-primary {
  padding: 7px 28px;
}

#phoneVerifiedIcon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 24px;
}
/* Patient-info end */
/* Patient-login start */
/* Existing Patient Login Page Only */

#patient_login .existing-user-card {
  max-width: 520px;
  margin: 30px auto;
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

#patient_login .login-header {
  text-align: center;
  margin-bottom: 30px;
}

#patient_login .login-header i {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

#patient_login .login-header h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
}

#patient_login .login-header p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.black {
  color: #6b7280;
  font-size: 20px;
  line-height: 1.6;
}

.white {
  color: white;
  background-color: #0c65e9 !important;
}

#patient_login .login-form-group {
  margin-bottom: 20px;
}

#patient_login .login-form-group label {
  text-align: left;
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 600;
}

#patient_login .login-input-wrapper {
  position: relative;
}

#patient_login .login-input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6d28d9;
  font-size: 16px;
}

#patient_login .login-input-wrapper input {
  width: 100%;
  height: 54px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0 18px 0 48px;
  font-size: 15px;
  transition: 0.3s;
}

#patient_login .login-input-wrapper input:focus {
  outline: none;
  border-color: #6d28d9;
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.1);
}

#patient_login .login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

#patient_login .remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

#patient_login .forgot-password {
  color: #6d28d9;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

#patient_login .login-btn {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#patient_login .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

#patient_login .guest-option {
  text-align: center;
  margin-top: 22px;
  color: #6b7280;
}

#patient_login .guest-option a {
  color: #6d28d9;
  text-decoration: none;
  font-weight: 600;
}

#patient_login .guest-option a:hover,
#patient_login .forgot-password:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  #patient_login .existing-user-card {
    padding: 25px;
    margin: 20px 10px;
  }

  #patient_login .login-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  #patient_login .login-header h3 {
    font-size: 20px;
  }
}

.apns-login-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 15px;
}

.apns-option-card {
  border: 1px solid #e9d5ff;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
  transition: 0.3s;
}

.apns-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(91, 11, 138, 0.12);
}

.apns-option-header {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.apns-option-icon {
  width: 65px;
  height: 65px;
  min-width: 65px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5b0b8a, #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.apns-option-icon.schedule {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.apns-option-card h4 {
  margin: 0 0 8px;
  color: #24124d;
  font-size: 28px;
  font-weight: 700;
}

.apns-option-card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.swal2-title {
  color: #5b0b8a !important;
  font-weight: 700 !important;
}

.swal2-popup {
  border-radius: 24px !important;
}

.swal2-confirm,
.swal2-cancel {
  border-radius: 10px !important;
  font-size: 15px !important;
  padding: 12px 22px !important;
}
/* Patient-login end */

.field-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  text-align: left !important;
}

.option-group .field-error {
  width: 100%;
  color: #dc3545;
  font-size: 13px;
  margin-top: 8px;
}

/* 13 July 2026 */
.phone-wrapper .iti__flag-container {
  top: 0px;
  border: unset;
  height: 45px;
}
.btn-primary.verify-btn {
  padding: 7px 12px;
  top: 22.5px;
  width: fit-content;
}
.phone-wrapper.act input#phone {
  border: 2px solid green;
  border-radius: 6px;
}
.appointment-option-card:hover .option-radio::after {
  background: white;
}
.appointment-option-card:hover .option-radio {
  border-color: white;
}
.time-slot-wrp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
}
.time-slot-wrp button.slot-item {
  width: calc(20% - 5px);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 12px;
  color: #4c006d;
  border: 1px solid #4c006d;
  background: white;
}
.time-slot-wrp button.slot-item:hover {
  background: #4c006d;
  color: white;
}
.user-available-text h6 {
  font-size: 16px;
}
.user-available-text span {
  font-size: 12px;
  color: gray;
}
.star-rating-bx {
  font-size: 14px;
  margin-top: 12px;
}
@media (max-width: 560px) {
  #step-contact-verification .patient-card {
    margin: 0;
  }
  #step-contact-verification .patient-card .card-body {
    padding: 0px 10px;
  }
  .appointment-body {
    width: calc(100% - 40px);
  }
}

/* Public walkthrough 2026-09-29, #12: the loading line at the patient floor. */
.intake-loading-message { font-size: 16px; color: #5B5566; }

/* Public walkthrough 2026-09-30, #7: after Continue or Back, appointment.js
   scrolls the booking card's top into view; the margin keeps it (the Back
   control and the step's title) below the home page's fixed header, whose
   height the layout writes to --apns-header-offset. The step title gets
   the focus; it is a heading, not a control, so it shows a ring only when
   the keyboard brought the patient there. */
.appointment-wrapper .appointment-body,
.appointment-wrapper .cv-title {
  scroll-margin-top: calc(var(--apns-header-offset, 132px) + 12px);
}

.appointment-wrapper .appointment-step [tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}
