/* ══════════════════════════════════════════════════════════════════
   RUGSAN TRAVEL — CUSTOM.CSS (consolidated)
   ----------------------------------------------------------------
   Table of contents
     01. Root variables & reset
     02. Typography
     03. Animation keyframes (library)
     04. Buttons & links
     05. Navbar (public top bar + dropdowns)
     06. Sidebar (dashboard) — authoritative block
     07. Dashboard wrapper / main / content
     08. Dashboard cards (stat, panel, modern)
     09. Page header (partials/_page_header)
     10. Landing sections (hero, features, packages)
     11. Destination & hotel cards
     12. Tables — modern, responsive, sticky
     13. Forms & inputs
     14. Flight search widget
     15. Flatpickr
     16. Flight result cards & fare chips
     17. Booking confirmation page
     18. Umrah / Hajj module
     19. Cargo module
     20. Cargo order (DHL style) & quote
     21. Pagination (Bootstrap + CI4)
     22. Utilities (image-sortable, choice-cards, alerts, toast, WhatsApp)
     23. Responsive tweaks
   ══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   01. ROOT VARIABLES & RESET
   ══════════════════════════════════════════════════════════════════ */
:root {
    /* Brand */
    --primary-gold: #0663C4;
    --primary-dark: #1a1a2e;
    --primary-blue: #0f3460;
    --primary-accent: #2563eb;
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
    --border-softer: #f3f4f6;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, .12);

    /* Transitions */
    --transition: all .25s ease;
    --transition-fast: all .15s ease;
    --transition-slow: all .35s cubic-bezier(.4, 0, .2, 1);

    /* Hajj & Umrah palette */
    --hu-ink: #0b1120;
    --hu-charcoal: #151119;
    --hu-gold: #c9a227;
    --hu-gold-bright: #f0a500;
    --hu-sand: #f6f1e7;
    --hu-maroon: #5c1f30;

    /* Layout */
    --navbar-h: 100px;      /* JS measures the real value and overrides */
    --sidebar-w: 260px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 999px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.5;
}

::selection { background: rgba(37, 99, 235, .18); color: var(--primary-dark); }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ══════════════════════════════════════════════════════════════════
   02. TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; }

a { transition: color var(--transition-fast); }

.section-title {
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
    color: #111827;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-muted { color: var(--text-muted) !important; }

/* ══════════════════════════════════════════════════════════════════
   03. ANIMATION KEYFRAMES (library — reuse anywhere)
   ══════════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
    0%   { opacity: 0; transform: scale(.94); }
    60%  { opacity: 1; transform: scale(1.02); }
    100% { transform: scale(1); }
}
@keyframes pulseSoft {
    0%, 100% { transform: scale(1); opacity: .55; }
    70%      { transform: scale(1.18); opacity: 0; }
}
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%                     { transform: translateX(-50%) translateY(-10px); }
    60%                     { transform: translateX(-50%) translateY(-5px); }
}
@keyframes dashFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Utility classes */
.animate-fade      { animation: fadeIn .3s ease forwards; }
.animate-fade-up   { animation: fadeInUp .35s ease forwards; }
.animate-pop       { animation: popIn .28s ease forwards; }
.animate-slide-in  { animation: slideInRight .3s ease forwards; }

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 6px;
}

/* ══════════════════════════════════════════════════════════════════
   04. BUTTONS & LINKS
   ══════════════════════════════════════════════════════════════════ */
.btn {
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    font-weight: 600;
}
.btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .25);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary-dark);
    border: none;
    border-radius: 0;
    padding: .6rem 1.8rem;
    font-weight: 600;
}
.btn-primary:hover {
    background: #2a2a4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 46, .25);
}

.btn-warning {
    background: var(--primary-gold);
    border: none;
    border-radius: 0;
    color: #fff;
    font-weight: 600;
}
.btn-warning:hover {
    background: #d4940a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 165, 0, .3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    background: transparent;
    padding: .5rem 1.8rem;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 26, 46, .15);
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px; height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   05. NAVBAR (public top bar + dropdowns)
   ══════════════════════════════════════════════════════════════════ */
.navbar-custom {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, .05);
    padding: 10px 0;
    z-index: 1030;
}
.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -.02em;
}
.navbar-custom .navbar-brand span { color: var(--primary-gold); }
.navbar-custom .navbar-nav { align-items: center; }
.navbar-custom .nav-link {
    font-weight: 500;
    padding: .4rem 1rem;
    position: relative;
    transition: color .2s ease;
}
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 70%;
    height: 2px;
    background: var(--primary-gold, #f0a500);
    border-radius: 2px;
    transition: transform .25s ease;
    pointer-events: none;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after,
.navbar-custom .nav-link[aria-expanded="true"]::after {
    transform: translateX(-50%) scaleX(1);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus { color: #0b3d66; }

.navbar-custom .btn-book-now {
    background: var(--primary-gold);
    color: #fff;
    border-radius: 0;
    padding: .5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}
.navbar-custom .btn-book-now::after { display: none !important; }
.navbar-custom .btn-book-now:hover {
    background: #d4940a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 165, 0, .3);
    color: #fff;
}

/* Dropdowns */
.navbar-custom .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 230px;
    max-width: 320px;
    padding: 8px 0;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .04);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.navbar-custom .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.navbar-custom .dropdown-menu.dropdown-menu-end { right: 0; left: auto; }

.navbar-custom .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: .875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    margin: 0 6px;
    transition: background .15s ease, color .15s ease, padding-left .15s ease;
    white-space: normal;
    line-height: 1.35;
}
.navbar-custom .dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: .95rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color .15s ease;
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background: #f8fafc;
    color: #0b3d66;
    padding-left: 20px;
}
.navbar-custom .dropdown-item:hover i,
.navbar-custom .dropdown-item:focus i { color: var(--primary-gold, #f0a500); }
.navbar-custom .dropdown-item.text-danger { color: #dc2626 !important; }
.navbar-custom .dropdown-item.text-danger i { color: #dc2626 !important; }
.navbar-custom .dropdown-item.text-danger:hover { background: #fef2f2; color: #b91c1c !important; }

.navbar-custom .dropdown-divider { margin: 6px 12px; border-top: 1px solid #f0f0f0; opacity: 1; }
.navbar-custom .dropdown-header {
    padding: 8px 22px 4px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9ca3af;
}
.navbar-custom .dropdown-item-text {
    padding: 6px 22px 10px;
    font-size: .78rem;
    line-height: 1.4;
    color: #6b7280;
}
.navbar-custom .dropdown-item-text strong { color: #111827; }

.navbar-custom .dropdown-toggle::after { display: none !important; }
.navbar-custom .nav-caret {
    display: inline-block;
    font-size: .62em;
    margin-left: 6px;
    vertical-align: .15em;
    color: currentColor;
    opacity: .7;
    transition: transform .25s ease, opacity .2s ease;
    pointer-events: none;
}
.navbar-custom .dropdown-toggle:hover .nav-caret { opacity: 1; }
.navbar-custom .dropdown-toggle[aria-expanded="true"] .nav-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════
   06. SIDEBAR (dashboard) — AUTHORITATIVE BLOCK
   ----------------------------------------------------------------
   Layout contract:
   • .dashboard-wrapper is a flex row that fills exactly
     (100vh − navbar height). No outer page scroll.
   • .sidebar is a flex COLUMN of fixed-height sections:
       [brand] [wallet] [quick] [menu (scrolls)]
   • Only .sidebar-menu scrolls. No position: sticky anywhere.
   ══════════════════════════════════════════════════════════════════ */

/* Bullet reset */
.sidebar ul,
.sidebar ol,
.sidebar-menu,
.sidebar-menu ul,
.sidebar-menu ol,
.sidebar-section-body,
.sidebar-submenu {
    list-style: none !important;
    margin-left: 0;
    padding-left: 0;
}
.sidebar-section-body > li,
.sidebar-submenu > li,
.sidebar-menu > li { list-style: none !important; }

/* ── Shell ─────────────────────────────────────────────────── */
.sidebar,
.dashboard-sidebar {
    flex: 0 0 var(--sidebar-w);
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--border-soft);
    overflow: hidden;
    z-index: 100;
}

/* ── Brand ─────────────────────────────────────────────────── */
.sidebar-brand {
    flex-shrink: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    background: #fff;
}
.sidebar-brand .brand-logo { max-height: 40px; width: auto; }
.sidebar-brand .brand-text { font-weight: 800; font-size: 1.2rem; color: #0b3d66; }

/* ── Wallet card ───────────────────────────────────────────── */
.sidebar-wallet-card {
    flex-shrink: 0;
    display: block;
    margin: 12px 14px 4px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0b3d66 0%, #1e5799 100%);
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(11, 61, 102, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.sidebar-wallet-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(11, 61, 102, .4);
    color: #fff;
}
.sidebar-wallet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: .6px;
    text-transform: uppercase;
    opacity: .85;
}
.sidebar-wallet-top i { margin-right: 6px; }
.sidebar-wallet-pill {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}
.sidebar-wallet-amount {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 8px 0 6px;
    font-variant-numeric: tabular-nums;
}
.sidebar-wallet-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: .85;
}

/* ── Quick-actions grid ────────────────────────────────────── */
.sidebar-quick {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 14px 14px;
    border-bottom: 1px solid var(--border-soft);
}
.sidebar-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: 10px;
    background: rgba(15, 23, 42, .035);
    color: inherit;
    text-decoration: none;
    transition: background .15s, transform .15s;
    position: relative;
}
.sidebar-quick a:hover {
    background: rgba(37, 99, 235, .10);
    transform: translateY(-1px);
}
.sidebar-quick a i {
    font-size: 15px;
    color: #2563eb;
    opacity: .9;
}
.sidebar-quick a span {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── Menu — the ONLY scroll container in the sidebar ───────── */
.sidebar-menu {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    padding: 8px 0 24px;
    margin: 0;
}
.sidebar-menu::-webkit-scrollbar { width: 6px; }
.sidebar-menu::-webkit-scrollbar-track { background: transparent; }
.sidebar-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.sidebar-menu li { list-style: none; margin: 0; padding: 0; }

/* ── Section headers (accordion toggles) ───────────────────── */
.sidebar-header {
    padding: 12px 20px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}
.sidebar-header-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
    border-radius: 6px;
    margin: 0 8px;
}
.sidebar-header-toggle:hover { color: #0b3d66; background: #f8fafc; }
.sidebar-section-chevron {
    font-size: 9px;
    transition: transform .2s ease;
    color: #94a3b8;
}
.sidebar-section.is-open .sidebar-section-chevron,
.sidebar-header-toggle[aria-expanded="true"] .sidebar-section-chevron {
    transform: rotate(180deg);
    color: #0b3d66;
}

.sidebar-section { margin-bottom: 2px; }
.sidebar-divider { margin: 12px 20px; border: none; border-top: 1px solid var(--border-soft); }

/* ── Links ─────────────────────────────────────────────────── */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease, padding-left .15s ease;
}
.sidebar-link:hover {
    background: #f3f4f6;
    color: #111827;
    border-left-color: #f0a500;
    padding-left: 24px;
}
.sidebar-link.active {
    background: #eff6ff;
    color: #0b3d66;
    border-left-color: #0b3d66;
    font-weight: 600;
}
.sidebar-link i:first-child {
    width: 20px;
    text-align: center;
    font-size: 1.05rem;
    color: #6c757d;
    flex-shrink: 0;
}
.sidebar-link.active i:first-child { color: #0b3d66; }

/* ── Nested groups ─────────────────────────────────────────── */
.sidebar-group { margin-bottom: 2px; }
.sidebar-toggle { position: relative; }
.sidebar-chevron { font-size: 10px; transition: transform .2s ease; margin-left: auto; }
.sidebar-group.is-open .sidebar-chevron,
.sidebar-toggle[aria-expanded="true"] .sidebar-chevron { transform: rotate(180deg); }

.sidebar-submenu {
    background: #f8fafc;
    padding: 4px 0;
}
.sidebar-submenu .sidebar-sublink,
.sidebar-sublink {
    padding-left: 52px;
    font-size: .85rem;
    border-left: 3px solid transparent;
}
.sidebar-sublink.active {
    border-left-color: #f0a500;
    color: #0b3d66;
    font-weight: 600;
}
.sidebar-sublink i { font-size: .85rem; width: 16px; }

.sidebar.p-2 { padding: 0 !important; }

/* ══════════════════════════════════════════════════════════════════
   07. DASHBOARD WRAPPER / MAIN / CONTENT
   ----------------------------------------------------------------
   The shell fills exactly (100vh − navbar). Nothing scrolls the
   page; sidebar + main scroll internally. :has() scopes the shell
   to pages that actually contain a .dashboard-wrapper, so public
   pages keep scrolling normally.
   ══════════════════════════════════════════════════════════════════ */

/* Body locks to viewport only when a dashboard is on the page */
body:has(.dashboard-wrapper) {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}
body:has(.dashboard-wrapper) main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    overflow: hidden;
}
/* Hide the marketing footer on the dashboard — it would otherwise
   push a page scrollbar past the fixed shell. */
body:has(.dashboard-wrapper) .footer-custom {
    display: none !important;
}

.dashboard-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: stretch;
    background: #f8fafc;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.dashboard-main {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 28px 32px 40px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}
.dashboard-main::-webkit-scrollbar { width: 8px; }
.dashboard-main::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.dashboard-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    padding: 24px;
    border: 1px solid var(--border-soft);
    flex: 1 1 auto;
    animation: dashFadeIn .25s ease;
}

.dashboard-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    animation: fadeInUp .25s ease;
}
.alert-success { background: #d4edda; color: #155724; border-color: #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }

/* ══════════════════════════════════════════════════════════════════
   08. DASHBOARD CARDS (stat, panel, modern)
   ══════════════════════════════════════════════════════════════════ */

/* Stat cards (.stat-card in my_flights, customer_detail, analytics) */
.stat-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--card-accent, #2563eb);
    border-radius: 10px;
    padding: 18px 20px;
    height: 100%;
    transition: all .2s ease;
}
.stat-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}
.stat-card .stat-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}
.stat-card h3 { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 2px; }
.stat-card p { font-size: 12px; color: var(--text-muted); margin: 0; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

/* Modern stat cards (.stat-card-modern in index.php) */
.stat-card-modern {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .2s ease;
}
.stat-card-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    border-color: var(--primary-accent);
    transform: translateY(-2px);
}
.stat-card-modern .stat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.stat-icon.bg-blue   { background: #3b82f6; }
.stat-icon.bg-indigo { background: #6366f1; }
.stat-icon.bg-teal   { background: #14b8a6; }
.stat-icon.bg-green  { background: #22c55e; }
.stat-icon.bg-amber  { background: #f59e0b; }
.stat-icon.bg-purple { background: #8b5cf6; }
.stat-details { flex: 1; }
.stat-label { display: block; font-size: 13px; color: var(--text-muted); }
.stat-card-modern .stat-number { font-size: 20px; font-weight: 700; color: #111827; }
.stat-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.stat-change.up      { color: #16a34a; background: #dcfce7; }
.stat-change.down    { color: #dc2626; background: #fee2e2; }
.stat-change.neutral { color: #6b7280; background: #f3f4f6; }

/* Generic panel */
.panel {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .02);
    margin-bottom: 24px;
    overflow: hidden;
}
.panel-header {
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-soft);
}
.panel-header h4,
.panel-header h5 { margin: 0; font-weight: 700; font-size: 16px; color: #111827; }
.panel-body { padding: 20px; }

/* Modern panel (index.php, my_hotels.php) */
.modern-panel {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
}
.modern-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modern-panel .panel-header h5 { margin: 0; font-weight: 600; font-size: 15px; }

/* Dash panel — used extensively in tours/customers/hotels */
.dash-panel {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .02);
}
.dash-panel:last-child { margin-bottom: 0; }

.dash-panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.dash-panel-toolbar h2,
.dash-panel-toolbar h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dashboard home shell */
.dashboard-modern { max-width: 1400px; margin: 0 auto; }
.dashboard-modern .welcome-banner { margin-bottom: 24px; }
.dashboard-modern .empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Welcome banner */
.welcome-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 24px 32px;
    border-radius: 16px;
    margin-bottom: 24px;
}
.welcome-banner h1 { font-size: 24px; font-weight: 700; margin: 0; }
.welcome-banner p { margin: 4px 0 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Quick actions */
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: #374151;
    transition: all .2s ease;
    font-size: 14px;
}
.quick-action:hover {
    background: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .2);
}
.quick-action i { font-size: 16px; }

/* Legacy stat/dash cards */
.dash-stat-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .02);
}
.dash-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border-color: var(--primary-gold, #f0a500);
}
.stat-icon-box {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.bg-blue-soft   { background: #eff6ff; color: #2563eb; }
.bg-green-soft  { background: #f0fdf4; color: #16a34a; }
.bg-amber-soft  { background: #fffbeb; color: #d97706; }
.bg-purple-soft { background: #faf5ff; color: #9333ea; }
.stat-info h3 { font-size: 13px; color: var(--text-muted); margin: 0 0 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.stat-info .stat-number { font-size: 28px; font-weight: 800; color: #111827; margin: 0; }

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-softer);
}
.panel-head h2 { font-size: 18px; font-weight: 700; color: #111827; margin: 0; }
.panel-link { font-size: 14px; color: var(--primary-accent); text-decoration: none; font-weight: 600; }
.panel-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════
   09. PAGE HEADER (partials/_page_header)
   ══════════════════════════════════════════════════════════════════ */
.app-page-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
}
.app-page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.app-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.app-page-subtitle {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}
.app-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Breadcrumbs */
.app-breadcrumbs .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 500;
}
.app-breadcrumbs .breadcrumb-item a { color: var(--text-muted); text-decoration: none; }
.app-breadcrumbs .breadcrumb-item a:hover { color: var(--primary-accent); }
.app-breadcrumbs .breadcrumb-item.active { color: var(--primary-accent); font-weight: 600; }
.app-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: #d1d5db;
    padding: 0 6px;
}

/* Generic .page-header for public pages */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; }
.page-header p { opacity: .85; font-size: 1.1rem; }

/* ══════════════════════════════════════════════════════════════════
   10. LANDING SECTIONS (hero, features, packages)
   ══════════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: 40px 0 20px;
    background-size: cover;
    background-position: center;
}
.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, .6);
    backdrop-filter: blur(2px);
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}
.hero-section h1 .highlight { color: var(--primary-gold); }
.hero-section p {
    font-size: 1.2rem;
    opacity: .9;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hero-section .btn-hero {
    background: var(--primary-gold);
    color: #fff;
    border-radius: 0;
    padding: .9rem 2.8rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 8px 30px rgba(240, 165, 0, .3);
}
.hero-section .btn-hero:hover {
    background: #d4940a;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(240, 165, 0, .45);
    color: #fff;
}
.hero-section .btn-outline-hero {
    border: 2px solid rgba(255, 255, 255, .4);
    color: #fff;
    border-radius: 0;
    padding: .9rem 2.8rem;
    font-weight: 600;
    background: transparent;
}
.hero-section .btn-outline-hero:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
}
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-gold);
    display: block;
}
.hero-stats .stat-label { font-size: .9rem; opacity: .8; }

/* Feature card */
.feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}
.feature-card .icon-wrapper {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(240, 165, 0, .10);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2.2rem;
    color: var(--primary-gold);
    transition: var(--transition);
}
.feature-card:hover .icon-wrapper { background: var(--primary-gold); color: #fff; }
.feature-card h5 { font-weight: 700; margin-bottom: .8rem; }
.feature-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

/* Package card */
.package-card {
    background: #fff;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}
.package-card .package-img { height: 220px; object-fit: cover; width: 100%; }
.package-card .package-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.package-card .package-title { font-weight: 700; font-size: 1.2rem; margin-bottom: .5rem; }
.package-card .package-meta { font-size: .9rem; color: var(--text-muted); margin-bottom: .8rem; }
.package-card .package-price { font-weight: 800; font-size: 1.4rem; color: var(--primary-gold); }
.package-card .package-price small { font-weight: 400; font-size: .8rem; color: var(--text-muted); }
.package-card .btn-package {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 0;
    padding: .5rem 1.8rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    align-self: flex-start;
    margin-top: auto;
}
.package-card .btn-package:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateX(4px);
}
.tour-item { display: flex; }
.tour-item .package-card { width: 100%; }

/* Scroll arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all .3s ease;
    animation: bounceArrow 2s infinite;
}
.scroll-down-arrow:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
    transform: translateX(-50%) scale(1.1);
    animation-play-state: paused;
}

.search-below-hero {
    background: #fff;
    padding: 50px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
}

/* ══════════════════════════════════════════════════════════════════
   11. DESTINATION & HOTEL CARDS
   ══════════════════════════════════════════════════════════════════ */
.destination-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}
.destination-card .destination-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}
.destination-card .destination-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, opacity .4s ease;
}
.destination-card .destination-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 1;
}
.destination-card .destination-info {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    color: #fff;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .4s ease, transform .4s ease;
}
.destination-card .destination-info h5 { color: #fff; font-weight: 700; margin-bottom: .6rem; }
.destination-card .destination-info p {
    color: rgba(255, 255, 255, .92);
    margin-bottom: 0;
    font-size: .92rem;
    line-height: 1.6;
    max-width: 320px;
}
.destination-card:hover .destination-image img { transform: scale(1.1); }
.destination-card:hover .destination-overlay { opacity: 1; }
.destination-card:hover .destination-info { opacity: 1; transform: translateY(0); }
.destination-card .package-body { position: relative; z-index: 3; }

.hotel-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    margin-bottom: 20px;
}
.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
.hotel-card img { width: 100%; height: 200px; object-fit: cover; }
.hotel-card-body { padding: 1.25rem; }
.hotel-card-body h5 { font-weight: 700; }
.hotel-card-body .rating {
    background: var(--primary-gold);
    color: #fff;
    padding: 2px 10px;
    font-weight: 600;
    font-size: .85rem;
}
.hotel-card-body .price { font-weight: 700; font-size: 1.1rem; }
.hotel-card-body .price small { font-weight: 400; color: var(--text-muted); font-size: .75rem; }

/* ══════════════════════════════════════════════════════════════════
   12. TABLES — MODERN, RESPONSIVE, STICKY
   ══════════════════════════════════════════════════════════════════ */

/* ---- Modern table (primary data table) ---- */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}
.modern-table thead th {
    background: #f9fafb;
    padding: 12px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 2;
}
.modern-table tbody tr {
    transition: background .15s ease, transform .15s ease;
}
.modern-table tbody tr:hover {
    background: #f9fafb;
}
.modern-table tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-softer);
    font-size: 14px;
    color: #374151;
    vertical-align: middle;
}
.modern-table tbody tr:last-child td { border-bottom: none; }
.modern-table tbody tr.unfinished-row { background: #fffbeb; }
.modern-table tbody tr.unfinished-row:hover { background: #fef3c7; }

/* Legacy Bootstrap .table (booking_details, customer_financials, etc.) */
.table { border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table thead th {
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--border-soft);
    padding: .75rem 1rem;
}
.table tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border-softer);
    vertical-align: middle;
}
.table.table-hover tbody tr:hover { background: #f9fafb; }
.table.align-middle tbody td { vertical-align: middle; }

/* Badges & status pills */
.ref-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 600;
    color: var(--primary-accent);
    background: #eff6ff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
}
.type-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.4;
}
.status-confirmed { background: #dcfce7; color: #166534; }
.status-pending   { background: #fef3c7; color: #92400e; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-active    { background: #dcfce7; color: #166534; }
.status-inactive  { background: #e5e7eb; color: #374151; }
.status-draft     { background: #f3f4f6; color: #4b5563; }

/* Actions group */
.action-group { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.btn-icon-action {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: #fff;
    color: #6b7280;
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font-size: 13px;
}
.btn-icon-action:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
    transform: translateY(-1px);
}
.btn-icon-action.view:hover   { color: var(--primary-accent); border-color: #bfdbfe; background: #eff6ff; }
.btn-icon-action.cancel:hover { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.btn-icon-action.delete:hover { color: #4b5563; border-color: #d1d5db; background: #f3f4f6; }

/* Empty states */
.empty-state,
.empty-state-modern {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}
.empty-state-modern i,
.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}
.empty-state-modern h5 { color: #374151; margin-bottom: 8px; font-weight: 700; }
.empty-state-modern p { margin-bottom: 0; }

/* Bookings panel — used in bookings.php */
.bookings-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    margin-bottom: 24px;
}
.bookings-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-softer);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.bookings-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Filter pills */
.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-softer);
}
.filter-pill {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}
.filter-pill.active {
    background: var(--primary-accent);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, .2);
}
.filter-pill.inactive {
    background: #fff;
    color: #4b5563;
    border-color: var(--border-soft);
}
.filter-pill.inactive:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Notifications inbox (full page) */
.notif-inbox-panel { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; }
.notif-inbox-item {
    display: flex;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-softer);
    text-decoration: none;
    color: inherit;
    transition: background .15s ease;
}
.notif-inbox-item:last-child { border-bottom: none; }
.notif-inbox-item:hover { background: #f9fafb; color: inherit; }
.notif-inbox-item.is-unread { background: #eff6ff; }
.notif-inbox-item.is-unread:hover { background: #e0edff; }
.notif-inbox-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.notif-inbox-body { flex: 1; min-width: 0; }
.notif-inbox-title { font-weight: 600; font-size: 14px; color: #111827; margin-bottom: 2px; }
.notif-inbox-message { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.notif-inbox-time { font-size: 12px; color: #9ca3af; white-space: nowrap; }
.notif-inbox-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-accent);
    flex-shrink: 0;
    margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════════
   13. FORMS & INPUTS
   ══════════════════════════════════════════════════════════════════ */
.form-label { font-weight: 600; font-size: .875rem; color: #374151; }
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    padding: .55rem .85rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.booking-form-card { background: #fff; border: 1px solid #eee; padding: 2rem; }
.booking-form-card .form-control,
.booking-form-card .form-select {
    border-radius: 0;
    border: 1px solid #e5e5e5;
    padding: .7rem 1rem;
}
.booking-form-card .form-control:focus,
.booking-form-card .form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(240, 165, 0, .1);
}

/* ══════════════════════════════════════════════════════════════════
   14. FLIGHT SEARCH WIDGET
   ══════════════════════════════════════════════════════════════════ */
.search-card {
    background: #fff;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    border-radius: 0;
    transition: box-shadow .3s ease;
    color: var(--text-dark);
}
.search-card:hover { box-shadow: 0 8px 40px rgba(0, 0, 0, .10); }
.search-card h5 { color: var(--text-dark); }
.search-card .form-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.search-card .form-control,
.search-card .form-select {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--text-dark);
    padding: .5rem .75rem;
    font-size: .85rem;
    border-radius: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search-card .form-control:focus,
.search-card .form-select:focus {
    background: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(240, 165, 0, .12);
}
.search-card .form-control::placeholder { color: #adb5bd; font-size: .8rem; }
.search-card input[type="date"] { color: var(--text-dark); }
.search-card input[type="date"]::-webkit-datetime-edit { color: var(--text-dark); }

.trip-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}
.trip-tabs .btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 4px 16px 8px;
    font-weight: 500;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .2s ease, border-color .2s ease;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}
.trip-tabs .btn:hover { color: var(--text-dark); background: transparent; }
.trip-tabs .btn.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
    background: transparent;
    box-shadow: none;
}
.leg-group {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.leg-group:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
#addLegBtn {
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px dashed #dde1e6;
    padding: .4rem 1.2rem;
    border-radius: 0;
    background: transparent;
    transition: all .2s ease;
}
#addLegBtn:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    background: rgba(240, 165, 0, .04);
}
#addLegBtn i { font-size: .7rem; }
.remove-leg .btn-outline-danger {
    font-size: .7rem;
    padding: .2rem .8rem;
    border: none;
    color: #adb5bd;
    background: transparent;
    transition: color .2s ease;
}
.remove-leg .btn-outline-danger:hover { color: #dc3545; background: transparent; }
.search-card .btn-outline-secondary.rounded-pill {
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    border-color: #dee2e6;
    padding: .25rem .9rem;
    transition: all .2s ease;
    background: transparent;
    border-width: 1px;
}
.search-card .btn-outline-secondary.rounded-pill:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    background: rgba(240, 165, 0, .04);
}
.search-card .btn-outline-secondary.rounded-pill i { font-size: .7rem; }
#advancedOptions .card {
    background: #fafbfc !important;
    border: 1px solid #f0f0f0;
    border-radius: 0;
    padding: 1rem .5rem;
    margin-top: 8px;
    box-shadow: none;
}
#advancedOptions .card .form-label { font-size: .65rem; }
#advancedOptions .card .form-control,
#advancedOptions .card .form-select {
    background: #fff;
    font-size: .8rem;
    padding: .35rem .6rem;
}
.search-card .dropdown-menu {
    border: none;
    border-radius: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    max-height: 80vh;
    overflow-y: auto;
}
.search-card .dropdown-menu .container-fluid { overflow: visible; }
.dropdown-menu .container-fluid { overflow: visible; }
.qualifier-tag {
    padding: .2rem .6rem;
    font-size: .75rem;
    border-radius: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}
.qualifier-tag .btn-close {
    width: .6rem; height: .6rem;
    padding: 0;
    margin-left: .2rem;
    background-size: .5rem;
}
#childAges input, #infantAges input { display: inline-block; width: 60px; }
.search-card .btn-primary {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: .7rem;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: all .25s ease;
    border-radius: 0;
}
.search-card .btn-primary:hover {
    background: #2a2a4e;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 26, 46, .20);
}
.search-card .btn-primary i { font-size: .8rem; margin-right: 6px; }

.btn-swap {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    padding: 4px 6px;
    font-size: .9rem;
    transition: transform .2s ease, color .2s ease;
    cursor: pointer;
    line-height: 1;
}
.btn-swap:hover { color: #d4940a; transform: rotate(90deg); }

/* Flight search hero */
.flight-search-hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    overflow: hidden;
    text-align: center;
}
.flight-search-hero .hero-bg,
.flight-search-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
    z-index: 0;
}
.flight-search-hero .container { position: relative; z-index: 1; }
.flight-search-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
    color: #fff;
}
.flight-search-hero p { font-size: 1.2rem; opacity: .85; color: rgba(255, 255, 255, .9); }
.flight-search-hero .search-card {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 48px rgba(0, 0, 0, .18);
}
.flight-search-hero .search-card .form-control,
.flight-search-hero .search-card .form-select { background: rgba(255, 255, 255, .9); }
.flight-search-hero .search-card .form-control:focus,
.flight-search-hero .search-card .form-select:focus { background: #fff; }
.flight-search-hero .search-card,
.flight-search-hero .search-card h5,
.flight-search-hero .search-card .form-label,
.flight-search-hero .search-card .btn-link { color: var(--text-dark); }
.flight-search-hero #advancedOptions .card { background: #fafbfc !important; border-color: #f0f0f0; }
.flight-search-hero #advancedOptions .card .form-label { color: var(--text-muted); }
.flight-search-hero #advancedOptions .card .form-control,
.flight-search-hero #advancedOptions .card .form-select {
    background: #fff;
    color: var(--text-dark);
    border-color: #e9ecef;
}
.flight-search-hero #advancedOptions .card .form-control:focus,
.flight-search-hero #advancedOptions .card .form-select:focus {
    background: #fff;
    border-color: var(--primary-gold);
}

/* ══════════════════════════════════════════════════════════════════
   15. FLATPICKR
   ══════════════════════════════════════════════════════════════════ */
.flatpickr-calendar {
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06) !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    background: #fff !important;
    padding: 4px 0 !important;
}
.flatpickr-calendar .flatpickr-months { padding: 0 8px !important; }
.flatpickr-calendar .flatpickr-month { color: var(--text-dark) !important; }
.flatpickr-calendar .flatpickr-current-month { font-size: .9rem !important; padding: 6px 0 !important; }
.flatpickr-calendar .flatpickr-weekdays { background: transparent !important; }
.flatpickr-calendar .flatpickr-weekday {
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    font-size: .7rem !important;
}
.flatpickr-calendar .flatpickr-day {
    border: none !important;
    border-radius: 0 !important;
    color: var(--text-dark) !important;
    font-size: .8rem !important;
    line-height: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    margin: 1px !important;
    transition: background .15s ease, color .15s ease;
}
.flatpickr-calendar .flatpickr-day:hover { background: #f0f0f0 !important; color: var(--text-dark) !important; }
.flatpickr-calendar .flatpickr-day.selected,
.flatpickr-calendar .flatpickr-day.startRange,
.flatpickr-calendar .flatpickr-day.endRange {
    background: var(--primary-gold) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
}
.flatpickr-calendar .flatpickr-day.inRange {
    background: rgba(240, 165, 0, .15) !important;
    border: none !important;
    color: var(--text-dark) !important;
}
.flatpickr-calendar .flatpickr-day.selected.startRange,
.flatpickr-calendar .flatpickr-day.startRange.endRange {
    background: var(--primary-gold) !important;
    border-radius: 50% !important;
}
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month { fill: var(--text-muted) !important; padding: 4px !important; }
.flatpickr-calendar .flatpickr-prev-month:hover,
.flatpickr-calendar .flatpickr-next-month:hover { fill: var(--text-dark) !important; background: transparent !important; }
.flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    border: none !important;
    font-size: .9rem !important;
    color: var(--text-dark) !important;
}
.flatpickr-calendar .flatpickr-current-month .numInputWrapper {
    background: transparent !important;
    border: none !important;
}
.flatpickr-calendar .flatpickr-current-month .numInputWrapper input {
    color: var(--text-dark) !important;
    font-size: .9rem !important;
}

/* ══════════════════════════════════════════════════════════════════
   16. FLIGHT RESULT CARDS & FARE CHIPS
   ══════════════════════════════════════════════════════════════════ */
.flight-card {
    background: #fff;
    border: 1px solid #e9ecef;
    margin-bottom: 24px !important;
    transition: transform .3s ease, box-shadow .4s ease, border-color .3s ease;
    border-radius: 12px;
    overflow: visible !important;
    position: relative;
}
.flight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    border-color: var(--primary-gold, #0663C4);
}
.flight-card > .card { border: none; border-radius: 12px; overflow: visible !important; }
.flight-card-body { padding: 1.5rem 2rem; }
.airline-logo { display: flex; align-items: center; gap: 14px; }
.airline-logo img {
    width: 48px; height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #e9ecef;
}
.airline-name { font-weight: 700; font-size: 1.1rem; }
.flight-number { font-size: .85rem; color: var(--text-muted); display: block; }
.route-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route-info .departure, .route-info .arrival { display: flex; flex-direction: column; align-items: center; }
.route-info .time { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.route-info .city { font-size: .9rem; color: #495057; font-weight: 500; }
.flight-path { display: flex; flex-direction: column; align-items: center; flex: 1; }
.flight-path .arrow { font-size: 1.6rem; color: var(--primary-gold); }
.flight-path .stops {
    font-size: .8rem;
    color: var(--text-muted);
    background: #f1f3f5;
    padding: 2px 14px;
    border-radius: 20px;
    margin-top: 2px;
}
.flight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 6px;
    font-size: .85rem;
    color: #495057;
}
.flight-meta .meta-item { display: flex; align-items: center; gap: 6px; }
.flight-meta .meta-item i { color: var(--primary-gold); width: 18px; text-align: center; }
.price-display { text-align: center; }
.price-display .price-amount { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); }
.price-display small { display: block; color: var(--text-muted); font-size: .8rem; }

/* Fare chips (v2/v3) */
.fc-chip {
    position: relative;
    flex: 0 0 170px;
    scroll-snap-align: start;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .12s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
    max-width: 255px;
}
.fc-chip:hover {
    border-color: #f0a500;
    box-shadow: 0 6px 16px rgba(16, 24, 40, .10);
    transform: translateY(-2px);
}
.fc-chip:active { transform: translateY(1px); }
.fc-chip:focus-visible { outline: 3px solid rgba(240, 165, 0, .28); }
.fc-chip.fc-active {
    border-color: #f0a500;
    background: #fffaf0;
    box-shadow: 0 0 0 2px rgba(240, 165, 0, .22), 0 10px 22px rgba(240, 165, 0, .16);
}
.fc-chip.fc-active::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    border-radius: 10px 0 0 10px;
    background: #f0a500;
}
.fc-chip.fc-loading { opacity: .6; pointer-events: none; }
.fc-chip.fc-ok   { border-color: #198754; background: #f0fdf4; }
.fc-chip.fc-fail { border-color: #dc3545; background: #fef6f6; }
.fc-chip-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-chip-cabin {
    font-size: .6rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.fc-chip-icon {
    width: 20px; height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 700;
    flex: 0 0 auto;
}
.fc-chip-icon.idle    { background: #f0f0f0; color: #6c757d; }
.fc-chip-icon.loading { background: #fff3cd; color: #856404; }
.fc-chip-icon.ok      { background: #d1e7dd; color: #0f5132; }
.fc-chip-icon.fail    { background: #f8d7da; color: #842029; }
.fc-chip-price { font-size: 1.1rem; font-weight: 800; color: #1a2b42; line-height: 1.1; margin-top: 6px; }
.fc-chip-brand {
    font-size: .72rem;
    color: #495057;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.fc-chip-meta {
    font-size: .68rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.fc-chip-meta i { color: #f0a500; font-size: .75rem; }
.fc-chip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fc-chip-actions .btn {
    flex: 1 1 48%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: .8rem;
    font-weight: 700;
    border-radius: 8px;
    padding: .45rem .6rem;
    line-height: 1.2;
    transition: all .16s ease;
}
.btn-select { border: 1px solid #0d6efd; background: #0d6efd; color: #fff; }
.btn-select:hover { border-color: #0b5ed7; background: #0b5ed7; color: #fff; }
.btn-quote  { border: 1px solid #f0a500; background: #fff7e8; color: #9a6700; }
.btn-quote:hover { border-color: #e08e00; background: #ffefcc; color: #7c5300; }
.fc-fare-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}
.fc-fare-chips::-webkit-scrollbar { height: 4px; width: 5px; }
.fc-fare-chips::-webkit-scrollbar-thumb { background: #c5d0da; border-radius: 4px; }

/* Fare chip links block (hidden on newer cards) */
.fc-chip-links { display: none !important; }

/* Layover tooltip */
.fc-leg-info { position: relative; z-index: 100; cursor: help; }
.fc-layover-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #1a2b42;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 220px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    pointer-events: none;
}
.fc-leg-info:hover .fc-layover-tooltip,
.fc-leg-info:focus .fc-layover-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.fc-layover-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #1a2b42;
}
.fc-layover-item { padding: 4px 0; }
.fc-layover-item + .fc-layover-item {
    border-top: 1px solid rgba(255, 255, 255, .15);
    margin-top: 6px;
    padding-top: 8px;
}
.fc-layover-title { font-size: .75rem; font-weight: 700; color: #8ab4f8; margin-bottom: 4px; }
.fc-layover-detail { font-size: .7rem; padding: 1px 0; display: flex; gap: 4px; }
.fc-layover-detail .label { color: #a0aec0; min-width: 55px; }
.fc-layover-overnight {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f59e0b;
    color: #1a2b42;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

/* Flight card layout primitives */
.fc-main-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
}
.fc-main-row:hover { background: #f1f3f6; }
.fc-index { font-weight: 600; color: #495057; min-width: 16px; text-align: center; }
.fc-logo-wrap { min-width: 64px; text-align: center; }
.fc-logo-wrap img { max-height: 36px; max-width: 56px; }
.fc-badge-sm, .fc-multi-note { font-size: .62rem; }
.fc-legs-wrap { flex: 1 1 auto; min-width: 0; }
.fc-leg-row { display: flex; align-items: center; gap: 18px; padding: 4px 0; }
.fc-leg-flight { flex: 0 0 165px; max-width: 165px; min-width: 0; }
.fc-leg-flight-text { min-width: 0; }
.fc-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
.fc-leg-route {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.fc-leg-route .fc-end { flex: 0 0 auto; min-width: 110px; }
.fc-route-mid {
    flex: 1 1 auto;
    min-width: 60px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.fc-route-graphic { display: flex; align-items: center; width: 100%; max-width: 230px; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: #6c757d; flex: 0 0 auto; }
.fc-line { height: 2px; background: #6c757d; flex: 1 1 auto; }
.fc-arrowhead {
    width: 0; height: 0;
    border-left: 9px solid #6c757d;
    border-top: 4.5px solid transparent;
    border-bottom: 4.5px solid transparent;
    flex: 0 0 auto;
}
.fc-route-meta { display: flex; flex-direction: column; gap: 1px; width: 100%; }
.fc-route-duration { font-size: .72rem; font-weight: 700; color: #495057; }
.fc-stopcodes {
    font-size: .72rem;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
}
.fc-leg-equip { flex: 0 0 92px; }
.fc-price-panel {
    flex: 0 0 200px;
    border-left: 1px solid #e3e6ea;
    padding: 4px 12px 8px;
    text-align: center;
}
.fc-header-class { font-size: .8rem; color: #495057; line-height: 1.1; }
.fc-header-price { font-size: 1.55rem; font-weight: 800; color: #111; line-height: 1.15; }
.fc-header-price .fc-cur {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 5px;
    vertical-align: middle;
}
.fc-icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
    color: #555;
}
.fc-icon-row .fc-ic {
    cursor: pointer;
    font-size: 1.02rem;
    color: #555;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}
.fc-icon-row .fc-ic:hover { color: #0c8898; }
.fc-ic.fc-saved { color: #0d6efd; }
.fc-chevron { flex: 0 0 auto; font-size: 1.15rem; color: var(--text-dark); background: none; border: none; }
.fc-details-body { background: #fff; }
.fc-details-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 4px;
}
.fc-chips-row { padding: 8px 18px 12px; }

/* Amenities */
.fc-amenity-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .72rem;
    padding: .2rem .55rem;
    margin: .1rem .2rem .1rem 0;
    background: rgba(240, 165, 0, .10);
    color: #1a2b42;
    border-radius: 20px;
    border: 1px solid rgba(240, 165, 0, .25);
    font-weight: 500;
}
.fc-amenity-pill i { color: #f0a500; font-size: .75rem; }

/* Segment timeline */
.fc-layover-connector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin: 0 0 0 24px;
    position: relative;
    cursor: help;
    border-left: 2px dashed #f0a500;
    min-height: 48px;
}
.fc-layover-connector::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    background: #fff;
    border: 2px solid #f0a500;
    border-radius: 50%;
    z-index: 2;
}
.fc-layover-dot {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(240, 165, 0, .12);
    color: #d4940a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.fc-layover-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; }
.fc-layover-airport { font-weight: 600; color: #1a2b42; }
.fc-layover-duration {
    color: var(--text-muted);
    font-size: .75rem;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}
.fc-layover-badge { font-size: .65rem !important; padding: .15rem .5rem !important; }
.fc-leg-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0 8px;
    position: relative;
}
.fc-leg-divider::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6 20%, #dee2e6 80%, transparent);
}
.fc-leg-divider .badge {
    position: relative;
    z-index: 2;
    padding: .35rem .9rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.fc-airport-label {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fc-airport-code {
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .04em;
    color: #1a2b42;
    cursor: help;
}

/* Segment accordion */
.fc-segment-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 8px;
    overflow: hidden;
}
.fc-segment-accordion .accordion-button {
    padding: 1rem 1.25rem;
    font-size: .9rem;
    font-weight: 500;
    background: #fff;
    box-shadow: none !important;
}
.fc-segment-accordion .accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #0b3d66;
    border-bottom: 1px solid #e9ecef;
}
.fc-segment-accordion .accordion-button::after { background-size: 1rem; }
.fc-segment-accordion .accordion-body { padding: 1.25rem; background: #fff; }

/* Conditions & fare conditions */
.fc-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    padding: 9px 18px;
    border-top: 1px solid #e3e6ea;
    font-size: .8rem;
    color: #495057;
}
.fc-cond-item { white-space: nowrap; }
.fc-cond-item strong { color: var(--text-dark); }
.fc-seg-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding: 10px 18px;
    border-top: 1px solid #e3e6ea;
    font-size: .82rem;
    color: #333;
}
.fc-detail-item { white-space: nowrap; }
.fc-info-boxes { display: flex; flex-wrap: wrap; border-top: 1px solid #e3e6ea; }
.fc-info-box {
    flex: 1 1 210px;
    border-right: 1px solid #e3e6ea;
    padding: 14px 18px;
    text-align: center;
    background: #f4f4f4;
}
.fc-info-box:last-child { border-right: none; }
.fc-box-title {
    font-size: .68rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #495057;
    margin-bottom: 8px;
}
.fc-box-value { font-weight: 800; font-size: 1.05rem; color: #111; }
.fc-seatmap-btn { font-weight: 800; font-size: 1.05rem; color: #111; text-decoration: none; }
.fc-fare-summary { background: #f8f9fa; }
.fc-fare-rule-scroll { white-space: pre-wrap; max-height: 180px; overflow-y: auto; }
.fc-rule-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 3px solid #f0a500;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    max-height: 60vh;
    overflow-y: auto;
}
.fc-rule-line {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-soft);
    font-size: .92rem;
}
.fc-rule-line:last-child { border-bottom: none; }
.fc-breakdown-table th, .fc-breakdown-table td { vertical-align: middle; }
.fc-fare-conditions { display: grid; gap: 10px; }
.fc-fare-condition {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-soft);
}
.fc-fare-condition:last-child { border-bottom: none; }
.fc-fare-condition-label { min-width: 160px; font-weight: 700; color: #495057; }
.fc-fare-condition-value { flex: 1; text-align: right; color: var(--text-dark); overflow-wrap: anywhere; }

/* Fare rules modal */
[id^="fareRulesModal-"] .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}
[id^="fareRulesModal-"] .modal-header { border-bottom: 1px solid #f0f0f0; padding: 1rem 1.5rem; }
[id^="fareRulesModal-"] .modal-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); }
[id^="fareRulesModal-"] .modal-body { padding: 1.5rem; }
.fc-modal-rules {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-gold, #f0a500);
    max-height: 60vh;
    overflow-y: auto;
    color: #333;
}

/* Seatmap */
.seatmap-section { margin-bottom: 2rem; }
.seatmap-header { margin-bottom: .75rem; }
.seatmap-rows {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 1rem;
}
.seatmap-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.seatmap-row-label { width: 26px; text-align: center; font-weight: 700; color: var(--text-muted); }
.seatmap-legend { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.seatmap-legend .seat { pointer-events: none; display: inline-flex; }
.seat {
    width: 38px; height: 38px;
    border-radius: 9px 9px 5px 5px;
    border: 1px solid #cfd4da;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    line-height: 1;
    padding: 2px;
}
.seat.free       { background: #e9f7ef; border-color: #2e7d4f; }
.seat.chargeable { background: #fff6dd; border-color: #b7842b; }
.seat.occupied   { background: #e5e7ea; color: #9aa1a8; cursor: not-allowed; }
.seat small      { font-size: .56rem; margin-top: 2px; }

/* Google-style fare rules (human friendly) */
.fr-human { font-size: .95rem; color: #202129; }
.fr-section { margin-bottom: 1.5rem; }
.fr-section-title { font-weight: 600; font-size: 1.05rem; margin-bottom: .75rem; color: #202129; }
.fr-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; }
.fr-ic { flex: 0 0 20px; width: 20px; text-align: center; color: #0c8898; font-size: 1.1rem; margin-top: 2px; }
.fr-ic.muted { color: #70757a; }
.fr-ic.ok { color: #188754; }
.fr-text { line-height: 1.5; color: #3c4043; }
.fr-text strong { font-weight: 600; color: #202129; }
.fr-restrictions {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    border-top: 1px solid #dadce0;
    margin-top: 10px;
    padding-top: 15px;
}
.fr-restrictions-text {
    flex: 1 1 auto;
    color: #70757a;
    font-size: .85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fr-restrictions-text strong { color: #70757a; font-weight: 600; }
.fr-details-toggle {
    flex: 0 0 auto;
    border: 0;
    background: none;
    color: #0c8898;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    cursor: pointer;
}
.fr-details-toggle:hover { text-decoration: underline; }
.fr-details {
    margin-top: 15px;
    border-top: 1px solid #dadce0;
    padding-top: 15px;
    animation: fadeIn .2s ease-in-out;
}

/* Tooltip z-index harmony */
.tooltip { z-index: 1080; }
.tooltip .tooltip-inner { max-width: 280px; text-align: left; }

/* ══════════════════════════════════════════════════════════════════
   17. BOOKING CONFIRMATION PAGE
   ══════════════════════════════════════════════════════════════════ */
.res-header { border-bottom: 3px solid var(--primary-blue); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.res-company { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); letter-spacing: .5px; }
.res-tagline { font-size: .8rem; color: var(--text-muted); }
.res-label {
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.res-code {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
}
.res-status {
    background: #198754;
    color: #fff;
    font-weight: 600;
    font-size: .75rem;
    padding: .3rem .85rem;
    border-radius: 0;
}
.res-dates { font-size: .85rem; color: #555; margin-top: .5rem; }
.date-header { background: var(--primary-blue); color: #fff; padding: .55rem 1rem; margin-bottom: .75rem; }
.date-header-text { font-size: .95rem; font-weight: 700; letter-spacing: .5px; }
.date-header-sub { font-size: .75rem; opacity: .85; }
.flight-segment-card {
    border: 1px solid #dee2e6;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: var(--transition);
    background: #fff;
}
.flight-segment-card:hover { box-shadow: var(--shadow-hover); }
.seg-header {
    background: var(--light-bg);
    padding: .75rem 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.seg-airline-info strong { color: var(--primary-blue); font-size: 1rem; }
.seg-flight-num { font-size: .85rem; color: #555; }
.seg-meta { font-size: .8rem; color: #555; text-align: right; line-height: 1.5; }
.seg-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: .75rem;
}
.seg-endpoint { text-align: center; flex: 1 1 30%; }
.seg-airport-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}
.seg-airport-name { font-size: .7rem; color: #888; }
.seg-arrow { text-align: center; flex: 1 1 30%; }
.seg-flight-tag { font-size: .75rem; color: #888; }
.seg-line { height: 2px; background: var(--primary-blue); margin: .4rem 0; position: relative; }
.seg-line::after {
    content: '\2708';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 6px;
    color: var(--primary-blue);
    font-size: .9rem;
}
.seg-details { font-size: .8rem; border-top: 1px solid #eee; margin: 0; width: 100%; }
.seg-details td { padding: .4rem 1rem; }
.seg-detail-label { color: #888; font-weight: 600; width: 20%; }
.seg-detail-value { color: #222; }
.seg-notes {
    background: #fff8e1;
    border-top: 1px solid #f0dca6;
    padding: .4rem 1rem;
    font-size: .72rem;
    color: #664d03;
}
.pax-section { margin-bottom: 1.5rem; }
.pax-section-title {
    background: #146c43;
    color: #fff;
    padding: .5rem 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: .75rem;
}
.pax-card {
    border: 1px solid #dee2e6;
    box-shadow: var(--shadow-sm);
    padding: .75rem 1rem;
    transition: var(--transition);
    background: #fff;
    border-radius: 0;
}
.pax-card:hover { box-shadow: var(--shadow-hover); }
.pax-name { font-size: 1rem; font-weight: 700; color: var(--primary-blue); }
.pax-type { font-size: .8rem; color: #888; }
.pax-baggage .badge { font-weight: 500; border-radius: 0; }
.pax-checkin { font-size: .8rem; color: #198754; }
.fare-summary-card {
    background: #f4f9f4;
    border: 1px solid #cfe3cf;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.fare-label { font-size: .75rem; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.fare-value { font-size: .95rem; color: #222; font-weight: 600; }
.fare-total { font-size: 1.6rem; font-weight: 700; color: #146c43; }

/* ══════════════════════════════════════════════════════════════════
   18. UMRAH / HAJJ MODULE
   ══════════════════════════════════════════════════════════════════ */
.hu-page { color: #20211f; }
.hu-page h1, .hu-page h2, .hu-page h3, .hu-page .hu-display { font-family: 'Amiri', 'Georgia', serif; }
.hu-eyebrow {
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 600;
    color: var(--hu-gold);
}
.hu-star-divider {
    height: 34px; width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='34'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='1' opacity='0.55'%3E%3Crect x='7' y='-3' width='20' height='20'/%3E%3Crect x='7' y='-3' width='20' height='20' transform='rotate(45 17 7)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
}
.hu-star-divider.dark  { background-color: var(--hu-ink); }
.hu-star-divider.light { background-color: var(--hu-sand); }
.hu-hero {
    position: relative;
    background: radial-gradient(ellipse at 30% 20%, #1c2438 0%, var(--hu-ink) 55%, #060910 100%);
    color: #f4efe4;
    padding: 6.5rem 0 5rem;
    overflow: hidden;
}
.hu-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='1'%3E%3Crect x='20' y='20' width='80' height='80'/%3E%3Crect x='20' y='20' width='80' height='80' transform='rotate(45 60 60)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}
.hu-hero .container { position: relative; z-index: 1; }
.hu-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; }
.hu-hero .hu-gold-text { color: var(--hu-gold-bright); }
.hu-hero p.lead { color: #cfd3de; max-width: 640px; }
.hu-btn-gold {
    background: var(--hu-gold-bright);
    border: none;
    color: #20160b;
    font-weight: 700;
    padding: .75rem 1.75rem;
    border-radius: .4rem;
}
.hu-btn-gold:hover { background: #d6ac00; color: #20160b; }
.hu-btn-outline {
    border: 1px solid #cfd3de;
    color: #f4efe4;
    padding: .75rem 1.75rem;
    border-radius: .4rem;
    background: transparent;
}
.hu-btn-outline:hover { border-color: var(--hu-gold-bright); color: var(--hu-gold-bright); }
.hu-packages { background: var(--hu-sand); padding: 5rem 0; }
.hu-pkg-card {
    background: #fff;
    border-top: 3px solid var(--hu-gold);
    border-radius: .5rem;
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20, 15, 5, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hu-pkg-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(20, 15, 5, .1); }
.hu-pkg-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(201, 162, 39, .12);
    color: var(--hu-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
}
.hu-pkg-card ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.hu-pkg-card ul li { padding: .3rem 0; color: #4c4a44; font-size: .95rem; }
.hu-pkg-card ul li i { color: var(--hu-gold); width: 18px; }
.hu-sites { background: #fff; padding: 5rem 0; }
.hu-carousel-slide {
    height: 420px;
    border-radius: .6rem;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.hu-carousel-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0) 40%, rgba(11, 17, 32, .85) 100%);
}
.hu-carousel-slide .hu-slide-label {
    position: relative;
    z-index: 1;
    color: #f4efe4;
    padding: 1.4rem;
}
.hu-slide-1 { background-color: #2b2418; background-image: linear-gradient(135deg, #1a1712, #3a2f18); }
.hu-slide-2 { background-color: #1c2a2c; background-image: linear-gradient(135deg, #12191b, #2f4448); }
.hu-slide-3 { background-color: #2c1f18; background-image: linear-gradient(135deg, #1a130f, #4a3220); }
.hu-slide-4 { background-color: #1f1c2c; background-image: linear-gradient(135deg, #141220, #332c4a); }
.hu-slide-icon {
    font-size: 2.6rem;
    color: var(--hu-gold);
    position: absolute;
    top: 1.4rem; right: 1.4rem;
    opacity: .85;
}
.hu-journey { position: relative; padding-left: 2.6rem; }
.hu-journey::before {
    content: "";
    position: absolute;
    left: 11px; top: 6px; bottom: 6px;
    width: 2px;
    background-image: linear-gradient(var(--hu-gold) 40%, transparent 0);
    background-size: 2px 8px;
    background-repeat: repeat-y;
}
.hu-journey-item { position: relative; margin-bottom: 1.8rem; }
.hu-journey-item:last-child { margin-bottom: 0; }
.hu-journey-item::before {
    content: "";
    position: absolute;
    left: -2.6rem;
    top: .15rem;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--hu-ink);
    border: 2px solid var(--hu-gold);
}
.hu-journey-item i.hu-marker {
    position: absolute;
    left: -2.28rem;
    top: .32rem;
    font-size: .7rem;
    color: var(--hu-gold);
}
.hu-journey-item h5 { margin-bottom: .35rem; }
.hu-journey-item p { color: #57544c; margin-bottom: 0; font-size: .95rem; }
.hu-testimonials {
    background: linear-gradient(180deg, var(--hu-ink) 0%, var(--hu-maroon) 130%);
    padding: 5rem 0;
    color: #f4efe4;
}
.hu-testimonials h2 { color: #f4efe4; }
.hu-test-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(201, 162, 39, .25);
    border-radius: .6rem;
    padding: 2rem 1.75rem;
    height: 100%;
}
.hu-test-quote { font-size: 2rem; color: var(--hu-gold); line-height: 1; margin-bottom: .5rem; }
.hu-test-card p.hu-test-body { color: #d9dbe4; font-size: .97rem; }
.hu-test-name { font-weight: 700; color: #f4efe4; margin-bottom: 0; }
.hu-test-loc { color: var(--hu-gold); font-size: .85rem; }

/* ══════════════════════════════════════════════════════════════════
   19. CARGO MODULE
   ══════════════════════════════════════════════════════════════════ */
.btn-cargo-primary {
    background: linear-gradient(135deg, #f0a500 0%, #d4940a 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(240, 165, 0, .3);
}
.btn-cargo-primary:hover {
    background: linear-gradient(135deg, #d4940a 0%, #b8840a 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 165, 0, .4);
}
.btn-cargo-track {
    background: #D40511;
    color: #fff;
    border: none;
    font-weight: 700;
    transition: all .3s ease;
}
.btn-cargo-track:hover {
    background: #b0040e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 5, 17, .3);
}
.cargo-section-title { font-size: 1.3rem; font-weight: 700; }
.form-control-lg, .form-select-lg {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all .3s ease;
}
.form-control-lg:focus, .form-select-lg:focus {
    border-color: #f0a500;
    box-shadow: 0 0 0 3px rgba(240, 165, 0, .1);
}
.cargo-search-box .input-group .form-control {
    border: 2px solid #e0e0e0;
    font-size: 1.1rem;
    padding: 14px 20px;
}
.cargo-search-box .input-group .form-control:focus {
    border-color: #D40511;
    box-shadow: 0 0 0 3px rgba(212, 5, 17, .1);
}
.cargo-tracking-result { border: 1px solid #e0e0e0; }
.cargo-result-header { background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%); }
.cargo-timeline-item { position: relative; animation: fadeInUp .5s ease forwards; }
.cargo-timeline-marker { z-index: 2; }
.cargo-timeline-content { border-left: 3px solid #f0a500; transition: all .3s ease; }
.cargo-timeline-content:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateX(5px);
}
.cargo-timeline-item:nth-child(1) { animation-delay: .1s; }
.cargo-timeline-item:nth-child(2) { animation-delay: .2s; }
.cargo-timeline-item:nth-child(3) { animation-delay: .3s; }
.cargo-timeline-item:nth-child(4) { animation-delay: .4s; }
.cargo-timeline-item:nth-child(5) { animation-delay: .5s; }
.cargo-faq .accordion-button {
    padding: 18px 24px;
    font-size: 1rem;
    color: var(--primary-dark);
    background: #fff;
    border: none;
}
.cargo-faq .accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: var(--primary-blue);
    box-shadow: none;
}
.cargo-faq .accordion-button:focus { box-shadow: none; border-color: rgba(0, 0, 0, .125); }
.cargo-faq .accordion-body { padding: 18px 24px; color: #555; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════
   20. CARGO ORDER (DHL style) & QUOTE
   ══════════════════════════════════════════════════════════════════ */
.cargo-order-hero {
    background: #fff;
    padding: 50px 0 30px;
    border-bottom: 1px solid #e0e0e0;
}
.cargo-order-hero h1 { font-size: 2.8rem; font-weight: 900; color: #1a1a1a; margin-bottom: 8px; }
.cargo-order-hero p { font-size: 1.05rem; color: #555; max-width: 700px; }
.cargo-order-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    margin-top: 30px;
    overflow: hidden;
}
.cargo-tabs { display: flex; border-bottom: 3px solid #e0e0e0; background: #f5f5f5; }
.cargo-tab {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #333;
    transition: all .2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}
.cargo-tab.active { background: #fff; border-bottom: 3px solid #D40511; color: #D40511; }
.cargo-tab:hover:not(.active) { background: #eee; }
.cargo-form-body { padding: 30px 35px; }
.import-check-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 24px;
    font-size: .95rem;
    color: #333;
}
.import-check-wrap input[type="checkbox"] { width: 20px; height: 20px; accent-color: #D40511; }
.import-check-wrap .info-icon {
    width: 18px; height: 18px;
    border: 1.5px solid #999;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem;
    color: #999;
    cursor: help;
}
.location-row { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.location-row h5 { margin-bottom: 8px; }
.location-row p { font-size: .9rem; color: #495057; line-height: 1.6; }
.location-block { flex: 1; }
.location-label { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; color: #1a1a1a; }
.location-selector {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s;
    min-height: 70px;
}
.location-selector:hover { border-color: #D40511; }
.location-selector.filled { border-color: #28a745; background: #f0f8f0; }
.location-selector .flag-img {
    width: 44px; height: 30px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}
.location-selector .flag-placeholder {
    width: 44px; height: 30px;
    background: #eee;
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: #999;
    font-size: .9rem;
    flex-shrink: 0;
}
.location-selector .loc-info { flex: 1; }
.location-selector .loc-info .loc-label {
    font-size: .72rem;
    color: #D40511;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.location-selector .loc-info .loc-value { font-weight: 600; font-size: 1rem; color: #1a1a1a; }
.location-selector .loc-info .loc-placeholder { color: #999; font-size: .95rem; }
.location-selector .change-link {
    color: #D40511;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}
.location-selector .change-link:hover { text-decoration: none; }
.location-selector .check-icon {
    width: 24px; height: 24px;
    background: #28a745;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .8rem;
    flex-shrink: 0;
}
.billing-note {
    font-size: .8rem;
    color: #666;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}
.city-input-wrap { position: relative; }
.city-input {
    width: 100%;
    padding: 16px 40px 16px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all .2s;
    background: #fff;
}
.city-input:focus {
    outline: none;
    border-color: #D40511;
    box-shadow: 0 0 0 2px rgba(212, 5, 17, .1);
}
.city-input.filled { border-color: #28a745; background: #f0f8f0; }
.city-input-label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: .72rem;
    color: #D40511;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.city-input-label .req { color: #D40511; }
.city-check-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    background: #28a745;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .75rem;
}
.city-check-icon.show { display: flex; }
.residential-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: .95rem;
    color: #666;
}
.residential-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: #D40511; }
.btn-describe-shipment {
    background: #D40511;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
    display: block;
    margin: 30px auto 0;
}
.btn-describe-shipment:hover {
    background: #b0040e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 5, 17, .3);
}
.cargo-shipment-section { background: #87CEEB; padding: 40px 0; display: none; }
.cargo-shipment-section.visible { display: block; animation: fadeInUp .4s ease; }
.cargo-shipment-section h2 { font-size: 2.2rem; font-weight: 900; color: #1a1a1a; margin-bottom: 24px; }
.shipment-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.shipment-item-header { font-size: 1.3rem; font-weight: 900; color: #1a1a1a; margin-bottom: 20px; }
.shipment-fields-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.shipment-field-group { flex: 1; min-width: 180px; }
.shipment-field-group h4 { font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: #1a1a1a; }
.shipment-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: all .2s;
}
.shipment-input:focus {
    outline: none;
    border-color: #D40511;
    box-shadow: 0 0 0 2px rgba(212, 5, 17, .1);
}
.shipment-input::placeholder { color: #999; }
.dimensions-row { display: flex; align-items: flex-end; gap: 12px; }
.dimensions-row .dim-input-wrap { flex: 1; }
.dimensions-row .x-label { font-weight: 900; font-size: 1.3rem; color: #1a1a1a; padding-bottom: 14px; }
.quantity-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.quantity-stepper button {
    width: 44px; height: 48px;
    border: none;
    background: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    color: #1a1a1a;
    transition: background .15s;
}
.quantity-stepper button:hover { background: #f5f5f5; }
.quantity-stepper .qty-value {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 12px 0;
    min-width: 50px;
}
.box-icon-wrap { display: flex; align-items: center; justify-content: center; padding-bottom: 14px; }
.box-icon-wrap img { max-height: 80px; }
.preset-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e0e0e0; }
.preset-section h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.preset-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}
.preset-box:hover { border-color: #D40511; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.preset-box.active {
    border-color: #D40511;
    background: #fff5f5;
    box-shadow: 0 2px 8px rgba(212, 5, 17, .1);
}
.preset-icon {
    width: 60px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.preset-icon img { max-height: 45px; max-width: 60px; }
.preset-info strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.preset-info small { color: #666; font-size: .82rem; }
.your-item-section { margin-top: 24px; }
.your-item-section h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.item-option-check { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #555; }
.item-option-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: #D40511; }
.item-option-check .help-icon,
.bottom-option-check .help-icon {
    width: 18px; height: 18px;
    border: 1.5px solid #999;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem;
    color: #999;
    cursor: help;
}
.shipment-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 16px;
}
.total-weight-display { font-size: 1.2rem; font-weight: 700; color: #1a1a1a; }
.bottom-options { display: flex; flex-direction: column; gap: 10px; }
.bottom-option-check { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #555; }
.bottom-option-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: #D40511; }
.bottom-option-check.disabled { opacity: .5; pointer-events: none; }
.btn-add-item {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
    padding: 12px 24px;
    font-weight: 700;
    font-size: .95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.btn-add-item:hover { border-color: #D40511; color: #D40511; }
.btn-add-item .plus-icon { font-size: 1.2rem; font-weight: 900; }
.btn-get-quote {
    background: #D40511;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
    display: block;
    margin: 30px auto 0;
    min-width: 280px;
}
.btn-get-quote:hover {
    background: #b0040e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 5, 17, .3);
}
.country-dropdown-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 999;
    display: none;
}
.country-dropdown-overlay.show { display: block; }
.country-dropdown-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    max-height: 70vh;
    overflow: hidden;
    display: none;
}
.country-dropdown-modal.show { display: block; animation: popIn .2s ease; }
.country-dropdown-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.country-dropdown-header h5 { margin: 0; font-weight: 700; }
.country-dropdown-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}
.country-dropdown-search { padding: 12px 24px; border-bottom: 1px solid #e0e0e0; }
.country-dropdown-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: .95rem;
}
.country-dropdown-search input:focus { outline: none; border-color: #D40511; }
.country-dropdown-list { max-height: 50vh; overflow-y: auto; padding: 8px 0; }
.country-dropdown-item {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background .15s;
}
.country-dropdown-item:hover { background: #f5f5f5; }
.country-dropdown-item img {
    width: 28px; height: 20px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #ddd;
}
.country-dropdown-item .unavailable { color: #999; font-size: .85rem; margin-left: auto; }
.contact-section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #e0e0e0; }
.contact-section h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-block h5 { font-weight: 700; font-size: .95rem; margin-bottom: 12px; color: #555; }
.contact-block .form-group { margin-bottom: 12px; }
.contact-block label {
    display: block;
    font-size: .8rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-block label .req { color: #D40511; }
.contact-block input, .contact-block textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: .95rem;
    transition: border-color .2s;
}
.contact-block input:focus, .contact-block textarea:focus { outline: none; border-color: #D40511; }

/* Cargo quote page */
.quote-container { max-width: 1200px; margin: 20px auto; padding: 0 15px; }
.quote-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shipment-date-box { display: flex; align-items: center; gap: 10px; }
.check { color: #28a745; font-size: 24px; }
.btn-save-shipment { background: #0b3d66; color: #fff; border: none; padding: 8px 20px; border-radius: 4px; }
.btn-save-shipment:hover { background: #0a2e4a; }
.quote-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.quote-main-row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.quote-left { flex: 2; min-width: 280px; }
.quote-right { flex: 1; min-width: 200px; text-align: right; }
.delivery-label { color: #666; font-size: 14px; }
.delivery-date { font-size: 24px; font-weight: bold; color: #0b3d66; }
.delivery-timing { color: #888; }
.delivery-note { color: #666; font-size: 14px; margin-top: 5px; }
.pickup-note {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    align-items: flex-start;
}
.price-display { margin-bottom: 15px; }
.price-label { color: #666; }
.price-amount { font-size: 28px; font-weight: bold; color: #0b3d66; }
.btn-schedule-pickup {
    background: #f0a500;
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
}
.btn-schedule-pickup:hover { background: #d49400; }
.details-dropdown { margin-top: 15px; border-top: 1px solid #eee; padding-top: 10px; }
.details-dropdown-btn { background: none; border: none; font-weight: bold; color: #0b3d66; cursor: pointer; }
.details-content { display: none; margin-top: 15px; }
.details-content.show { display: block; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.detail-section { background: #f9fafb; padding: 15px; border-radius: 6px; }
.detail-section h6 { margin-bottom: 10px; color: #0b3d66; }
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: #666; }
.detail-value { font-weight: 500; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.action-btn {
    background: #f8f9fa;
    border: 1px solid #ccc;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
}
.action-btn:hover { background: #e9ecef; }
@media print {
    .btn-save-shipment, .btn-schedule-pickup, .action-buttons { display: none; }
    .quote-card { border: none; box-shadow: none; }
    .details-content { display: block !important; }
}

/* ══════════════════════════════════════════════════════════════════
   21. PAGINATION (Bootstrap + CI4)
   ══════════════════════════════════════════════════════════════════ */
.pagination,
.pagination-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    margin-bottom: 0;
}
.pagination li { list-style: none; margin: 0; }

.pagination li a,
.pagination li > span,
.pagination-custom .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-weight: 500;
    font-size: .875rem;
    color: #495057;
    background: #fff;
    text-decoration: none;
    transition: all .2s ease;
}
.pagination li a:hover,
.pagination-custom .page-item .page-link:hover {
    background: #f0f4f8;
    border-color: #0b3d66;
    color: #0b3d66;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(11, 61, 102, .12);
}
.pagination li.active > a,
.pagination li.active > span,
.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, #0b3d66, #1a5f9e);
    border-color: #0b3d66;
    color: #fff;
    box-shadow: 0 3px 8px rgba(11, 61, 102, .3);
    font-weight: 600;
}
.pagination li.disabled > span,
.pagination li.disabled > a,
.pagination-custom .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}
.bookings-pagination {
    padding: 16px 24px;
    border-top: 1px solid var(--border-softer);
    background: #fff;
}

/* Flex-date strip (results page) */
.flex-date-calendar-head { font-size: .85rem; margin-bottom: 6px; color: #495057; }
.flex-date-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.flex-date-cell {
    position: relative;
    flex: 0 0 auto;
    min-width: 86px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    padding: 8px 10px 7px;
    text-decoration: none;
    color: #333;
    transition: all .15s ease;
}
.flex-date-cell:hover {
    border-color: #0b3d66;
    box-shadow: 0 2px 8px rgba(11, 61, 102, .15);
    transform: translateY(-1px);
    color: #333;
}
.flex-date-cell.is-current {
    background: linear-gradient(135deg, #0b3d66, #1a5f9e);
    border-color: #0b3d66;
    color: #fff;
}
.flex-date-cell.is-current .flex-date-dow,
.flex-date-cell.is-current .flex-date-return { color: rgba(255, 255, 255, .75); }
.flex-date-cell.is-cheapest:not(.is-current) { border-color: #198754; }
.flex-date-tag {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #198754;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 6px;
    white-space: nowrap;
}
.flex-date-dow { font-size: .68rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: .04em; }
.flex-date-day { font-weight: 700; font-size: .9rem; margin-top: 1px; }
.flex-date-return { font-size: .7rem; color: var(--text-muted); margin-top: 1px; }
.flex-date-price { font-size: .82rem; font-weight: 600; margin-top: 4px; color: #0b3d66; }
.flex-date-cell.is-current .flex-date-price { color: #fff; }

/* Filters sidebar */
.filter-sidebar {
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.filter-sidebar h5 { font-weight: 700; }
.filter-sidebar .form-check { padding-left: 1.8rem; }
.filter-sidebar .form-check-input { border-radius: 0; border-color: #ccc; }
.filter-sidebar .form-check-input:checked {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}
.results-header { background: #fff; border-bottom: 1px solid #eee; padding: 20px 0; }
.results-header h1 { font-size: 1.5rem; font-weight: 700; }
.airline-filter:checked + .form-check-label { font-weight: 600; color: #0b3d66; }

/* ══════════════════════════════════════════════════════════════════
   22. UTILITIES (image-sortable, choice-cards, alerts, toast, WhatsApp)
   ══════════════════════════════════════════════════════════════════ */

/* Image sortable (create_tour.php, edit_tour.php) */
.image-sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    min-height: 100px;
    padding: 16px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
}
.image-sortable .image-item {
    position: relative;
    width: 120px;
    height: 120px;
    cursor: grab;
    transition: transform .15s ease;
}
.image-sortable .image-item:hover { transform: scale(1.05); }
.image-sortable .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--border-soft);
    border-radius: 6px;
}
.image-sortable .remove-img {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    display: flex; align-items: center; justify-content: center;
    background: #dc2626;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.image-sortable .drag-hint {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 2px;
    border-radius: 0 0 6px 6px;
}
.sortable-ghost { opacity: .4; background: var(--border-soft); }

/* Make-booking choice cards */
.booking-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.choice-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    display: flex;
    flex-direction: column;
}
.choice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    border-color: var(--primary-accent);
}
.choice-icon { font-size: 40px; margin-bottom: 14px; }
.choice-card h2 { font-size: 20px; margin: 0 0 8px; color: #111827; }
.choice-card p { color: var(--text-muted); font-size: 14px; margin: 0 0 18px; flex-grow: 1; }
.choice-cta { color: var(--primary-accent); font-weight: 600; font-size: 14px; }

/* Toast container (flight results) */
.fc-toast-container {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    pointer-events: none;
}
.fc-toast-container .toast {
    pointer-events: auto;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15) !important;
    border-left: 5px solid var(--primary-gold, #f0a500) !important;
    background: #fff !important;
    overflow: hidden;
    animation: slideInRight .3s ease;
}
.fc-toast-container .toast.toast-success { border-left-color: #198754 !important; }
.fc-toast-container .toast.toast-danger  { border-left-color: #dc3545 !important; }
.fc-toast-container .toast.toast-warning { border-left-color: #ffc107 !important; }
.fc-toast-container .toast .toast-header { background: #fff; border-bottom: 1px solid #f0f0f0; }

/* Contact info boxes */
.contact-info-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 12px;
    height: 100%;
    transition: background .2s ease, transform .2s ease;
}
.contact-info-box:hover { background: #fff8eb; transform: translateY(-2px); }
.contact-info-icon {
    width: 42px; height: 42px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(240, 165, 0, .12);
    color: #f0a500;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.contact-info-box h6 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.contact-info-box p { font-size: .85rem; color: var(--text-dark); line-height: 1.45; margin: 0; }
.contact-info-box a { color: var(--text-dark); text-decoration: none; word-break: break-word; }
.contact-info-box a:hover { color: #f0a500; text-decoration: underline; }
.map-embed-wrap { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    font-weight: 600;
    font-size: .95rem;
    padding: 12px 20px 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .15);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    line-height: 1;
}
.whatsapp-float i { font-size: 1.5rem; line-height: 1; }
.whatsapp-float:hover {
    background: #1ebe5a;
    color: #fff !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(37, 211, 102, .55), 0 4px 12px rgba(0, 0, 0, .18);
}
.whatsapp-float:active { transform: translateY(-1px) scale(.99); }
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #25D366;
    opacity: .55;
    z-index: -1;
    animation: pulseSoft 2.2s infinite;
}

/* Customer / booking detail blocks */
.booking-summary {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-gold);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.fare-card {
    border: 1px solid #eee;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}
.fare-card:hover { border-color: var(--primary-gold); box-shadow: var(--shadow-hover); }
.fare-card h6 { font-weight: 700; font-size: 1rem; }
.fare-card .brand { font-size: .8rem; color: var(--text-muted); margin: 4px 0; }
.fare-card .price { font-size: 1.3rem; font-weight: 700; color: var(--primary-gold); margin: 8px 0; }
.fare-card .perks { list-style: none; padding: 0; font-size: .8rem; text-align: left; margin: 10px 0; }
.fare-card .perks li { padding: 2px 0; }
.fare-card .perks li i { color: var(--primary-gold); margin-right: 6px; }
.fare-card .btn-primary { border-radius: 0; }
.about-section { background: var(--light-bg); padding: 80px 0; }
.about-section .about-image { border-radius: 0; box-shadow: var(--shadow-hover); }
.about-list { list-style: none; padding: 0; }
.about-list li { padding: .6rem 0; display: flex; align-items: center; gap: .8rem; font-size: 1rem; }
.about-list li i { color: var(--primary-gold); font-size: 1.2rem; width: 24px; }

/* Footer */
.footer-custom {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .8);
    padding: 50px 0 30px;
    margin-top: auto;
}
.footer-custom h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--primary-gold);
    display: inline-block;
}
.footer-custom a { color: rgba(255, 255, 255, .7); transition: var(--transition); }
.footer-custom a:hover { color: var(--primary-gold); padding-left: 4px; }
.footer-custom .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-radius: 0;
    margin-right: 6px;
    transition: var(--transition);
}
.footer-custom .social-links a:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-3px);
}
.footer-custom .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: .85rem;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   23. RESPONSIVE TWEAKS
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    /* Release the fixed shell on small screens — page scrolls normally */
    body:has(.dashboard-wrapper) {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }
    body:has(.dashboard-wrapper) main {
        overflow: visible;
        display: block;
    }
    body:has(.dashboard-wrapper) .footer-custom {
        display: block !important;
    }

    .dashboard-wrapper {
        flex-direction: column;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .sidebar,
    .dashboard-sidebar {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }

    /* Menu no longer needs its own scrollbar on mobile */
    .sidebar-menu {
        overflow: visible;
        max-height: none;
    }

    .dashboard-main {
        padding: 16px;
        height: auto;
        overflow: visible;
        display: block;
    }
    .dashboard-content { padding: 16px; }

    /* Navbar collapse */
    .navbar-custom .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding-bottom: 16px;
        margin-top: 10px;
        border-top: 1px solid #f0f0f0;
    }
    .navbar-custom .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 4px 0 8px;
        padding: 4px 0;
        border: none;
        border-radius: 8px;
        box-shadow: none;
        background: #f8fafc;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease, padding .2s ease, margin .2s ease;
    }
    .navbar-custom .dropdown-menu.show {
        max-height: 600px;
        padding: 6px 0;
        margin: 4px 0 12px;
    }
    .navbar-custom .dropdown-item {
        padding: 10px 20px;
        margin: 0;
        border-radius: 0;
        font-size: .9rem;
    }
    .navbar-custom .dropdown-item:hover,
    .navbar-custom .dropdown-item:focus { padding-left: 24px; background: #eef2f7; }
    .navbar-custom .dropdown-header { padding-left: 20px; }
    .navbar-custom .dropdown-divider { margin: 4px 16px; }
    .navbar-custom .dropdown-item-text { padding-left: 20px; }
    .navbar-custom .nav-link::after { display: none; }
    .navbar-custom .btn-book-now {
        width: 100%;
        justify-content: center;
        display: flex;
        margin-top: 8px;
    }
    .navbar-custom .nav-caret {
        margin-left: auto;
        font-size: .7em;
    }
    .navbar-custom .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* Landing */
    .hero-section h1 { font-size: 2.8rem; }
    .flight-search-hero h1 { font-size: 2.5rem; }
    .page-header h1 { font-size: 2rem; }
    .filter-sidebar { position: relative; top: 0; margin-bottom: 20px; }
    .route-info { flex-wrap: wrap; justify-content: center; }
    .airline-logo { justify-content: center; }
    .price-display { text-align: center; }
    .hero-stats { gap: 1.5rem; }
    .fc-main-row { flex-wrap: wrap; }
    .fc-price-panel { border-left: none; border-top: 1px solid #e3e6ea; flex: 1 1 100%; }
    .fc-leg-flight { flex: 0 0 130px; }
    .fc-leg-route .fc-end { min-width: 86px; }
    .fc-chip { flex: 0 0 180px; }
}

@media (max-width: 768px) {
    .flight-search-hero { padding: 80px 0 40px; min-height: auto; }
    .flight-search-hero .hero-text-wrapper { margin-bottom: 2rem; }
    .flight-search-hero h1 { font-size: 2.2rem; }
    .flight-card-body { padding: 1.25rem; }
    .airline-logo img { width: 40px; height: 40px; }
    .route-info .time { font-size: 1.1rem; }
    .price-display .price-amount { font-size: 1.5rem; }
    .flight-meta { font-size: .8rem; gap: 6px 12px; }
    .fc-chip { flex: 0 0 170px; padding: .6rem; }
    .fc-chip-price { font-size: 1rem; }
    .fc-layover-connector { margin-left: 12px; padding: 8px 12px; }
    .fc-airport-label { max-width: 100px; }
    .hu-carousel-slide { height: 300px; }
    .hu-journey { padding-left: 2.2rem; }
    .seg-meta { text-align: left; }
    .seg-route { justify-content: center; }
    .res-header .text-end { text-align: left !important; margin-top: .5rem; }
    .scroll-down-arrow { bottom: 30px; width: 45px; height: 45px; font-size: 1.2rem; }
    .search-below-hero { padding: 30px 0; }

    .cargo-hero h1 { font-size: 2rem !important; }
    .cargo-track-hero h1 { font-size: 2.2rem !important; }
    .cargo-form-card, .cargo-search-box { padding: 25px !important; }
    .form-control-lg, .form-select-lg { padding: 10px 14px; font-size: .95rem; }
    .location-row { flex-direction: column; gap: 20px; }
    .shipment-fields-row { flex-direction: column; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .cargo-form-body { padding: 20px; }
    .shipment-card { padding: 20px; }
    .cargo-order-hero h1 { font-size: 2rem; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 2rem; }
    .flight-card-body { padding: 1rem; }
    .route-info { flex-wrap: wrap; justify-content: center; }
    .airline-logo { justify-content: center; }
    .price-display { margin: 8px 0; }
    .trip-tabs .btn { padding: 6px 12px; font-size: .8rem; }
    .hero-stats { flex-wrap: wrap; justify-content: center; }
    .fc-chip { flex: 0 0 160px; }
    .fc-chip-actions .btn { font-size: .68rem; padding: .25rem .4rem; }
    .fc-chip-actions .fc-select-btn { font-size: .68rem; padding: .25rem .4rem; }
    .fc-quote-btn-pill { width: 28px !important; height: 28px !important; }
    .fc-fare-condition { flex-direction: column; gap: 4px; }
    .fc-fare-condition-label { min-width: 0; }
    .fc-fare-condition-value { text-align: left; }
    .contact-info-box { padding: 14px 10px; }
    .contact-info-icon { width: 36px; height: 36px; font-size: .95rem; }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }
    .whatsapp-float i { font-size: 1.75rem; }
    .whatsapp-float-label { display: none; }
}