/* /Components/Layout/MainLayout.razor.rz.scp.css */
.nexus-shell[b-dedjs9o1aj] {
    min-height: 100vh;
}

/* El Class del MudMainContent lleva el atributo de scope: anular aquí también */
.nexus-main-content[b-dedjs9o1aj] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    padding-top: 0 !important;
}

/* ── Topbar: limpia, alineada ── */
.nexus-topbar[b-dedjs9o1aj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem;
    height: 56px;
    background: var(--nexus-topbar-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--nexus-topbar-line);
    position: sticky;
    top: 0;
    z-index: 4;
}

.nexus-topbar-spacer[b-dedjs9o1aj] {
    flex: 1;
    min-width: 0;
}

.nexus-menu-btn[b-dedjs9o1aj] {
    flex-shrink: 0;
}

.nexus-topbar-actions[b-dedjs9o1aj] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
    height: 40px;
}


.nexus-topbar-user[b-dedjs9o1aj] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 40px;
    padding: 0 0.7rem 0 0.35rem;
    margin: 0;
    border: none;
    border-radius: 999px;
    color: var(--nexus-text);
    text-decoration: none;
    line-height: 1;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

.nexus-topbar-user:hover[b-dedjs9o1aj] {
    background: var(--nexus-hover);
    color: var(--nexus-text);
}

.nexus-topbar-photo[b-dedjs9o1aj] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.nexus-topbar-photo--fallback[b-dedjs9o1aj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nexus-action);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nexus-topbar-name[b-dedjs9o1aj] {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1;
    color: inherit;
    white-space: nowrap;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nexus-theme-btn[b-dedjs9o1aj],
.nexus-logout-btn[b-dedjs9o1aj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--nexus-action);
    cursor: pointer;
    flex-shrink: 0;
    line-height: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.nexus-logout-btn:hover[b-dedjs9o1aj] {
    background: var(--nexus-hover);
    color: var(--nexus-action-deep);
}

.nexus-logout-btn svg[b-dedjs9o1aj] {
    display: block;
}

.account-avatar[b-dedjs9o1aj] {
    overflow: hidden;
}

.account-avatar[b-dedjs9o1aj]  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Cuenta ── */
.account-header[b-dedjs9o1aj] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-label[b-dedjs9o1aj] {
    font-weight: 600;
    width: 40%;
    color: var(--nexus-text-soft);
}

.account-id[b-dedjs9o1aj] {
    font-size: 0.8rem;
    word-break: break-all;
}

.account-table-wrap[b-dedjs9o1aj] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 599px) {
    .account-header[b-dedjs9o1aj] {
        flex-wrap: wrap;
    }

    .account-label[b-dedjs9o1aj] {
        width: auto;
        display: block;
        padding-bottom: 0.2rem;
    }

    .account-table-wrap td[b-dedjs9o1aj] {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .account-table-wrap tr[b-dedjs9o1aj] {
        display: block;
        padding: 0.65rem 0;
        border-bottom: 1px solid var(--nexus-border);
    }

    .account-table-wrap tr:last-child[b-dedjs9o1aj] {
        border-bottom: none;
    }
}

/* ── Sidebar: carbón profundo, más premium ── */
[b-dedjs9o1aj] .nexus-drawer.mud-drawer {
    background: #0D1B2A !important;
    color: #E8F0F7;
    border: none;
    box-shadow: none;
}

[b-dedjs9o1aj] .nexus-drawer .mud-drawer-content {
    background: #0D1B2A !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.nexus-sidebar-content[b-dedjs9o1aj] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem 0.875rem;
}

/* ── Branding: limpio, alineado ── */
.nexus-brand[b-dedjs9o1aj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem 1.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nexus-brand-logo-wrap[b-dedjs9o1aj] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.nexus-brand-logo[b-dedjs9o1aj] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nexus-brand-copy[b-dedjs9o1aj] {
    min-width: 0;
}

.nexus-brand-title[b-dedjs9o1aj] {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    line-height: 1.25;
}

.nexus-brand-sub[b-dedjs9o1aj] {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.01em;
}

/* ── Área principal: fondo neutro muy sutil ── */
.nexus-main[b-dedjs9o1aj] {
    flex: 1;
    background: var(--nexus-bg);
    padding: 1.75rem 1.75rem;
    overflow: auto;
}

.nexus-main--full[b-dedjs9o1aj] {
    width: 100%;
}

@media (max-width: 959px) {
    .nexus-topbar[b-dedjs9o1aj] {
        padding: 0 1rem;
        gap: 0.5rem;
        height: 52px;
    }

    .nexus-topbar-name[b-dedjs9o1aj] {
        display: none;
    }

    .nexus-main[b-dedjs9o1aj] {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 599px) {
    .nexus-main[b-dedjs9o1aj] {
        padding: 1rem 0.75rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nexus-nav[b-uc2ns4kq9b] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    padding-top: 0.5rem;
}

.nexus-nav-group[b-uc2ns4kq9b] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Label de sección: más discreta, sin uppercase agresivo */
.nexus-nav-heading[b-uc2ns4kq9b] {
    margin: 0 0 0.35rem;
    padding: 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.2;
}

.nexus-nav-list[b-uc2ns4kq9b] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.nexus-nav-list li[b-uc2ns4kq9b] {
    display: block;
    margin: 0;
    padding: 0;
}

/* ── Link base ── */
[b-uc2ns4kq9b] a.nexus-nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 0.7rem;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: background 0.12s ease, color 0.12s ease;
}

[b-uc2ns4kq9b] a.nexus-nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

/* ── Active: línea izquierda + fondo sutil + texto blanco ── */
[b-uc2ns4kq9b] a.nexus-nav-link.active {
    color: #ffffff;
    background: rgba(58, 125, 174, 0.20);
    border-color: transparent;
    font-weight: 500;
    position: relative;
}

[b-uc2ns4kq9b] a.nexus-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: #3A7DAE;
}

/* ── Icono ── */
.nexus-nav-icon[b-uc2ns4kq9b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.12s ease;
}

[b-uc2ns4kq9b] a.nexus-nav-link:hover .nexus-nav-icon {
    color: rgba(255, 255, 255, 0.8);
}

[b-uc2ns4kq9b] a.nexus-nav-link.active .nexus-nav-icon {
    color: #ffffff;
}

.nexus-nav-icon[b-uc2ns4kq9b]  svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
}

.nexus-nav-text[b-uc2ns4kq9b] {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}
/* /Components/Layout/NotificationCenter.razor.rz.scp.css */
.notif-wrap[b-2hmh76rsfm] {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 1201;
}

.notif-trigger[b-2hmh76rsfm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--nexus-action);
    cursor: pointer;
    transition: background 0.13s ease;
    flex-shrink: 0;
}

.notif-trigger:hover[b-2hmh76rsfm] {
    background: var(--nexus-hover);
}

.notif-badge[b-2hmh76rsfm] {
    position: absolute;
    top: 5px;
    right: 4px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #C45C3A;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    pointer-events: none;
    box-shadow: 0 0 0 2px var(--nexus-surface);
}

.notif-backdrop[b-2hmh76rsfm] {
    position: fixed;
    inset: 0;
    z-index: 1199;
    background: transparent;
    cursor: default;
}

.notif-dropdown[b-2hmh76rsfm] {
    position: absolute;
    top: calc(100% + 8px);
    right: -4px;
    width: 340px;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    background: var(--nexus-surface);
    border: 1px solid var(--nexus-border);
    border-radius: 10px;
    box-shadow: 0 8px 28px var(--nexus-shadow), 0 2px 6px var(--nexus-shadow-soft);
    z-index: 1200;
    overflow: hidden;
}

.notif-header[b-2hmh76rsfm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.6rem;
    border-bottom: 1px solid var(--nexus-border);
    flex-shrink: 0;
}

.notif-header-title[b-2hmh76rsfm] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nexus-text-strong);
}

.notif-markall[b-2hmh76rsfm] {
    border: none;
    background: none;
    color: var(--nexus-action);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    text-decoration: none;
}

.notif-markall:hover:not(:disabled)[b-2hmh76rsfm] {
    text-decoration: underline;
}

.notif-markall:disabled[b-2hmh76rsfm] {
    opacity: 0.45;
    cursor: default;
}

.notif-body[b-2hmh76rsfm] {
    overflow-y: auto;
    flex: 1;
}

.notif-state[b-2hmh76rsfm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem 1rem;
    color: var(--nexus-text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.notif-state--error[b-2hmh76rsfm] {
    color: #C45C3A;
}

.notif-list[b-2hmh76rsfm] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notif-item[b-2hmh76rsfm] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    width: 100%;
    text-align: left;
    border: none;
    background: var(--nexus-surface);
    border-bottom: 1px solid var(--nexus-border);
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: background 0.1s ease;
}

.notif-item:hover[b-2hmh76rsfm] {
    background: var(--nexus-hover);
}

.notif-item--unread[b-2hmh76rsfm] {
    background: #F0F7FC;
}

.notif-item-dot[b-2hmh76rsfm] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    margin-top: 5px;
}

.notif-item-dot--on[b-2hmh76rsfm] {
    background: var(--nexus-action);
}

.notif-item-content[b-2hmh76rsfm] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.notif-item-title[b-2hmh76rsfm] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nexus-text-strong);
    line-height: 1.3;
}

.notif-item--read .notif-item-title[b-2hmh76rsfm] {
    font-weight: 500;
    color: var(--nexus-text-soft);
}

.notif-item-body[b-2hmh76rsfm] {
    font-size: 0.72rem;
    color: var(--nexus-text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-meta[b-2hmh76rsfm] {
    font-size: 0.65rem;
    color: var(--nexus-text-muted);
    margin-top: 0.1rem;
}

.notif-item-num[b-2hmh76rsfm] {
    font-weight: 600;
    color: var(--nexus-action);
}

@media (max-width: 959px) {
    .notif-trigger[b-2hmh76rsfm] {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 599px) {
    .notif-dropdown[b-2hmh76rsfm] {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        top: calc(var(--nexus-topbar-h, 52px) + 0.35rem);
        width: auto;
        max-width: none;
    }

    .notif-backdrop[b-2hmh76rsfm] {
        background: rgba(0, 0, 0, 0.25);
    }
}
/* /Components/Pages/Recursos.razor.rz.scp.css */
.recursos-item[b-1k4ea7i6om] {
    padding: 1rem 1.25rem;
}

.recursos-row[b-1k4ea7i6om] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.recursos-copy[b-1k4ea7i6om] {
    flex: 1;
    min-width: 0;
}

.recursos-title[b-1k4ea7i6om] {
    font-weight: 600;
}

.recursos-file[b-1k4ea7i6om] {
    display: block;
    margin-top: 0.35rem;
    font-family: ui-monospace, Consolas, monospace;
}

.recursos-download-btn[b-1k4ea7i6om] {
    flex-shrink: 0;
}

@media (max-width: 599px) {
    .recursos-row[b-1k4ea7i6om] {
        flex-direction: column;
        align-items: stretch;
    }

    .recursos-download-btn[b-1k4ea7i6om] {
        width: 100%;
    }
}
