/* =============================================================================
   SMART CYBER CAFE — APPOINTMENT PORTAL STYLESHEET (v3 Optimized)
   Palette: Cyber Royal (#1a3566), Electric Blue (#2563eb), Gold (#d97706), Emerald (#10b981), Slate (#f8fafc)
   Style: Minimalist, Ambient Glassmorphism, Fluid Typography, WCAG AA Accessible
   ============================================================================= */

:root {
  --royal: #1a3566;
  --royal-dark: #122549;
  --royal-light: #2563eb;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --emerald: #059669;
  --emerald-light: #ecfdf5;
  --rose: #e11d48;
  --rose-light: #ffe4e6;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ── BASE & TYPOGRAPHY SMOOTHING ── */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.bk-body {
  background-color: var(--slate-50);
  color: var(--slate-800);
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Bilingual Isolation Engine */
.lang-en .en { display: inline !important; }
.lang-en .bn { display: none !important; }
.lang-bn .en { display: none !important; }
.lang-bn .bn { display: inline !important; }

.lang-en blockquote.en, .lang-en div.en, .lang-en p.en { display: block !important; }
.lang-bn blockquote.bn, .lang-bn div.bn, .lang-bn p.bn { display: block !important; }

/* Bengali Font Line-Height Adjustment */
.lang-bn .bk-hero-title,
.lang-bn .panel-title,
.lang-bn .card-title-text,
.lang-bn .st-service-title {
  line-height: 1.45 !important;
}

/* Ambient Decorative Background Glows */
.bk-bg-decor {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bk-bg-decor .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.glow-royal {
  top: -10%;
  left: -8%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(26, 53, 102, 0.25) 0%, rgba(37, 99, 235, 0.08) 70%, transparent 100%);
}

.glow-gold {
  top: 5%;
  right: -8%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.16) 0%, transparent 70%);
}

.glow-emerald {
  bottom: -10%;
  left: 25%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

/* ── MAIN WRAPPER ── */
.bk-main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 108px 20px 80px;
  min-height: calc(100vh - 120px);
}

/* =============================================================================
   1. HERO HEADER
   ============================================================================= */
.bk-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.bk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 53, 102, 0.07);
  border: 1px solid rgba(26, 53, 102, 0.14);
  color: var(--royal);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: clamp(0.72rem, 1.4vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bk-badge-icon {
  color: var(--gold);
  font-size: 0.95rem;
}

.bk-hero-title {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.bk-hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 24px;
}

/* Segmented Switcher */
.bk-nav-switcher {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.bk-switcher-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.bk-switcher-tab:hover:not(.active) {
  color: var(--royal);
  background: var(--slate-100);
}

.bk-switcher-tab.active {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(26, 53, 102, 0.25);
}

/* =============================================================================
   2. APP CANVAS CARD
   ============================================================================= */
.bk-app-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* Reschedule Mode Banner */
.bk-reschedule-banner {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--gold-light);
  border-bottom: 1.5px solid #fde68a;
  padding: 12px 20px;
  color: #92400e;
}

.bk-reschedule-banner.visible { display: flex; }
.rb-icon { font-size: 1.25rem; color: var(--gold); }
.rb-text { flex: 1; }
.rb-title { font-weight: 800; font-size: 0.875rem; }
.rb-desc { font-size: 0.8rem; color: #a16207; }
.rb-close-btn {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #92400e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.rb-close-btn:hover { background: rgba(0, 0, 0, 0.12); }

/* =============================================================================
   3. PROGRESS STEPPER (CLEAN DESKTOP & MOBILE RESPONSIVE)
   ============================================================================= */
.bk-stepper {
  padding: 24px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.bk-stepper-track {
  position: absolute;
  top: 44px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: var(--slate-200);
  z-index: 1;
}

.bk-stepper-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--royal-light), var(--royal));
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-stepper-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.bk-step {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: var(--white);
  padding: 0 8px;
  user-select: none;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate-300);
  color: var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.step-label {
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}

.step-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-600);
  white-space: nowrap;
}

.bk-step.active .step-circle {
  border-color: var(--royal-light);
  background: var(--royal-light);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  transform: scale(1.05);
}

.bk-step.active .step-num { color: var(--royal-light); }
.bk-step.active .step-name { color: var(--slate-900); font-weight: 800; }

.bk-step.completed .step-circle {
  border-color: var(--emerald);
  background: var(--emerald);
  color: var(--white);
}

.bk-step.completed .step-num { color: var(--emerald); }

/* Mobile Step Pill (Hidden on desktop) */
.bk-mobile-step-indicator {
  display: none;
  text-align: center;
  margin-top: 14px;
}

.ms-pill {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--royal-light);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* =============================================================================
   4. STEP PANELS & INTROS
   ============================================================================= */
.bk-step-panel {
  display: none;
  padding: 34px 34px 44px;
  animation: bkFadeIn 0.22s ease-out;
}

.bk-step-panel.active { display: block; }

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

.panel-intro {
  text-align: center;
  margin-bottom: 26px;
}

.panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 53, 102, 0.07);
  color: var(--royal);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: clamp(0.7rem, 1.3vw, 0.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.panel-title {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.panel-subtitle {
  font-size: clamp(0.85rem, 1.8vw, 0.925rem);
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* =============================================================================
   5. STEP 1: SEARCH, CATEGORIES & SERVICE CARDS
   ============================================================================= */
/* Search Container */
.bk-search-container {
  position: relative;
  max-width: 640px;
  margin: 0 auto 18px;
}

.bk-search-container .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 0.95rem;
}

.bk-search-container .search-field {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 44px 13px 44px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  color: var(--slate-900);
  background: var(--white);
  transition: all 0.2s ease;
  min-height: 48px;
}

.bk-search-container .search-field:focus {
  outline: none;
  border-color: var(--royal-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--slate-100);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--slate-500);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.search-clear-btn.show { display: flex; }

/* Walk-In Services Information Callout */
.bk-walkin-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--royal-light);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  max-width: 820px;
  margin: 0 auto 22px;
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.bk-walkin-hint i {
  color: var(--royal-light);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Service Purpose Cards Grid */
.bk-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bk-purpose-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  outline: none;
}

.bk-purpose-card:hover {
  border-color: var(--royal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(26, 53, 102, 0.12);
}

.bk-purpose-card:focus-visible {
  border-color: var(--royal-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), var(--shadow-md);
}

.bk-purpose-card.selected {
  border-color: var(--royal-light);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
  box-shadow: 0 0 0 2px var(--royal-light), 0 10px 28px -4px rgba(37, 99, 235, 0.18);
}

.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.bk-purpose-card:hover .pc-icon-box {
  transform: scale(1.06);
}

.pc-check-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.bk-purpose-card.selected .pc-check-bubble {
  border-color: var(--royal-light);
  background: var(--royal-light);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.pc-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-title {
  font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

.pc-scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  max-width: 100%;
}

.pc-scope-pill i {
  color: var(--royal-light);
  font-size: 0.7rem;
}

.bk-purpose-card.selected .pc-scope-pill {
  background: #eff6ff;
  color: var(--royal);
}

.pc-desc {
  font-size: 0.835rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Empty Search Card */
.bk-empty-card {
  text-align: center;
  padding: 42px 20px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  border: 1px dashed var(--slate-300);
}

.bk-empty-card .empty-icon {
  font-size: 2.2rem;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.bk-empty-card h3 {
  font-size: 1.15rem;
  color: var(--slate-900);
  margin: 0 0 6px;
  font-weight: 800;
}

.bk-empty-card p {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin: 0 0 16px;
}

.btn-reset-filters {
  background: var(--royal);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

/* =============================================================================
   6. STEP 2: DATE SELECTOR
   ============================================================================= */
.bk-dates-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.bk-date-tile {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 108px;
  justify-content: center;
}

.bk-date-tile:hover {
  border-color: var(--royal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bk-date-tile.selected {
  border-color: var(--royal-light);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 0 0 2px var(--royal-light), var(--shadow-sm);
}

.dt-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.bk-date-tile.selected .dt-badge {
  background: var(--royal-light);
  color: var(--white);
}

.dt-day {
  font-size: clamp(0.72rem, 1.2vw, 0.78rem);
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
}

.dt-num {
  font-size: clamp(1.4rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.dt-month {
  font-size: clamp(0.7rem, 1.1vw, 0.75rem);
  font-weight: 600;
  color: var(--slate-500);
}

/* =============================================================================
   7. STEP 3: GROUPED TIME SLOTS
   ============================================================================= */
.bk-slot-group {
  margin-bottom: 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.slot-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.85rem, 1.6vw, 0.92rem);
  font-weight: 800;
  color: var(--royal-dark);
  margin-bottom: 12px;
}

.slot-group-header i {
  color: var(--gold);
}

.bk-slot-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.bk-slot-btn {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 11px 8px;
  font-size: clamp(0.82rem, 1.4vw, 0.88rem);
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  min-height: 44px;
}

.bk-slot-btn:hover:not(:disabled) {
  border-color: var(--royal-light);
  background: rgba(37, 99, 235, 0.04);
  transform: translateY(-1px);
}

.bk-slot-btn.selected {
  background: var(--royal-light);
  border-color: var(--royal-light);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.bk-slot-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: var(--slate-100);
  border-color: var(--slate-200);
  text-decoration: line-through;
}

/* =============================================================================
   8. STEP 4: FORM & APPOINTMENT OVERVIEW
   ============================================================================= */
.bk-form-columns {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.35fr;
  gap: 28px;
}

/* Summary Ticket Card */
.bk-summary-ticket {
  background: linear-gradient(135deg, #122549 0%, #1a3566 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  gap: 20px;
}

.st-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 14px;
}

.st-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 8px;
}

.st-service-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.35;
  word-break: break-word;
}

.st-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-row {
  display: grid;
  grid-template-columns: minmax(95px, auto) 1fr;
  align-items: start;
  gap: 12px;
  font-size: clamp(0.825rem, 1.4vw, 0.875rem);
}

.st-label {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.st-value {
  font-weight: 700;
  color: var(--white);
  text-align: right;
  word-break: break-word;
  line-height: 1.4;
}

.st-value.highlight {
  color: #fde047;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
}

.st-notice {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.st-notice i {
  color: #60a5fa;
  margin-top: 2px;
}

/* Interactive Form Card */
.bk-form-card {
  background: var(--white);
}

.bk-field-group {
  margin-bottom: 18px;
}

.bk-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(0.82rem, 1.3vw, 0.86rem);
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.req-star {
  color: var(--rose);
  font-weight: 800;
  font-size: 1rem;
}

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

.field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 0.9rem;
}

.wa-icon { color: #22c55e; }

.bk-input-text {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  color: var(--slate-900);
  transition: all 0.2s ease;
  min-height: 48px;
}

.bk-input-text:focus {
  outline: none;
  border-color: var(--royal-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bk-field-caption {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 5px;
  display: block;
  line-height: 1.35;
}

/* Math Bot Verification Card */
.bk-captcha-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  min-height: 52px;
}

.captcha-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(0.78rem, 1.4vw, 0.83rem);
  font-weight: 700;
  color: var(--royal);
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-math {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1rem;
  color: var(--slate-900);
}

.captcha-answer {
  width: 58px;
  height: 38px;
  text-align: center;
  padding: 4px;
  border: 1.5px solid var(--slate-300);
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  font-family: inherit;
}

.captcha-answer:focus {
  outline: none;
  border-color: var(--royal-light);
}

/* Buttons */
.bk-form-buttons, .panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.btn-action-back {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  min-height: 48px;
}

.btn-action-back:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-action-submit {
  background: var(--royal);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(26, 53, 102, 0.25);
  transition: all 0.2s ease;
  font-family: inherit;
  min-height: 48px;
}

.btn-action-submit:hover {
  background: var(--royal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 53, 102, 0.35);
}

/* Error Alert Box */
.bk-alert-box {
  display: none;
  background: var(--rose-light);
  border: 1px solid #fecdd3;
  color: #9f1239;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}

.bk-alert-box.visible { display: block; }

/* =============================================================================
   9. CONFIRMATION SCREEN — PERFORATED TICKET PASS (RESPONSIVE RESILIENT)
   ============================================================================= */
.bk-confirm-container {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.celebrate-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.1);
}

.confirm-title {
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.confirm-desc {
  font-size: clamp(0.85rem, 2vw, 0.92rem);
  color: var(--slate-600);
  margin: 0 0 24px;
  line-height: 1.55;
}

/* Perforated Boarding Pass Slip */
.bk-pass-ticket {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}

.pt-top {
  background: linear-gradient(135deg, #122549, #1a3566);
  padding: 18px 22px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pt-brand {
  font-size: clamp(0.68rem, 1.3vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #93c5fd;
  line-height: 1.35;
}

.pt-code-box {
  text-align: right;
  flex-shrink: 0;
}

.pt-code-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.pt-code-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1.1;
}

.btn-pt-copy {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-pt-copy:hover { background: rgba(255, 255, 255, 0.25); }

.pt-perforation {
  position: relative;
  height: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pt-notch {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--slate-50);
  border-radius: 50%;
  border: 1.5px solid var(--slate-200);
}

.pt-left { left: -9px; }
.pt-right { right: -9px; }

.pt-dashed-line {
  width: 100%;
  border-top: 1.5px dashed var(--slate-300);
}

.pt-bottom {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pt-bottom .st-row {
  display: grid;
  grid-template-columns: minmax(105px, auto) 1fr;
  align-items: start;
  gap: 12px;
  font-size: clamp(0.825rem, 1.5vw, 0.88rem);
}

.pt-bottom .st-label {
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 600;
}

.pt-bottom .st-value {
  font-weight: 700;
  color: var(--slate-900);
  text-align: right;
  word-break: break-word;
  line-height: 1.4;
}

.bk-pass-actions {
  display: flex;
  gap: 12px;
}

.btn-wa-share {
  flex: 1;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-wa-share:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.btn-book-more {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  min-height: 48px;
}

.btn-book-more:hover { background: var(--slate-50); }

/* =============================================================================
   10. MY BOOKINGS (PHONE-ONLY LOOKUP)
   ============================================================================= */
.bk-lookup-card {
  max-width: 580px;
  margin: 0 auto 28px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.lookup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-search-manage {
  justify-content: center;
}

.bk-manage-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manage-ticket-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.manage-ticket-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.mt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--slate-200);
  padding-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.mt-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: var(--royal-light);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.mt-code-badge {
  font-family: 'JetBrains Mono', monospace;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
}

.mt-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mt-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mt-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--slate-400);
  text-transform: uppercase;
}

.mt-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  word-break: break-word;
  line-height: 1.35;
}

.mt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

.btn-mt-reschedule {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--royal-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-mt-reschedule:hover { background: #dbeafe; }

.btn-mt-cancel {
  background: var(--rose-light);
  border: 1px solid #fecdd3;
  color: #b91c1c;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-mt-cancel:hover { background: #fee2e2; }

/* Floating Toast */
.bk-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--slate-900);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.bk-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden { display: none !important; }

/* =============================================================================
   11. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZED)
   ============================================================================= */
@media (max-width: 1024px) {
  .bk-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bk-dates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .bk-main-wrapper {
    padding: 92px 14px 60px;
  }
  .bk-step-panel {
    padding: 22px 16px 30px;
  }
  .bk-cards-grid {
    grid-template-columns: 1fr;
  }
  .bk-form-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bk-stepper {
    padding: 16px 14px;
  }
  .bk-stepper-track {
    left: 28px;
    right: 28px;
    top: 36px;
  }
  .step-label {
    display: none; /* Hide side labels on mobile */
  }
  .bk-mobile-step-indicator {
    display: block; /* Show current step pill */
  }
  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .bk-pass-actions {
    flex-direction: column;
  }
  .btn-wa-share, .btn-book-more {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .bk-cards-grid {
    grid-template-columns: 1fr;
  }
  .bk-dates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .bk-date-tile {
    min-height: 96px;
    padding: 10px 4px;
  }
  .bk-slot-subgrid {
    grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
    gap: 8px;
  }
  .bk-form-buttons, .panel-actions {
    flex-direction: column-reverse;
  }
  .btn-action-back, .btn-action-submit {
    width: 100%;
    justify-content: center;
  }
  .mt-body {
    grid-template-columns: 1fr;
  }
  .mt-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-mt-reschedule, .btn-mt-cancel {
    justify-content: center;
  }
  .pt-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .pt-code-box {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }
  .pt-bottom .st-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .pt-bottom .st-value {
    text-align: left;
  }
}
