/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-x9rrhtls3z] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-x9rrhtls3z] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-x9rrhtls3z] {
    background-color: var(--bg-sidebar);
}

.top-row[b-x9rrhtls3z] {
    background-color: var(--bg-sidebar-active);
    border-bottom: 1px solid var(--border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-x9rrhtls3z]  a, .top-row[b-x9rrhtls3z]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-x9rrhtls3z]  a:hover, .top-row[b-x9rrhtls3z]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-x9rrhtls3z]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-x9rrhtls3z] {
        justify-content: space-between;
    }

    .top-row[b-x9rrhtls3z]  a, .top-row[b-x9rrhtls3z]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-x9rrhtls3z] {
        flex-direction: row;
    }

    .sidebar[b-x9rrhtls3z] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-x9rrhtls3z] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-x9rrhtls3z]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-x9rrhtls3z], article[b-x9rrhtls3z], .bottom-row[b-x9rrhtls3z] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.bottom-row[b-x9rrhtls3z] {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .bottom-row p[b-x9rrhtls3z] {
        margin: 0;
    }

.footer-version[b-x9rrhtls3z] {
    font-size: 0.75rem;
    color: rgba(255, 140, 9, 0.874);
}

/* ── Consent footer pill ───────────────────────────────────────── */
#consent-wrap[b-x9rrhtls3z] {
    position: relative;
}

#consent-pill[b-x9rrhtls3z] {
    background: none;
    border: 1px solid var(--consent-border);
    border-radius: 12px;
    color: var(--consent-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.72rem;
    line-height: 1;
    padding: 3px 8px;
    transition: border-color 0.15s, color 0.15s;
}

#consent-pill:hover[b-x9rrhtls3z] {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

#consent-pill.consent-pill--pending[b-x9rrhtls3z] {
    animation: consent-pulse-b-x9rrhtls3z 2s ease-in-out infinite;
    border-color: var(--ready-outline);
    color: var(--ready-outline);
}

@keyframes consent-pulse-b-x9rrhtls3z {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

/* ── Consent popover (opens above the pill) ────────────────────── */
#consent-popover[b-x9rrhtls3z] {
    background: var(--consent-bg);
    border: 1px solid var(--consent-border);
    border-radius: 6px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
    padding: 0.65rem 0.75rem;
    position: fixed;
    white-space: nowrap;
    z-index: 1000;
    /* bottom and right set dynamically by consentTogglePopover() */
}

.consent-popover-title[b-x9rrhtls3z] {
    color: var(--consent-text);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 0.45rem;
}

#consent-visitor-id-info[b-x9rrhtls3z] {
    border-top: 1px solid var(--consent-border);
    color: var(--consent-muted);
    font-size: 0.72rem;
    margin-top: 0.45rem;
    max-width: 280px;
    padding-top: 0.35rem;
    white-space: normal;
}

.consent-popover-actions[b-x9rrhtls3z] {
    align-items: center;
    display: flex;
    gap: 0.4rem;
}

.consent-info-btn[b-x9rrhtls3z] {
    background: none;
    border: none;
    color: var(--consent-muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.1rem;
}

    .consent-info-btn:hover[b-x9rrhtls3z] {
        color: var(--text-primary);
    }

#blazor-error-ui[b-x9rrhtls3z] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-x9rrhtls3z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-jybqb7gg8x] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-jybqb7gg8x] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-jybqb7gg8x] {
    height: 3.5rem;
    background-color: var(--bg-sidebar-active);
}

.navbar-brand[b-jybqb7gg8x] {
    font-size: 1.1rem;
    color: var(--text-sidebar-active);
}

.bi[b-jybqb7gg8x] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}


/* Theme toggle button — styled like a nav-link */
.theme-toggle-btn[b-jybqb7gg8x] {
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--text-sidebar);
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 3rem;
    line-height: 3rem;
    padding: 0 1rem;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
}

.theme-toggle-btn:hover[b-jybqb7gg8x] {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar-active);
}

.nav-item[b-jybqb7gg8x] {
    font-size: 0.9rem;
}

    .nav-item:first-of-type[b-jybqb7gg8x] {
        padding-top: 0.5rem;
    }

    .nav-item:last-of-type[b-jybqb7gg8x] {
        padding-bottom: 0.5rem;
    }

    .nav-item[b-jybqb7gg8x]  .nav-link {
        color: var(--text-sidebar);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-jybqb7gg8x]  a.active {
    background-color: var(--bg-sidebar-active);
    color: var(--text-sidebar-active);
}

.nav-item[b-jybqb7gg8x]  .nav-link:hover {
    background-color: var(--bg-sidebar-hover);
    color: var(--text-sidebar-active);
}

.nav-scrollable[b-jybqb7gg8x] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-jybqb7gg8x] {
    display: flex;
    flex-direction: column;
}

.nav-stats[b-jybqb7gg8x] {
    margin-top: auto;
}

@media (min-width: 641px) {
    .navbar-toggler[b-jybqb7gg8x] {
        display: none;
    }

    .nav-scrollable[b-jybqb7gg8x] {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/FontSelector.razor.rz.scp.css */
/* Styles live in wwwroot/app.css — see "Font Selector" section */
