/**
 * SkalaViagens - Riviera Daylight Luxury & Aero-Prestige Design System
 * Aesthetic: Sunlit Ivory (#f8fafc), Pure White Paper (#ffffff), Sunset Coral (#ff6b35), Solar Gold (#f59e0b)
 * Features: Boarding Pass Physical Vouchers, Passport Stamps, Off-Canvas Passenger Menu, Shimmer CTAs
 * NO PURPLE (Strictly Banned)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700;800&display=swap');

:root {
  /* Riviera Daylight Base Palette */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-sun-tint: #fffbeb;
  
  --border-card: #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-coral: rgba(255, 107, 53, 0.4);

  /* Sunset & Sunlit Neon Palette */
  --coral-sunset: #ff6b35;
  --coral-hover: #f97316;
  --coral-tint: rgba(255, 107, 53, 0.08);
  --gold-solar: #f59e0b;
  --gold-deep: #d97706;
  --gold-tint: rgba(245, 158, 11, 0.1);
  --sky-horizon: #0284c7;
  --sky-light: #e0f2fe;
  --emerald-profit: #059669;
  --red-alert: #dc2626;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Depth */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(255, 107, 53, 0.15);
  --shadow-btn: 0 6px 20px rgba(255, 107, 53, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(255, 107, 53, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(245, 158, 11, 0.07) 0%, transparent 35%),
    radial-gradient(circle at 50% 60%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #f8fafc 100%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.5;
  padding-bottom: 95px;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 35px;
  }
}

/* ========================================================
   ANIMATIONS & KEYFRAMES
   ======================================================== */
@keyframes flight-shimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  50%, 100% { transform: translateX(200%) skewX(-20deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-shimmer-fast {
  position: relative;
  overflow: hidden;
}

.animate-shimmer-fast::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: flight-shimmer 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================
   RIVIERA DAYLIGHT BOARDING PASS & CARDS
   ======================================================== */
.boarding-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.boarding-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Physical Boarding Pass Ticket Voucher with punched notches */
.ticket-voucher {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.ticket-notch-left, .ticket-notch-right {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  background-color: var(--bg-canvas);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.ticket-notch-left {
  left: -11px;
  border-right: 1px solid rgba(226, 232, 240, 0.95);
}

.ticket-notch-right {
  right: -11px;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
}

.ticket-perforated {
  border-top: 1.5px dashed #cbd5e1;
}

/* Real-looking Passport Immigration Stamps */
.passport-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px dashed #ea580c;
  color: #c2410c;
  padding: 3px 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
  background: rgba(234, 88, 12, 0.06);
  box-shadow: inset 0 0 6px rgba(234, 88, 12, 0.1);
}

.passport-stamp-gold {
  border-color: #d97706;
  color: #b45309;
  background: rgba(245, 158, 11, 0.08);
  box-shadow: inset 0 0 6px rgba(245, 158, 11, 0.12);
  transform: rotate(2deg);
}

/* Airport IATA Tag */
.iata-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(2, 132, 199, 0.08);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 2.5px 8px;
  border-radius: 6px;
}

/* ========================================================
   HIGH-ENERGY LUXURY BUTTONS
   ======================================================== */
.btn-sunset {
  background: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 14px;
  padding: 13px 26px;
  cursor: pointer;
  box-shadow: var(--shadow-btn), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-sunset:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn-sunset:active {
  transform: translateY(0);
}

.btn-solar {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 14px;
  padding: 13px 26px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-solar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

.btn-terminal-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-terminal-outline:hover {
  border-color: var(--coral-sunset);
  color: var(--coral-sunset);
  background: #fff7ed;
}

/* ========================================================
   CLEAN TOP HEADER & SLIDE-OVER DRAWER
   ======================================================== */
.terminal-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
}

/* Passenger Menu Toggle Button */
.btn-vip-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-vip-menu:hover {
  border-color: var(--coral-sunset);
  color: var(--coral-sunset);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
  transform: translateY(-1px);
}

/* Drawer Backdrop & Panel */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.2);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-backdrop.active .drawer-panel {
  transform: translateX(0);
}

/* Drawer Menu Links */
.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.drawer-nav-link:hover {
  background: #fff7ed;
  border-color: rgba(255, 107, 53, 0.2);
  color: var(--coral-sunset);
  transform: translateX(4px);
}

.drawer-nav-link.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(255, 107, 53, 0.3);
  color: var(--coral-sunset);
}

/* ========================================================
   BOTTOM MOBILE DOCK NAVIGATION
   ======================================================== */
.bottom-terminal-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 40;
}

@media (min-width: 1024px) {
  .bottom-terminal-nav {
    display: none;
  }
}

.terminal-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
}

.terminal-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.terminal-nav-item.active {
  color: var(--coral-sunset);
}

.terminal-nav-item.active svg {
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 6px rgba(255, 107, 53, 0.3));
}

.terminal-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 3px;
  background: var(--coral-sunset);
  border-radius: 3px;
}

/* ========================================================
   FLOATING ACTION BUTTON (TELEGRAM ONLY)
   ======================================================== */
.flight-float-actions {
  position: fixed;
  bottom: 86px;
  right: 18px;
  z-index: 45;
}

@media (min-width: 1024px) {
  .flight-float-actions {
    bottom: 26px;
    right: 26px;
  }
}

.flight-btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.flight-btn-circle:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.6);
}

.flight-btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #2AABEE 100%);
  border: 2px solid #ffffff;
}

/* Custom Scrollbar for Light Mode */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--coral-sunset);
}

/* ========================================================
   ADMIN STANDARDIZATION & RIVIERA LIGHT ADMIN SYSTEM
   ======================================================== */
.marine-glass, .admin-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  color: var(--text-body);
}

.marine-input, .admin-input {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  padding: 0.625rem 0.875rem !important;
  color: #0f172a !important;
  font-size: 0.8125rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.marine-input:focus, .admin-input:focus {
  background: #ffffff !important;
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15) !important;
}

.btn-marine, .admin-btn-outline {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.btn-marine:hover, .admin-btn-outline:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.btn-cyan, .admin-btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #f97316 50%, #f59e0b 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.btn-cyan:hover, .admin-btn-primary:hover {
  filter: brightness(1.06) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35) !important;
}

.badge-marine {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.2rem 0.55rem !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  background: rgba(255, 107, 53, 0.1) !important;
  color: #ea580c !important;
  border: 1px solid rgba(255, 107, 53, 0.25) !important;
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  max-width: 32rem;
  width: 100%;
  color: #0f172a;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}


