/* _content/CSMes.Portal/Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-xnv4s2m4dd] {
    min-height: 100vh;
    display: flex;
    background: #f6f7fb; /* soft app background */
}

.sidebar[b-xnv4s2m4dd] {
    width: 280px;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    /* cleaner than the old purple gradient but still �branded� */
    background: linear-gradient(180deg, #0b1f3a 0%, #22113a 70%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.main[b-xnv4s2m4dd] {
    flex: 1;
    min-width: 0; /* important so grids don�t overflow */
}

.content[b-xnv4s2m4dd] {
    padding: 1.25rem;
}

@media (max-width: 640.98px) {
    .app-shell[b-xnv4s2m4dd] {
        flex-direction: column;
    }

    .sidebar[b-xnv4s2m4dd] {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content[b-xnv4s2m4dd] {
        padding: 1rem;
    }
}

/* keep your error UI */
#blazor-error-ui[b-xnv4s2m4dd] {
    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-xnv4s2m4dd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/CSMes.Portal/Components/Layout/NavMenu.razor.rz.scp.css */
/* =========================
   NavMenu.razor.css
   ========================= */

/* Header */
.sidebar-header[b-5ge26jl3kz] {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.75rem 0.75rem 0.9rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand */
.brand[b-5ge26jl3kz] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.brand-logo[b-5ge26jl3kz] {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    padding: 4px;
}

.brand-text[b-5ge26jl3kz] {
    min-width: 0;
    line-height: 1.1;
}

.brand-name[b-5ge26jl3kz] {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-sub[b-5ge26jl3kz] {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

/* =========================
   Mobile nav toggle (checkbox + label button)
   ========================= */

/* Hide the real checkbox but keep it functional */
.nav-toggle[b-5ge26jl3kz] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* The visible "burger" button is a label */
.nav-toggle-btn[b-5ge26jl3kz] {
    cursor: pointer;
    width: 3.1rem;
    height: 2.45rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    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.65%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem rgba(255, 255, 255, 0.08);
}

/* When open, make the burger button look "pressed" */
.nav-toggle:checked + .sidebar-header .nav-toggle-btn[b-5ge26jl3kz] {
    background-color: rgba(255, 255, 255, 0.18);
}

/* =========================
   Nav list + collapse behaviour
   ========================= */

.nav-scrollable[b-5ge26jl3kz] {
    display: none; /* collapsed on mobile by default */
}

/* IMPORTANT: nav-toggle and nav-scrollable must be siblings in the markup */
.nav-toggle:checked ~ .nav-scrollable[b-5ge26jl3kz] {
    display: block;
}

.nav-list[b-5ge26jl3kz] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.15rem;
}

    /* =========================
   Link styling (use ::deep because NavLink renders an <a>)
   ========================= */

    .nav-list[b-5ge26jl3kz]  .nav-link,
    .nav-list[b-5ge26jl3kz]  .nav-link:visited,
    .nav-list[b-5ge26jl3kz]  .nav-link:focus {
        color: rgba(255,255,255,0.88) !important; /* override bootstrap blue */
        border-radius: 10px;
        padding: 0.65rem 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        border: 1px solid transparent;
    }

        /* Hover: light grey text */
        .nav-list[b-5ge26jl3kz]  .nav-link:hover,
        .nav-list[b-5ge26jl3kz]  .nav-link:focus-visible {
            background: rgba(255,255,255,0.08);
            color: #e6e6e6 !important;
        }

        /* Active: white text */
        .nav-list[b-5ge26jl3kz]  a.active,
        .nav-list[b-5ge26jl3kz]  .nav-link.active {
            background: rgba(255,255,255,0.16);
            border-color: rgba(255,255,255,0.10);
            color: #ffffff !important;
        }

.nav-icon[b-5ge26jl3kz] {
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
    opacity: 0.9;
}

.nav-divider[b-5ge26jl3kz] {
    height: 1px;
    margin: 0.6rem 0.5rem;
    background: rgba(255,255,255,0.10);
}

/* =========================
   Logout button styled like links
   ========================= */

.logout-form[b-5ge26jl3kz] {
    margin: 0;
}

.nav-link-btn[b-5ge26jl3kz] {
    width: 100%;
    background: none;
    border: 1px solid transparent;
    text-align: left;
    color: rgba(255,255,255,0.88) !important; /* override bootstrap button/link colour */
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .nav-link-btn:hover[b-5ge26jl3kz],
    .nav-link-btn:focus-visible[b-5ge26jl3kz] {
        background: rgba(255,255,255,0.08);
        color: #e6e6e6 !important;
    }

/* =========================
   Desktop behaviour
   ========================= */

@media (min-width: 641px) {
    .nav-toggle-btn[b-5ge26jl3kz] {
        display: none;
    }

    .nav-scrollable[b-5ge26jl3kz] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
        padding-bottom: 0.75rem;
    }
}
/* _content/CSMes.Portal/Components/Pages/Home.razor.rz.scp.css */
.hover-card[b-iqdxmu8ool] {
    transition: transform .12s ease, box-shadow .12s ease;
    cursor: pointer;
}

.hover-card:hover[b-iqdxmu8ool] {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}

.home-tile[b-iqdxmu8ool] {
    min-height: 170px;
}

.home-icon[b-iqdxmu8ool] {
    font-size: 1.8rem;
}

@media (min-width: 992px) {
    .home-tile[b-iqdxmu8ool] {
        min-height: 200px;
    }

    .home-icon[b-iqdxmu8ool] {
        font-size: 2rem;
    }
}
