/* _content/ContractReserveTracker.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-yxl1hylrpu] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--qubic-bg-primary);
}

main[b-yxl1hylrpu] {
    flex: 1;
    background-color: var(--qubic-bg-primary);
}

.sidebar[b-yxl1hylrpu] {
    background: linear-gradient(180deg, #0d1520 0%, #0a0e17 100%);
    border-right: 1px solid var(--qubic-border);
}

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

    .top-row[b-yxl1hylrpu]  a, .top-row[b-yxl1hylrpu]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--qubic-text-secondary);
        font-size: 0.875rem;
    }

    .top-row[b-yxl1hylrpu]  a:hover, .top-row[b-yxl1hylrpu]  .btn-link:hover {
        color: var(--qubic-cyan);
    }

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

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

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

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

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

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

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

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

#blazor-error-ui[b-yxl1hylrpu] {
    background: var(--qubic-bg-card);
    border-top: 2px solid var(--qubic-red);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: var(--qubic-text-primary);
}

    #blazor-error-ui .dismiss[b-yxl1hylrpu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: var(--qubic-text-secondary);
    }

    #blazor-error-ui .dismiss:hover[b-yxl1hylrpu] {
        color: var(--qubic-cyan);
    }
/* _content/ContractReserveTracker.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dc3a4uudge] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--qubic-border);
    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 var(--qubic-bg-card);
    border-radius: 6px;
}

.navbar-toggler:checked[b-dc3a4uudge] {
    background-color: var(--qubic-bg-card-hover);
    border-color: var(--qubic-cyan);
}

.top-row[b-dc3a4uudge] {
    height: 3.5rem;
    background: linear-gradient(90deg, var(--qubic-bg-secondary) 0%, rgba(0, 229, 255, 0.05) 100%);
    border-bottom: 1px solid var(--qubic-border);
}

.navbar-brand[b-dc3a4uudge] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--qubic-text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover[b-dc3a4uudge] {
    color: var(--qubic-cyan) !important;
}

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

.bi-house-door-fill-nav-menu[b-dc3a4uudge] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300e5ff' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-graph-up-nav-menu[b-dc3a4uudge] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300e5ff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0V0Zm14.817 3.113a.5.5 0 0 1 .07.704l-4.5 5.5a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61 4.15-5.073a.5.5 0 0 1 .704-.07Z'/%3E%3C/svg%3E");
}

.bi-fire-nav-menu[b-dc3a4uudge] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300ff88' viewBox='0 0 16 16'%3E%3Cpath d='M8 16c3.314 0 6-2 6-5.5 0-1.5-.5-4-2.5-6 .25 1.5-1.25 2-1.25 2C11 4 9 .5 6 0c.357 2 .5 4-2 6-1.25 1-2 2.729-2 4.5C2 14 4.686 16 8 16Zm0-1c-1.657 0-3-1-3-2.75 0-.75.25-2 1.25-3C6.125 10 7 10.5 7 10.5c-.375-1.25.5-3.25 2-3.5-.179 1-.25 2 1 3 .625.5 1 1.364 1 2.25C11 14 9.657 15 8 15Z'/%3E%3C/svg%3E");
}

.nav-item[b-dc3a4uudge] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

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

    .nav-item[b-dc3a4uudge]  .nav-link {
        color: var(--qubic-text-secondary);
        background: none;
        border: none;
        border-radius: 8px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        transition: all 0.2s ease;
    }

.nav-item[b-dc3a4uudge]  a.active {
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.15) 0%, transparent 100%);
    color: var(--qubic-cyan);
    border-left: 3px solid var(--qubic-cyan);
}

.nav-item[b-dc3a4uudge]  .nav-link:hover {
    background-color: rgba(0, 229, 255, 0.08);
    color: var(--qubic-text-primary);
}

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

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

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

    .nav-scrollable[b-dc3a4uudge] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Logo icon */
.logo-icon[b-dc3a4uudge] {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--qubic-cyan) 0%, var(--qubic-cyan-dim) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}
