/* /Components/Layout/MainLayout.razor.rz.scp.css */
.m2-page[b-gkpr0acc1q] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #f3f5f8;
}

.m2-topbar[b-gkpr0acc1q] {
    height: 56px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #16365f;
    color: #fff;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .25);
}

.m2-topbar__brand[b-gkpr0acc1q] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .02em;
}

.m2-topbar__sub[b-gkpr0acc1q] {
    font-weight: 400;
    font-size: .85rem;
    opacity: .75;
}

.m2-topbar__user[b-gkpr0acc1q] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.m2-topbar__name[b-gkpr0acc1q] {
    font-size: .9rem;
    opacity: .9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.m2-btn-salir[b-gkpr0acc1q] {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .15s ease;
}

.m2-btn-salir:hover[b-gkpr0acc1q] {
    background: rgba(255, 255, 255, .22);
}

.m2-main[b-gkpr0acc1q] {
    flex: 1 1 auto;
    min-height: 0;
}

@media (max-width: 480px) {
    .m2-topbar__sub[b-gkpr0acc1q] {
        display: none;
    }

    .m2-topbar__name[b-gkpr0acc1q] {
        display: none;
    }
}
/* /Components/Pages/Archivos.razor.rz.scp.css */
.fm-shell[b-2v0dw6t0sp] {
    --fm-accent: #16365f;
    height: calc(100dvh - 56px);
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Acento por área: distingue de un vistazo dónde está parado el usuario. */
.fm-shell--directorio[b-2v0dw6t0sp] {
    --fm-accent: #16365f;
}

.fm-shell--ti[b-2v0dw6t0sp] {
    --fm-accent: #0f766e;
}

.fm-shell--general[b-2v0dw6t0sp] {
    --fm-accent: #16365f;
}

/* Banner de área (modelo BInterno): borde y fondo con el acento del área. */
.fm-areabanner[b-2v0dw6t0sp] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border: 1px solid color-mix(in srgb, var(--fm-accent) 28%, white);
    border-left: 6px solid var(--fm-accent);
    border-radius: 10px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--fm-accent) 12%, white) 0%, color-mix(in srgb, var(--fm-accent) 5%, white) 100%);
    box-shadow: 0 1px 4px rgba(16, 24, 40, .08);
}

.fm-areabanner__id[b-2v0dw6t0sp] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.fm-areabanner__icon[b-2v0dw6t0sp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--fm-accent) 22%, white);
    color: color-mix(in srgb, var(--fm-accent) 80%, #0f172a);
    font-size: 1.15rem;
}

.fm-areabanner__text[b-2v0dw6t0sp] {
    display: grid;
    line-height: 1.15;
    min-width: 0;
}

.fm-areabanner__eyebrow[b-2v0dw6t0sp] {
    color: color-mix(in srgb, var(--fm-accent) 62%, #0f172a);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fm-areabanner__name[b-2v0dw6t0sp] {
    color: color-mix(in srgb, var(--fm-accent) 78%, #0f172a);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.fm-areabanner__picker[b-2v0dw6t0sp] {
    display: grid;
    gap: 0.2rem;
    justify-items: end;
}

.fm-areabanner__picker-label[b-2v0dw6t0sp] {
    color: color-mix(in srgb, var(--fm-accent) 60%, #0f172a);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Vista sin área asignada (dentro del panel). */
.fm-sinacceso[b-2v0dw6t0sp] {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    padding: 3rem 1.5rem;
    text-align: center;
    color: #5b6573;
}

.fm-sinacceso .bi[b-2v0dw6t0sp] {
    font-size: 2.4rem;
    color: color-mix(in srgb, var(--fm-accent) 60%, #94a3b8);
}

.fm-sinacceso h4[b-2v0dw6t0sp] {
    margin: 0.35rem 0 0;
    color: #16365f;
    font-weight: 700;
}

.fm-sinacceso p[b-2v0dw6t0sp] {
    margin: 0;
    max-width: 48ch;
}

.fm-panel[b-2v0dw6t0sp] {
    flex: 1;
    min-height: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .08);
    overflow: hidden;
}

.fm-panel__manager[b-2v0dw6t0sp] {
    height: 100%;
}

/* Modal propio de subida (sin SfDialog) */

.m2-modal-overlay[b-2v0dw6t0sp] {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .45);
    z-index: 1500;
}

.m2-modal[b-2v0dw6t0sp] {
    position: fixed;
    top: 18dvh;
    left: 50%;
    transform: translateX(-50%);
    width: min(540px, calc(100vw - 24px));
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, .25);
    z-index: 1501;
    overflow: hidden;
}

.m2-modal__header[b-2v0dw6t0sp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-weight: 600;
    color: #16365f;
    border-bottom: 1px solid #e6e9ee;
}

.m2-modal__cerrar[b-2v0dw6t0sp] {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #5b6573;
    cursor: pointer;
}

.m2-modal__body[b-2v0dw6t0sp] {
    padding: 14px 16px 16px;
    max-height: 55dvh;
    overflow-y: auto;
}

@media (max-width: 480px) {
    .fm-shell[b-2v0dw6t0sp] {
        padding: 6px;
    }

    .fm-areabanner[b-2v0dw6t0sp] {
        padding: 0.5rem 0.75rem;
    }
}
