/* Leaflet Trail branding (25 Nov 2026). Light sidebars for the office and Super Admin with dark text,
   the black-and-red logo, and the logo's red marking the current page. Sign-in pages on the same light
   grey with red buttons. Buttons inside the dashboard stay the theme's blue. The customer portal keeps
   the theme colours (it carries the organisation's name, not ours). */
:root {
    --lt-ink: #191919;      /* logo black */
    --lt-text: #2f343a;     /* menu text */
    --lt-muted: #6b737c;    /* icons, headings */
    --lt-side: #f3f4f6;     /* sidebar */
    --lt-side-2: #e9ebee;   /* hover / current item */
    --lt-line: #dcdfe3;
    --lt-red: #d90008;
    --lt-red-dark: #b00000;
}

/* ---------------------------------------------------------------- sidebars (office + Super Admin) */
.sidebar.nav-v2.bg-gradient-primary {
    background: var(--lt-side);
    border-right: 1px solid var(--lt-line);
}
.sidebar.nav-v2 .sidebar-brand { color: var(--lt-ink); }
.sidebar.nav-v2 hr.sidebar-divider { border-top: 1px solid var(--lt-line); }
.sidebar.nav-v2 .sidebar-heading { color: var(--lt-muted); }
.sidebar.nav-v2 .nav-item .nav-link { color: var(--lt-text); }
.sidebar.nav-v2 .nav-item .nav-link i { color: var(--lt-muted); }
.sidebar.nav-v2 .nav-item .nav-link[data-toggle="collapse"]::after { color: var(--lt-muted); }
.sidebar.nav-v2 .nav-item .nav-link:hover,
.sidebar.nav-v2 .nav-item .nav-link:focus { color: var(--lt-ink); background: var(--lt-side-2); }
.sidebar.nav-v2 .nav-item .nav-link:hover i,
.sidebar.nav-v2 .nav-item .nav-link:focus i { color: var(--lt-text); }
.sidebar.nav-v2 .nav-item.active > .nav-link {
    color: var(--lt-ink); font-weight: 700; background: var(--lt-side-2);
    box-shadow: inset 3px 0 0 var(--lt-red);
}
.sidebar.nav-v2 .nav-item.active > .nav-link i { color: var(--lt-red); }
.sidebar.nav-v2 #sidebarToggle { background-color: var(--lt-side-2); }
.sidebar.nav-v2 #sidebarToggle::after { color: var(--lt-muted); }
.sidebar.nav-v2 #sidebarToggle:hover { background-color: var(--lt-line); }

.sidebar .sidebar-brand.lt-brand { height: auto; min-height: 4.375rem; padding: 0.9rem 1rem; }
.sidebar .lt-brand .sidebar-brand-icon img { width: 30px; height: auto; display: block; }
.sidebar .lt-brand .sidebar-brand-text { margin: 0 0 0 0.6rem !important; }
.sidebar .lt-brand .sidebar-brand-text img { width: 132px; height: auto; display: block; }
.sidebar .lt-brand .lt-sub { display: block; color: var(--lt-muted); font-size: .62rem; letter-spacing: .08em; margin-top: 3px; }
.sidebar.toggled .lt-brand .sidebar-brand-text { display: none; }

/* ---------------------------------------------------------------- sign-in pages */
body.lt-brand { background: var(--lt-side); }
body.lt-brand .card { border: 1px solid var(--lt-line) !important; box-shadow: 0 0.5rem 1.5rem rgba(25, 25, 25, .08) !important; }
.lt-logo { display: block; width: 240px; max-width: 80%; height: auto; margin: 0 auto 1.75rem; }
body.lt-brand .btn-primary { background-color: var(--lt-red); border-color: var(--lt-red); }
body.lt-brand .btn-primary:hover, body.lt-brand .btn-primary:focus { background-color: var(--lt-red-dark); border-color: var(--lt-red-dark); }
body.lt-brand .card a { color: var(--lt-red-dark); }
body.lt-brand .text-white { color: var(--lt-muted) !important; }
