/* ============================================
   SMARTQ — book-token.css
   ============================================ */

.page-body { background: var(--bg); }

/* ---- Page Header ---- */
.page-header {
  background: var(--blue-dark);
  padding: 110px 0 40px;
}
.page-breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); }
.page-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb i { font-size: 10px; }
.page-title { font-size: clamp(26px, 4vw, 34px); font-weight: 700; color: #fff; margin-bottom: 6px; }
.page-sub { font-size: 15px; color: rgba(255,255,255,.6); max-width: 560px; }

.booking-main { padding: 36px 0 60px; }

/* ---- District filter tag ---- */
.district-filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
}
.district-filter-tag::before {
  content: '\F3B5'; /* bi-geo-alt-fill */
  font-family: 'bootstrap-icons';
}

/* ---- Booking Card ---- */
.booking-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(13,46,110,.08);
}

/* ---- Step indicator (3 steps, with labels) ---- */
.step-indicator { display: flex; align-items: center; justify-content: center; }
.step-dot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.step-dot span {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  transition: background .25s, border-color .25s, color .25s;
}
.step-dot label { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.step-dot.active span { background: var(--blue); border-color: var(--blue); color: #fff; }
.step-dot.active label { color: var(--blue); font-weight: 600; }
.step-dot.done span { background: var(--green); border-color: var(--green); color: #fff; }
.step-line { width: 60px; height: 2px; background: var(--border); margin: 0 8px 22px; transition: background .25s; }
.step-line.done { background: var(--green); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeStep .35s ease; }
@keyframes fadeStep { from { opacity:0; transform: translateX(10px); } to { opacity:1; transform: translateX(0); } }

/* ---- Office selection grid ---- */
.office-select-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.office-option { cursor: pointer; }
.office-option input { position: absolute; opacity: 0; pointer-events: none; }
.office-option-card {
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  transition: border-color .2s, background .2s, transform .2s;
}
.office-option-emoji { font-size: 26px; margin-bottom: 8px; }
.office-option-name { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }
.office-option-meta { font-size: 12px; color: var(--text-muted); }
.office-option input:checked + .office-option-card {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}
.office-option:hover .office-option-card { border-color: #b8d4ef; }

.step-error {
  display: none;
  font-size: 12.5px; color: #DC2626;
  margin-top: 10px;
}

/* ---- Service list (step 2) ---- */
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-option { cursor: pointer; display: block; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option-card {
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .2s, background .2s;
}
.service-option-left { display: flex; align-items: center; gap: 12px; }
.service-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  flex-shrink: 0;
}
.service-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.service-time { font-size: 12px; color: var(--text-muted); }
.service-option input:checked + .service-option-card {
  border-color: var(--blue);
  background: var(--blue-light);
}
.service-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px;
  transition: background .2s, border-color .2s;
}
.service-option input:checked ~ .service-option-card .service-check {
  background: var(--blue); border-color: var(--blue);
}

/* ---- Booking summary box (step 3) ---- */
.booking-summary-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: var(--text-muted); }
.summary-row span:last-child { font-weight: 600; color: var(--text-dark); }

/* ---- Success state ---- */
.success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto;
  animation: popIn .4s ease;
}
@keyframes popIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.final-token-card {
  background: var(--blue-dark);
  border-radius: 18px;
  padding: 24px;
  max-width: 320px;
  color: #fff;
}
.final-token-card .tc-label { color: rgba(255,255,255,.55); }
.final-token-num {
  font-family: var(--font-head); font-size: 48px; font-weight: 800;
  color: #7EB8FF; letter-spacing: -2px; margin: 4px 0 16px;
}
.final-token-divider { height: 1px; background: rgba(255,255,255,.12); margin-bottom: 14px; }
.final-token-card .fw-bold { color: #fff; font-size: 16px; }

/* ---- Sidebar ---- */
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.info-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 14px;
}
.info-card-icon.amber { background: var(--amber-light); color: #92400E; }
.info-card-icon.green { background: var(--green-light); color: var(--green); }
.info-tips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.info-tips li {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.info-tips li::before {
  content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700;
}
.hours-row {
  display: flex; justify-content: space-between;
  font-size: 13.5px; padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--text-muted); }
.hours-row span:last-child { font-weight: 600; color: var(--text-dark); }

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .page-header { padding: 90px 0 30px; }
  .booking-card { padding: 22px 18px; }
  .office-select-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-dot label { display: none; }
  .step-line { width: 30px; margin-bottom: 0; }
}
@media (max-width: 480px) {
  .office-select-grid { grid-template-columns: 1fr; }
}
