/* /Components/Layout/NavMenuAdmin.razor.rz.scp.css */
/* ===== VARIÁVEIS LOCAIS ===== */
/* Paleta minimalista: branco, cinzas neutros e um único acento navy MDC */
:root[b-5frovyvde9] {
    --mdc-accent: #1b1a55;
    --mdc-hover: rgba(27, 26, 85, 0.05);
    --sidebar-width: 264px;
    --text-strong: #1e2430;
    --text-muted: #9aa1ad;
    --line: rgba(0, 0, 0, 0.06);
}

/* ===== CONTAINER ===== */
.sidebar-container[b-5frovyvde9] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
}

/* ===== HEADER (Branding minimalista) ===== */
.sidebar-header[b-5frovyvde9] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    border-bottom: 1px solid var(--line);
}

.brand-icon[b-5frovyvde9] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mdc-accent);
    color: #ffffff;
    flex-shrink: 0;
}

.brand-icon[b-5frovyvde9]  .mud-icon-root {
    font-size: 1.2rem;
}

.brand-text[b-5frovyvde9] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text[b-5frovyvde9]  .mud-typography {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-strong);
}

.brand-text span[b-5frovyvde9] {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== CONTEÚDO (Scroll) ===== */
.sidebar-scroll[b-5frovyvde9] {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
}

.sidebar-scroll[b-5frovyvde9]::-webkit-scrollbar { width: 4px; }
.sidebar-scroll[b-5frovyvde9]::-webkit-scrollbar-thumb { background: #e6e8ec; border-radius: 4px; }

/* Rótulo de seção: discreto, espaçado */
.sidebar-scroll[b-5frovyvde9]  .mud-typography-overline {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 0.65rem !important;
    letter-spacing: 1.2px;
}

/* ===== CUSTOMIZAÇÃO DO MUD NAV ===== */
[b-5frovyvde9] .mud-nav-group {
    margin-bottom: 2px;
}

[b-5frovyvde9] .mud-nav-link {
    border-radius: 8px;
    margin: 1px 0;
    padding-top: 9px;
    padding-bottom: 9px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[b-5frovyvde9] .mud-nav-link:hover {
    background-color: var(--mdc-hover);
    color: var(--text-strong);
}

/* Estado ativo: fundo suave + texto/ícone com acento. Sem bordas pesadas. */
[b-5frovyvde9] .mud-nav-link.active {
    background-color: var(--mdc-hover);
    color: var(--mdc-accent);
    font-weight: 600;
}

[b-5frovyvde9] .mud-nav-link .mud-icon-root {
    color: var(--text-muted);
    min-width: 26px;
    font-size: 1.2rem;
}

[b-5frovyvde9] .mud-nav-link.active .mud-icon-root {
    color: var(--mdc-accent);
}

/* Cabeçalho dos grupos no mesmo tom dos links */
[b-5frovyvde9] .mud-nav-group > .mud-nav-link {
    color: var(--text-strong);
    font-weight: 500;
}

/* ===== FOOTER (User Profile minimalista) ===== */
.sidebar-footer[b-5frovyvde9] {
    border-top: 1px solid var(--line);
    padding: 10px;
}

.user-card[b-5frovyvde9] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.user-card:hover[b-5frovyvde9] {
    background-color: var(--mdc-hover);
}

.user-info[b-5frovyvde9] {
    min-width: 0;
}

.user-info h4[b-5frovyvde9] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-strong);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info p[b-5frovyvde9] {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .sidebar-container[b-5frovyvde9] {
        width: 100%;
        position: fixed;
        z-index: 999;
    }
}
/* /Components/Pages/Portal/Contas.razor.rz.scp.css */
.mdc-gradient-text[b-hhxbxe225j] {
	background: linear-gradient(135deg, #1b1a55 0%, #2d2a7f 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 700;
}

.mdc-action-button[b-hhxbxe225j] {
	border-radius: 8px;
	font-weight: 600;
	text-transform: none;
}

/* ::deep permite estilizar componentes filhos do MudBlazor */
[b-hhxbxe225j] .mud-table-head .mud-table-cell {
	color: #1b1a55 !important;
	font-weight: 700 !important;
	background-color: #f8f9fa !important;
}

[b-hhxbxe225j] .mud-table-row:hover {
	background-color: rgba(27, 26, 85, 0.05) !important;
}
/* /Components/Pages/Portal/ContasDetalhes.razor.rz.scp.css */
/* Container Geral */
.detail-layout[b-vorrqu4xfc] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* O "Papel" principal que engloba Header e Tabs */
.header-paper[b-vorrqu4xfc] {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Tipografia */
.text-navy[b-vorrqu4xfc] {
    color: #1b1a55;
    letter-spacing: -0.5px;
}

.text-muted[b-vorrqu4xfc] {
    color: #757575;
}

.fw-bold[b-vorrqu4xfc] {
    font-weight: 700;
}

/* Customização das Abas para parecerem com a imagem */
[b-vorrqu4xfc] .mud-tabs-tabbar {
    background-color: white !important;
    border-bottom: 1px solid #e0e0e0;
}

[b-vorrqu4xfc] .mud-tab {
    min-width: auto;
    text-transform: none; /* Remove o UPPERCASE padrão do Material */
    font-weight: 600;
    color: #616161;
    padding: 12px 24px;
}

/* Aba Ativa: Texto azul MDC e barra inferior */
[b-vorrqu4xfc] .mud-tab-active {
    color: #1b1a55 !important;
}

[b-vorrqu4xfc] .mud-tab-slider {
    background-color: #1b1a55 !important;
    height: 3px;
}

/* Animação */
.fade-in[b-vorrqu4xfc] {
    animation: fadeIn 0.3s ease-out;
}

@@keyframes fadeIn {
    from[b-vorrqu4xfc] { opacity: 0; transform: translateY(10px); }
    to[b-vorrqu4xfc] { opacity: 1; transform: translateY(0); }
}


[b-vorrqu4xfc] .mdc-table .mud-table-head .mud-table-cell {
    /* Fundo Azul Navy Suave */
    background-color: rgba(27, 26, 85, 0.08) !important;
    /* Texto na cor da marca */
    color: #1b1a55 !important;
    /* Tipografia */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Linha inferior */
    border-bottom: 2px solid #1b1a55;
    /* Espaçamento */
    padding-top: 16px;
    padding-bottom: 16px;
}

    /* Arredondamento do primeiro e último item */
    [b-vorrqu4xfc] .mdc-table .mud-table-head .mud-table-cell:first-child {
        border-top-left-radius: 8px;
    }

    [b-vorrqu4xfc] .mdc-table .mud-table-head .mud-table-cell:last-child {
        border-top-right-radius: 8px;
    }
