/*
Theme Name:  Wovri
Theme URI:   https://wovri.com
Description: Wovri — AI Travel Platform v3.0
Author:      Wovri
Version:     3.0.0
Text Domain: wovri
*/

/* ══════════════════════════════════════════════════════════════
   BRAND TOKENS  —  match wovri.com  (#08090c base, not pure black)
══════════════════════════════════════════════════════════════ */
:root {
  /* Background layers — wovri.com dark theme */
  --wv-bg:       #08090c;   /* main bg — from meta theme-color */
  --wv-bg2:      #0d0e14;   /* card bg */
  --wv-bg3:      #12131a;   /* inner surfaces */
  --wv-bg4:      #1a1b25;   /* elevated panels */

  /* Brand */
  --wv-gold:     #b8892a;
  --wv-gold-lt:  #d4a843;
  --wv-gold-dk:  #8a6520;

  /* Text */
  --wv-sand:     #f2ede4;
  --wv-sand-2:   rgba(242,237,228,0.75);
  --wv-sand-3:   rgba(242,237,228,0.42);
  --wv-sand-4:   rgba(242,237,228,0.18);

  /* Status */
  --wv-green:    #2ecc71;
  --wv-red:      #e74c3c;
  --wv-amber:    #f39c12;
  --wv-blue:     #3498db;

  /* Borders */
  --wv-border:   rgba(184,137,42,0.16);
  --wv-border-2: rgba(255,255,255,0.07);

  /* Shadows */
  --wv-shadow:   0 4px 24px rgba(0,0,0,0.45);
  --wv-shadow-lg:0 8px 48px rgba(0,0,0,0.6);
  --wv-glow:     0 0 28px rgba(184,137,42,0.2);

  /* Radius */
  --wv-r:  12px;
  --wv-r2: 8px;
  --wv-r3: 6px;

  /* Typography — customizable via admin */
  --wv-font-head: Georgia, 'Times New Roman', serif;
  --wv-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --wv-font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Header height */
  --wv-hdr: 64px;
}

/* ══════════════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--wv-font-body);
  background: var(--wv-bg);
  color: var(--wv-sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wv-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wv-gold-lt); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ══════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════ */
.wc     { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wc-sm  { max-width: 820px;  margin: 0 auto; padding: 0 24px; }
.wc-xs  { max-width: 520px;  margin: 0 auto; padding: 0 24px; }
.sr-only{ position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
#wovri-header {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  height: var(--wv-hdr);
  background: rgba(8,9,12,.97);
  border-bottom: 2px solid var(--wv-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9000;
  display: flex; align-items: center;
  padding: 0 28px; gap: 20px;
  transition: box-shadow .3s;
}
#wovri-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.7); }
.admin-bar #wovri-header { top: 32px; }
@media screen and (max-width:782px) { .admin-bar #wovri-header { top: 46px; } }

/* Logo */
.w-logo-wrap { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.w-logo-img  { height: 36px; width: auto; display: block; }
.w-tagline   { font-size: 7px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--wv-sand-3); display: block; margin-top: 1px; }

/* Desktop nav */
#w-desktop-nav { display: none; flex: 1; justify-content: center; align-items: center; gap: 2px; }
@media(min-width:1024px) { #w-desktop-nav { display: flex; } }
#w-desktop-nav a {
  color: var(--wv-sand-2); font-size: 13.5px; font-weight: 600;
  padding: 7px 14px; border-radius: 7px; transition: all .2s; white-space: nowrap;
}
#w-desktop-nav a:hover,
#w-desktop-nav .current-menu-item > a { color: var(--wv-gold); background: rgba(184,137,42,.08); }

/* Header right */
.w-header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Currency selector in header */
.w-currency-sel {
  background: transparent; border: 1px solid var(--wv-border);
  color: var(--wv-sand-3); font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: var(--wv-r3); cursor: pointer;
  outline: none; appearance: none; transition: border-color .2s;
}
.w-currency-sel:hover,
.w-currency-sel:focus { border-color: var(--wv-gold); color: var(--wv-gold); }

.w-hdr-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--wv-gold); cursor: pointer; overflow: hidden; }

.w-header-signin { color: var(--wv-sand-3); font-size: 13px; transition: color .2s; }
.w-header-signin:hover { color: var(--wv-sand); }

.w-header-cta {
  background: var(--wv-gold); color: #000 !important;
  font-size: 13px; font-weight: 700; padding: 8px 18px;
  border-radius: var(--wv-r2); transition: all .2s; white-space: nowrap;
}
.w-header-cta:hover { background: var(--wv-gold-lt); transform: translateY(-1px); }

/* Hamburger */
.w-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; background: none; border: none;
  padding: 8px; cursor: pointer; flex-shrink: 0;
}
@media(min-width:1024px) { .w-hamburger { display: none; } }
.w-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--wv-sand); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.w-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.w-hamburger.is-open span:nth-child(2) { opacity: 0; }
.w-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════════════════════════ */
#w-mob-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px); z-index: 8998;
  opacity: 0; pointer-events: none; transition: opacity .28s;
}
#w-mob-overlay.show { opacity: 1; pointer-events: all; }
#w-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(320px,88vw); background: var(--wv-bg2);
  z-index: 8999; transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; display: flex; flex-direction: column;
}
#w-mobile-menu.open { transform: translateX(0); }
.w-mob-hdr { display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--wv-border);flex-shrink:0; }
.w-mob-nav a { display:flex;align-items:center;gap:12px;padding:14px 22px;color:var(--wv-sand-2);font-size:15px;font-weight:500;border-bottom:1px solid rgba(255,255,255,.05);transition:all .2s; }
.w-mob-nav a:hover { color:var(--wv-gold);background:rgba(184,137,42,.06); }
.w-mob-nav .mob-icon { font-size:18px;width:24px;text-align:center;flex-shrink:0; }
.w-mob-actions { padding:16px 20px;border-top:1px solid var(--wv-border);display:flex;flex-direction:column;gap:8px; }
.w-mob-close { background:none;border:none;color:var(--wv-sand-3);font-size:22px;cursor:pointer; }

/* ══════════════════════════════════════════════════════════════
   MAIN & LAYOUT
══════════════════════════════════════════════════════════════ */
#wovri-main { padding-top: var(--wv-hdr); min-height: 60vh; }
.admin-bar #wovri-main { padding-top: calc(var(--wv-hdr) + 32px); }
@media screen and (max-width:782px) { .admin-bar #wovri-main { padding-top: calc(var(--wv-hdr) + 46px); } }
#wovri-main.home-main { padding-top: 0; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS  — consistent across all pages
══════════════════════════════════════════════════════════════ */
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--wv-r2);
  font-size: 14px; font-weight: 700; border: none;
  cursor: pointer; white-space: nowrap; transition: all .2s; text-decoration: none;
}
.wbtn-primary { background: var(--wv-gold); color: #000; }
.wbtn-primary:hover { background: var(--wv-gold-lt); transform: translateY(-1px); color: #000; }
.wbtn-outline { background: transparent; border: 1px solid rgba(242,237,228,.18); color: var(--wv-sand); }
.wbtn-outline:hover { border-color: var(--wv-gold); color: var(--wv-gold); }
.wbtn-ghost   { background: rgba(184,137,42,.10); color: var(--wv-gold); border: 1px solid rgba(184,137,42,.22); }
.wbtn-ghost:hover { background: var(--wv-gold); color: #000; }
.wbtn-danger  { background: var(--wv-red); color: #fff; }
.wbtn-sm  { padding: 7px 14px; font-size: 12px; }
.wbtn-lg  { padding: 14px 32px; font-size: 15px; border-radius: 10px; }
.wbtn-block { width: 100%; }
.wbtn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════════════════════════════
   FORMS  — standard theme style for ALL pages
══════════════════════════════════════════════════════════════ */
.wv-form { display: flex; flex-direction: column; gap: 0; }
.wv-form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.wv-form-row-2 { grid-template-columns: 1fr 1fr; }
.wv-form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media(max-width:640px) { .wv-form-row-2,.wv-form-row-3 { grid-template-columns: 1fr; } }

.wv-field { display: flex; flex-direction: column; gap: 5px; }
.wv-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--wv-sand-3);
}

/* All inputs, selects, textareas — unified style */
.wv-input,
.wv-select,
.wv-textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--wv-r2);
  color: var(--wv-sand); font-size: 14px;
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.wv-input::placeholder { color: var(--wv-sand-4); }
.wv-input:focus,
.wv-select:focus,
.wv-textarea:focus {
  border-color: var(--wv-gold);
  box-shadow: 0 0 0 3px rgba(184,137,42,.12);
  background: rgba(255,255,255,.07);
}
.wv-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(242,237,228,.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.wv-select option { background: #1a1b25; color: var(--wv-sand); }
.wv-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Currency selector in forms */
.wv-currency-field {
  display: flex; align-items: flex-end; gap: 8px;
}
.wv-currency-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
  background: rgba(184,137,42,.12); color: var(--wv-gold);
  border: 1px solid rgba(184,137,42,.22); white-space: nowrap;
}

.wv-input-group { position: relative; }
.wv-input-icon  { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--wv-sand-3); pointer-events: none; }
.wv-input-group .wv-input { padding-left: 38px; }

.wv-form-error   { color: var(--wv-red);   font-size: 12px; margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.wv-form-success { color: var(--wv-green); font-size: 12px; margin-top: 4px; }
.wv-form-hint    { color: var(--wv-sand-3); font-size: 12px; margin-top: 4px; }

/* OTP inputs */
.wv-otp-row { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.wv-otp-digit {
  width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 700;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.1);
  border-radius: 10px; color: var(--wv-sand); outline: none; transition: border-color .2s;
}
.wv-otp-digit:focus { border-color: var(--wv-gold); box-shadow: 0 0 0 3px rgba(184,137,42,.15); }
.wv-otp-digit.filled { border-color: var(--wv-gold); }

/* Auth toggle */
.wv-auth-toggle { display: flex; background: rgba(255,255,255,.04); border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.wv-auth-toggle-btn { flex: 1; padding: 9px; border: none; background: none; color: var(--wv-sand-3); font-size: 13px; font-weight: 600; border-radius: 7px; cursor: pointer; transition: all .2s; }
.wv-auth-toggle-btn.active { background: var(--wv-gold); color: #000; }

/* ══════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════ */
.wv-card {
  background: var(--wv-bg2); border: 1px solid var(--wv-border);
  border-radius: var(--wv-r); padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}
.wv-card:hover { border-color: rgba(184,137,42,.28); }
.wv-card-title { font-family: var(--wv-font-head); font-size: 18px; color: var(--wv-sand); margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════════ */
.wv-section { padding: 72px 0; }
.wv-section-alt { background: var(--wv-bg2); }
.wv-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--wv-gold);
}
.wv-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--wv-gold); flex-shrink: 0; }
.wv-section-title {
  font-family: var(--wv-font-head);
  font-size: clamp(26px, 3.8vw, 44px); font-weight: 700;
  color: var(--wv-sand); line-height: 1.15; margin-bottom: 12px;
}
.wv-section-title em { color: var(--wv-gold); font-style: italic; }
.wv-section-sub { font-size: 15px; color: var(--wv-sand-3); max-width: 540px; line-height: 1.75; }

/* Grids */
.wv-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wv-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.wv-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media(max-width:960px) { .wv-grid-3,.wv-grid-4 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .wv-grid-2,.wv-grid-3,.wv-grid-4 { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   BADGES & ALERTS
══════════════════════════════════════════════════════════════ */
.wv-badge { display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:20px;font-size:10px;font-weight:700;letter-spacing:.3px; }
.wv-badge-gold  { background:rgba(184,137,42,.12);color:var(--wv-gold);border:1px solid rgba(184,137,42,.22); }
.wv-badge-green { background:rgba(46,204,113,.10);color:var(--wv-green);border:1px solid rgba(46,204,113,.2); }
.wv-badge-red   { background:rgba(231,76,60,.10);color:var(--wv-red);border:1px solid rgba(231,76,60,.2); }
.wv-badge-blue  { background:rgba(52,152,219,.10);color:var(--wv-blue);border:1px solid rgba(52,152,219,.2); }

.wv-alert { display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:9px;font-size:13px;margin-bottom:14px; }
.wv-alert-success { background:rgba(46,204,113,.08);color:var(--wv-green);border:1px solid rgba(46,204,113,.2); }
.wv-alert-error   { background:rgba(231,76,60,.08);color:var(--wv-red);border:1px solid rgba(231,76,60,.2); }
.wv-alert-info    { background:rgba(184,137,42,.08);color:var(--wv-gold);border:1px solid var(--wv-border); }
.wv-alert-warning { background:rgba(243,156,18,.08);color:var(--wv-amber);border:1px solid rgba(243,156,18,.2); }

/* ══════════════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════════════ */
.wv-tabs { display:flex;gap:2px;border-bottom:1px solid var(--wv-border);margin-bottom:24px; }
.wv-tab { padding:9px 18px;font-size:13px;font-weight:600;color:var(--wv-sand-3);border-bottom:2px solid transparent;cursor:pointer;transition:all .2s;margin-bottom:-1px;white-space:nowrap; }
.wv-tab.active { color:var(--wv-gold);border-bottom-color:var(--wv-gold); }
.wv-tab:hover:not(.active) { color:var(--wv-sand); }
.wv-tab-panel { display:none; }
.wv-tab-panel.active { display:block; }

/* ══════════════════════════════════════════════════════════════
   TABLE
══════════════════════════════════════════════════════════════ */
.wv-table-wrap { overflow-x:auto;border-radius:var(--wv-r);border:1px solid var(--wv-border); }
.wv-table { width:100%;border-collapse:collapse; }
.wv-table th { padding:11px 14px;text-align:left;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--wv-sand-3);background:rgba(255,255,255,.02);border-bottom:1px solid var(--wv-border); }
.wv-table td { padding:12px 14px;font-size:13px;color:var(--wv-sand-2);border-bottom:1px solid rgba(255,255,255,.04); }
.wv-table tr:last-child td { border-bottom:none; }
.wv-table tr:hover td { background:rgba(255,255,255,.02); }

/* ══════════════════════════════════════════════════════════════
   TOGGLES
══════════════════════════════════════════════════════════════ */
.wv-toggle { position:relative;width:44px;height:24px;flex-shrink:0; }
.wv-toggle input { opacity:0;width:0;height:0;position:absolute; }
.wv-toggle-slider { position:absolute;inset:0;background:rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:.3s; }
.wv-toggle-slider::before { content:'';position:absolute;width:18px;height:18px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.3s; }
.wv-toggle input:checked + .wv-toggle-slider { background:var(--wv-gold); }
.wv-toggle input:checked + .wv-toggle-slider::before { transform:translateX(20px); }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD LAYOUT
══════════════════════════════════════════════════════════════ */
.wv-dash { display:flex;min-height:calc(100vh - var(--wv-hdr)); }
.wv-dash-sidebar {
  width:252px;flex-shrink:0;background:var(--wv-bg2);
  border-right:1px solid var(--wv-border);
  padding:20px 0;position:sticky;top:var(--wv-hdr);
  height:calc(100vh - var(--wv-hdr));overflow-y:auto;
}
.wv-dash-content { flex:1;padding:28px;overflow:auto;background:var(--wv-bg); }
@media(max-width:880px) { .wv-dash{flex-direction:column} .wv-dash-sidebar{width:100%;height:auto;position:static;padding:10px 0} }

.wv-dash-nav-item { display:flex;align-items:center;gap:12px;padding:11px 18px;color:var(--wv-sand-3);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;border-left:3px solid transparent; }
.wv-dash-nav-item:hover { color:var(--wv-sand);background:rgba(184,137,42,.04); }
.wv-dash-nav-item.active { color:var(--wv-gold);background:rgba(184,137,42,.07);border-left-color:var(--wv-gold);font-weight:700; }
.wv-dash-nav-item .nav-icon { font-size:17px;width:22px;text-align:center;flex-shrink:0; }
.wv-dash-section-label { padding:14px 18px 6px;font-size:9px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--wv-sand-4); }

.wv-stat-card { background:var(--wv-bg2);border:1px solid var(--wv-border);border-radius:var(--wv-r);padding:20px; }
.wv-stat-value { font-family:var(--wv-font-head);font-size:32px;font-weight:700;color:var(--wv-gold);line-height:1; }
.wv-stat-label { font-size:11px;color:var(--wv-sand-3);margin-top:5px;text-transform:uppercase;letter-spacing:1px; }

/* ══════════════════════════════════════════════════════════════
   WOVRI-AI CHAT WIDGET
══════════════════════════════════════════════════════════════ */
#w-ai-bubble {
  position: fixed; bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: var(--wv-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 8990;
  box-shadow: 0 4px 20px rgba(184,137,42,.45); border: none;
  transition: transform .2s, box-shadow .2s;
}
#w-ai-bubble:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(184,137,42,.6); }
#w-ai-bubble svg { width: 24px; height: 24px; fill: #000; }
.w-ai-pulse { position:absolute;width:54px;height:54px;border-radius:50%;background:var(--wv-gold);animation:wvPulse 2.5s ease-out infinite;opacity:0; }
@keyframes wvPulse { 0%{transform:scale(1);opacity:.4} 100%{transform:scale(1.8);opacity:0} }

#w-ai-panel {
  position: fixed; bottom: 90px; right: 24px;
  width: min(380px, calc(100vw - 32px));
  height: min(580px, calc(100vh - 120px));
  background: var(--wv-bg2); border: 1px solid var(--wv-border);
  border-radius: 16px; box-shadow: var(--wv-shadow-lg);
  z-index: 8989; display: none; flex-direction: column; overflow: hidden;
}
#w-ai-panel.open { display: flex; animation: wvFadeUp .22s ease; }
@keyframes wvFadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

.wv-ai-hdr { background: var(--wv-gold); padding: 13px 14px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wv-ai-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.wv-ai-hdr-name { font-size: 13.5px; font-weight: 700; color: #000; }
.wv-ai-hdr-status { font-size: 10px; color: rgba(0,0,0,.55); }
.wv-ai-hdr-badge { background: rgba(0,0,0,.14); padding: 2px 7px; border-radius: 20px; font-size: 9px; font-weight: 700; color: #000; margin-left: 4px; }
.wv-ai-close { background: none; border: none; color: rgba(0,0,0,.5); font-size: 18px; cursor: pointer; margin-left: auto; padding: 2px 6px; }

.wv-ai-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.wv-ai-msg { max-width: 88%; padding: 10px 13px; font-size: 13px; line-height: 1.6; }
.wv-ai-msg-bot  { background: var(--wv-bg3); color: var(--wv-sand); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.wv-ai-msg-user { background: var(--wv-gold); color: #000; align-self: flex-end; border-radius: 12px 12px 4px 12px; font-weight: 600; }
.wv-ai-msg-sys  { background: rgba(52,152,219,.08); color: var(--wv-blue); align-self: center; text-align: center; font-size: 11px; border-radius: 20px; padding: 5px 12px; max-width: 100%; }

.wv-ai-typing { align-self: flex-start; background: var(--wv-bg3); border-radius: 4px 12px 12px 12px; padding: 12px 16px; display: flex; gap: 5px; }
.wv-ai-typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wv-sand-3); animation: wvDotPulse 1.2s ease-in-out infinite; }
.wv-ai-typing-dot:nth-child(2) { animation-delay: .15s; }
.wv-ai-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes wvDotPulse { 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1)} }

.wv-ai-escalate { margin: 6px 12px; padding: 9px 13px; background: rgba(231,76,60,.07); border: 1px solid rgba(231,76,60,.2); border-radius: 8px; font-size: 11.5px; color: var(--wv-sand-3); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wv-ai-escalate button { background: var(--wv-red); color: #fff; border: none; padding: 5px 11px; border-radius: 6px; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }

.wv-ai-quick { padding: 6px 12px 6px; display: flex; flex-wrap: wrap; gap: 5px; }
.wv-ai-quick-btn { background: rgba(184,137,42,.1); border: 1px solid rgba(184,137,42,.2); color: var(--wv-gold); font-size: 11px; padding: 4px 10px; border-radius: 20px; cursor: pointer; transition: all .2s; font-family: inherit; }
.wv-ai-quick-btn:hover { background: var(--wv-gold); color: #000; }

.wv-ai-input-row { padding: 10px 12px; border-top: 1px solid var(--wv-border); display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.wv-ai-input-row textarea { flex: 1; padding: 9px 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: var(--wv-sand); font-size: 13px; resize: none; max-height: 100px; outline: none; line-height: 1.5; transition: border-color .2s; }
.wv-ai-input-row textarea:focus { border-color: var(--wv-gold); }
.wv-ai-send { width: 36px; height: 36px; flex-shrink: 0; background: var(--wv-gold); border: none; border-radius: 9px; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.wv-ai-send svg { width: 17px; height: 17px; fill: currentColor; }

/* ══════════════════════════════════════════════════════════════
   SUPPORT TAB & MODAL
══════════════════════════════════════════════════════════════ */
#wovri-support-tab {
  position: fixed; bottom: 40px; left: 0; z-index: 8990;
  background: var(--wv-gold); color: #000; border: none; cursor: pointer;
  writing-mode: vertical-rl; transform: rotate(180deg);
  padding: 13px 9px; border-radius: 0 8px 8px 0;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 3px 0 14px rgba(184,137,42,.3); transition: padding .2s;
}
#wovri-support-tab:hover { padding-top: 18px; }

.wv-modal-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(4px);z-index:99990;align-items:center;justify-content:center;padding:16px; }
.wv-modal-overlay.open { display:flex;animation:wvFadeIn .2s ease; }
@keyframes wvFadeIn { from{opacity:0} to{opacity:1} }
.wv-modal { background:var(--wv-bg2);border:1px solid var(--wv-border);border-radius:18px;width:100%;max-width:460px;overflow:hidden;box-shadow:var(--wv-shadow-lg);animation:wvSlideUp .25s ease; }
@keyframes wvSlideUp { from{opacity:0;transform:scale(.95) translateY(12px)} to{opacity:1;transform:none} }
.wv-modal-hdr { background:var(--wv-gold);padding:16px 20px;display:flex;align-items:flex-start;justify-content:space-between; }
.wv-modal-title { font-size:17px;font-weight:700;color:#000; }
.wv-modal-sub { font-size:11px;color:rgba(0,0,0,.5);margin-top:2px; }
.wv-modal-close { background:none;border:none;color:rgba(0,0,0,.45);font-size:19px;cursor:pointer; }
.wv-modal-body { padding:22px; }
.wv-modal-foot { padding:10px 20px 16px;text-align:center;font-size:11px;color:var(--wv-sand-3);border-top:1px solid var(--wv-border); }

/* ══════════════════════════════════════════════════════════════
   SOCIAL SHARE BAR
══════════════════════════════════════════════════════════════ */
.wv-share-bar { display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:14px;background:var(--wv-bg3);border-radius:10px;border:1px solid var(--wv-border); }
.wv-share-btn { display:flex;align-items:center;gap:5px;padding:7px 13px;border-radius:20px;font-size:11px;font-weight:700;border:none;cursor:pointer;transition:all .2s; }
.wv-share-btn:hover { transform:translateY(-2px);filter:brightness(1.15); }
.wv-share-wa { background:#25D366;color:#fff; }
.wv-share-tw { background:#000;color:#fff; }
.wv-share-fb { background:#1877F2;color:#fff; }
.wv-share-tg { background:#0088cc;color:#fff; }
.wv-share-li { background:#0A66C2;color:#fff; }
.wv-share-wa-icon, .wv-share-tw-icon, .wv-share-fb-icon, .wv-share-tg-icon, .wv-share-li-icon { width:14px;height:14px;flex-shrink:0; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
#wovri-footer { background: var(--wv-bg2); border-top: 1px solid var(--wv-border); padding: 60px 0 0; }
.wv-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
@media(max-width:880px) { .wv-footer-grid { grid-template-columns: 1fr 1fr; gap:28px; } }
@media(max-width:540px)  { .wv-footer-grid { grid-template-columns: 1fr; } }
.wv-footer-brand p { color: var(--wv-sand-3); font-size: 13px; line-height: 1.75; margin-top: 10px; max-width: 250px; }
.wv-footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--wv-sand-3); margin-bottom: 16px; }
.wv-footer-col a { display: block; color: rgba(242,237,228,.45); font-size: 13.5px; margin-bottom: 10px; transition: color .2s; }
.wv-footer-col a:hover { color: var(--wv-gold); }
.wv-footer-bottom { border-top: 1px solid var(--wv-border); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.wv-footer-copy { font-size: 12.5px; color: var(--wv-sand-3); }
.wv-footer-links { display:flex;gap:18px; }
.wv-footer-links a { font-size:12.5px;color:var(--wv-sand-3);transition:color .2s; }
.wv-footer-links a:hover { color:var(--wv-gold); }

/* Social icons row */
.wv-social-row { display:flex;gap:8px;margin-top:14px; }
.wv-social-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--wv-border);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; color: var(--wv-sand-3); text-decoration: none;
}
.wv-social-icon:hover { background: var(--wv-gold); border-color: var(--wv-gold); color: #000; }
.wv-social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* Newsletter */
.wv-newsletter { display:flex;gap:8px;margin-top:14px; }
.wv-newsletter input { flex:1;padding:9px 13px;background:rgba(255,255,255,.055);border:1px solid var(--wv-border);border-radius:8px;color:var(--wv-sand);font-size:13px;outline:none;transition:border-color .2s; }
.wv-newsletter input:focus { border-color:var(--wv-gold); }
.wv-newsletter button { padding:9px 16px;background:var(--wv-gold);color:#000;border:none;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap; }

/* ══════════════════════════════════════════════════════════════
   UTILITIES & ANIMATIONS
══════════════════════════════════════════════════════════════ */
.wv-fade-in { opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease; }
.wv-fade-in.in { opacity:1;transform:none; }
.wv-spinner { width:20px;height:20px;border:2px solid rgba(184,137,42,.2);border-top-color:var(--wv-gold);border-radius:50%;animation:wvSpin .7s linear infinite;display:inline-block; }
@keyframes wvSpin { to{transform:rotate(360deg)} }
.wv-progress { height:5px;background:rgba(255,255,255,.07);border-radius:3px;overflow:hidden; }
.wv-progress-bar { height:100%;background:linear-gradient(90deg,var(--wv-gold),var(--wv-gold-lt));border-radius:3px;transition:width .6s ease; }

/* Scrollbar */
::-webkit-scrollbar { width:4px;height:4px; }
::-webkit-scrollbar-track { background:var(--wv-bg2); }
::-webkit-scrollbar-thumb { background:rgba(184,137,42,.28);border-radius:2px; }
::-webkit-scrollbar-thumb:hover { background:var(--wv-gold); }

/* WordPress core */
.aligncenter{margin:0 auto;display:block}
img.aligncenter{display:block}

/* ══════════════════════════════════════════════════════════════
   COMPATIBILITY ALIASES — match old template CSS variable names
   Both --ink/--gold/--sand and --wv-bg/--wv-gold/--wv-sand work
══════════════════════════════════════════════════════════════ */
:root {
  --ink:   #08090c;
  --gold:  #b8892a;
  --sand:  #f2ede4;
  --dust:  rgba(242,237,228,.42);
  --parch: rgba(184,137,42,.16);
  --fd:    Georgia,'Times New Roman',serif;
}

/* ══════════════════════════════════════════════════════════════
   SECTION & LAYOUT UTILITIES
══════════════════════════════════════════════════════════════ */
.ws    { padding: 72px 0; }
.ws-sm { padding: 40px 0; }

/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
══════════════════════════════════════════════════════════════ */
.w-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--wv-gold); font-weight: 700; margin-bottom: 14px;
}
.w-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--wv-gold); flex-shrink: 0;
}
.w-h2 {
  font-family: var(--fd); font-size: clamp(28px,4vw,48px);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  color: var(--wv-sand); margin-bottom: 14px;
}
.w-h2 em { color: var(--wv-gold); font-style: italic; }
.w-sub {
  font-size: 15px; color: var(--dust); line-height: 1.7;
  max-width: 560px; margin-bottom: 28px;
}
.w-reveal { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   ROUTE CARD GRID
══════════════════════════════════════════════════════════════ */
.w-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 32px;
}
.w-route {
  display: block; padding: 20px; border-radius: var(--wv-r);
  background: var(--wv-bg2); border: 1px solid var(--wv-border);
  text-decoration: none; transition: all .2s; position: relative;
  overflow: hidden;
}
.w-route:hover { border-color: var(--wv-gold); transform: translateY(-2px); box-shadow: var(--wv-shadow); }
.w-route-flag { font-size: 28px; display: block; margin-bottom: 10px; }
.w-route-name { font-size: 16px; font-weight: 700; color: var(--wv-sand); margin-bottom: 4px; }
.w-route-code { font-size: 11px; color: var(--dust); margin-bottom: 10px; letter-spacing: .5px; }
.w-route-price { font-size: 20px; font-weight: 800; color: var(--wv-gold); font-variant-numeric: tabular-nums; }
.w-route-price-lbl { font-size: 10px; color: var(--dust); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════
   FORM UTILITIES  
══════════════════════════════════════════════════════════════ */
.wfrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media(max-width:600px){ .wfrow2 { grid-template-columns: 1fr; } }
.wfg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.wfl { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--dust); }
.wfi {
  padding: 10px 14px; border-radius: var(--wv-r2);
  border: 1px solid var(--wv-border-2); background: rgba(255,255,255,.05);
  color: var(--wv-sand); font-size: 14px; outline: none;
  transition: border-color .2s;
}
.wfi:focus { border-color: var(--wv-gold); }
.wfi::placeholder { color: var(--dust); }
.wfs {
  padding: 10px 14px; border-radius: var(--wv-r2);
  border: 1px solid var(--wv-border-2); background: var(--wv-bg3);
  color: var(--wv-sand); font-size: 14px; outline: none;
}
.wfsubmit {
  width: 100%; padding: 13px; border-radius: var(--wv-r2);
  border: none; background: var(--wv-gold); color: #000;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .2s; margin-top: 8px;
}
.wfsubmit:hover { background: var(--wv-gold-lt); }
.wf-dark .wfi { background: rgba(255,255,255,.06); color: var(--wv-sand); }
.w-fare-card {
  background: var(--wv-bg2); border: 1px solid var(--wv-border);
  border-radius: var(--wv-r); padding: 28px;
}
.w-fare-card h3 { font-family: var(--fd); font-size: 22px; color: var(--wv-sand); margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════
   HEADER — force visible for ALL visitors (no admin restriction)
══════════════════════════════════════════════════════════════ */
#wovri-header {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999 !important;
}

/* ══════════════════════════════════════════════════════════════
   TPWL SEARCH BAR CONTAINER
══════════════════════════════════════════════════════════════ */
#tpwl-search { min-height: 60px; }
#tpwl-tickets { min-height: 0; }

/* ══════════════════════════════════════════════════════════════
   REMOVE EYEBROW DASHES (— line before section headings)
══════════════════════════════════════════════════════════════ */
.wv-eyebrow::before,
.w-eyebrow::before { display: none !important; content: none !important; }

/* ══════════════════════════════════════════════════════════════
   MOBILE HEADER — Hamburger is now first child in HTML,
   CSS only needed for logo flex-grow and right actions
══════════════════════════════════════════════════════════════ */
@media(max-width:1023px){
  #wovri-header {
    display: flex !important;
    padding: 0 12px !important;
    gap: 8px !important;
    align-items: center !important;
  }
  .w-hamburger {
    flex-shrink: 0 !important;
    display: flex !important;
  }
  .w-logo-wrap {
    flex: 1 !important;
  }
  #w-desktop-nav { display: none !important; }
  .w-currency-sel { display: none !important; }
  .w-header-signin { display: none !important; }
  #w-hdr-alert-desktop { font-size: 12px !important; padding: 5px 10px !important; }
  .w-header-right { gap: 6px !important; }
}

/* ══════════════════════════════════════════════════════════════
   FLIGHT TRACKER — mobile layout
══════════════════════════════════════════════════════════════ */
@media(max-width:960px){
  #wv-tracker { height:auto !important; }
  #wv-body { flex-direction:column !important; overflow:visible !important; }
  #wv-sidebar { width:100% !important; max-height:220px !important; order:2; }
  #wv-map-wrap { height:60vw !important; min-height:260px !important; max-height:400px !important; order:1; }
  #wv-detail-panel { width:100% !important; max-height:65vh !important; order:3; border-left:none !important; border-top:1px solid var(--wv-border) !important; }
  #wv-topbar { flex-wrap:wrap !important; height:auto !important; padding:8px 12px !important; gap:6px !important; }
  #wv-zoom-controls { bottom:10px !important; right:8px !important; }
  .wv-telem-grid { grid-template-columns:1fr 1fr !important; gap:6px !important; }
}
@media(max-width:640px){
  .wv-section { padding:40px 0 !important; }
  .wv-2col, .wv-form-row-2 { grid-template-columns:1fr !important; }
}
