/* /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;
    overflow-x: hidden;
}

.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: 102;
}

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

.brand-logo[b-t5e5lyxzcf] {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 4px;
    object-fit: cover;
    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 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;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* 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-only items (ex: logout no nav) ───── */
.mobile-only[b-t5e5lyxzcf] { display: none !important; }

/* ── Logout button no nav ─────────────────── */
.nav-logout-btn[b-t5e5lyxzcf] {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 0.6rem 0.8rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 8px;
    transition: background-color 0.15s, color 0.15s;
}

.nav-logout-btn:hover[b-t5e5lyxzcf] {
    background-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.95);
}

/* ── Overlay (fundo escuro atrás do menu) ───── */
.nav-overlay[b-t5e5lyxzcf] {
    display: none;
    position: fixed;
    inset: 0;
    top: 3.5rem;
    background: rgba(0,0,0,0.45);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.navbar-toggler:checked ~ .nav-overlay[b-t5e5lyxzcf] {
    display: block;
    opacity: 1;
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 640.98px) {
    .mobile-only[b-t5e5lyxzcf] { display: flex !important; }
    .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);
    }
}

/* ── 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;
        display: flex;
        flex-direction: column;
    }
}

/* Rodapé do menu - créditos */
.nav-footer[b-t5e5lyxzcf] {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-footer a[b-t5e5lyxzcf] {
    color: #7BBDE8;
    text-decoration: none;
}
.nav-footer a:hover[b-t5e5lyxzcf] {
    text-decoration: underline;
}

/* Mobile: rodapé com espaçamento */
@media (max-width: 640.98px) {
    .nav-footer[b-t5e5lyxzcf] {
        margin-top: 2rem;
    }
}

/* ── 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;
}

/* ── Update banner (inside nav) ─────────────── */
.update-banner[b-t5e5lyxzcf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 8px 8px 0;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.15s;
}
.update-banner:hover[b-t5e5lyxzcf] {
    background: rgba(251, 191, 36, 0.3);
    color: #fde68a;
}
.update-banner svg[b-t5e5lyxzcf] {
    flex-shrink: 0;
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* ── Detalhes por Igreja: desktop = tabela, mobile = cards ── */

.church-cards[b-azvefb2nkw] { display: none; }

@media (max-width: 640px) {
    .church-table[b-azvefb2nkw]  { display: none; }

    .church-cards[b-azvefb2nkw] {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
}

/* ── Card individual ───────────────────────────────────────── */
.church-card[b-azvefb2nkw] {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #C4D9E8);
    border-radius: var(--radius, 10px);
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow);
}

.church-card--alert[b-azvefb2nkw] {
    border-left: 3px solid #C0392B;
}

.church-card-header[b-azvefb2nkw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.15rem;
}

.church-card-name[b-azvefb2nkw] {
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--text-dark, #0D2137);
    line-height: 1.3;
}

.church-card-year[b-azvefb2nkw] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--c2, #0A4174);
    background: var(--c7, #BDD8E9);
    padding: 0.1rem 0.55rem;
    border-radius: 12px;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.church-card-location[b-azvefb2nkw] {
    font-size: 0.78rem;
    color: var(--text-light, #7090A8);
    margin-bottom: 0.55rem;
}

.church-card-stats[b-azvefb2nkw] {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-medium, #3A5570);
    margin-bottom: 0.55rem;
}

.church-card-badges[b-azvefb2nkw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
}

.church-card-footer[b-azvefb2nkw] {
    display: flex;
    justify-content: flex-end;
}
/* /Pages/Import.razor.rz.scp.css */
/* reusing existing stats-grid / stat-card / table styles */
