/* ==========================================================================
   DR. KAVISH SHARMA — CANONICAL BOOKING ENGINE STYLES
   Phase 8: Real-Time Availability, Stepper, Grid Layout & Summary Sidebar
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BOOKING HERO
   -------------------------------------------------------------------------- */
.booking-hero {
  padding: 40px 0 32px 0;
  background: radial-gradient(circle at 85% 15%, var(--color-surface-tint, #f0f7ff) 0%, var(--color-background, #F4F8FA) 70%);
  border-bottom: 1px solid var(--color-border, rgba(129, 212, 250, 0.35));
}

.booking-hero-content {
  max-width: 720px;
}

.booking-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background-color: var(--color-primary-light, #B3E5FC);
  border: 1px solid rgba(20, 110, 245, 0.15);
  color: var(--color-primary, var(--color-primary));
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.booking-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-navy, #0b1f44);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.booking-hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted, #53627a);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. GLOBAL CONTAINER & GRID
   -------------------------------------------------------------------------- */
.booking-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 32px;
  align-items: start;
}

/* --------------------------------------------------------------------------
   3. HORIZONTAL STEPPER (DESKTOP) & MOBILE PROGRESS
   -------------------------------------------------------------------------- */
.booking-modal-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 100%;
  margin: 0 auto 32px auto;
  padding: 0 32px;
}

.modal-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-step-item.is-clickable {
  cursor: pointer;
}

.modal-step-item.is-clickable:hover .step-circle {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.step-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Step States */
.modal-step-item.is-completed .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
}
.modal-step-item.is-completed .step-label {
  color: var(--color-primary-dark);
}

.modal-step-item.is-active .step-circle {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}
.modal-step-item.is-active .step-label {
  color: var(--color-navy);
  font-weight: 700;
}

.step-connector {
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-border);
  margin: 0 12px;
  position: relative;
  top: 0;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.step-connector.is-completed {
  background-color: var(--color-primary);
}

.modal-mobile-step-bar {
  display: none;
  background-color: var(--color-surface);
  padding: 0 24px 24px;
}
#mobileStepText {
  font-size: 0.875rem;
  color: var(--color-navy);
}
.mobile-progress-track {
  height: 6px;
  background-color: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.mobile-progress-fill {
  height: 100%;
  background-color: var(--color-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   4. WORKFLOW CARD (LEFT COLUMN - 65%)
   -------------------------------------------------------------------------- */
.booking-workflow-card {
  background-color: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 31, 61, 0.05);
}

.booking-step-content {
  display: none;
}

.booking-step-content.is-active {
  display: block;
  animation: fadeInStep 0.25s ease;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   5. CALENDAR WIDGET & DATE SELECTION (STEP 1)
   -------------------------------------------------------------------------- */
.calendar-widget {
  background-color: #ffffff;
  border: 1px solid rgba(129, 212, 250, 0.35);
  border-radius: 16px;
  padding: 24px;
  max-width: 520px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.calendar-nav-btn {
  background: #F4F8FA;
  border: 1px solid #81D4FA;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C455A;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-nav-btn:hover:not(:disabled) {
  background-color: #B3E5FC;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.calendar-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.calendar-day-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #3D6478;
  padding: 8px 0;
  text-transform: uppercase;
}

.calendar-day-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  background-color: #ffffff;
  color: #0f1f3d;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.calendar-day-cell:hover:not(.is-disabled):not(.is-selected) {
  background-color: #B3E5FC;
  color: var(--color-primary);
  border-color: rgba(20, 110, 245, 0.3);
}

.calendar-day-cell.is-today {
  border-color: #0d9488;
  color: #0f766e;
  font-weight: 700;
}

.calendar-day-cell.is-selected {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 110, 245, 0.35);
}

.calendar-day-cell.is-disabled {
  color: #81D4FA;
  background-color: #F4F8FA;
  cursor: not-allowed;
  opacity: 0.6;
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(129, 212, 250, 0.35);
  font-size: 0.75rem;
  color: #3D6478;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.available { background-color: #ffffff; border: 1px solid #81D4FA; }
.legend-dot.selected { background-color: var(--color-primary); }
.legend-dot.unavailable { background-color: #81D4FA; }

/* --------------------------------------------------------------------------
   6. TIME SLOT SELECTION (STEP 2)
   -------------------------------------------------------------------------- */
.slots-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 16px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slot-btn {
  padding: 12px 10px;
  border-radius: 12px;
  border: 1.5px solid rgba(129, 212, 250, 0.35);
  background-color: #ffffff;
  color: #0f1f3d;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
}

.slot-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-btn:hover:not(.is-disabled):not(.is-selected) {
  background-color: var(--color-primary-light);
  border-color: #29B6F6;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.15);
}

.slot-btn.is-selected {
  background-color: #0288D1 !important;
  border-color: #0288D1 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(14, 58, 93, 0.35);
  font-weight: 700;
  transform: translateY(-1px);
}

.slot-btn.is-disabled {
  background-color: #F4F8FA !important;
  color: #6A8FA3 !important;
  border-color: rgba(129, 212, 250, 0.35) !important;
  cursor: not-allowed !important;
  opacity: 0.55;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

.slot-status-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.slot-status-tag.booked {
  background-color: rgba(179, 229, 252, 0.25);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.slot-status-tag.passed {
  background-color: #EDF5FA;
  color: #3D6478;
  border: 1px solid #81D4FA;
}

.slot-status-tag.reserved {
  background-color: rgba(168, 213, 186, 0.3);
  color: #1B5E3A;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.slot-status-tag.unavailable {
  background-color: #EDF5FA;
  color: #6A8FA3;
}

/* Skeleton Loader Animation */
.slot-skeleton {
  height: 52px;
  border-radius: 12px;
  background-color: #EDF5FA;
  position: relative;
  overflow: hidden;
}

.skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.slot-reservation-banner {
  background-color: #f0fdf4;
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   7. REVIEW & CONFIRMATION CARDS (STEP 4 & 5)
   -------------------------------------------------------------------------- */
.review-premium-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-premium-section {
  background: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(15, 31, 61, 0.03);
}

.review-premium-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-section-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.review-section-icon-wrap.schedule-icon {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.review-section-icon-wrap.patient-icon {
  background-color: #f0fdf4;
  color: var(--color-success);
}

.review-section-head-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.review-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #3D6478;
}

.review-premium-edit-btn {
  background: #ffffff;
  border: 1px solid #81D4FA;
  color: #1C455A;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-premium-edit-btn:hover {
  background: #F4F8FA;
  border-color: #6A8FA3;
  color: #0f1f3d;
  box-shadow: 0 2px 4px rgba(15, 31, 61, 0.05);
}

.review-premium-highlight-banner {
  background: #F4F8FA;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(129, 212, 250, 0.35);
}

.review-highlight-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.review-highlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3D6478;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.review-highlight-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
}

.review-highlight-divider {
  width: 1px;
  height: 36px;
  background: rgba(129, 212, 250, 0.35);
  margin: 0 24px;
}

.tz-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #3D6478;
  background: rgba(129, 212, 250, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: text-bottom;
}

.review-premium-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-premium-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #EDF5FA;
}

.review-premium-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-premium-key {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1C455A;
  display: flex;
  align-items: center;
  min-width: 130px;
}

.review-premium-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f1f3d;
  text-align: right;
  flex-grow: 1;
}

.text-slate {
  color: #6A8FA3;
}

.reason-pill {
  background: #B3E5FC;
  color: #0288D1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  display: inline-block;
  font-weight: 600;
}

.notes-row {
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.notes-val {
  font-weight: 400;
  color: #1C455A;
  text-align: left;
  line-height: 1.5;
  background: #F4F8FA;
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  border: 1px solid #EDF5FA;
}

.review-trust-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 110, 245, 0.04);
  border: 1px solid rgba(20, 110, 245, 0.1);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.8125rem;
  color: var(--color-navy);
  line-height: 1.5;
  font-weight: 500;
}

.review-trust-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   8. CONFIRMATION SCREEN (STEP 5)
   -------------------------------------------------------------------------- */
.confirmation-success-card {
  text-align: center;
  padding: 32px 24px;
  background-color: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
}

.confirmation-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(168, 213, 186, 0.25);
  color: var(--color-success-dark);
  border: 2px solid rgba(5, 150, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 20px auto;
}

.booking-ref-badge {
  display: inline-block;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  background-color: #B3E5FC;
  color: var(--color-navy);
  border-radius: 10px;
  border: 1px solid rgba(20, 110, 245, 0.2);
  margin: 12px 0;
}

/* --------------------------------------------------------------------------
   8. APPOINTMENT SUMMARY SIDEBAR (RIGHT COLUMN - 35%)
   -------------------------------------------------------------------------- */
.booking-summary-sidebar {
  background-color: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 31, 61, 0.05);
  position: sticky;
  top: 100px;
}

.sidebar-summary-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(129, 212, 250, 0.35);
}

.sidebar-item {
  margin-bottom: 14px;
}

.sidebar-item-label {
  font-size: 0.75rem;
  color: #3D6478;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.sidebar-item-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f1f3d;
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .booking-summary-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .booking-container {
    padding: 24px 16px 56px;
  }

  .booking-workflow-card {
    padding: 20px;
    border-radius: 16px;
  }

  .booking-summary-sidebar {
    padding: 20px;
    border-radius: 16px;
  }

  .booking-modal-stepper {
    display: none;
  }

  .modal-mobile-step-bar {
    display: block;
  }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   10. MULTI-LOCATION SELECTOR & DOCTOR TRAVEL CALENDAR BLOCKS
   -------------------------------------------------------------------------- */
.booking-facility-section {
  background: #FAFCFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.booking-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.booking-location-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.booking-location-card:hover {
  border-color: #38BDF8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 136, 209, 0.08);
}

.booking-location-card.is-selected {
  border-color: #0288D1;
  background: #F0F9FF;
  box-shadow: 0 4px 16px rgba(2, 136, 209, 0.14);
}

.booking-location-card.is-unavailable {
  opacity: 0.7;
  background: #FFFBEB;
  border-style: dashed;
  border-color: #FCD34D;
}

.loc-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
}

.loc-card-radio {
  font-size: 1.15rem;
  line-height: 1;
}

.loc-directions-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0288D1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(2, 136, 209, 0.06);
  transition: background 0.15s ease;
}

.loc-directions-btn:hover {
  background: rgba(2, 136, 209, 0.12);
  color: #01579B;
}

.step1-selected-icon.location-icon {
  background: rgba(2, 136, 209, 0.12);
  color: #0288D1;
}

/* Blocked Dates on Calendar Days Grid */
.calendar-day-cell.is-blocked {
  background: repeating-linear-gradient(45deg, #FFF1F2, #FFF1F2 6px, #FFE4E6 6px, #FFE4E6 12px) !important;
  border-color: #FDA4AF !important;
  color: #BE123C !important;
  cursor: pointer !important;
}

.calendar-day-cell.is-blocked:hover {
  border-color: #E11D48 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
}

.cell-state-tag.blocked {
  background-color: #FFE4E6;
  color: #9F1239;
  border: 1px solid #FECDD3;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.step1-legend-dot.blocked-dot {
  background-color: #FDA4AF;
  color: #BE123C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* Highlight pulse animation for smooth guidance */
@keyframes highlightLocationPulse {
  0% { box-shadow: 0 0 0 0 rgba(2, 136, 209, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(2, 136, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 136, 209, 0); }
}

.highlight-pulse {
  animation: highlightLocationPulse 1.4s ease-out 2;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .booking-facility-section {
    padding: 14px 12px;
    margin-bottom: 16px;
  }
  .booking-locations-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .booking-location-card {
    padding: 12px 14px;
  }
}

/* Visiting Tour Consultation City Styles */
.booking-location-card.is-visiting-card {
  border-color: #7DD3FC;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

.booking-location-card.is-visiting-card.is-selected {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.22);
}

/* ==========================================================================
   PREMIUM COMPACT VISITING-CITY TOUR BANNER & INTERACTIVE DRAWER
   ========================================================================== */
.booking-visiting-tour-banner-container {
  width: 100%;
}

.visiting-tour-compact-banner {
  background: linear-gradient(135deg, #0B192C 0%, #1E3A8A 55%, #0284C7 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.16);
  padding: 10px 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.visiting-tour-compact-banner:hover,
.visiting-tour-compact-banner:focus-visible,
.visiting-tour-compact-banner.is-expanded {
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.28);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Primary compact strip: visible by default */
.tour-compact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  user-select: none;
}

.tour-compact-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-badge-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #38BDF8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.tour-compact-info {
  display: flex;
  flex-direction: column;
}

.tour-compact-eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #93C5FD;
  text-transform: uppercase;
  line-height: 1.2;
}

.tour-compact-headline {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.tour-city-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.tour-region-divider {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.tour-region-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #E0F2FE;
}

.tour-compact-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.tour-date-chip {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FEF08A;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.tour-chevron-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #BAE6FD;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tour-chevron-icon {
  font-size: 0.8rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HIDDEN DETAILS DRAWER: strictly hidden until hover or tap */
.tour-drawer-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, margin-top 0.24s ease;
  margin-top: 0;
}

/* Hover disclosure for pointer/desktop devices */
@media (hover: hover) {
  .visiting-tour-compact-banner:hover .tour-drawer-details {
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 10px;
  }
  .visiting-tour-compact-banner:hover .tour-chevron-icon {
    transform: rotate(180deg);
  }
  .visiting-tour-compact-banner:hover .tour-chevron-indicator {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
  }
}

/* Tap/Click/Keyboard disclosure */
.visiting-tour-compact-banner.is-expanded .tour-drawer-details {
  max-height: 280px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 10px;
}

.visiting-tour-compact-banner.is-expanded .tour-chevron-icon {
  transform: rotate(180deg);
}

.visiting-tour-compact-banner.is-expanded .tour-chevron-indicator {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.tour-drawer-content {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.tour-drawer-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.tour-drawer-item {
  display: flex;
  flex-direction: column;
}

.tour-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.tour-item-value {
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .tour-compact-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tour-compact-right {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .tour-drawer-meta-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   PRIMARY JAIPUR COMPACT CLINIC CARD & INTERACTIVE DETAIL PANEL
   ========================================================================== */
.booking-single-location-wrap {
  display: block;
  width: 100%;
}

.jaipur-primary-card {
  background: #FFFFFF;
  border: 1.5px solid #0288D1;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(2, 136, 209, 0.08);
  padding: 12px 16px;
  cursor: pointer;
  outline: none;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
}

.jaipur-primary-card:hover,
.jaipur-primary-card:focus-visible,
.jaipur-primary-card.is-expanded {
  border-color: #0284C7;
  box-shadow: 0 6px 20px rgba(2, 136, 209, 0.16);
}

.jaipur-card-compact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.jaipur-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jaipur-card-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(2, 136, 209, 0.1);
  color: #0288D1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(2, 136, 209, 0.2);
}

.jaipur-card-info {
  display: flex;
  flex-direction: column;
}

.jaipur-card-subline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748B;
}

.jaipur-city-chip {
  font-weight: 600;
  color: #334155;
}

.jaipur-subline-divider {
  color: #CBD5E1;
}

.jaipur-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn-jaipur-view-details {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #0284C7;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  outline: none;
}

.btn-jaipur-view-details:hover {
  background: #DBEAFE;
  color: #1E40AF;
  border-color: #93C5FD;
}

.jaipur-toggle-chevron {
  font-size: 0.75rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.jaipur-clickable-title {
  cursor: pointer;
  color: #0F172A;
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.18s ease;
}

.jaipur-clickable-title:hover {
  color: #0284C7;
  text-decoration: underline;
}

.jaipur-short-address {
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  display: inline-flex;
  align-items: center;
}

/* HIDDEN DETAILS DRAWER: Strictly hidden by default. Revealed ONLY on click of Clinic Name or View Details */
.jaipur-card-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.25s ease;
  margin-top: 0;
}

/* Explicit Click / Tap / Keyboard Expansion ONLY (No accidental hover popups) */
.jaipur-primary-card.is-expanded .jaipur-card-drawer {
  max-height: 380px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 14px;
}

.jaipur-primary-card.is-expanded .jaipur-toggle-chevron {
  transform: rotate(180deg);
}

.jaipur-primary-card.is-expanded .btn-jaipur-view-details {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
}

.jaipur-drawer-inner {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 16px;
}

.jaipur-drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.jaipur-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  display: block;
}

.jaipur-col-val {
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .jaipur-card-compact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .jaipur-card-right {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .jaipur-drawer-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.visiting-blocked-card {
  animation: fadeInNotice 0.3s ease-out;
}

@keyframes fadeInNotice {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Blocked Date & Visiting Calendar State Styling */
.calendar-day-cell.is-blocked {
  background-color: #FFF1F2 !important;
  border-color: #FECDD3 !important;
  color: #9F1239 !important;
  cursor: pointer;
  position: relative;
}

.calendar-day-cell.is-blocked:hover {
  background-color: #FFE4E6 !important;
  border-color: #FDA4AF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.12);
}

.calendar-day-cell.is-blocked .cell-state-tag.blocked {
  background-color: #E11D48;
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 4px;
  padding: 1px 4px;
}

.visiting-featured-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.visiting-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.25) !important;
}

@media (max-width: 768px) {
  .visiting-featured-card {
    padding: 20px 16px !important;
  }
  .visiting-featured-card .btn-warning {
    width: 100%;
    justify-content: center;
  }
}

/* Visiting Tour Blocked Calendar Day Cell & Tag */
.calendar-day-cell.is-visiting-blocked {
  background-color: #F0F9FF !important;
  border-color: #BAE6FD !important;
  position: relative;
}

.calendar-day-cell.is-visiting-blocked:hover {
  background-color: #E0F2FE !important;
  border-color: #0284C7 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.22) !important;
}

.cell-state-tag.visiting-tour-tag {
  background: linear-gradient(135deg, #0284C7 0%, #1E3A8A 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  border-radius: 4px;
  padding: 1px 5px !important;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


