﻿/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TWO-COLUMN LAYOUT
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}
.booking-sidebar { position: sticky; top: 88px; }

.service-icon-lg {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.service-recurring-badge {
  margin-top: 6px;
}

.service-recurring-badge .badge {
  font-size: .62rem;
}

@media (max-width: 1080px) { .booking-wrapper { grid-template-columns: 1fr 330px; } }
@media (max-width: 768px) {
  .booking-wrapper { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; order: -1; margin-bottom: var(--space-lg); }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CALCULATOR PANEL
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.calc-panel {
  background: var(--surface-2, #111827);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}

.calc-header {
  background: linear-gradient(135deg, #d4af37 0%, #f0c842 60%, #c9a227 100%);
  padding: 20px 22px 18px;
  display: flex; align-items: center; gap: 14px;
}
.calc-header-icon { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }
.calc-svc-name  { font-weight: 800; font-size: 1rem; color: #1a1108; line-height: 1.25; }
.calc-svc-type  {
  display: inline-block; margin-top: 3px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(0,0,0,.45);
}

/* Total hero number */
.calc-total-hero {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.07));
}
.calc-total-label { font-size: .8rem; font-weight: 600; color: var(--text-muted, #888); }
.calc-total-amount {
  font-size: 2.2rem; font-weight: 900; color: var(--gold, #d4af37);
  letter-spacing: -.03em; line-height: 1;
  transition: all .25s cubic-bezier(.22,1,.36,1);
}
.calc-total-amount.bump {
  transform: scale(1.06);
  color: #f0c842;
}

/* Room counter row */
.calc-rooms {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 22px 10px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.06));
}
.calc-room-chip {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 4px 12px;
  font-size: .78rem; color: var(--text-secondary, #ccc);
  transition: background .2s;
}
.calc-room-chip.active {
  background: rgba(212,175,55,.15);
  border-color: rgba(212,175,55,.35);
  color: var(--gold, #d4af37);
}

/* Breakdown rows */
.calc-breakdown { padding: 12px 22px; }

.calc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 5px 0; font-size: .83rem;
  color: var(--text-secondary, #aaa);
  gap: var(--space-sm);
  transition: opacity .2s;
}
.calc-row span:first-child { flex: 1; min-width: 0; }
.calc-row strong { color: var(--text-primary, #e8e8e8); white-space: nowrap; }
.calc-row--sub { padding-left: 14px; font-size: .78rem; color: var(--text-muted, #777); }
.calc-row--discount { color: #4eca85; }
.calc-row--addon { padding-left: 14px; font-size: .78rem; color: #7ec8e3; }
.calc-row--tax { color: var(--text-muted, #777); font-size: .78rem; }

.calc-divider {
  height: 1px; background: var(--border, rgba(255,255,255,.06));
  margin: 6px 0;
}

/* Footer note */
.calc-footer-note {
  padding: 10px 22px 16px;
  font-size: .72rem; color: var(--text-muted, #555);
  text-align: center;
  border-top: 1px solid var(--border, rgba(255,255,255,.06));
}

/* Placeholder state */
.calc-placeholder-state {
  padding: 32px 22px;
  text-align: center;
  color: var(--text-muted, #555);
  font-size: .86rem; line-height: 1.7;
}
.calc-placeholder-icon { font-size: 2.8rem; margin-bottom: 10px; opacity: .4; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FREQUENCY SELECTOR
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.freq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-sm); margin-top: var(--space-sm);
}
.freq-option {
  border: 2px solid var(--border, rgba(255,255,255,.1));
  border-radius: 12px; padding: 14px 10px 12px;
  text-align: center; cursor: pointer; position: relative;
  transition: border-color .16s, background .16s, transform .13s;
}
.freq-option:hover { border-color: var(--gold,#d4af37); background: rgba(212,175,55,.05); transform: translateY(-1px); }
.freq-option.selected { border-color: var(--gold,#d4af37); background: rgba(212,175,55,.10); }
.freq-icon  { font-size: 1.4rem; margin-bottom: 4px; }
.freq-label { font-size: .82rem; font-weight: 700; }
.freq-sub   { font-size: .7rem; color: var(--text-muted,#888); margin-top: 2px; }
.freq-badge {
  display: inline-block; margin-top: 5px;
  background: #4eca85; color: #0a2a1a;
  font-size: .67rem; font-weight: 800;
  padding: 2px 8px; border-radius: 20px;
}
.freq-badge.grey { background: rgba(255,255,255,.1); color: var(--text-muted,#888); }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   QUOTE vs BOOK
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.intent-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-md); margin-top: var(--space-sm);
}
@media (max-width: 500px) { .intent-grid { grid-template-columns: 1fr; } }
.intent-option {
  border: 2px solid var(--border, rgba(255,255,255,.1));
  border-radius: 14px; padding: 22px 16px;
  cursor: pointer; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  transition: border-color .16s, background .16s, transform .14s;
}
.intent-option:hover { border-color: var(--gold,#d4af37); transform: translateY(-2px); }
.intent-option.selected { border-color: var(--gold,#d4af37); background: rgba(212,175,55,.08); }
.intent-icon  { font-size: 2rem; }
.intent-title { font-weight: 700; font-size: .95rem; }
.intent-desc  { font-size: .78rem; color: var(--text-muted,#888); line-height: 1.45; }
.intent-check {
  width: 18px; height: 18px; border-radius: 50%; margin-top: 4px;
  border: 2px solid rgba(255,255,255,.2);
  transition: background .16s, border-color .16s;
}
.intent-option.selected .intent-check { background: var(--gold,#d4af37); border-color: var(--gold,#d4af37); }

/* Highlight animation for newly confirmed booking row */
@keyframes highlight-pulse {
  0%   { background-color: rgba(212,175,55,.35); }
  60%  { background-color: rgba(212,175,55,.15); }
  100% { background-color: transparent; }
}
tr.highlight-new {
  animation: highlight-pulse 2.4s ease-out forwards;
  outline: 2px solid rgba(212,175,55,.5); outline-offset: -1px;
}

/* Service tabs */
.service-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding-bottom: 2px;
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: none;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  position: relative;
}

.service-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .2s cubic-bezier(.22,1,.36,1);
}

.service-tab:hover {
  color: var(--text-primary);
  background: rgba(212, 175, 55, .06);
}

.service-tab:hover::after {
  transform: translateX(-50%) scaleX(0.5);
}

.service-tab.active {
  color: var(--gold);
  background: rgba(212, 175, 55, .08);
}

.service-tab.active::after {
  transform: translateX(-50%) scaleX(1);
}

.service-tab i {
  font-size: 1rem;
  opacity: .8;
}

.service-tab.active i {
  opacity: 1;
}

/* Category panels (shown/hidden by tab) */
.service-categories {
  min-height: 200px;
}

.service-category {
  display: none;
  animation: category-fade-in .3s ease-out;
}

.service-category.active {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@keyframes category-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Service cards inside category */
.service-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .service-choice-grid {
    grid-template-columns: 1fr;
  }
}

.booking-service-option {
  position: relative;
  cursor: pointer;
  margin: 0;
  display: block;
}

.booking-service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.booking-service-option .card {
  transition: border-color .18s, box-shadow .18s, transform .18s;
  border: 2px solid var(--border);
  padding: var(--space-4);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.booking-service-option .card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, .12);
}

.booking-service-option input:checked+.card,
.booking-service-option .card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .15), 0 6px 20px rgba(212, 175, 55, .1);
}

.service-icon-lg {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--gold);
  transition: transform .2s;
}

.booking-service-option .card:hover .service-icon-lg {
  transform: scale(1.1);
}

.booking-service-option .card h3.h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.booking-service-option .card p.body-sm {
  font-size: .78rem;
  line-height: 1.45;
  flex: 1;
}

.booking-price-display {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: var(--space-xs);
}

.service-recurring-badge {
  margin-top: 6px;
}

.service-recurring-badge .badge {
  font-size: .6rem;
  letter-spacing: .04em;
}

/* Scrollable step card with sticky footer */
.booking-step-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 200px);
  min-height: 300px;
}

.step-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-right: 4px;
}

.booking-step-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-md);
  border-radius: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  z-index: 2;
}

.booking-step-footer .body-sm {
  font-weight: 500;
}

.booking-step-title,
.booking-step-subtitle {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .booking-step-card {
    max-height: none;
    min-height: auto;
  }
  .step-scroll {
    overflow-y: visible;
  }
}
