/* Client portal only (Site:Mode = Client; App.razor loads this file on that site alone). The owner's blue theme
   (2 Dec 2026), over the company sites' layout in css/billing.css:
     #1B365D navy (rail, banners, headings)   #005A9C blue (buttons, active items)
     #60C1E5 sky (accents, icons)             #A0E0EF ice (borders, light fills) */

:root {
    --primary: #1B365D;
    --secondary: #005A9C;
    --tertiary: #A0E0EF;
    --background: #EEF5FA;
    --client-sky: #60C1E5;
    --client-ice: #A0E0EF;
}

/* Rail */
.rail-link { color: #d4e6f5 !important; }
.rail-link i { color: var(--client-sky); }
.rail-link.active { background: #005A9C; }

/* Buttons */
.btn-primary { background-color: #005A9C; border-color: #005A9C; color: #fff; }
.btn-primary:hover, .btn-primary:focus { background-color: #1B365D; border-color: #1B365D; color: #fff; }
.btn-outline-primary { color: #005A9C; border-color: #005A9C; }
.btn-outline-primary:hover { background-color: #005A9C; border-color: #005A9C; color: #fff; }
.form-control:focus, .form-select:focus { border-color: #60C1E5; box-shadow: 0 0 0 .2rem rgba(96, 193, 229, .3); }
a { color: #005A9C; }

/* Page banner (PageHeader): navy to blue, sky glow */
header.ph { background: linear-gradient(145deg, #0f1f36 0%, #1B365D 45%, #005A9C 100%) !important; }
header.ph::before { background: radial-gradient(circle, rgba(96, 193, 229, .28) 0%, transparent 70%) !important; }
header.ph .ph__sub { color: rgba(214, 236, 248, .88) !important; }
header.ph .ph__icon { background: rgba(96, 193, 229, .18) !important; color: #A0E0EF !important; }

/* Panel cards, tiles and tabs */
.sd-card, .sd-kpi { border-color: rgba(27, 54, 93, .10) !important; box-shadow: 0 6px 18px rgba(27, 54, 93, .07) !important; }
.sd-title, .sd-kpi__val, .pn-count { color: #1B365D !important; }
.sd-kpi--dark { background: linear-gradient(145deg, #0f1f36 0%, #1B365D 55%, #005A9C 100%) !important; }
.sd-kpi--dark .sd-kpi__lbl { color: #A0E0EF !important; }
.sd-kpi--dark .sd-kpi__val { color: #fff !important; }
.pn-tab { border-color: #005A9C !important; color: #1B365D !important; }
.pn-tab.on { background: #1B365D !important; border-color: #1B365D !important; color: #fff !important; }
.pn-co--sub { border-left-color: #60C1E5 !important; }
.pn-count { background: #e8f4fb !important; }
.pn-type { background: #e3f2fa !important; color: #1B365D !important; }
.pn-viewer { background: #e8f4fb !important; border-color: #A0E0EF !important; color: #1B365D !important; }
.pn-total td { border-top-color: #1B365D !important; }

/* Sign-in: the same scene, turned blue */
.login-container--billing {
    background: radial-gradient(760px 560px at 74% 56%, rgba(0, 90, 156, .45), transparent 70%),
                linear-gradient(135deg, #07111f 0%, #0f1f36 55%, #1B365D 100%) !important;
}
.login-container--billing .login-shade { background: linear-gradient(90deg, rgba(7,17,31,.95) 0%, rgba(7,17,31,.78) 32%, rgba(7,17,31,0) 58%) !important; }
.bscene { filter: hue-rotate(55deg) saturate(1.05); }
.login-container--billing .login-eyebrow { color: #60C1E5 !important; }
.login-container--billing .login-title span { color: #60C1E5 !important; }

.pn-pick { border-color: rgba(27,54,93,.12) !important; }
.pn-pick label { color: #1B365D; }
