@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
/* ── Overall page shell ─────────────────────────────── */
.page[b-m33nq6ke41] {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* ── Narrow icon sidebar ────────────────────────────── */
.sidebar[b-m33nq6ke41] {
    width: 68px;
    min-width: 68px;
    background-color: #1e3a5f;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    overflow: hidden;
}

/* ── Content column (top-bar + article) ─────────────── */
.main-area[b-m33nq6ke41] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Dark-navy top bar ──────────────────────────────── */
.top-bar[b-m33nq6ke41] {
    background-color: #1e3a5f;
    height: 3.25rem;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 99;
    justify-content: flex-end;
}

/* ── Right side of top bar ──────────────────────────── */
.top-bar-end[b-m33nq6ke41] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-app-name[b-m33nq6ke41] {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ── Page content ───────────────────────────────────── */
article.content[b-m33nq6ke41] {
    flex: 1;
    background-color: #f0f4f8;
    padding-top: 1.25rem;
}

@media (max-width: 640.98px) {
    .page[b-m33nq6ke41] {
        flex-direction: column;
    }

    .sidebar[b-m33nq6ke41] {
        width: 100%;
        height: auto;
        flex-direction: row;
        position: relative;
    }

    .top-bar[b-m33nq6ke41] {
        position: relative;
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 1rem;
    }
}

/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Icon sidebar container ──────────────────────────── */
.icon-sidebar[b-jfvj09sy6s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68px;
    height: 100vh;
    background-color: #1e3a5f;
    padding: 0.5rem 0;
}

/* ── Logo / brand mark ──────────────────────────────── */
.sidebar-logo[b-jfvj09sy6s] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f47c20;
    border-radius: 0.6rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #ffffff;
    flex-shrink: 0;
}

/* ── Nav group ──────────────────────────────────────── */
.sidebar-nav[b-jfvj09sy6s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    width: 100%;
    padding: 0 0.5rem;
}

/* ── Bottom section (settings) ──────────────────────── */
.sidebar-bottom[b-jfvj09sy6s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0 0.5rem 0.5rem;
}

/* ── Individual icon link ───────────────────────────── */
[b-jfvj09sy6s] .sidebar-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
    cursor: pointer;
}

[b-jfvj09sy6s] .sidebar-icon-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
}

[b-jfvj09sy6s] .sidebar-icon-link.active {
    color: #f47c20;
    background-color: rgba(244, 124, 32, 0.18);
}

/* ── Tooltip label ──────────────────────────────────── */
[b-jfvj09sy6s] .sidebar-tooltip {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background-color: #1e3a5f;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 200;
}

[b-jfvj09sy6s] .sidebar-icon-link:hover .sidebar-tooltip {
    opacity: 1;
}

