@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Softer contrast layout using shared palette */
.page[b-9pcmhsvyjx] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-text);
}

main[b-9pcmhsvyjx] {
    flex: 1;
}

.sidebar[b-9pcmhsvyjx] {
    /* Subtle warm gradient (less saturation) */
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 75%);
    color: #fff;
}

.top-row[b-9pcmhsvyjx] {
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(2px);
}

    .top-row[b-9pcmhsvyjx]  a,
    .top-row[b-9pcmhsvyjx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--color-primary);
        font-weight: 500;
    }

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

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

article.content[b-9pcmhsvyjx] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-top: .9rem;
}

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

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

    article.content[b-9pcmhsvyjx] {
        margin-top: .6rem;
    }
}

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

    .sidebar[b-9pcmhsvyjx] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    }

    .top-row[b-9pcmhsvyjx] {
        position: sticky;
        top: 0;
        z-index: 2;
    }

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

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

#blazor-error-ui[b-9pcmhsvyjx] {
    color-scheme: light only;
    background: var(--color-accent);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #fff;
}

    #blazor-error-ui .dismiss[b-9pcmhsvyjx] {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Adjusted sidebar/nav to reduce harsh contrast and integrate softer palette */
.navbar-toggler[b-mzw4iwlp6q] {
    appearance: none;
    cursor: pointer;
    width: 3.2rem;
    height: 2.4rem;
    color: #fff;
    position: absolute;
    top: .55rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,.25);
    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.80%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem var(--color-secondary);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

    .navbar-toggler:checked[b-mzw4iwlp6q] {
        background-color: var(--color-primary);
    }

.top-row[b-mzw4iwlp6q] {
    min-height: 3.5rem;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 95%);
    box-shadow: 0 2px 4px rgba(0,0,0,.10);
}

.navbar-brand[b-mzw4iwlp6q] {
    font-size: 1.12rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
    letter-spacing: .5px;
}

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

/* Keep existing icon backgrounds; omitted for brevity */

.nav-item[b-mzw4iwlp6q] {
    font-size: .88rem;
    padding-bottom: .45rem;
}

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

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

    .nav-item[b-mzw4iwlp6q]  .nav-link {
        color: #f5eee4;
        background: none;
        border: none;
        border-radius: 6px;
        height: 2.85rem;
        display: flex;
        align-items: center;
        line-height: 2.85rem;
        width: 100%;
        transition: background .15s, color .15s;
        font-weight: 500;
        padding: 0 .6rem;
    }

    .nav-item[b-mzw4iwlp6q]  a.active {
        background-color: rgba(255,255,255,.22);
        color: #fff;
    }

    .nav-item[b-mzw4iwlp6q]  .nav-link:hover {
        background-color: rgba(255,255,255,.16);
        color: #fff;
    }

.nav-scrollable[b-mzw4iwlp6q] {
    display: none;
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 80%);
}

.navbar-toggler:checked ~ .nav-scrollable[b-mzw4iwlp6q] {
    display: block;
}

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

    .nav-scrollable[b-mzw4iwlp6q] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-primary) 80%);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    }
}
