﻿/* BI sidebar: show the three main sections as in the approved mockup.
   Overrides the rules in bi-ux-phase1.css and bi-experience-v2.css that hide them. */
#wallets #biApp .bi-side>[data-bi-tab],
#wallets #biApp.bi-premium-active .bi-side>[data-bi-tab],
#wallets #biApp .bi-side>button[data-bi-tab]{display:flex!important}
#wallets #biApp .bi-side>.bi-side-h{display:block!important}

/* Sidebar toggle: closed by default on narrow screens, user opens it; on wide screens user can close it. */
#biApp .bi-side-toggle{display:none;margin:0 0 10px;padding:8px 12px;border:1px solid #d4a64f;border-radius:10px;background:transparent;color:#e8c47a;font:inherit;cursor:pointer}
@media (max-width:1100px){
 #biApp .bi-side-toggle{display:inline-block}
 #biApp .bi-layout{grid-template-columns:1fr!important}
 #biApp:not(.bi-side-open) .bi-side{display:none!important}
}
#biApp.bi-side-closed .bi-side{display:none!important}
#biApp.bi-side-closed .bi-layout{grid-template-columns:1fr!important}
@media (min-width:1101px){ #biApp .bi-side-toggle{display:inline-block} }

/* higher specificity so the sidebar toggle wins over bi-experience-v2 (display:block!important) */
@media (max-width:1100px){ #biApp#biApp:not(.bi-side-open) .bi-side{display:none!important} }
#biApp#biApp.bi-side-closed .bi-side{display:none!important}
﻿
/* ===== MARFA brand skin for BI (logo gold on warm black; Cormorant for Latin titles, Vazirmatn for Persian) ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&display=swap');
#wallets #biApp,#biApp{--bi-bg:#0c0b08;--bi-panel:#14110c;--bi-panel2:#1b1710;--bi-line:#2d2615;--bi-line2:#3a301b;--bi-gold:#e8c47a;--bi-gold2:#d4a64f;--bi-text:#f3eee2;--bi-mut:#a39a85;--marfa-accent:#d4a64f;--marfa-accent-soft:#e8c47a;--marfa-surface-glass:#14110c;--marfa-border-glass:#2d2615;--marfa-field-background:#0c0b08;--marfa-field-border:#3a301b;--marfa-field-text:#f3eee2;--marfa-text-muted:#a39a85;--marfa-button-primary:linear-gradient(180deg,#f0c260,#d4a64f)}
#wallets #biApp,#biApp{background:#0c0b08!important;color:#f3eee2!important}
#wallets #biApp .card,#wallets #biApp .bi-card,#wallets #biApp .bi-notes,#wallets #biApp .bi-side,#wallets #biApp .bi-in,#wallets #biApp .bi-det,#wallets #biApp .bi-saved .bi-card,#wallets #biApp .bi-advanced{background:#14110c!important;border-color:#2d2615!important}
#wallets #biApp input,#wallets #biApp select,#wallets #biApp textarea,#wallets #biApp .box,#wallets #biApp .bi-drop{background:#0c0b08!important;color:#f3eee2!important;border-color:#3a301b!important}
#wallets #biApp .bi-tab,#wallets #biApp .bi-nav,#wallets #biApp .bi-tool,#wallets #biApp .bi-chip,#wallets #biApp .bi-link{background:#14110c!important;color:#a39a85!important;border-color:#2d2615!important}
#wallets #biApp .bi-tab.on,#wallets #biApp .bi-nav.on,#wallets #biApp .bi-tool.on{background:linear-gradient(180deg,#2b2009,#16110a)!important;color:#e8c47a!important;border-color:#d4a64f!important}
#wallets #biApp .bi-btn:not(.g):not(.sm.g),#wallets #biApp .btn:not(.ghost){background:linear-gradient(180deg,#f0c260,#d4a64f)!important;color:#1a1204!important;border:0!important}
#wallets #biApp .bi-btn.g,#wallets #biApp .bi-btn.sm.g{background:transparent!important;color:#e8c47a!important;border:1px solid #b98a2e!important}
#wallets #biApp .bi-q b,#wallets #biApp .bi-list li b.n{background:rgba(232,196,122,.12)!important;color:#e8c47a!important;border-color:#b98a2e!important}
#wallets #biApp .bi-q{background:#14110c!important;border-color:#2d2615!important}
#wallets #biApp .bi-gr{background:#0a0806!important;border-color:#2d2615!important}
#wallets #biApp h1,#wallets #biApp h2,#wallets #biApp h3,#wallets #biApp .bh2,#wallets #biApp .bh3{font-family:'Cormorant Garamond','Vazirmatn',serif!important;color:#e8c47a!important}
#wallets #biApp .bi-top .bh2 em{color:#d4a64f!important;font-weight:700!important}
#wallets #biApp .bi-foot,#wallets #biApp .bi-note,#wallets #biApp .bi-side-h{color:#6f6753!important}

/* higher-specificity layer so the brand background wins over the navy skin */
html body #wallets #biApp#biApp,html body #biApp#biApp.bi-premium-active{background:#0c0b08!important;color:#f3eee2!important}
html body #wallets #biApp#biApp .card,html body #wallets #biApp#biApp .bi-card,html body #wallets #biApp#biApp .bi-side,html body #wallets #biApp#biApp .bi-in{background:#14110c!important;border-color:#2d2615!important}
html body #wallets #biApp#biApp .bi-tab.on,html body #wallets #biApp#biApp .bi-nav.on{background:linear-gradient(180deg,#2b2009,#16110a)!important;color:#e8c47a!important;border-color:#d4a64f!important}
