/* VANTAGETRIP i18n STYLES */

/* ── LANGUAGE SWITCHER ── */
.lang-switcher-wrap {
  position: relative;
  display: inline-block;
}
.lang-switcher-btn {
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: 99px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--navy); cursor: pointer;
  font-size: .78rem; font-family: var(--font-body);
  transition: all .25s; min-height: 36px;
}
.lang-switcher-btn:hover { background: rgba(37,99,235,.14); border-color: rgba(37,99,235,.35); }
.lang-arrow { font-size: .6rem; color: var(--muted); transition: transform .2s; }
.lang-dropdown {
  position: absolute; top: calc(100% + .5rem);
  right: 0; min-width: 200px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all .25s cubic-bezier(.4,0,.2,1);
  z-index: 999;
}
.lang-dropdown.open {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: .8rem;
  padding: .75rem 1rem; width: 100%;
  background: #FFFFFF; border: none;
  color: var(--muted); font-family: var(--font-body);
  font-size: .82rem; cursor: pointer;
  transition: all .2s; text-align: left;
  border-bottom: 1px solid var(--border2);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(37,99,235,.06); color: var(--navy); }
.lang-option.active { color: var(--blue); background: rgba(37,99,235,.08); }
.lang-flag { font-size: 1.1rem; flex-shrink: 0; }
.lang-native { font-weight: 600; flex: 1; }
.lang-en { font-size: .72rem; color: var(--muted); }

/* PILLS STYLE */
.lang-pills {
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.lang-pill {
  padding: .38rem .75rem; border-radius: 99px;
  background: #FFFFFF; border: 1px solid var(--border);
  color: var(--muted); font-size: .74rem; cursor: pointer;
  transition: all .2s; font-family: var(--font-body); min-height: 32px;
}
.lang-pill:hover { border-color: var(--blue); color: var(--blue); }
.lang-pill.active { background: rgba(37,99,235,.1); border-color: var(--blue); color: var(--blue); }

/* MOBILE FULL-WIDTH LANG SWITCHER */
@media (max-width: 600px) {
  .lang-dropdown { right: auto; left: 0; }
}

/* ══════════════════
   RTL SUPPORT (Arabic)
   ══════════════════ */
[dir="rtl"] {
  text-align: right;
  font-family: 'Segoe UI', 'Noto Sans Arabic', var(--font-body);
}
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero h1, [dir="rtl"] .hero-sub { direction: rtl; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-trust { flex-direction: row-reverse; }
[dir="rtl"] .comm-row:hover { transform: translateX(-4px); }
[dir="rtl"] .results-area { flex-direction: row-reverse; }
[dir="rtl"] .hotel-main { flex-direction: row-reverse; }
[dir="rtl"] .hotel-price-col { border-left: none; border-right: 1px solid var(--border); }
[dir="rtl"] .price-top { text-align: left; }
[dir="rtl"] .attr-main { flex-direction: row-reverse; }
[dir="rtl"] .attr-price-col { border-left: none; border-right: 1px solid var(--border); }
[dir="rtl"] .sidebar { left: auto; right: 0; border-right: none; border-left: 1px solid var(--border); }
[dir="rtl"] .main { margin-left: 0; margin-right: var(--sidebar-w, 260px); }
[dir="rtl"] .bottom-nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .sb-badge, [dir="rtl"] .sb-new { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .kpi-card::before { background: linear-gradient(270deg, transparent, var(--blue), transparent); }
[dir="rtl"] .data-table { direction: rtl; }
[dir="rtl"] .data-table th, [dir="rtl"] .data-table td { text-align: right; }
[dir="rtl"] .flight-route { flex-direction: row-reverse; }
[dir="rtl"] .route-line-bar::after { content: '✈'; transform: translate(-50%, -50%) scaleX(-1); }
[dir="rtl"] .search-form-wrap { direction: rtl; }
[dir="rtl"] .compare-grid { direction: rtl; }
[dir="rtl"] .modal { text-align: right; direction: rtl; }
[dir="rtl"] .auth-modal { direction: rtl; }
[dir="rtl"] .toast { direction: rtl; text-align: right; }

/* Arabic font for number display */
[dir="rtl"] .font-disp-num { font-family: var(--font-body); }
