/* =====================================================================================================================
   b2b.ayanair.net, look B (owner 2026-11-28): AYAN AIR's own office panel. A city photo behind the search under a dark teal
   shade (#0E3B43), soft gold (#F0D28E), a light page below. The same office pages as agent.ayanair.net (Mahan GSA): only the
   colours change, so an office using both sees at once which one is open. Linked by filament/b2b/head (html.ayb), after the
   office CSS (ayan-agency-v4*.css + ayan-agency-airline.css). Every part, field and button stays.
   ===================================================================================================================== */

html.ay4.ayb {
    --v4-canvas: #F1F4F4; --v4-fill: #F4F7F7; --v4-mist: #E2ECEC;
    --v4-plum: #0E3B43; --v4-ink: #0E3B43; --v4-text: #3A5458; --v4-muted: #66807F; --v4-fog: #8FA3A3;
    --v4-line: #D5E0E0; --v4-line2: #E6EEEE;
    --v4-violet: #0E3B43; --v4-violet-h: #15505A; --v4-violet-p: #0A2E34; --v4-violet-soft: #E3EEEE;
    --v4-chg: #0F6E7A; --v4-chg-bg: #E1F1F2;
    --v4-gold: #F0D28E; --v4-gold-h: #E6C273; --v4-gold-soft: #FBF5E4;
    --v4-band: linear-gradient(180deg, rgba(10,46,52,.70) 0%, rgba(10,46,52,.40) 50%, rgba(10,46,52,.78) 100%),
               url('/img/agency/cities/IST.jpg') 50% 45% / cover no-repeat, #0E3B43;
    --v4-pop: 0 18px 40px -12px rgba(10,46,52,.24), 0 2px 6px rgba(10,46,52,.06);
}
html.ay4.ayb .fi-panel-agency, html.ay4.ayb body > :is(.fi-dropdown-panel, .fi-modal) {
    --primary-50: #EEF6F6; --primary-100: #E3EEEE; --primary-200: #C3DADB; --primary-300: #96BDBF; --primary-400: #5E9599; --primary-500: #2F6E74;
    --primary-600: #0E3B43; --primary-700: #15505A; --primary-800: #0E3B43; --primary-900: #0A2E34; --primary-950: #061D21;
    --fz-navy: #0E3B43; --fz-navy2: #15505A; --fz-blue: #0F6E7A; --fz-gold: #D9B45C; --fz-gold-soft: #FBF5E4;
    --v2-navy: #0E3B43; --v2-navy2: #15505A; --v2-blue: #0F6E7A; --v2-gold: #D9B45C; --v2-gold-soft: #FBF5E4;
}
html.ay4.ayb body.fi-body { background: #F1F4F4; }

/* ---------- top bar: the name in letters (AYAN AIR / B2B · TRAVEL OFFICES), no "Agency portal" line ---------- */
html.ay4.ayb .fi-panel-agency .fi-topbar-start > a:has(> .fi-logo)::after,
html.ay4.ayb .fi-panel-agency .fi-topbar-start::after { content: none !important; }
html.ay4.ayb .fi-panel-agency .fi-topbar-start > a:has(> .fi-logo) { padding-bottom: 0; }
html.ay4.ayb .fi-panel-agency .fi-topbar .fi-logo { filter: none !important; height: auto !important; }
.ayb-brand { display: inline-grid; line-height: 1; color: #fff; white-space: nowrap; }
.ayb-brand b { font-size: 17px; font-weight: 700; letter-spacing: .2em; }
.ayb-brand small { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: .2em; color: #F0D28E; }
html.ay4.ayb:not(.ay4-guest) .fi-panel-agency .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-btn { background: transparent !important; box-shadow: inset 0 -2px 0 #F0D28E; border-radius: 0 !important; }

/* the Mahan Air | AYAN AIR B2B switch: here AYAN AIR B2B is the open one */
html.ay4.ayb .ayd-b2bsw { background: rgba(255,255,255,.08); border-color: rgba(240,210,142,.45); }
html.ay4.ayb .ayd-b2bsw a { color: rgba(255,255,255,.85) !important; background: transparent !important; }
html.ay4.ayb .ayd-b2bsw a.on { background: #F0D28E !important; color: #0E3B43 !important; }
html.ay4.ayb .ayd-b2bsw a.on small { color: #0E3B43 !important; opacity: .7; }
html.ay4.ayb .ayd-b2bsw a.on svg { display: none; }

/* balance pill "AYAN balance" and the Top up button */
html.ay4.ayb .fi-panel-agency .fz-balpill { border-color: rgba(240,210,142,.5) !important; background: rgba(255,255,255,.06) !important; }
html.ay4.ayb .fi-panel-agency .fz-balpill span { color: #F0D28E !important; }
html.ay4.ayb .fi-panel-agency .fz-balpill b { color: #fff !important; }
html.ay4.ayb .fi-panel-agency .fi-topbar .ayd-topbtn { background: #F0D28E; color: #0E3B43; box-shadow: none; }
html.ay4.ayb .fi-panel-agency .fi-topbar .ayd-topbtn:hover { background: #E6C273; }
html.ay4.ayb .fi-panel-agency .fi-user-menu-trigger .fi-avatar { background: #F0D28E !important; color: #0E3B43 !important; }

/* ---------- Book: the city photo under a dark teal shade ---------- */
html.ay4.ayb.ay4-page-home .ay4-home .ay4-hero .ayh-bgs::after { background: linear-gradient(180deg, rgba(10,46,52,.82) 0%, rgba(10,46,52,.50) 60%, rgba(10,46,52,.82) 100%); }
html.ay4.ayb.ay4-page-home .ay4-home .ay4-hero .ayh-bg.dark::after { background: rgba(10,46,52,.30); }
html.ay4.ayb.ay4-page-home .ay4-home .ay4-hero { padding-top: 96px; padding-bottom: 92px; }
html.ay4.ayb .ay4-home .ay4-hero h1 em, html.ay4.ayb .ay4-home .ayw-title h2 em { color: #F0D28E; }
html.ay4.ayb .ay4-home .ayw-title h2 em { color: #B8913A; }
html.ay4.ayb .ay4-home .ay4-hero .ayh-bg span::before { color: #F0D28E; }
html.ay4.ayb .ay4-home .ay4-seg button.on { background: #fff; color: #0E3B43; }
html.ay4.ayb .ay4-home :is(.ay4-go, .ay4-search button[type="submit"]) { background: #F0D28E !important; color: #0E3B43 !important; box-shadow: none !important; }
html.ay4.ayb .ay4-home :is(.ay4-go, .ay4-search button[type="submit"]):hover { background: #E6C273 !important; }
html.ay4.ayb .ay4-home .ay4-search .ay4-f svg, html.ay4.ayb .ay4-home .ayw svg.ay4-i { color: #B8913A; }

/* lower part: teal text, PNR in teal, soft gold buttons */
html.ay4.ayb .ay4-home .ayw :is(a.pnr, .pnr b, .c.pn b) { color: #0F6E7A; }
html.ay4.ayb .ay4-home .ayw-more, html.ay4.ayb .ay4-home .ayw .ayw-btn { background: #F0D28E; color: #0E3B43; }
html.ay4.ayb .ay4-home .ayw-row:hover { border-color: #96BDBF; }

/* ---------- other pages: the teal band in place of the navy sky ---------- */
html.ay4.ayb .ay4-res .ay4-sum { background: linear-gradient(180deg, rgba(10,46,52,.40), #0E3B43 120px), url('/img/agency/cities/IST.jpg') center top / 100% auto no-repeat, #0E3B43; }
html.ay4.ayb .ay4-res .bdg { background: #0E3B43 !important; color: #F0D28E !important; }
html.ay4.ayb .ay4-res .dates .dt.on { color: #0E3B43; }
html.ay4.ayb .ay4-res .fare.on { border-color: #0E3B43; box-shadow: 0 0 0 1px #0E3B43; }
html.ay4.ayb .ayd-px .px-btn { background: #F0D28E; color: #0E3B43; }
html.ay4.ayb .ayd-px :is(.px-rt .c b, .ln2 b) { color: #0A2E34; }

/* sign-in page: teal side, gold word */
html.ay4.ayb.ay4-guest .fi-panel-agency .fi-simple-header-heading { color: #0E3B43; }
html.ay4.ayb.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary { background: #0E3B43 !important; }

/* phones: a smaller name so the balance and the bell keep their room */
@media (max-width: 760px) {
    .ayb-brand b { font-size: 13px; letter-spacing: .14em; }
    .ayb-brand small { margin-top: 4px; font-size: 7px; letter-spacing: .12em; }
    html.ay4.ayb .fi-panel-agency .fz-balpill .ayd-balic { display: none; }
}

/* sign-in (look B): the city photo under the dark teal shade, the name in letters, gold word */
html.ay4.ayb.ay4-guest .fz-auth-side.ayb-auth-side { background: linear-gradient(180deg, rgba(10,46,52,.84) 0%, rgba(10,46,52,.55) 55%, rgba(10,46,52,.88) 100%),
    url('/img/agency/cities/IST.jpg') 50% 50% / cover no-repeat, #0E3B43 !important; }
html.ay4.ayb.ay4-guest .ayb-auth-side .fz-auth-copy h1 em { color: #F0D28E; }
.ayb-brand.ayb-brand-lg b { font-size: 26px; }
.ayb-brand.ayb-brand-lg small { margin-top: 8px; font-size: 11px; }
html.ay4.ayb.ay4-guest .fi-panel-agency .fi-simple-main .fi-btn.fi-color-primary { background: #0E3B43 !important; color: #fff !important; }
html.ay4.ayb.ay4-guest .fi-panel-agency .fi-simple-main a { color: #0F6E7A; }

/* Book: "Flight search is coming soon" in place of the search bar */
html.ay4.ayb .ay4-home .ayb-soon { position: relative; z-index: 2; margin-top: -60px; display: grid; gap: 6px; padding: 22px 26px; background: #fff; border-radius: 18px; box-shadow: var(--v4-pop); border-left: 4px solid #F0D28E; }
html.ay4.ayb .ay4-home .ayb-soon b { font-size: 18px; color: #0E3B43; }
html.ay4.ayb .ay4-home .ayb-soon span { font-size: 14px; color: #3A5458; }

/* New booking search card (shown when a search finds nothing or is changed): teal head, white title */
html.ay4.ayb .fi-panel-agency .fz-spage-hd { background: #0E3B43 !important; }
html.ay4.ayb .fi-panel-agency .fz-spage-hd h2 { color: #fff !important; }
html.ay4.ayb .fi-panel-agency .fz-spage-hd p { color: #C3DADB !important; }

/* Book: Economy | Business (the office picks one) and the Airline field in the search bar (owner 2026-11-28) */
html.ay4.ayb .ay4-home .ayb-cab button { color: #fff; }
html.ay4.ayb .ay4-home .ayb-cab button.on { background: #F0D28E !important; color: #0E3B43 !important; }
html.ay4.ayb .ay4-home .ayb-air { position: relative; min-width: 190px; }
html.ay4.ayb .ay4-home .ayb-air select { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; padding: 0 18px 0 0; margin: 2px 0;
    font: inherit; font-size: 16px; font-weight: 700; color: #0E3B43; width: 100%; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #0E3B43 50%), linear-gradient(135deg, #0E3B43 50%, transparent 50%);
    background-position: right 6px top 55%, right 1px top 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
@media (min-width: 1000px) { html.ay4.ayb .ay4-home .ayb-air { min-width: 0; flex: 0 1 170px; } html.ay4.ayb .ay4-home .ayb-air select { font-size: 15px; } }
