/* ==========================================================================
   SMART ROOM BOOKING THEME STYLES (BOOKING-THEME.CSS)
   Vibrant Pastel Pop & Friendly Gen-Z UI
   Palette: Coral Peach (#FF6B6B), Bubblegum Pink (#EC4899), Fresh Mint (#2DD4BF),
   Electric Sky Blue (#38BDF8), Sunshine Yellow (#FACC15), Pastel Aurora Mesh Background
   ========================================================================== */

.booking-theme {
  background-color: #FFFFFF;
  color: #1E293B;
  font-family: var(--font-thai);
}

/* ==========================================================================
   1. HERO SECTION (VIBRANT PASTEL POP)
   ========================================================================== */
.booking-hero {
  position: relative;
  padding: 5rem 0 6.5rem 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, rgba(56, 189, 248, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(45, 212, 191, 0.12) 0%, transparent 40%),
    #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 107, 107, 0.12);
}

.booking-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.booking-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
  border: 1.5px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-full);
  color: #E11D48;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
  animation: floatSlow 3s ease-in-out infinite alternate;
}

.booking-hero-title {
  font-size: 3.35rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.booking-hero-title span.glow-text {
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(255, 107, 107, 0.25));
}

.booking-hero-desc {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

/* ==========================================================================
   2. HERO INTERACTIVE DUAL MOCKUP (LINE LIFF SMARTPHONE + ADMIN PREVIEW)
   ========================================================================== */
.booking-mockup-duo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Simulated Smartphone Frame */
.phone-mockup-wrapper {
  width: 300px;
  height: 570px;
  background: #FFFFFF;
  border-radius: 42px;
  border: 10px solid #0F172A;
  box-shadow: 0 25px 50px -12px rgba(255, 107, 107, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8), 0 20px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 20px;
  background: #0F172A;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.liff-app-container {
  height: 100%;
  background: #F8FAFC;
  color: #0F172A;
  display: flex;
  flex-direction: column;
  padding-top: 1.35rem;
}

.liff-header-bar {
  background: linear-gradient(135deg, #06C755 0%, #059669 100%);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.25);
}

.liff-header-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.liff-body-content {
  padding: 1rem;
  flex-grow: 1;
  overflow-y: auto;
  font-size: 0.8rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

.liff-room-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.liff-room-card:hover, .liff-room-card.selected {
  border-color: #FF6B6B;
  background: rgba(255, 107, 107, 0.04);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.15);
  transform: translateY(-2px);
}

.liff-room-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.liff-room-meta {
  color: #64748B;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.liff-slot-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.slot-chip {
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: #F1F5F9;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
}

.slot-chip:hover {
  background: rgba(255, 107, 107, 0.15);
  color: #E11D48;
  border-color: #FF6B6B;
}

.slot-chip.active {
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.slot-chip.occupied {
  background: rgba(244, 63, 94, 0.08);
  color: #F43F5E;
  text-decoration: line-through;
  opacity: 0.6;
  cursor: not-allowed;
}

.liff-submit-btn {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, #06C755 0%, #059669 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.7rem;
  width: 100%;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
  transition: all var(--transition-fast);
}

.liff-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(6, 199, 85, 0.4);
}

/* Admin Dashboard Preview Backdrop Card */
.admin-preview-backdrop {
  position: absolute;
  right: -50px;
  top: 30px;
  width: 380px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: 0 20px 45px -10px rgba(56, 189, 248, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2;
}

.admin-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #E2E8F0;
}

.admin-pill-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(45, 212, 191, 0.15);
  color: #0D9488;
  font-weight: 700;
}

.matrix-mini-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.matrix-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid #E2E8F0;
}

.room-tag {
  font-weight: 700;
  color: #0284C7;
}

.status-dot-slot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #E11D48;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ==========================================================================
   3. CORE FEATURES GRID (6 CARDS - VIBRANT PASTEL POP)
   ========================================================================== */
.booking-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.booking-feature-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #F1F5F9;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.booking-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #FF6B6B, #EC4899, #38BDF8);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.booking-feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 20px 40px -10px rgba(255, 107, 107, 0.2);
  background: #FFFFFF;
}

.booking-feature-card:hover::before {
  opacity: 1;
}

.booking-feat-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
  color: #FF6B6B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 16px rgba(255, 107, 107, 0.1);
}

.booking-feature-card:hover .booking-feat-icon {
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 100%);
  color: #FFFFFF;
  box-shadow: var(--booking-glow);
  transform: scale(1.1) rotate(5deg);
}

.booking-feat-title {
  font-size: 1.3rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.booking-feat-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.booking-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0D9488;
  background: rgba(45, 212, 191, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

/* ==========================================================================
   4. 3-STEP WORKFLOW SECTION (PLAYFUL & CLEAN)
   ========================================================================== */
.workflow-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.04) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-top: 1px solid rgba(255, 107, 107, 0.1);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.workflow-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.workflow-card:hover {
  transform: translateY(-6px);
  border-color: #38BDF8;
  box-shadow: 0 20px 40px -10px rgba(56, 189, 248, 0.2);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-tech);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35);
}

.step-title {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.step-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
}

/* ==========================================================================
   5. INTERACTIVE TIME-SLOT MATRIX SIMULATOR (VIBRANT PASTEL)
   ========================================================================== */
.booking-sandbox-box {
  background: #FFFFFF;
  border: 2px solid rgba(255, 107, 107, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: 0 25px 60px -15px rgba(255, 107, 107, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.sandbox-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
}

.slot-selection-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.room-selector-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.room-tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: #475569;
  border: 1.5px solid #E2E8F0;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.room-tab-btn:hover {
  background: rgba(255, 107, 107, 0.12);
  color: #E11D48;
  border-color: #FF6B6B;
}

.room-tab-btn.active {
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35);
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.time-slot-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 0.95rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.time-slot-card:hover {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-3px);
}

.time-slot-card.selected {
  border-color: #06C755;
  background: rgba(6, 199, 85, 0.1);
  box-shadow: 0 0 0 3px rgba(6, 199, 85, 0.2);
}

.time-slot-card.reserved {
  background: rgba(244, 63, 94, 0.06);
  border-color: rgba(244, 63, 94, 0.2);
  opacity: 0.65;
  cursor: not-allowed;
}

.time-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.slot-status-text {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 600;
}

.time-slot-card.reserved .slot-status-text {
  color: #E11D48;
}

/* Booking Confirmation Preview Card */
.booking-ticket-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 2px solid rgba(255, 107, 107, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px -5px rgba(255, 107, 107, 0.15);
}

.ticket-header {
  border-bottom: 2px dashed #CBD5E1;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.ticket-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FF6B6B;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.ticket-label {
  color: #64748B;
  font-weight: 500;
}

.ticket-val {
  font-weight: 700;
  color: #0F172A;
}

.booking-preview-banner {
  margin: 1.2rem 0;
  padding: 1.1rem;
  background: linear-gradient(135deg, rgba(6, 199, 85, 0.08) 0%, rgba(45, 212, 191, 0.08) 100%);
  border: 1.5px dashed #10B981;
  border-radius: var(--radius-md);
  text-align: center;
}

.booking-preview-banner .banner-icon {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

.booking-preview-banner .banner-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #065F46;
  margin-bottom: 0.25rem;
}

.booking-preview-banner .banner-sub {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
}

.qr-code-preview {
  margin: 1.2rem auto;
  width: 105px;
  height: 105px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 2px solid #E2E8F0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   6. TESTIMONIALS / REVIEWS SECTION (FRIENDLY GEN-Z VIBES)
   ========================================================================== */
.testimonials-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.testimonial-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 2px solid #F1F5F9;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: #EC4899;
  box-shadow: 0 20px 40px -10px rgba(236, 72, 153, 0.18);
}

.review-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9333EA;
  background: rgba(168, 85, 247, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B, #EC4899);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.25);
}

.author-name {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.78rem;
  color: #64748B;
}

/* ==========================================================================
   7. CTA BANNER (VIBRANT CORAL & PINK POP)
   ========================================================================== */
.booking-cta-banner {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #FF6B6B 0%, #EC4899 50%, #8B5CF6 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.booking-cta-banner .cta-banner-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.booking-cta-banner .cta-banner-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.btn-white-pop {
  background: #FFFFFF;
  color: #E11D48;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-white-pop:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  background: #FFF1F2;
}
