/* _content/BVLOG.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-bgg2cn2p22] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-bgg2cn2p22] {
    flex: 1;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar[b-bgg2cn2p22] {
    background: linear-gradient(180deg, #1e4976 0%, #2a6298 45%, #1d5a8a 75%, #163d63 100%);
    flex-shrink: 0;
}

.content[b-bgg2cn2p22] {
    padding-top: 0.5rem;
    padding-bottom: 6px;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Shared footer — always at bottom of main area */
.bv-main-footer[b-bgg2cn2p22] {
    flex-shrink: 0;
    padding: 7px 14px;
    background: linear-gradient(90deg, #eef2f7 0%, #f1f5f9 50%, #eef2f7 100%);
    border-top: 1px solid #dce3ed;
    font-size: 11px;
    color: #475569;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.bv-footer-sep[b-bgg2cn2p22] {
    color: #cbd5e1;
    margin: 0 2px;
}

@media (min-width: 641px) {
    .page[b-bgg2cn2p22] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    .sidebar[b-bgg2cn2p22] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    article[b-bgg2cn2p22] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-bgg2cn2p22] {
    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-bgg2cn2p22] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
