/* _content/YView/Pages/RegistroDetalle.razor.rz.scp.css */
.granular-summary[b-m3cxsf216h] {
    border: 1px solid rgba(99, 185, 233, 0.35);
    background: linear-gradient(120deg, rgba(99, 185, 233, 0.14), rgba(234, 91, 27, 0.1));
}

.granular-summary-subtitle[b-m3cxsf216h] {
    color: #4f5b6b;
}

.granular-sidebar[b-m3cxsf216h] {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background: #fbfcfe;
}

.granular-subdoc-item[b-m3cxsf216h] {
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.granular-subdoc-item:hover[b-m3cxsf216h] {
    background-color: #f2f7ff;
}

.granular-subdoc-item.active[b-m3cxsf216h] {
    border-left-color: #63b9e9;
    background-color: #ebf6ff;
}

.granular-subtitle[b-m3cxsf216h] {
    color: #6c7685;
}

.granular-content-grid[b-m3cxsf216h] {
    align-items: stretch;
}

.granular-viewer[b-m3cxsf216h],
.granular-form[b-m3cxsf216h] {
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    background-color: #fff;
}

.granular-form[b-m3cxsf216h] {
    border-left: 4px solid #ea5b1b;
    overflow-y: auto;
}

.chip-rebecca[b-m3cxsf216h] {
    background-color: rebeccapurple !important;
    border-color: rebeccapurple !important;
    color: #fff !important;
}

.chip-rebecca .mud-chip-content[b-m3cxsf216h],
.chip-rebecca .mud-chip-label[b-m3cxsf216h] {
    color: #fff !important;
}

.chip-rebecca-soft[b-m3cxsf216h] {
    border-color: rgba(102, 51, 153, 0.65) !important;
    color: rebeccapurple !important;
    background-color: rgba(102, 51, 153, 0.08) !important;
}
/* _content/YView/Shared/MainLayout.razor.rz.scp.css */
.page[b-0bjd05ibcr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0bjd05ibcr] {
    flex: 1;
}

.sidebar[b-0bjd05ibcr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0bjd05ibcr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0bjd05ibcr]  a, .top-row .btn-link[b-0bjd05ibcr] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-0bjd05ibcr] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-0bjd05ibcr] {
        display: none;
    }

    .top-row.auth[b-0bjd05ibcr] {
        justify-content: space-between;
    }

    .top-row a[b-0bjd05ibcr], .top-row .btn-link[b-0bjd05ibcr] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0bjd05ibcr] {
        flex-direction: row;
    }

    .sidebar[b-0bjd05ibcr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

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

    .top-row[b-0bjd05ibcr], article[b-0bjd05ibcr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/YView/Shared/NavMenu.razor.rz.scp.css */
/* Custom styles for Y-Neura Nav Menu */

/* Base Link Style - Modern Pill Shape */
[b-dnnzmlkwt3] .mud-nav-link {
    font-family: 'Barlow', sans-serif;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    /* Rounded corners */
    margin: 2px 12px;
    /* Horizontal spacing */
    padding-left: 12px !important;
    /* Adjust padding */
}

/* Extra spacing below the logo for the first link */
[b-dnnzmlkwt3] .y-neura-main-link {
    margin-top: 10px;
}

/* --- Main Headers (Groups + Inicio) --- */

/* Text Styling - MEJORADO: Más grande y bold */
[b-dnnzmlkwt3] .y-neura-nav-group>.mud-nav-link .mud-nav-link-text,
[b-dnnzmlkwt3] .y-neura-main-link .mud-nav-link-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800 !important;
    font-size: 1.25rem;
    color: #2d2d2d;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Icon Styling - Brand Purple - MEJORADO: Iconos más grandes */
[b-dnnzmlkwt3] .y-neura-nav-group>.mud-nav-link .mud-icon-root,
[b-dnnzmlkwt3] .y-neura-main-link .mud-icon-root {
    color: #604696 !important;
    font-size: 1.75rem;
    /* Iconos más grandes para headers */
}

/* Hover Effect for Headers */
[b-dnnzmlkwt3] .y-neura-nav-group>.mud-nav-link:hover,
[b-dnnzmlkwt3] .y-neura-main-link:hover {
    background-color: rgba(96, 70, 150, 0.08);
}

/* Spacing between groups */
[b-dnnzmlkwt3] .y-neura-nav-group {
    margin-bottom: 8px;
}


/* --- Child Items (Submenus) --- */

/* Indentation and Sizing - MEJORADO: Más pequeños y más indentados */
[b-dnnzmlkwt3] .mud-nav-group .mud-nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: #757575;
    margin-left: 32px;
    /* Mayor indentación para submenús */
    width: auto;
    /* Adjust width */
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Iconos de submenús más pequeños - CELESTE BRANDING */
[b-dnnzmlkwt3] .mud-nav-group .mud-nav-link .mud-icon-root {
    font-size: 1.1rem;
    color: #63b9e9 !important;
}

/* Active State (Selected Item) */
[b-dnnzmlkwt3] .mud-nav-link.active:not(.mud-nav-group-button) {
    color: #604696 !important;
    /* Purple Text */
    background-color: rgba(99, 185, 233, 0.15);
    /* Light Blue Background */
    font-weight: 600;
}

/* Active Icon */
[b-dnnzmlkwt3] .mud-nav-link.active .mud-icon-root {
    color: #604696;
}

/* Hover State for Children */
[b-dnnzmlkwt3] .mud-nav-link:hover:not(.active):not(.mud-nav-group-button) {
    background-color: rgba(0, 0, 0, 0.04);
    color: #604696;
}

/* Expand Icon Color */
[b-dnnzmlkwt3] .mud-nav-group .mud-nav-link .mud-nav-link-expand-icon {
    color: #9e9e9e;
}

[b-dnnzmlkwt3] .mud-nav-group .mud-nav-link:hover .mud-nav-link-expand-icon {
    color: #604696;
}
