/* ==========================================================================
   CyberHostel Almada - Ultra-Performant Luxury Dark & High-FPS Tech Design System
   ========================================================================== */

@font-face {
  font-family: 'QForTheMemories';
  src: url('../Q%20for%20the%20Memories.otf') format('opentype'),
       url('Q%20for%20the%20Memories.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary-purple: #8B00FF;
  --color-purple-glow: rgba(139, 0, 255, 0.35);
  --color-accent-yellow: #E7C65A;
  --color-yellow-glow: rgba(231, 198, 90, 0.3);
  --color-bg-dark: #040407;
  --color-bg-surface: #0A0A10;
  --color-bg-glass: rgba(10, 10, 16, 0.75);
  --border-glass: rgba(255, 255, 255, 0.06);
}

/* Custom Scrollbar - GPU efficient */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #040407;
}

::-webkit-scrollbar-thumb {
  background: #1C1C2B;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8B00FF;
}

/* Base Body Styling & Smooth Scrolling Optimization */
html {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #040407;
  color: #E2E8F0;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

::selection {
  background: #8B00FF;
  color: #FFFFFF;
}

/* Custom Q For The Memories Headlines with Balanced Tracking */
.font-display, .font-headline, h1, h2, h3 {
  font-family: 'QForTheMemories', 'Space Grotesk', 'Outfit', sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.font-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-logo {
  font-family: 'QForTheMemories', 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
}

/* Fast Fluid Section Rendering without Layout Thrashing */
.section-deferred {
  contain: style;
}

/* Optimized Hardware-Accelerated Glassmorphism */
.glass-panel {
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(139, 0, 255, 0.4);
  box-shadow: 0 12px 32px -8px rgba(139, 0, 255, 0.25);
  transform: translateY(-3px) translateZ(0);
}

/* ==========================================================================
   DYNAMIC ACCENT GLOWS FOR CARDS (Hover only - never active at rest)
   ========================================================================== */

/* 1. Yellow Accent Cards on Hover Only */
.glass-panel[class*="hover:border-cyber-yellow"]:hover,
.hover\:border-cyber-yellow\/40:hover,
.hover\:border-cyber-yellow\/50:hover,
.hover\:border-cyber-yellow:hover,
.card-glow-yellow:hover,
.card-accent-yellow:hover {
  border-color: rgba(231, 198, 90, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(231, 198, 90, 0.28) !important;
}

/* 2. Emerald / Green Accent Cards on Hover Only */
.glass-panel[class*="hover:border-emerald"]:hover,
.hover\:border-emerald-500\/40:hover,
.card-glow-emerald:hover {
  border-color: rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.28) !important;
}

/* 3. Cyan / Blue Accent Cards on Hover Only */
.glass-panel[class*="hover:border-cyan"]:hover,
.card-glow-cyan:hover {
  border-color: rgba(6, 182, 212, 0.65) !important;
  box-shadow: 0 12px 32px -8px rgba(6, 182, 212, 0.28) !important;
}

.glass-panel-purple {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.2) 0%, rgba(10, 10, 16, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 0, 255, 0.25);
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Cyber Subtle Grid Overlay - High Performance CSS Pattern */
.cyber-grid {
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  transform: translateZ(0);
  pointer-events: none;
}

/* Ambient Ambient Glows - GPU Accelerated Layers */
.ambient-glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 25%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 0, 255, 0.15) 0%, rgba(139, 0, 255, 0) 70%);
  border-radius: 50%;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 198, 90, 0.1) 0%, rgba(231, 198, 90, 0) 70%);
  border-radius: 50%;
  transform: translateZ(0);
}

.ambient-glow-3 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 0, 255, 0.12) 0%, rgba(139, 0, 255, 0) 70%);
  border-radius: 50%;
  transform: translateZ(0);
}

/* Sophisticated Glows */
.glow-purple {
  box-shadow: 0 0 28px rgba(139, 0, 255, 0.35);
}

.glow-yellow {
  box-shadow: 0 0 28px rgba(231, 198, 90, 0.3);
}

.glow-text-purple {
  text-shadow: 0 0 20px rgba(139, 0, 255, 0.45);
}

.glow-text-yellow {
  text-shadow: 0 0 20px rgba(231, 198, 90, 0.35);
}

/* Deep Radial Spotlight */
.bg-radial-gradient {
  background: radial-gradient(circle at 50% 15%, rgba(139, 0, 255, 0.14) 0%, rgba(4, 4, 7, 0) 65%);
}

/* Modal Smooth Hardware-Accelerated Animations */
.modal-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, visibility;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: scale(0.96) translateY(8px) translateZ(0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0) translateZ(0);
}

/* Gallery Item Transition Class */
.gallery-item {
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gallery-item.hidden-item {
  opacity: 0 !important;
  transform: scale(0.96) translateZ(0) !important;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* Ambient Pulse Animation */
@keyframes pulseSubtle {
  0%, 100% {
    transform: scale(1) translateZ(0);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04) translateZ(0);
    opacity: 1;
  }
}

.animate-pulse-glow {
  animation: pulseSubtle 8s ease-in-out infinite;
}

/* Custom Airbnb-Style Dark Calendar */
.cyber-cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.cyber-cal-day.available:hover {
  background-color: rgba(139, 92, 246, 0.35);
  color: #FFF;
  transform: scale(1.08);
}

.cyber-cal-day.selected-start,
.cyber-cal-day.selected-end {
  background: linear-gradient(135deg, #7C3AED, #A855F7) !important;
  color: #FFF !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5) !important;
}

.cyber-cal-day.in-range {
  background-color: rgba(139, 92, 246, 0.2) !important;
  color: #E2E8F0 !important;
  border-radius: 0 !important;
}

.cyber-cal-day.disabled-past {
  color: #475569 !important;
  opacity: 0.25 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.cyber-cal-day.disabled-booked {
  color: #64748B !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  text-decoration: line-through !important;
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  border: 1px dashed rgba(239, 68, 68, 0.3) !important;
}

.cyber-cal-day.disabled-booked::after {
  content: 'Esgotado';
  position: absolute;
  bottom: 2px;
  font-size: 7px;
  color: #F87171;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 700;
}

/* Reduced Motion for Accessibility and Battery Efficiency */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-pulse-glow {
    animation: none !important;
  }
}

/* ==========================================================================
   Mobile-First Luxury Touch & Usability Enhancements
   ========================================================================== */

/* Prevent double-tap zoom delay & clear webkit tap highlight */
* {
  -webkit-tap-highlight-color: transparent;
}

/* iOS Safari Automatic Zoom Prevention on input focus */
@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Smooth Hidden Scrollbar for Horizontal Pillbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Touch active scale feedback */
.touch-active {
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}
.touch-active:active {
  transform: scale(0.97);
  opacity: 0.92;
}

/* Mobile full-card tap selection for extras & upgrades */
.addon-card-selectable {
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  user-select: none;
}
.addon-card-selectable:active {
  transform: scale(0.985);
}
.addon-card-selectable:has(input:checked) {
  border-color: rgba(139, 0, 255, 0.7) !important;
  background: rgba(139, 0, 255, 0.12) !important;
  box-shadow: 0 0 16px rgba(139, 0, 255, 0.2);
}

/* Responsive floating WhatsApp button clearance on mobile */
@media (max-width: 640px) {
  #floating-whatsapp-btn {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1rem !important;
    width: 48px !important;
    height: 48px !important;
  }
  
  /* Compact calendar day size for small screens (360px-390px) */
  .cyber-cal-day {
    font-size: 0.75rem;
  }
}

/* Floating Centered Dialog Modals — Centered on screen with side margins */
/* Using visibility approach to avoid Tailwind hidden class conflicts */
.modal-backdrop {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.modal-backdrop.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

/* Ensure Tailwind hidden doesn't break our modal — we manage visibility via .active */
.modal-backdrop.hidden {
  display: flex !important;
}

.modal-backdrop .modal-content {
  border-radius: 1.5rem !important;
  max-height: 90vh !important;
  width: 100% !important;
  max-width: 32rem;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: scale(0.94) translateY(8px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  margin: auto !important;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.9), 0 0 48px rgba(139, 0, 255, 0.15) !important;
}

.modal-backdrop.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* PC / Desktop: Larger horizontal width for Space Details and Confirmation modals */
@media (min-width: 768px) {
  #modal-space-details .modal-content {
    max-width: 60rem !important; /* 960px wide horizontal cinematic layout */
    width: 94% !important;
  }
  
  #modal-checkout .modal-content {
    max-width: 52rem !important; /* 832px wide 2-column confirmation layout */
    width: 92% !important;
  }

  #modal-smart-suggestions .modal-content,
  #modal-smart-suggestions.modal-backdrop .modal-content {
    max-width: 74rem !important; /* 1184px wide desktop canvas */
    width: 95% !important;
  }
}

@media (min-width: 1024px) {
  #modal-smart-suggestions .modal-content,
  #modal-smart-suggestions.modal-backdrop .modal-content {
    max-width: 76rem !important; /* 1216px spacious layout */
    width: 92% !important;
    max-height: fit-content !important;
    height: auto !important;
    overflow: hidden !important;
  }

  #modal-smart-suggestions .smart-modal-scrollable {
    overflow: visible !important;
    max-height: none !important;
  }
}

/* Mobile: keep centered with comfortable 1rem margins on each side */
@media (max-width: 640px) {
  .modal-backdrop:not(#lightbox-modal) {
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
  }
  .modal-backdrop:not(#lightbox-modal) .modal-content {
    width: calc(100vw - 2rem) !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: 87vh !important;
    border-radius: 1.5rem !important;
    border-bottom-left-radius: 1.5rem !important;
    border-bottom-right-radius: 1.5rem !important;
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
  }
}

/* Horizontal Snap Carousel for Space Cards on Mobile */
.carousel-snap-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: calc(50vw - 145px);
  padding-right: calc(50vw - 145px);
  scroll-padding: 0 calc(50vw - 145px);
}
.carousel-snap-item {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 290px;
  max-width: 80vw;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .carousel-snap-container {
    overflow: visible !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    scroll-padding: 0 !important;
  }
  .carousel-snap-item {
    position: relative;
    width: auto !important;
    max-width: none !important;
  }
  .carousel-snap-item:hover {
    transform: translateY(-5px) !important;
    z-index: 20;
    box-shadow: 0 18px 40px -8px rgba(139, 0, 255, 0.35) !important;
  }
}

/* Luxury Cyberpunk Mobile Drawer Navigation (Solid High-Contrast, No Frosted Glass) */
.mobile-nav-card {
  background: #11111E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  padding: 0.85rem 1.1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-card:active {
  transform: scale(0.975);
  background: #18182D;
  border-color: rgba(139, 0, 255, 0.5);
}
.mobile-nav-card.active-nav {
  border-color: rgba(231, 198, 90, 0.6);
  background: #181528;
}

/* Mobile Menu Toggle State & Luxury Spring Animation */
#svg-menu-cross {
  display: none !important;
}
#svg-menu-hamburger {
  display: block !important;
}

body.menu-open #svg-menu-cross {
  display: block !important;
  animation: rotateCrossIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
body.menu-open #svg-menu-hamburger {
  display: none !important;
}

@keyframes rotateCrossIn {
  from {
    transform: rotate(-90deg) scale(0.7);
    opacity: 0;
  }
  to {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

/* Fluid Drawer Animation */
#mobile-menu {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.32s;
  will-change: transform, opacity;
}

body.menu-open #mobile-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Luxury Staggered Cascading Animation for Navigation Cards */
#mobile-menu .mobile-nav-card {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

body.menu-open #mobile-menu .mobile-nav-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.04s;
}
body.menu-open #mobile-menu .mobile-nav-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.08s;
}
body.menu-open #mobile-menu .mobile-nav-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.12s;
}
body.menu-open #mobile-menu .mobile-nav-card:nth-child(4) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.16s;
}
body.menu-open #mobile-menu .mobile-nav-card:nth-child(5) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.20s;
}

/* Staggered Entry for Drawer Footer */
#mobile-menu .drawer-footer {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

body.menu-open #mobile-menu .drawer-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

body.menu-open #floating-whatsapp-btn {
  display: none !important;
}

/* Precise Fixed Header Scroll Offsets */
html {
  scroll-behavior: smooth;
}
section[id], header[id] {
  scroll-margin-top: 85px;
}

/* ============================================================== */
/* SMART SUGGESTION PANEL & MULTI-SERVICE CARDS (PREMIUM WHITESPACE & BALANCE) */
/* ============================================================== */
.smart-modal-container {
  max-width: 58rem;
  width: 95%;
  background: radial-gradient(circle at 50% 0%, rgba(139, 0, 255, 0.08) 0%, rgba(8, 8, 14, 0.98) 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 0, 255, 0.2);
}

.smart-featured-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.smart-featured-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 0, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(139, 0, 255, 0.25);
}

.smart-featured-card.is-selected {
  background: linear-gradient(135deg, rgba(139, 0, 255, 0.2) 0%, rgba(18, 10, 30, 0.8) 100%);
  border-color: #8B00FF;
  box-shadow: 0 0 25px rgba(139, 0, 255, 0.35);
}

.smart-addon-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.15rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.smart-addon-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(231, 198, 90, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6);
}

.smart-addon-card.is-selected {
  background: linear-gradient(135deg, rgba(139, 0, 255, 0.18) 0%, rgba(15, 8, 26, 0.7) 100%);
  border-color: #8B00FF;
  box-shadow: 0 0 20px rgba(139, 0, 255, 0.3);
}

.smart-card-badge,
.smart-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 0, 255, 0.2);
  border: 1px solid rgba(139, 0, 255, 0.45);
  color: #E7C65A;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.smart-pill-popular {
  background: rgba(231, 198, 90, 0.16) !important;
  border-color: rgba(231, 198, 90, 0.45) !important;
  color: #F8E594 !important;
}

.smart-pill-vip {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(52, 211, 153, 0.5) !important;
  color: #6EE7B7 !important;
}

.smart-pill-studio {
  background: rgba(168, 85, 247, 0.2) !important;
  border-color: rgba(192, 132, 252, 0.5) !important;
  color: #E9D5FF !important;
}

.smart-pill-gaming {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  color: #FDE68A !important;
}

@keyframes smartPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

.smart-animate-pulse {
  animation: smartPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Premium, Balanced Smart Suggestions Card */
.smart-card-item {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(13, 13, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.smart-card-item:hover {
  border-color: rgba(139, 0, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(139, 0, 255, 0.16);
}

.smart-card-item.is-selected {
  background: linear-gradient(165deg, rgba(139, 0, 255, 0.18) 0%, rgba(18, 10, 36, 0.95) 100%);
  border-color: #8B00FF;
  box-shadow: 0 0 24px rgba(139, 0, 255, 0.3), inset 0 0 16px rgba(139, 0, 255, 0.12);
}

.smart-card-item.is-selected .smart-card-badge {
  background: rgba(139, 0, 255, 0.35);
  border-color: #8B00FF;
  color: #fff;
}

/* ============================================================== */
/* DEDICATED FULL-SCREEN CHECKOUT & TEYA PAYMENTS STYLING */
/* ============================================================== */
.checkout-page {
  min-height: 100vh;
  background-color: #05050A;
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(139, 0, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(231, 198, 90, 0.06) 0%, transparent 50%);
  color: #F8FAFC;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.checkout-glass-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04) 0%, rgba(13, 13, 23, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.checkout-glass-sidebar {
  background: linear-gradient(165deg, rgba(20, 12, 38, 0.85) 0%, rgba(10, 8, 18, 0.95) 100%);
  border: 1px solid rgba(139, 0, 255, 0.35);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(139, 0, 255, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.checkout-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.875rem;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  outline: none;
}

.checkout-input:focus {
  border-color: #8B00FF;
  background: rgba(139, 0, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(139, 0, 255, 0.25);
}

.teya-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(231, 198, 90, 0.2) 0%, rgba(139, 0, 255, 0.25) 100%);
  border: 1px solid rgba(231, 198, 90, 0.4);
  color: #F8E594;
}

.teya-method-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.25rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.teya-method-card:hover {
  border-color: rgba(231, 198, 90, 0.45);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.teya-method-card.is-selected {
  border-color: #E7C65A;
  background: linear-gradient(145deg, rgba(231, 198, 90, 0.1) 0%, rgba(139, 0, 255, 0.12) 100%);
  box-shadow: 0 0 20px rgba(231, 198, 90, 0.18);
}

.teya-tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.teya-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.teya-tab-btn.is-active {
  background: #8B00FF;
  border-color: #A855F7;
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 0, 255, 0.4);
}

.teya-mbway-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  border: 3px solid #E7C65A;
  color: #E7C65A;
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(231, 198, 90, 0.08);
  box-shadow: 0 0 25px rgba(231, 198, 90, 0.2);
}

@keyframes teyaRingPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.teya-pulse-ring {
  animation: teyaRingPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================================== */
/* AIRBNB CYBER CALENDAR & PREMIUM DROPDOWNS */
/* ============================================================== */
.cyber-cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  user-select: none;
}

.cyber-cal-day.available {
  background: rgba(255, 255, 255, 0.03);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cyber-cal-day.available:hover {
  background: rgba(139, 0, 255, 0.25);
  border-color: #A855F7;
  color: #fff;
  transform: scale(1.05);
}

.cyber-cal-day.selected-start,
.cyber-cal-day.selected-end {
  background: linear-gradient(135deg, #8B00FF 0%, #6D28D9 100%) !important;
  color: #fff !important;
  border-color: #E7C65A !important;
  box-shadow: 0 0 16px rgba(139, 0, 255, 0.6);
  font-weight: 800;
}

.cyber-cal-day.in-range {
  background: rgba(139, 0, 255, 0.18) !important;
  color: #E9D5FF !important;
  border-radius: 0.25rem;
  border-color: rgba(139, 0, 255, 0.3) !important;
}

.cyber-cal-day.disabled-past,
.cyber-cal-day.disabled-booked {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  background: transparent;
  color: #64748b;
  text-decoration: line-through;
}

/* Custom Cyber Select (Dropdown) */
.custom-cyber-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #0D0D16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A855F7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  color: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  outline: none;
}

.custom-cyber-select:hover {
  border-color: rgba(139, 0, 255, 0.4);
  background-color: #121220;
}

.custom-cyber-select:focus {
  border-color: #8B00FF;
  box-shadow: 0 0 0 3px rgba(139, 0, 255, 0.25);
}

.custom-cyber-select option {
  background-color: #0B0B14;
  color: #fff;
  padding: 0.5rem;
}

/* Premium Back Button */
.checkout-back-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.checkout-back-btn:hover {
  background: rgba(139, 0, 255, 0.2);
  border-color: rgba(139, 0, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 0, 255, 0.4);
  transform: translateX(-2px);
}

/* ============================================================== */
/* MOBILE RESPONSIVE ENHANCEMENTS (Zero Overflows, iOS Zoom Fix)  */
/* ============================================================== */
@media screen and (max-width: 640px) {
  .checkout-input,
  .custom-cyber-select,
  #customer-phone-prefix,
  #customer-country,
  #booking-promo-input {
    font-size: 16px !important;
  }

  .teya-tab-btn {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  .checkout-space-tab {
    padding: 0.5rem !important;
  }

  .glass-panel,
  .glass-panel-purple {
    border-radius: 1.25rem !important;
  }
}



