/* FlyBuraq — customer area (/account), Explore, FAQs and the header menus (currency, bell, account).
   Uses the site tokens (site.css :root). Logical properties only, so Arabic (RTL) mirrors for free. */

/* ---------- Shared bits ---------- */
html[dir="rtl"] .fb-flip { transform: scaleX(-1); display: inline-block; }
.acc-rot180 { display: inline-block; transform: rotate(180deg); }
.acc-muted { color: var(--fb-muted); }
.acc-link { color: var(--fb-navy-400); font-weight: 600; text-decoration: none; }
.acc-link:hover { text-decoration: underline; }
.acc :focus-visible, .xp :focus-visible, .faq :focus-visible, .fb-hdr :focus-visible {
    outline: 3px solid var(--fb-turq); outline-offset: 2px; border-radius: 8px;
}

/* ---------- Header menus ---------- */
.fb-hdr { gap: .15rem; }
.fb-hdr-btn { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: none; color: var(--fb-ink) !important; text-decoration: none; }
.fb-hdr-btn .bi { font-size: 1.1rem; }
.fb-hdr-dd .dropdown-menu {
    border: 1px solid var(--fb-line); border-radius: var(--fb-r); box-shadow: var(--fb-shadow-lg); padding: .5rem; z-index: 1060;
}
@media (min-width: 576px) {
    /* Static dropdowns (data-bs-display=static) open toward the inline end in both directions. */
    .navbar .fb-hdr-dd .dropdown-menu[data-bs-popper] { left: auto; right: auto; inset-inline-end: 0; inset-inline-start: auto; margin-top: .4rem; }
}
@media (max-width: 575.98px) {
    .fb-hdr { align-items: stretch !important; width: 100%; }
    .fb-hdr-dd .dropdown-menu { box-shadow: none; width: 100%; }
}

/* Currency picker */
.fb-cur-menu { width: min(340px, calc(100vw - 32px)); }
.fb-cur-head { padding: .25rem .25rem .5rem; }
.fb-cur-title { display: block; font-weight: 700; font-size: .85rem; color: var(--fb-navy-700); margin-bottom: .35rem; }
.fb-cur-list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.fb-cur-item {
    display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: center; gap: .5rem; width: 100%;
    border: 0; background: none; padding: .45rem .5rem; border-radius: var(--fb-r-sm); text-align: start; color: var(--fb-ink); font-size: .9rem;
}
.fb-cur-item:hover, .fb-cur-item:focus-visible { background: #eef6fc; }
.fb-cur-item.is-on { background: var(--fb-navy-700); color: #fff; }
.fb-cur-item.is-on .fb-cur-sym { color: var(--fb-turq); }
.fb-cur-orig { grid-template-columns: 1.4rem 1fr; border-bottom: 1px dashed var(--fb-line); border-radius: var(--fb-r-sm) var(--fb-r-sm) 0 0; margin-bottom: .25rem; }
.fb-cur-code { font-weight: 800; letter-spacing: .03em; }
.fb-cur-sym { color: var(--fb-muted); font-weight: 600; }
.fb-cur-note { font-size: .75rem; color: var(--fb-muted); margin: .5rem .25rem 0; }

/* Bell */
.fb-bell { position: relative; }
.fb-bell-badge {
    position: absolute; top: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--fb-danger); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.fb-bell-menu { width: min(360px, calc(100vw - 32px)); padding: 0 !important; overflow: hidden; }
.fb-bell-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--fb-line); }
.fb-bell-list { max-height: 360px; overflow-y: auto; }
.fb-bell-item {
    display: flex; gap: .65rem; width: 100%; border: 0; background: none; text-align: start; padding: .7rem 1rem; color: var(--fb-ink);
    border-bottom: 1px solid #f3ede3;
}
.fb-bell-item:hover { background: #f7fbfe; }
.fb-bell-item.is-unread { background: #eef8fd; }
.fb-bell-text { display: flex; flex-direction: column; min-width: 0; }
.fb-bell-title { font-weight: 700; font-size: .9rem; }
.fb-bell-body { font-size: .82rem; color: var(--fb-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fb-bell-empty { padding: 1.25rem 1rem; color: var(--fb-muted); text-align: center; }
.fb-bell-all { display: block; text-align: center; padding: .65rem; font-weight: 700; color: var(--fb-navy-400); text-decoration: none; background: #fbf7f0; }
.fb-ago { font-size: .75rem; color: var(--fb-muted); }
.fb-ntype {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 1rem;
    background: #e8f4fb; color: var(--fb-navy-400);
}
.fb-ntype-price-alert { background: #e3faf3; color: var(--fb-success); }
.fb-ntype-offer { background: #fff3dc; color: var(--fb-warn); }
.fb-ntype-booking { background: #e9eef7; color: var(--fb-navy-700); }

/* Account menu */
.fb-acct-avatar {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
    background: linear-gradient(135deg, var(--fb-navy-700), var(--fb-navy)); color: #fff;
}
.fb-acct-menu { min-width: 230px; }
.fb-acct-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; border-radius: var(--fb-r-sm); padding: .5rem .75rem; }
.fb-acct-menu .dropdown-item .bi { color: var(--fb-navy-400); }
.fb-acct-who { padding: .4rem .75rem .6rem; font-size: .8rem; color: var(--fb-muted); border-bottom: 1px solid var(--fb-line); margin-bottom: .35rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Account frame: rail + content ---------- */
.acc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; margin-block: 8px 24px; }
.acc-rail {
    position: sticky; top: 84px; background: var(--fb-navy-700); color: #d8e6f3; border-radius: var(--fb-r-lg); padding: 18px 12px;
    box-shadow: var(--fb-shadow); background-image: radial-gradient(circle at 100% 0, rgba(92,225,230,.18), transparent 55%);
}
.acc-rail-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--fb-font-head); font-weight: 800; color: #fff; padding: 0 10px 12px; font-size: 1.05rem; }
.acc-rail-brand .bi { color: var(--fb-turq); }
.acc-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-tab {
    display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 12px; color: #d8e6f3; text-decoration: none; font-weight: 600;
    position: relative; transition: background .15s var(--fb-ease);
}
.acc-tab:hover { background: rgba(255,255,255,.07); color: #fff; }
.acc-tab.is-on { background: #fff; color: var(--fb-navy-700); }
.acc-tab.is-on .bi { color: var(--fb-navy); }
.acc-tab.is-on::before { content: ""; position: absolute; inset-inline-start: -12px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--fb-turq); }
.acc-rail-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.18); display: flex; flex-direction: column; gap: .4rem; }
.acc-rail-cta { background: var(--fb-turq); color: var(--fb-navy-900); font-weight: 700; padding: .55rem .8rem; border-radius: 12px; text-decoration: none; text-align: center; }
.acc-rail-help { color: #d8e6f3; font-size: .85rem; padding: .3rem .8rem; text-decoration: none; }
.acc-rail-help:hover { color: #fff; }
.acc-main { min-width: 0; }

@media (max-width: 991.98px) {
    .acc { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .acc-rail { position: static; padding: 8px; border-radius: var(--fb-r); }
    .acc-rail-brand, .acc-rail-foot { display: none; }
    .acc-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 4px; }
    .acc-tabs::-webkit-scrollbar { display: none; }
    .acc-tab { white-space: nowrap; padding: .5rem .8rem; font-size: .9rem; }
    .acc-tab.is-on::before { display: none; }
}

.acc-flash { display: flex; gap: .5rem; align-items: center; padding: .7rem 1rem; border-radius: var(--fb-r-sm); margin-bottom: 14px; font-weight: 600; }
.acc-flash-ok { background: #e3f7ee; color: #0f6a46; }
.acc-flash-err { background: #ffe9ec; color: #a3132c; }

.acc-h1 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--fb-navy-700); margin-bottom: .25rem; }
.acc-h1-arrow { font-size: .8em; color: var(--fb-navy); margin-inline: .25rem; }
.acc-h2 { font-size: 1.05rem; font-weight: 800; color: var(--fb-navy-700); margin-bottom: .75rem; }
.acc-page-head { margin-bottom: 16px; }
.acc-page-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.acc-back { display: inline-flex; align-items: center; gap: .35rem; color: var(--fb-muted); text-decoration: none; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.acc-back:hover { color: var(--fb-navy-400); }
.acc-card { background: var(--fb-surface); border: 1px solid var(--fb-line); border-radius: var(--fb-r-lg); padding: 20px; box-shadow: var(--fb-shadow-sm); margin-bottom: 16px; }
.acc-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; }
.acc-grid > .acc-card { margin-bottom: 0; }
.acc-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.acc-side { position: sticky; top: 84px; }
@media (max-width: 1199.98px) { .acc-grid, .acc-split { grid-template-columns: minmax(0, 1fr); } .acc-side { position: static; } }
.acc-narrow { max-width: 560px; }
.acc-empty { text-align: center; padding: 28px 16px; }
.acc-empty > .bi { font-size: 2.2rem; color: var(--fb-navy); display: block; margin-bottom: .5rem; }

/* Overview */
.acc-hero {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 16px;
    border-radius: var(--fb-r-lg); color: #fff; background: linear-gradient(120deg, var(--fb-navy-700) 0%, #1167a4 60%, var(--fb-navy) 100%);
    position: relative; overflow: hidden;
}
.acc-hero::after { content: ""; position: absolute; inset-inline-end: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(92,225,230,.18); }
.acc-hero-title { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 800; color: #fff; margin: 0; }
.acc-hero-sub { margin: .2rem 0 0; color: #cfe6f7; font-size: .9rem; word-break: break-all; }
.acc-stats { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; position: relative; z-index: 1; }
.acc-stats a {
    display: flex; flex-direction: column; min-width: 92px; padding: .5rem .8rem; border-radius: 14px; text-decoration: none; color: #fff;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
}
.acc-stats a:hover { background: rgba(255,255,255,.2); }
.acc-stats strong { font-size: 1.35rem; line-height: 1.1; }
.acc-stats span { font-size: .75rem; color: #d7ecfa; }

.acc-meter { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.acc-ring {
    --p: 0; flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--fb-navy) calc(var(--p) * 1%), #e9eef4 0);
}
.acc-ring span { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--fb-navy-700); }
.acc-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.acc-checklist li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.acc-checklist .bi-circle { color: #b9c4d0; }
.acc-checklist .is-done { color: var(--fb-muted); }
.acc-checklist .is-done .bi { color: var(--fb-success); }
.acc-bar { height: 8px; background: #e9eef4; border-radius: 99px; overflow: hidden; }
.acc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--fb-navy), var(--fb-turq)); border-radius: inherit; }
html[dir="rtl"] .acc-bar span { background: linear-gradient(-90deg, var(--fb-navy), var(--fb-turq)); }
.acc-bar-sm { height: 6px; width: 140px; }
.acc-meterline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; color: var(--fb-navy-700); font-size: .9rem; }

.acc-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.acc-quick a {
    display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--fb-r); background: #fff; border: 1px solid var(--fb-line);
    color: var(--fb-navy-700); font-weight: 600; text-decoration: none; transition: transform .15s var(--fb-ease), box-shadow .15s var(--fb-ease);
}
.acc-quick a:hover { transform: translateY(-2px); box-shadow: var(--fb-shadow); }
.acc-quick .bi { font-size: 1.2rem; color: var(--fb-navy); }

/* Chips */
.acc-chip { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; background: #e9eef4; color: var(--fb-navy-700); }
.acc-chip-lg { font-size: .85rem; padding: .3rem .85rem; }
.acc-chip-confirmed { background: #dff6eb; color: #0f6a46; }
.acc-chip-sample { background: #efe8fb; color: #5b3aa4; }
.acc-chip-failed, .acc-chip-cancelled { background: #ffe5e9; color: #a3132c; }
.acc-chip-pending { background: #fff1d6; color: #8a5a00; }
.acc-chip-self { background: var(--fb-turq); color: var(--fb-navy-900); }

/* Trips: tickets */
.acc-seg-tabs { display: inline-flex; background: #fff; border: 1px solid var(--fb-line); border-radius: 99px; padding: 4px; margin-bottom: 14px; max-width: 100%; }
.acc-seg-tabs a { padding: .45rem 1rem; border-radius: 99px; text-decoration: none; color: var(--fb-ink); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.acc-seg-tabs a.is-on { background: var(--fb-navy-700); color: #fff; }
.acc-count { display: inline-block; min-width: 1.5em; text-align: center; font-size: .75rem; background: rgba(0,0,0,.08); border-radius: 99px; padding: 0 .4em; margin-inline-start: .25rem; }
.acc-seg-tabs a.is-on .acc-count { background: rgba(255,255,255,.2); }
.acc-ticket-list { display: grid; gap: 14px; }
.acc-ticket {
    --notch: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 190px; text-decoration: none; color: var(--fb-ink);
    background: #fff; border-radius: var(--fb-r-lg); box-shadow: var(--fb-shadow-sm); border: 1px solid var(--fb-line); position: relative;
    transition: transform .15s var(--fb-ease), box-shadow .15s var(--fb-ease);
}
.acc-ticket:hover { transform: translateY(-2px); box-shadow: var(--fb-shadow); color: var(--fb-ink); }
.acc-ticket-main { padding: 16px 18px; min-width: 0; }
.acc-ticket-stub {
    padding: 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .3rem; position: relative;
    border-inline-start: 2px dashed var(--fb-line); background: linear-gradient(180deg, #fbf8f2, #fff);
    border-start-end-radius: var(--fb-r-lg); border-end-end-radius: var(--fb-r-lg);
}
.acc-ticket-stub::before, .acc-ticket-stub::after {
    content: ""; position: absolute; inset-inline-start: calc(var(--notch) / -2 - 1px); width: var(--notch); height: var(--notch); border-radius: 50%; background: var(--fb-bg);
    border: 1px solid var(--fb-line);
}
.acc-ticket-stub::before { top: calc(var(--notch) / -2); }
.acc-ticket-stub::after { bottom: calc(var(--notch) / -2); }
.acc-ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.acc-ticket-kind { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--fb-navy-400); }
.acc-ticket-title { font-weight: 800; font-size: 1.1rem; color: var(--fb-navy-700); }
.acc-ticket-sub { color: var(--fb-muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-ticket-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; font-size: .85rem; color: var(--fb-ink); }
.acc-ticket-meta .bi { color: var(--fb-navy); }
.acc-ticket-ref { font-size: .75rem; color: var(--fb-muted); font-weight: 700; }
.acc-ticket-go { font-size: .82rem; font-weight: 700; color: var(--fb-navy-400); }
.acc-ticket-hotel .acc-ticket-kind { color: #8a5a14; }
.acc-route { display: flex; align-items: center; gap: 12px; }
.acc-route-end { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.acc-route-end small { color: var(--fb-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-iata { font-size: 1.6rem; font-weight: 800; color: var(--fb-navy-700); letter-spacing: .02em; }
.acc-route-sm .acc-iata { font-size: 1.25rem; }
.acc-route-line { flex: 1 1 auto; min-width: 40px; position: relative; text-align: center; color: var(--fb-navy); }
.acc-route-line::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 2px dotted #c7d6e4; z-index: 0; }
.acc-route-line .bi { position: relative; z-index: 1; background: #fff; padding: 0 6px; }
@media (max-width: 575.98px) {
    .acc-ticket { grid-template-columns: minmax(0, 1fr); }
    .acc-ticket-stub {
        border-inline-start: 0; border-top: 2px dashed var(--fb-line); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
        border-radius: 0 0 var(--fb-r-lg) var(--fb-r-lg);
    }
    .acc-ticket-stub::before, .acc-ticket-stub::after { top: calc(var(--notch) / -2 - 1px); bottom: auto; }
    .acc-ticket-stub::before { inset-inline-start: calc(var(--notch) / -2); }
    .acc-ticket-stub::after { inset-inline-start: auto; inset-inline-end: calc(var(--notch) / -2); }
    .acc-iata { font-size: 1.3rem; }
}

/* Trip detail */
.acc-timeline { list-style: none; margin: 0 0 1rem; padding: 0; position: relative; }
.acc-timeline::before { content: ""; position: absolute; inset-inline-start: 17px; top: 18px; bottom: 18px; border-inline-start: 2px dashed #c7d6e4; }
.acc-timeline li { display: flex; gap: 14px; align-items: flex-start; padding: .45rem 0; position: relative; }
.acc-tl-dot { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--fb-navy-700); color: #fff; display: grid; place-items: center; z-index: 1; }
.acc-tl-title { font-weight: 700; color: var(--fb-navy-700); }
.acc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0; }
.acc-facts > div { background: #fbf8f2; border-radius: var(--fb-r-sm); padding: .55rem .75rem; }
.acc-facts dt { font-size: .75rem; color: var(--fb-muted); font-weight: 600; }
.acc-facts dd { margin: 0; font-weight: 700; color: var(--fb-navy-700); overflow-wrap: anywhere; }
.acc-pax { display: grid; gap: .4rem; }
.acc-pass { padding: 0; overflow: hidden; }
.acc-pass-ref, .acc-pass-amount { padding: 18px 20px; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.acc-pass-ref { background: var(--fb-navy-700); color: #fff; }
.acc-pass-ref .acc-muted { color: #b9d3ea; }
.acc-ref { font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; color: #fff; font-family: "Roboto", monospace; word-break: break-all; }
.acc-pass-ref .btn-outline-primary { color: var(--fb-turq); border-color: rgba(92,225,230,.6); }
.acc-pass-ref .btn-outline-primary:hover { background: var(--fb-turq); color: var(--fb-navy-900); }
.acc-pass-perf { height: 0; border-top: 2px dashed var(--fb-line); position: relative; }
.acc-pass-perf::before, .acc-pass-perf::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--fb-bg); }
.acc-pass-perf::before { inset-inline-start: -9px; }
.acc-pass-perf::after { inset-inline-end: -9px; }
.acc-note { margin: 0 20px 18px; font-size: .82rem; background: #efe8fb; color: #4a2f86; padding: .6rem .8rem; border-radius: var(--fb-r-sm); }

/* Forms */
.acc-form .form-label, .acc-form legend.form-label { font-weight: 600; font-size: .88rem; color: var(--fb-navy-700); }
.acc-form .form-control, .acc-form .form-select { border-radius: 12px; min-height: 44px; }
.acc-form-actions { display: flex; gap: .5rem; align-items: center; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--fb-line); }
.acc-errors:empty { display: none; }
.acc-errors { background: #ffe9ec; color: #a3132c; border-radius: var(--fb-r-sm); padding: .6rem .9rem; margin-bottom: 1rem; font-size: .9rem; }
.acc-errors ul { margin: 0; padding-inline-start: 1.1rem; }
.acc-field-err { display: block; color: #c4122f; font-size: .82rem; margin-top: .2rem; }
.acc-seg { display: inline-flex; border: 1px solid #d5dee8; border-radius: 12px; overflow: hidden; }
.acc-seg .btn { border-radius: 0; min-height: 42px; padding-inline: 1.1rem; border: 0; font-weight: 600; color: var(--fb-ink); }
.acc-seg .btn-check:checked + .btn { background: var(--fb-navy-700); color: #fff; }
.acc-seg .btn-check:focus-visible + .btn { outline: 3px solid var(--fb-turq); outline-offset: -3px; }
.acc-self { background: #eef8fd; border-radius: var(--fb-r); padding: .8rem 1rem; margin-bottom: 1.2rem; }
.acc-self .form-check-input { width: 2.6em; height: 1.35em; }
.acc-switch { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: .8rem 0; border-bottom: 1px solid #f3ede3; }
.acc-switch > .bi { font-size: 1.15rem; color: var(--fb-navy); }
.acc-switch label { display: flex; flex-direction: column; cursor: pointer; }
.acc-switch label span { font-size: .82rem; color: var(--fb-muted); }
.acc-switch .form-check-input { width: 2.8em; height: 1.45em; margin: 0; cursor: pointer; }
.acc-switch .form-check-input:checked { background-color: var(--fb-navy); border-color: var(--fb-navy); }
.acc-linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.acc-linklist a { text-decoration: none; font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }

/* Travellers */
.acc-travellers { display: grid; gap: 10px; }
.acc-trav { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r); padding: 14px 16px; }
.acc-trav.is-self { border-color: var(--fb-turq); box-shadow: 0 0 0 3px rgba(92,225,230,.18); }
.acc-trav-avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #1167a4, var(--fb-navy)); text-transform: uppercase; }
.acc-trav.is-self .acc-trav-avatar { background: linear-gradient(135deg, var(--fb-navy-700), var(--fb-turq)); }
.acc-trav-name { font-weight: 800; color: var(--fb-navy-700); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.acc-trav-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .84rem; color: var(--fb-ink); margin-top: .2rem; }
.acc-trav-meta .bi { color: var(--fb-navy); }
.acc-trav-actions { display: flex; gap: .4rem; }
.acc-warn { color: #8a5a00; }
@media (max-width: 575.98px) {
    .acc-trav { grid-template-columns: 40px minmax(0, 1fr); }
    .acc-trav-avatar { width: 40px; height: 40px; }
    .acc-trav-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* Alerts */
.acc-alerts { display: grid; gap: 14px; }
.acc-alert { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r-lg); padding: 16px 18px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); align-items: center; }
.acc-alert.is-paused, .acc-alert.is-expired { background: #fbfaf7; }
.acc-alert.is-expired .acc-alert-route, .acc-alert.is-expired .acc-alert-prices { opacity: .6; }
.acc-alert-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .84rem; margin-top: .4rem; align-items: center; }
.acc-alert-meta .bi { color: var(--fb-navy); }
.acc-alert-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.acc-alert-prices > div { background: #fbf8f2; border-radius: var(--fb-r-sm); padding: .5rem .65rem; min-width: 0; }
.acc-alert-prices dt { font-size: .72rem; color: var(--fb-muted); font-weight: 600; }
.acc-alert-prices dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.acc-alert-now { outline: 2px solid transparent; }
.acc-trend-down { background: #e3f7ee !important; }
.acc-trend-up { background: #fff1e6 !important; }
.acc-trend { font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; gap: 2px; }
.acc-trend-down .acc-trend { color: var(--fb-success); }
.acc-trend-up .acc-trend { color: #c2410c; }
.acc-alert-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px dashed var(--fb-line); padding-top: 10px; }
.acc-alert-btns { display: flex; gap: .4rem; flex-wrap: wrap; margin-inline-start: auto; }
@media (max-width: 767.98px) {
    .acc-alert { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) { .acc-alert-prices { grid-template-columns: minmax(0, 1fr); } }

/* Inbox */
.acc-inbox { display: grid; gap: 8px; }
.acc-note-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r); padding: 14px 16px; }
.acc-note-item.is-unread { border-inline-start: 4px solid var(--fb-navy); background: #f7fcff; }
.acc-note-title { font-weight: 700; color: var(--fb-navy-700); display: flex; align-items: center; gap: .4rem; }
.acc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fb-navy); display: inline-block; }
.acc-note-body p { color: var(--fb-ink); font-size: .9rem; }
.acc-note-actions { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; }
@media (max-width: 575.98px) {
    .acc-note-item { grid-template-columns: 36px minmax(0, 1fr); }
    .acc-note-actions { grid-column: 2; flex-direction: row; align-items: center; }
}

/* ---------- Explore (magazine mosaic) ---------- */
.xp { margin-block: 4px 24px; }
.xp-hero {
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: end; padding: 28px; margin-bottom: 16px;
    border-radius: var(--fb-r-lg); color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(92,225,230,.35), transparent 40%), linear-gradient(130deg, var(--fb-navy-900), var(--fb-navy-700) 55%, #1167a4);
}
.xp-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--fb-turq); margin-bottom: .35rem; }
.xp-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin: 0 0 .5rem; color: inherit; }
.xp-sub { color: #cfe3f3; margin: 0; max-width: 46ch; }
.xp-origin { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--fb-r); padding: 14px; }
.xp-origin label { font-size: .8rem; font-weight: 700; color: #cfe3f3; display: block; margin-bottom: .35rem; }
.xp-origin-row { display: flex; gap: .5rem; }
.xp-origin-row .form-select { min-height: 44px; border-radius: 12px; min-width: 0; }
.xp-origin-go { font-weight: 700; border-radius: 12px; min-height: 44px; }
@media (max-width: 767.98px) { .xp-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; } }

.xp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 8px; scrollbar-width: thin; }
.xp-chip {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .45rem .95rem; border-radius: 99px; font-weight: 700; font-size: .88rem;
    background: #fff; border: 1px solid var(--fb-line); color: var(--fb-navy-700); text-decoration: none;
}
.xp-chip:hover { border-color: var(--fb-navy); }
.xp-chip.is-on { background: var(--fb-navy-700); border-color: var(--fb-navy-700); color: #fff; }
.xp-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 18px 0 10px; }
.xp-h2 { font-size: 1.25rem; font-weight: 800; color: var(--fb-navy-700); margin: 0; }
.xp-h3 { font-size: 1rem; font-weight: 800; color: var(--fb-navy-700); display: flex; flex-direction: column; margin-bottom: .6rem; }
.xp-h3 span { font-size: .82rem; color: var(--fb-muted); font-weight: 600; }
.xp-note { font-size: .82rem; color: var(--fb-muted); }

.xp-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 12px; margin: 0; }
.xp-tile-xl { grid-column: span 2; grid-row: span 2; }
.xp-tile-wide { grid-column: span 2; }
.xp-tile-tall { grid-row: span 2; }
.xp-tile a {
    position: relative; display: flex; align-items: flex-end; height: 100%; padding: 16px; border-radius: var(--fb-r-lg); overflow: hidden; color: #fff; text-decoration: none;
    background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: var(--fb-shadow-sm); transition: transform .2s var(--fb-ease), box-shadow .2s var(--fb-ease);
}
.xp-tile a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 60%); }
.xp-tile a:hover { transform: translateY(-3px); box-shadow: var(--fb-shadow-lg); }
.xp-tile-art { position: absolute; inset-inline-end: -10px; top: -14px; font-size: 7rem; opacity: .16; line-height: 1; }
.xp-tile-xl .xp-tile-art { font-size: 12rem; }
.xp-tile-text { position: relative; display: flex; flex-direction: column; min-width: 0; }
.xp-tile-city { font-family: var(--fb-font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.xp-tile-xl .xp-tile-city { font-size: 2rem; }
.xp-tile-country { font-size: .82rem; opacity: .85; }
.xp-tile-dates { font-size: .78rem; margin-top: .3rem; opacity: .95; }
.xp-ribbon {
    position: absolute; top: 14px; inset-inline-start: 0; z-index: 1; display: inline-flex; align-items: baseline; gap: .3rem;
    background: #fff; color: var(--fb-navy-700); padding: .3rem .9rem .3rem .75rem; border-start-end-radius: 99px; border-end-end-radius: 99px;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.xp-ribbon small { font-size: .7rem; font-weight: 700; color: var(--fb-muted); }
.xp-ribbon .fb-pr-main { font-size: 1rem; }
.xp-ribbon .fb-pr-charged { display: none; }
@media (max-width: 991.98px) { .xp-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .xp-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } .xp-tile-tall { grid-row: span 1; } }
@media (max-width: 399.98px) {
    .xp-mosaic { grid-template-columns: minmax(0, 1fr); }
    .xp-tile-xl, .xp-tile-wide { grid-column: span 1; }
    .xp-tile-xl { grid-row: span 1; }
    .xp-tile-xl .xp-tile-city { font-size: 1.4rem; }
}
.xp-empty { background: #fff; border: 1px dashed var(--fb-line); border-radius: var(--fb-r); padding: 24px; text-align: center; }

.xp-weekend-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.xp-weekend { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r-lg); padding: 16px; min-width: 0; }
@media (max-width: 767.98px) { .xp-weekend-cols { grid-template-columns: minmax(0, 1fr); } }
.xp-strip { display: flex; gap: 10px; overflow-x: auto; margin: 0; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.xp-strip li { scroll-snap-align: start; }
.xp-mini {
    display: flex; flex-direction: column; gap: .15rem; width: 140px; padding: 12px; border-radius: var(--fb-r); text-decoration: none; color: var(--fb-navy-700);
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--c1), var(--c2)) border-box; border: 2px solid transparent;
}
.xp-mini:hover { color: var(--fb-navy-700); box-shadow: var(--fb-shadow); }
.xp-mini-badge { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--c1), var(--c2)); margin-bottom: .3rem; }
.xp-mini-city { font-weight: 800; }
.xp-mini-cta { font-size: .8rem; color: var(--fb-navy-400); font-weight: 700; }
.xp-mini .fb-pr-charged { display: none; }

.xp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
@media (max-width: 991.98px) { .xp-two { grid-template-columns: minmax(0, 1fr); } }
.xp-panel { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r-lg); padding: 18px; }
.xp-panel .xp-h2 { margin-bottom: .75rem; font-size: 1.1rem; }
.xp-rank { margin: 0; counter-reset: r; }
.xp-rank a { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: .55rem .25rem; border-bottom: 1px dashed var(--fb-line); text-decoration: none; color: var(--fb-ink); }
.xp-rank a:hover { background: #fbf8f2; }
.xp-flag { font-size: 1.4rem; }
.xp-rank-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xp-rank-name small { color: var(--fb-muted); font-weight: 500; }
.xp-rank-price, .xp-air-price { display: inline-flex; align-items: baseline; gap: .25rem; }
.xp-rank-price small, .xp-air-price small { color: var(--fb-muted); font-size: .72rem; }
.xp-rank .fb-pr-charged, .xp-airlines .fb-pr-charged { display: none; }
.xp-airlines { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.xp-air { display: flex; flex-direction: column; gap: .3rem; padding: 12px; border: 1px solid var(--fb-line); border-radius: var(--fb-r); height: 100%; }
.xp-air img { height: 24px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }
html[dir="rtl"] .xp-air img { object-position: right; }
.xp-air-name { font-weight: 700; font-size: .88rem; }
.xp-foot { margin-top: 20px; font-size: .82rem; color: var(--fb-muted); background: #fff; border-radius: var(--fb-r); padding: .75rem 1rem; border: 1px solid var(--fb-line); }

/* ---------- FAQs ---------- */
.faq { margin-block: 4px 24px; }
.faq-hero {
    border-radius: var(--fb-r-lg); padding: 28px; margin-bottom: 18px; color: #fff;
    background: radial-gradient(circle at 10% 120%, rgba(92,225,230,.35), transparent 45%), linear-gradient(130deg, var(--fb-navy-900), var(--fb-navy-700));
}
.faq-q { max-width: 520px; min-height: 48px; border-radius: 99px; padding-inline: 1.2rem; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 991.98px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-list .accordion-item { border: 1px solid var(--fb-line); border-radius: var(--fb-r) !important; margin-bottom: 10px; overflow: hidden; }
.faq-list .accordion-button { font-weight: 700; color: var(--fb-navy-700); gap: .75rem; text-align: start; }
.faq-list .accordion-button:not(.collapsed) { background: #eef8fd; box-shadow: none; }
.faq-list .accordion-button:focus { box-shadow: 0 0 0 3px rgba(92,225,230,.5); }
/* Bootstrap 5.1 is LTR: put the chevron at the inline end in Arabic too. */
html[dir="rtl"] .faq-list .accordion-button::after { margin-left: 0; margin-right: auto; }
.faq-num { font-family: "Roboto", sans-serif; font-weight: 800; color: var(--fb-navy); font-size: .85rem; }
.faq-list .accordion-body { color: var(--fb-ink); line-height: 1.75; }
.faq-contact { position: sticky; top: 84px; background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-r-lg); padding: 20px; }
@media (max-width: 991.98px) { .faq-contact { position: static; } }
.faq-ways { display: grid; gap: 8px; margin: 12px 0 16px; }
.faq-ways a, .faq-addr { display: flex; gap: .75rem; align-items: center; padding: .65rem .8rem; border-radius: var(--fb-r-sm); background: #fbf8f2; color: var(--fb-ink); text-decoration: none; }
.faq-ways a:hover { background: #eef8fd; }
.faq-ways .bi { font-size: 1.25rem; color: var(--fb-navy); }
.faq-ways span { display: flex; flex-direction: column; font-weight: 700; font-size: .85rem; min-width: 0; }
.faq-ways span bdi, .faq-ways span span { font-weight: 500; color: var(--fb-muted); overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    .acc-ticket, .xp-tile a, .acc-quick a, .acc-tab { transition: none !important; }
    .acc-ticket:hover, .xp-tile a:hover, .acc-quick a:hover { transform: none; }
}

/* Bootstrap 5.1 is LTR-only: mirror the dropdown caret spacing in Arabic. */
html[dir="rtl"] .fb-hdr .dropdown-toggle::after { margin-left: 0; margin-right: .255em; }
