/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-zqkgba1fe0] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background-color: var(--bg, #EEF5FA);
}

main[b-zqkgba1fe0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* evita overflow em flex */
}

.sidebar[b-zqkgba1fe0] {
    background-color: var(--c1, #001D39);
    flex-shrink: 0;
}

/* ── Top bar ─────────────────────────────────── */
.top-row[b-zqkgba1fe0] {
    background-color: #fff;
    border-bottom: 1px solid var(--border, #C4D9E8);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,29,57,0.06);
    flex-shrink: 0;
    padding-right: 1.5rem;
}

.top-row-subtitle[b-zqkgba1fe0] {
    font-size: 0.72rem;
    color: var(--c3, #49769F);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
}

/* ── Desktop: sidebar lateral ─────────────────── */
@media (min-width: 641px) {
    .page[b-zqkgba1fe0] {
        flex-direction: row;
        align-items: stretch;
    }

    .sidebar[b-zqkgba1fe0] {
        width: 240px;
        height: 100dvh;
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
    }

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

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

/* ── Mobile: sidebar no topo ─────────────────── */
@media (max-width: 640.98px) {
    .sidebar[b-zqkgba1fe0] {
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 99;
    }

    .top-row[b-zqkgba1fe0] { display: none; } /* no mobile o sidebar-header já serve de topbar */

    article[b-zqkgba1fe0] { padding: 1rem !important; }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Checkbox toggle (visualmente oculto, funcionalmente ativo) ── */
.navbar-toggler[b-t5e5lyxzcf] {
    position: fixed;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* ── Sidebar header / brand ──────────────────── */
.sidebar-header[b-t5e5lyxzcf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 3.5rem;
    background-color: var(--c1, #001D39);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 101;
}

.brand[b-t5e5lyxzcf] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    min-width: 0;
}

.brand-icon[b-t5e5lyxzcf] {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--c6, #7BBDE8);
    flex-shrink: 0;
}

.brand-name[b-t5e5lyxzcf] {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Hamburger (mobile only) ─────────────────── */
.hamburger-btn[b-t5e5lyxzcf] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.1rem;
    height: 2.1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 7px;
    transition: background-color 0.15s;
    flex-shrink: 0;
}

.hamburger-btn:hover[b-t5e5lyxzcf] { background-color: rgba(255,255,255,0.10); }

.hamburger-btn span[b-t5e5lyxzcf] {
    display: block;
    height: 2px;
    width: 100%;
    background-color: rgba(255,255,255,0.80);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Anima o X quando aberto */
.navbar-toggler:checked ~ .sidebar-header .hamburger-btn span:nth-child(1)[b-t5e5lyxzcf] {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler:checked ~ .sidebar-header .hamburger-btn span:nth-child(2)[b-t5e5lyxzcf] {
    opacity: 0;
}
.navbar-toggler:checked ~ .sidebar-header .hamburger-btn span:nth-child(3)[b-t5e5lyxzcf] {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Nav scroll area ─────────────────────────── */
.nav-scrollable[b-t5e5lyxzcf] {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 0 1.5rem;
}

/* Scrollbar discreta */
.nav-scrollable[b-t5e5lyxzcf]::-webkit-scrollbar { width: 3px; }
.nav-scrollable[b-t5e5lyxzcf]::-webkit-scrollbar-track { background: transparent; }
.nav-scrollable[b-t5e5lyxzcf]::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ── Section labels ──────────────────────────── */
.nav-section-label[b-t5e5lyxzcf] {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(189, 216, 233, 0.50);
    padding: 0.8rem 1.2rem 0.25rem;
}

/* ── Nav items ───────────────────────────────── */
.nav-item[b-t5e5lyxzcf] {
    padding: 0.1rem 0.65rem;
}

.nav-item[b-t5e5lyxzcf]  .nav-link {
    display: flex !important;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.65);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 400;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-item[b-t5e5lyxzcf]  .nav-link:hover {
    background-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
    text-decoration: none;
}

.nav-item[b-t5e5lyxzcf]  .nav-link.active {
    background-color: rgba(123, 189, 232, 0.15);
    color: #fff;
    font-weight: 500;
    box-shadow: inset 3px 0 0 var(--c6, #7BBDE8);
}

/* ── Nav icons ───────────────────────────────── */
.nav-icon[b-t5e5lyxzcf] {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.nav-item[b-t5e5lyxzcf]  .nav-link:hover .nav-icon,
.nav-item[b-t5e5lyxzcf]  .nav-link.active .nav-icon {
    opacity: 1;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 640.98px) {
    .hamburger-btn[b-t5e5lyxzcf] { display: flex; }

    .nav-scrollable[b-t5e5lyxzcf] {
        position: fixed;
        top: 3.5rem;
        left: 0;
        width: 260px;
        height: calc(100dvh - 3.5rem);
        background-color: var(--c1, #001D39);
        z-index: 100;
        box-shadow: 4px 0 24px rgba(0,0,0,0.35);
        /* oculto por padrão */
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        padding: 0.75rem 0 2rem;
    }

    /* Aberto quando checkbox está marcado */
    .navbar-toggler:checked ~ .nav-scrollable[b-t5e5lyxzcf] {
        transform: translateX(0);
    }
}

/* ── Brand logo (image) ──────────────────────── */
.brand-logo[b-t5e5lyxzcf] {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ── Divider ─────────────────────────────────── */
.nav-divider[b-t5e5lyxzcf] {
    height: 1px;
    background: rgba(255,255,255,0.10);
    margin: 0.75rem 1rem;
}

/* ── External links (Conheça o Projeto) ──────── */
.nav-link-ext[b-t5e5lyxzcf] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255,255,255,0.65);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.nav-link-ext:hover[b-t5e5lyxzcf] {
    background-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
    text-decoration: none;
}

.nav-link-ext-text[b-t5e5lyxzcf] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.nav-link-ext-title[b-t5e5lyxzcf] {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link-ext-sub[b-t5e5lyxzcf] {
    font-size: 0.7rem;
    color: rgba(189,216,233,0.50);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-ext-arrow[b-t5e5lyxzcf] {
    width: 0.8rem;
    height: 0.8rem;
    color: rgba(255,255,255,0.28);
    margin-left: auto;
    flex-shrink: 0;
}

/* ── Desktop ─────────────────────────────────── */
@media (min-width: 641px) {
    .hamburger-btn[b-t5e5lyxzcf] { display: none; }

    .nav-scrollable[b-t5e5lyxzcf] {
        height: calc(100vh - 3.5rem);
        transform: none !important;
        transition: none;
    }
}
