/* /Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MAIN LAYOUT · MAN
   ============================================================ */

:host[b-o9avygl0eq] {
    display: block;
    min-height: 100vh;
}

*[b-o9avygl0eq] {
    box-sizing: border-box;
}


/* ============================================================
   APP SHELL
   ============================================================ */

.app-shell[b-o9avygl0eq] {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background: #F6F8FC;
    color: #101828;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar[b-o9avygl0eq] {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient( 180deg, #001A4D 0%, #00143D 48%, #000F2E 100% );
    box-shadow: 8px 0 30px rgba(0, 20, 61, .08);
}


/* ============================================================
   SIDEBAR HEADER
   ============================================================ */

.sidebar-header[b-o9avygl0eq] {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px 18px 16px;
}


/* ============================================================
   BRAND MARK
   ============================================================ */

.brand-mark[b-o9avygl0eq] {
    position: relative;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    background: linear-gradient( 145deg, rgba(255,255,255,.16), rgba(255,255,255,.06) );
    color: #FFFFFF;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 14px rgba(0,0,0,.12);
}

    .brand-mark[b-o9avygl0eq]::after {
        content: "";
        position: absolute;
        width: 18px;
        height: 3px;
        bottom: 6px;
        border-radius: 10px;
        background: #FCA522;
    }

    .brand-mark span[b-o9avygl0eq] {
        margin-top: -3px;
        font-size: 20px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -.5px;
    }


/* ============================================================
   BRAND TEXT
   ============================================================ */

.brand-text[b-o9avygl0eq] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-row[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.brand-name[b-o9avygl0eq] {
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.brand-status[b-o9avygl0eq] {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 50%;
    background: #FCA522;
    box-shadow: 0 0 0 3px rgba(252,165,34,.12);
}

.brand-text small[b-o9avygl0eq] {
    display: block;
    max-width: 155px;
    margin-top: 6px;
    overflow: hidden;
    color: #AAB7CD;
    font-size: 8px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   SIDEBAR DIVIDER
   ============================================================ */

.sidebar-divider[b-o9avygl0eq] {
    width: calc(100% - 36px);
    height: 1px;
    flex: 0 0 1px;
    margin: 0 auto;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.11), transparent );
}


/* ============================================================
   NAVIGATION CONTAINER
   ============================================================ */

.sidebar-navigation[b-o9avygl0eq] {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.12) transparent;
}

    .sidebar-navigation[b-o9avygl0eq]::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-navigation[b-o9avygl0eq]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-navigation[b-o9avygl0eq]::-webkit-scrollbar-thumb {
        border-radius: 20px;
        background: rgba(255,255,255,.12);
    }


    /* ============================================================
   IMPORTANTE:
   ESTILOS DEL NAVMENU DENTRO DEL SIDEBAR OSCURO

   ::deep permite estilizar el componente hijo NavMenu
   desde MainLayout.razor.css en Blazor CSS isolation.
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-menu {
        min-height: 100%;
        padding: 16px 11px;
        background: transparent;
        overflow: visible;
    }


    /* ============================================================
   NAV SECTIONS
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-section {
        margin-bottom: 20px;
    }

    .sidebar-navigation[b-o9avygl0eq]  .nav-section-title {
        min-height: 22px;
        padding: 0 11px;
        margin-bottom: 5px;
    }

        .sidebar-navigation[b-o9avygl0eq]  .nav-section-title span {
            color: #7184A3;
            font-size: 8px;
            font-weight: 900;
            letter-spacing: 1.25px;
        }


    /* ============================================================
   NAV ITEMS
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-item {
        position: relative;
        width: 100%;
        min-height: 45px;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 3px;
        padding: 7px 10px;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 10px;
        background: transparent;
        color: #B9C5D9;
        text-decoration: none;
        box-shadow: none;
        transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    }

        .sidebar-navigation[b-o9avygl0eq]  .nav-item:hover {
            border-color: rgba(255,255,255,.07);
            background: rgba(255,255,255,.055);
            color: #FFFFFF;
            text-decoration: none;
        }


    /* ============================================================
   NAV ICON
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-icon {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(255,255,255,.035);
        color: #91A3C0;
        transition: color .16s ease, background-color .16s ease, transform .16s ease;
    }

        .sidebar-navigation[b-o9avygl0eq]  .nav-icon svg {
            width: 17px;
            height: 17px;
        }

    .sidebar-navigation[b-o9avygl0eq]  .nav-item:hover .nav-icon {
        background: rgba(255,255,255,.07);
        color: #FFFFFF;
        transform: none;
    }


    /* ============================================================
   NAV TEXT
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-text {
        min-width: 0;
        color: inherit;
        font-size: 11px;
        line-height: 1.3;
        font-weight: 650;
    }


    /* ============================================================
   ACTIVE NAV
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-item.active {
        border-color: rgba(255,255,255,.09);
        background: linear-gradient( 90deg, rgba(255,255,255,.12), rgba(255,255,255,.055) );
        color: #FFFFFF;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    }

        .sidebar-navigation[b-o9avygl0eq]  .nav-item.active .nav-icon {
            background: #FFFFFF;
            color: #002060;
            box-shadow: 0 4px 10px rgba(0,0,0,.13);
        }

        .sidebar-navigation[b-o9avygl0eq]  .nav-item.active .nav-text {
            color: #FFFFFF;
            font-weight: 800;
        }


    /* ============================================================
   ACTIVE ORANGE BAR
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-active-bar {
        position: absolute;
        top: 9px;
        bottom: 9px;
        left: 0;
        width: 3px;
        border-radius: 0 4px 4px 0;
        background: transparent;
    }

    .sidebar-navigation[b-o9avygl0eq]  .nav-item.active .nav-active-bar {
        background: #FCA522;
        box-shadow: 0 0 9px rgba(252,165,34,.25);
    }


    /* ============================================================
   NAV FOCUS
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-item:focus-visible {
        outline: none;
        border-color: rgba(252,165,34,.45);
        box-shadow: 0 0 0 3px rgba(252,165,34,.08);
    }


    /* ============================================================
   OCULTAMOS EL FOOTER DEL NAVMENU

   El MainLayout ya tiene su propio footer de usuario.
   ============================================================ */

    .sidebar-navigation[b-o9avygl0eq]  .nav-footer {
        display: none;
    }


/* ============================================================
   SIDEBAR FOOTER
   ============================================================ */

.sidebar-footer[b-o9avygl0eq] {
    flex-shrink: 0;
    padding: 13px 13px 15px;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(0,0,0,.07);
}

.sidebar-footer-label[b-o9avygl0eq] {
    margin: 0 9px 7px;
    color: #607492;
    font-size: 7px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
}


/* ============================================================
   USER CARD
   ============================================================ */

.user-card[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 53px;
    padding: 8px 9px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
}

.user-avatar[b-o9avygl0eq] {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 900;
}

.user-info[b-o9avygl0eq] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .user-info strong[b-o9avygl0eq] {
        overflow: hidden;
        color: #FFFFFF;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-info span[b-o9avygl0eq] {
        margin-top: 4px;
        overflow: hidden;
        color: #8FA1BD;
        font-size: 8px;
        line-height: 1.1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.user-status[b-o9avygl0eq] {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .user-status span[b-o9avygl0eq] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #46A477;
        box-shadow: 0 0 0 3px rgba(70,164,119,.10);
    }


/* ============================================================
   APP CONTENT
   ============================================================ */

.app-content[b-o9avygl0eq] {
    width: calc(100% - 260px);
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-left: 260px;
    background: #F6F8FC;
}


/* ============================================================
   HEADER
   ============================================================ */

.app-header[b-o9avygl0eq] {
    position: sticky;
    z-index: 80;
    top: 0;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 28px;
    border-bottom: 1px solid #E5E9F0;
    background: rgba(255,255,255,.94);
    box-shadow: 0 2px 10px rgba(0, 32, 96, .025);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ============================================================
   HEADER LEFT
   ============================================================ */

.header-left[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-system-icon[b-o9avygl0eq] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 9px;
    background: #EEF3FB;
    color: #003B95;
}

    .header-system-icon svg[b-o9avygl0eq] {
        width: 16px;
        height: 16px;
    }

.header-system-copy[b-o9avygl0eq] {
    display: flex;
    flex-direction: column;
}

.page-system[b-o9avygl0eq] {
    color: #00143D;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: .9px;
}

.header-system-copy small[b-o9avygl0eq] {
    margin-top: 3px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1;
}


/* ============================================================
   HEADER RIGHT
   ============================================================ */

.header-right[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.system-online[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 8px;
    font-weight: 750;
}

.online-dot[b-o9avygl0eq] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2F6B4F;
    box-shadow: 0 0 0 3px rgba(47,107,79,.08);
}

.header-separator[b-o9avygl0eq] {
    width: 1px;
    height: 26px;
    background: #E5E9F0;
}


/* ============================================================
   HEADER USER
   ============================================================ */

.header-user[b-o9avygl0eq] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-user-avatar[b-o9avygl0eq] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 3px 7px rgba(0,32,96,.13);
}

.header-user-copy[b-o9avygl0eq] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .header-user-copy strong[b-o9avygl0eq] {
        max-width: 150px;
        overflow: hidden;
        color: #344054;
        font-size: 9px;
        line-height: 1.1;
        font-weight: 850;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-user-copy span[b-o9avygl0eq] {
        max-width: 150px;
        margin-top: 3px;
        overflow: hidden;
        color: #98A2B3;
        font-size: 7px;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   MAIN
   ============================================================ */

.app-main[b-o9avygl0eq] {
    min-width: 0;
    flex: 1;
    background: radial-gradient( circle at 100% 0%, rgba(13,59,143,.025), transparent 30% ), #F6F8FC;
}

.main-container[b-o9avygl0eq] {
    width: 100%;
    min-height: calc(100vh - 64px);
    margin: 0 auto;
}


/* ============================================================
   RESPONSIVE · TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .sidebar[b-o9avygl0eq] {
        width: 225px;
    }

    .app-content[b-o9avygl0eq] {
        width: calc(100% - 225px);
        margin-left: 225px;
    }

    .brand-text small[b-o9avygl0eq] {
        max-width: 125px;
    }

    .sidebar-navigation[b-o9avygl0eq]  .nav-text {
        font-size: 10px;
    }
}


/* ============================================================
   RESPONSIVE · MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .sidebar[b-o9avygl0eq] {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 5px 18px rgba(0,20,61,.10);
    }

    .app-shell[b-o9avygl0eq] {
        flex-direction: column;
    }

    .sidebar-header[b-o9avygl0eq] {
        min-height: 72px;
        padding: 13px 16px;
    }

    .brand-mark[b-o9avygl0eq] {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
    }

        .brand-mark span[b-o9avygl0eq] {
            font-size: 17px;
        }

    .sidebar-divider[b-o9avygl0eq] {
        width: calc(100% - 30px);
    }

    .sidebar-navigation[b-o9avygl0eq] {
        overflow: visible;
        padding: 0;
    }

        .sidebar-navigation[b-o9avygl0eq]  .nav-menu {
            display: block;
            padding: 12px;
        }

        .sidebar-navigation[b-o9avygl0eq]  .nav-section {
            margin-bottom: 12px;
        }

        .sidebar-navigation[b-o9avygl0eq]  .nav-section-title {
            margin-bottom: 4px;
        }

        .sidebar-navigation[b-o9avygl0eq]  .nav-item {
            min-height: 42px;
        }

    .sidebar-footer[b-o9avygl0eq] {
        display: none;
    }

    .app-content[b-o9avygl0eq] {
        width: 100%;
        min-height: auto;
        margin-left: 0;
    }

    .app-header[b-o9avygl0eq] {
        min-height: 58px;
        padding: 0 15px;
    }

    .header-system-copy small[b-o9avygl0eq] {
        display: none;
    }

    .system-online[b-o9avygl0eq],
    .header-separator[b-o9avygl0eq] {
        display: none;
    }

    .main-container[b-o9avygl0eq] {
        min-height: calc(100vh - 58px);
    }
}


/* ============================================================
   MOBILE PEQUEÑO
   ============================================================ */

@media (max-width: 480px) {

    .app-header[b-o9avygl0eq] {
        padding: 0 12px;
    }

    .header-user-copy[b-o9avygl0eq] {
        display: none;
    }

    .header-system-icon[b-o9avygl0eq] {
        width: 29px;
        height: 29px;
    }

    .header-user-avatar[b-o9avygl0eq] {
        width: 29px;
        height: 29px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   NAV MENU · MAN / AMovAN
   ============================================================ */

.nav-menu[b-upaebf4np8] {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 12px 14px;
    background: #FFFFFF;
    font-family: inherit;
}


/* ============================================================
   SECCIONES
   ============================================================ */

.nav-section[b-upaebf4np8] {
    margin-bottom: 20px;
}

.nav-section-title[b-upaebf4np8] {
    display: flex;
    align-items: center;
    min-height: 24px;
    padding: 0 11px;
    margin-bottom: 5px;
}

    .nav-section-title span[b-upaebf4np8] {
        color: #98A2B3;
        font-size: 9px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 1.25px;
    }


/* ============================================================
   ITEM
   ============================================================ */

.nav-item[b-upaebf4np8] {
    position: relative;
    width: 100%;
    min-height: 46px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 3px;
    padding: 7px 11px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #667085;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}


/* ============================================================
   ICONO
   ============================================================ */

.nav-icon[b-upaebf4np8] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: transparent;
    color: #7A8799;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

    .nav-icon svg[b-upaebf4np8] {
        width: 18px;
        height: 18px;
        display: block;
    }


/* ============================================================
   TEXTO
   ============================================================ */

.nav-text[b-upaebf4np8] {
    min-width: 0;
    color: inherit;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
    transition: color .16s ease;
}


/* ============================================================
   HOVER
   ============================================================ */

.nav-item:hover[b-upaebf4np8] {
    border-color: #E7ECF3;
    background: #F7F9FC;
    color: #002060;
    text-decoration: none;
}

    .nav-item:hover .nav-icon[b-upaebf4np8] {
        background: #EEF3FB;
        color: #003B95;
        transform: translateX(1px);
    }


/* ============================================================
   ACTIVO
   ============================================================ */

.nav-item.active[b-upaebf4np8] {
    border-color: #DCE6F5;
    background: #EEF3FB;
    color: #002060;
    box-shadow: 0 2px 8px rgba(0, 32, 96, .04);
}

    .nav-item.active .nav-icon[b-upaebf4np8] {
        background: #002060;
        color: #FFFFFF;
        box-shadow: 0 3px 7px rgba(0, 32, 96, .18);
    }

    .nav-item.active .nav-text[b-upaebf4np8] {
        color: #00143D;
        font-weight: 800;
    }


/* ============================================================
   BARRA NARANJA DEL ACTIVO
   ============================================================ */

.nav-active-bar[b-upaebf4np8] {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: transparent;
    transition: background-color .16s ease;
}

.nav-item.active .nav-active-bar[b-upaebf4np8] {
    background: #FCA522;
}


/* ============================================================
   FOCUS / ACCESIBILIDAD
   ============================================================ */

.nav-item:focus-visible[b-upaebf4np8] {
    outline: none;
    border-color: #0D3B8F;
    box-shadow: 0 0 0 3px rgba(13, 59, 143, .10);
}


/* ============================================================
   FOOTER
   ============================================================ */

.nav-footer[b-upaebf4np8] {
    margin-top: auto;
    padding-top: 10px;
}

.nav-footer-line[b-upaebf4np8] {
    width: calc(100% - 14px);
    height: 1px;
    margin: 0 auto 13px;
    background: #EEF1F5;
}

.nav-system[b-upaebf4np8] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 11px;
    background: #FAFBFC;
}

.nav-system-icon[b-upaebf4np8] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 3px 7px rgba(0, 32, 96, .17);
}

.nav-system-info[b-upaebf4np8] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .nav-system-info strong[b-upaebf4np8] {
        color: #00143D;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: .4px;
    }

    .nav-system-info span[b-upaebf4np8] {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 3px;
        color: #98A2B3;
        font-size: 7px;
        line-height: 1;
        font-weight: 700;
    }

    .nav-system-info i[b-upaebf4np8] {
        width: 5px;
        height: 5px;
        display: block;
        border-radius: 50%;
        background: #2F6B4F;
    }


/* ============================================================
   SCROLL
   ============================================================ */

.nav-menu[b-upaebf4np8] {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #D9E0EA transparent;
}

    .nav-menu[b-upaebf4np8]::-webkit-scrollbar {
        width: 5px;
    }

    .nav-menu[b-upaebf4np8]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-menu[b-upaebf4np8]::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #D9E0EA;
    }


/* ============================================================
   PANTALLAS PEQUEÑAS
   ============================================================ */

@media (max-width: 640px) {

    .nav-menu[b-upaebf4np8] {
        padding: 16px 10px;
    }

    .nav-section[b-upaebf4np8] {
        margin-bottom: 16px;
    }

    .nav-item[b-upaebf4np8] {
        min-height: 44px;
    }
}
/* /Pages/Activos.razor.rz.scp.css */
/* ============================================================
   ACTIVOS
   ============================================================ */

.activos-page[b-wuemfsqowd] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-wuemfsqowd] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #EEF3FB;
    border: 1px solid #DCE6F5;
    color: #002060;
    font-size: 23px;
    font-weight: 900;
}

.page-eyebrow[b-wuemfsqowd] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-wuemfsqowd] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-wuemfsqowd] {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-wuemfsqowd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 13px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #E5E9F0;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-wuemfsqowd] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   ESTADÍSTICAS
   ============================================================ */

.stats-grid[b-wuemfsqowd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    background: #FFFFFF;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.045);
}

.stat-icon[b-wuemfsqowd] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-wuemfsqowd] {
    color: #003B95;
    background: #EEF3FB;
}

.stat-icon-green[b-wuemfsqowd] {
    color: #2F6B4F;
    background: #EEF8F2;
}

.stat-icon-orange[b-wuemfsqowd] {
    color: #A86400;
    background: #FFF4E3;
}

.stat-icon-gray[b-wuemfsqowd] {
    color: #667085;
    background: #F2F4F7;
}

.stat-content[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-wuemfsqowd] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.stat-content strong[b-wuemfsqowd] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-wuemfsqowd] {
    margin-top: 3px;
    overflow: hidden;
    color: #98A2B3;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   FORMULARIO
   ============================================================ */

.form-card[b-wuemfsqowd] {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DCE3ED;
    border-radius: 19px;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

    .form-card[b-wuemfsqowd]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #FCA522;
        z-index: 2;
    }

    .form-card summary[b-wuemfsqowd] {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 22px;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

        .form-card summary[b-wuemfsqowd]::-webkit-details-marker {
            display: none;
        }

        .form-card summary:hover[b-wuemfsqowd] {
            background: #FBFCFE;
        }

.summary-left[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.summary-icon[b-wuemfsqowd] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
}

.summary-copy[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.summary-eyebrow[b-wuemfsqowd] {
    margin-bottom: 3px;
    color: #0D3B8F !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
}

.summary-copy strong[b-wuemfsqowd] {
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.summary-copy > span:last-child[b-wuemfsqowd] {
    margin-top: 3px;
    color: #667085;
    font-size: 10px;
}

.summary-right[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editing-badge[b-wuemfsqowd] {
    padding: 5px 8px;
    border-radius: 999px;
    background: #FFF4E3;
    color: #8A5700;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.summary-arrow[b-wuemfsqowd] {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #F6F8FC;
    border: 1px solid #E5E9F0;
    color: #667085;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.form-card[open] .summary-arrow[b-wuemfsqowd] {
    transform: rotate(180deg);
}


/* ============================================================
   CONTENIDO FORM
   ============================================================ */

.form-content[b-wuemfsqowd] {
    padding: 22px;
    border-top: 1px solid #EEF1F5;
    background: #FBFCFE;
}

.form-section-header[b-wuemfsqowd] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

    .form-section-header span[b-wuemfsqowd] {
        display: block;
        margin-bottom: 3px;
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .form-section-header h3[b-wuemfsqowd] {
        margin: 0;
        color: #00143D;
        font-size: 16px;
        font-weight: 900;
    }

    .form-section-header p[b-wuemfsqowd] {
        max-width: 330px;
        margin: 0;
        color: #98A2B3;
        font-size: 10px;
        line-height: 1.5;
        text-align: right;
    }


/* ============================================================
   CAMPOS
   ============================================================ */

.form-grid[b-wuemfsqowd] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.form-field[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.form-field-wide[b-wuemfsqowd] {
    grid-column: 1 / -1;
}

.form-field label[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.optional[b-wuemfsqowd] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.catalog-input[b-wuemfsqowd] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .catalog-input[b-wuemfsqowd]::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-wuemfsqowd] {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-wuemfsqowd] {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }

.catalog-textarea[b-wuemfsqowd] {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}


/* ============================================================
   ACCIONES FORMULARIO
   ============================================================ */

.form-actions[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 21px;
    padding-top: 17px;
    border-top: 1px solid #E7EBF1;
}

.form-actions-info[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 9px;
}

.info-dot[b-wuemfsqowd] {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #FCA522;
}

.form-buttons[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.btn-primary[b-wuemfsqowd],
.btn-secondary[b-wuemfsqowd],
.btn-edit[b-wuemfsqowd],
.btn-delete[b-wuemfsqowd] {
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary[b-wuemfsqowd] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: none;
    border-radius: 10px;
    background: #002060;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 4px 9px rgba(0, 32, 96, 0.18);
}

    .btn-primary:hover:not(:disabled)[b-wuemfsqowd] {
        background: #00194D;
        transform: translateY(-1px);
        box-shadow: 0 6px 13px rgba(0, 32, 96, 0.22);
    }

    .btn-primary:disabled[b-wuemfsqowd] {
        cursor: not-allowed;
        opacity: 0.55;
        box-shadow: none;
    }

.button-arrow[b-wuemfsqowd] {
    font-size: 15px;
    line-height: 1;
}

.btn-secondary[b-wuemfsqowd] {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

    .btn-secondary:hover[b-wuemfsqowd] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

.button-spinner[b-wuemfsqowd] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-wuemfsqowd 0.7s linear infinite;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-wuemfsqowd] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-wuemfsqowd] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-wuemfsqowd] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-wuemfsqowd] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-wuemfsqowd] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   TABLA CARD
   ============================================================ */

.table-card[b-wuemfsqowd] {
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.045);
}

.table-card-header[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-wuemfsqowd] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-wuemfsqowd] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-wuemfsqowd] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

.table-total[b-wuemfsqowd] {
    min-width: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 11px;
    background: #F6F8FC;
    border: 1px solid #E5E9F0;
}

    .table-total strong[b-wuemfsqowd] {
        color: #00143D;
        font-size: 17px;
        font-weight: 900;
    }

    .table-total span[b-wuemfsqowd] {
        margin-top: 1px;
        color: #98A2B3;
        font-size: 8px;
        font-weight: 800;
        text-transform: uppercase;
    }


/* ============================================================
   TABLA
   ============================================================ */

.table-wrapper[b-wuemfsqowd] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-wuemfsqowd] {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

    .catalog-table thead[b-wuemfsqowd] {
        background: #F8FAFC;
    }

    .catalog-table th[b-wuemfsqowd] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 0.7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-wuemfsqowd] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-wuemfsqowd] {
        border-bottom: none;
    }

    .catalog-table tbody tr[b-wuemfsqowd] {
        transition: background-color 0.15s ease;
    }

        .catalog-table tbody tr:hover[b-wuemfsqowd] {
            background: #FBFCFE;
        }


/* ============================================================
   ACTIVO
   ============================================================ */

.asset-cell[b-wuemfsqowd] {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.asset-icon[b-wuemfsqowd] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #EEF3FB;
    border: 1px solid #DCE6F5;
    color: #003B95;
    font-size: 14px;
    font-weight: 900;
}

.asset-info[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .asset-info strong[b-wuemfsqowd] {
        overflow: hidden;
        color: #101828;
        font-size: 11px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .asset-info span[b-wuemfsqowd] {
        margin-top: 3px;
        overflow: hidden;
        color: #98A2B3;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   IDENTIFICACIÓN
   ============================================================ */

.identity-cell[b-wuemfsqowd] {
    min-width: 130px;
    display: flex;
    flex-direction: column;
}

    .identity-cell strong[b-wuemfsqowd] {
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

    .identity-cell span[b-wuemfsqowd] {
        margin-top: 3px;
        color: #98A2B3;
        font-size: 9px;
    }


/* ============================================================
   UBICACIÓN
   ============================================================ */

.location-badge[b-wuemfsqowd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 9px;
    font-weight: 800;
}

.location-icon[b-wuemfsqowd] {
    color: #FCA522;
    font-size: 12px;
}

.location-empty[b-wuemfsqowd] {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 8px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 9px;
    font-weight: 700;
}


/* ============================================================
   ESTADOS
   ============================================================ */

.status-badge[b-wuemfsqowd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.status-dot[b-wuemfsqowd] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active[b-wuemfsqowd] {
    background: #EEF8F2;
    color: #2F6B4F;
}

    .status-active .status-dot[b-wuemfsqowd] {
        background: #2F6B4F;
    }

.status-warning[b-wuemfsqowd] {
    background: #FFF4E3;
    color: #8A5700;
}

    .status-warning .status-dot[b-wuemfsqowd] {
        background: #FCA522;
    }

.status-inactive[b-wuemfsqowd] {
    background: #F2F4F7;
    color: #667085;
}

    .status-inactive .status-dot[b-wuemfsqowd] {
        background: #98A2B3;
    }


/* ============================================================
   ACCIONES DE TABLA
   ============================================================ */

.actions-column[b-wuemfsqowd] {
    text-align: right !important;
}

.row-actions[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.btn-edit[b-wuemfsqowd],
.btn-delete[b-wuemfsqowd] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.btn-edit[b-wuemfsqowd] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

    .btn-edit:hover[b-wuemfsqowd] {
        border-color: #BFCFE8;
        background: #E3EBF7;
    }

.btn-delete[b-wuemfsqowd] {
    border: 1px solid #FFD4D8;
    background: #FFF1F2;
    color: #B4232B;
}

    .btn-delete:hover[b-wuemfsqowd] {
        border-color: #F5B8BE;
        background: #FFE6E8;
    }


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-wuemfsqowd],
.empty-state[b-wuemfsqowd] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-wuemfsqowd] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-wuemfsqowd 0.75s linear infinite;
}

.loading-state span[b-wuemfsqowd] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-wuemfsqowd] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 20px;
    font-weight: 900;
}

.empty-state h3[b-wuemfsqowd] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-wuemfsqowd] {
    max-width: 330px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   ESTADO REDIRECCIÓN
   ============================================================ */

.page-state-card[b-wuemfsqowd] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

.state-icon[b-wuemfsqowd] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
    font-weight: 900;
}

.page-state-card h3[b-wuemfsqowd] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.page-state-card p[b-wuemfsqowd] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMACIONES
   ============================================================ */

@keyframes spin-b-wuemfsqowd {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .stats-grid[b-wuemfsqowd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid[b-wuemfsqowd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 700px) {

    .activos-page[b-wuemfsqowd] {
        padding: 18px 14px;
    }

    .page-header[b-wuemfsqowd] {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header-main[b-wuemfsqowd] {
        align-items: flex-start;
    }

    .page-title-icon[b-wuemfsqowd] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .page-header h1[b-wuemfsqowd] {
        font-size: 25px;
    }

    .page-counter[b-wuemfsqowd] {
        margin-left: 60px;
    }


    /* MÉTRICAS */

    .stats-grid[b-wuemfsqowd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .stat-card[b-wuemfsqowd] {
        align-items: flex-start;
        padding: 13px;
        gap: 9px;
    }

    .stat-icon[b-wuemfsqowd] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        border-radius: 10px;
        font-size: 14px;
    }

    .stat-content strong[b-wuemfsqowd] {
        font-size: 19px;
    }

    .stat-content small[b-wuemfsqowd] {
        white-space: normal;
    }


    /* FORM */

    .form-card summary[b-wuemfsqowd] {
        padding: 18px 15px;
    }

    .summary-right .editing-badge[b-wuemfsqowd] {
        display: none;
    }

    .form-content[b-wuemfsqowd] {
        padding: 17px 15px;
    }

    .form-section-header[b-wuemfsqowd] {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

        .form-section-header p[b-wuemfsqowd] {
            max-width: none;
            text-align: left;
        }

    .form-grid[b-wuemfsqowd] {
        grid-template-columns: 1fr;
    }

    .form-field-wide[b-wuemfsqowd] {
        grid-column: auto;
    }

    .form-actions[b-wuemfsqowd] {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions-info[b-wuemfsqowd] {
        line-height: 1.5;
    }

    .form-buttons[b-wuemfsqowd] {
        width: 100%;
        flex-direction: column-reverse;
    }

    .btn-primary[b-wuemfsqowd],
    .btn-secondary[b-wuemfsqowd] {
        width: 100%;
    }


    /* TABLA */

    .table-card-header[b-wuemfsqowd] {
        align-items: flex-start;
        padding: 17px 15px;
    }

    .table-total[b-wuemfsqowd] {
        min-width: 55px;
    }

    .catalog-table th[b-wuemfsqowd],
    .catalog-table td[b-wuemfsqowd] {
        padding-left: 13px;
        padding-right: 13px;
    }
}


/* ============================================================
   MÓVIL PEQUEÑO
   ============================================================ */

@media (max-width: 430px) {

    .stats-grid[b-wuemfsqowd] {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card[b-wuemfsqowd] {
        flex-direction: column;
    }

    .page-counter[b-wuemfsqowd] {
        margin-left: 0;
    }

    .summary-copy > span:last-child[b-wuemfsqowd] {
        display: none;
    }
}
/* ==========================================================================
   AGREGAR AL FINAL DE Activos.razor.css
   (va al final para que gane sobre reglas anteriores con el mismo nombre)

   Después de pegarlo puedes BORRAR de Activos.razor.css lo que ya no se usa:
   .form-card, summary, .summary-*, .editing-badge, .form-content,
   .form-section-header, .form-grid, .form-field, .form-actions*,
   .form-buttons, .btn-primary, .btn-secondary, .button-arrow, .table-total
   ========================================================================== */


/* ============================================================
   HEADER - ACCIONES
   ============================================================ */

.page-header-actions[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-new[b-wuemfsqowd] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 32, 96, 0.17);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .btn-new:hover[b-wuemfsqowd] {
        transform: translateY(-1px);
        box-shadow: 0 11px 23px rgba(0, 32, 96, 0.23);
    }

    .btn-new:active[b-wuemfsqowd] {
        transform: translateY(0);
    }

.btn-new-icon[b-wuemfsqowd] {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.13);
    color: #FCA522;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}


.btn-edit[b-wuemfsqowd],
.btn-delete[b-wuemfsqowd] {
    font-family: inherit;
    cursor: pointer;
}


.empty-action[b-wuemfsqowd] {
    min-height: 36px;
    margin-top: 15px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   MODAL - FONDO
   ============================================================ */

.modal-backdrop[b-wuemfsqowd] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 20, 61, 0.55);
    backdrop-filter: blur(3px);
    animation: modal-fade-in-b-wuemfsqowd 0.16s ease;
}

@keyframes modal-fade-in-b-wuemfsqowd {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ============================================================
   MODAL - CONTENEDOR
   ============================================================ */

.asset-modal[b-wuemfsqowd] {
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 28px 70px rgba(0, 20, 61, 0.28);
    animation: modal-enter-b-wuemfsqowd 0.18s ease;
}

    /* EditForm renderiza un <form> (componente hijo): ::deep para alcanzarlo. */
    .asset-modal[b-wuemfsqowd]  form {
        min-height: 0;
        display: flex;
        flex: 1;
        flex-direction: column;
    }

@keyframes modal-enter-b-wuemfsqowd {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ============================================================
   MODAL - CABECERA
   ============================================================ */

.modal-header[b-wuemfsqowd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 18px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.modal-title-area[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-icon[b-wuemfsqowd] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 900;
}

.modal-eyebrow[b-wuemfsqowd] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.modal-header h2[b-wuemfsqowd] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.modal-header p[b-wuemfsqowd] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
}

.modal-close[b-wuemfsqowd] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #FFFFFF;
    color: #667085;
    font-family: inherit;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

    .modal-close:hover:not(:disabled)[b-wuemfsqowd] {
        background: #FFF1F2;
        color: #E5232E;
    }


/* ============================================================
   MODAL - CUERPO
   ============================================================ */

.modal-body[b-wuemfsqowd] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 21px;
    overflow-y: auto;
    background: #FBFCFE;
}

.modal-grid[b-wuemfsqowd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.modal-field-wide[b-wuemfsqowd] {
    grid-column: 1 / -1;
}

.modal-form-field[b-wuemfsqowd] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .modal-form-field > label:first-child[b-wuemfsqowd] {
        margin-bottom: 7px;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.optional[b-wuemfsqowd] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-help[b-wuemfsqowd] {
    margin-top: -3px;
    margin-bottom: 7px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1.4;
}


/* ============================================================
   INPUTS
   InputText / InputCheckbox son componentes hijos: su <input>
   no recibe el atributo de aislamiento CSS, por eso ::deep.
   ============================================================ */

.catalog-input[b-wuemfsqowd],
[b-wuemfsqowd] .catalog-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .catalog-input[b-wuemfsqowd]::placeholder,
    [b-wuemfsqowd] .catalog-input::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-wuemfsqowd],
    [b-wuemfsqowd] .catalog-input:hover {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-wuemfsqowd],
    [b-wuemfsqowd] .catalog-input:focus {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }


/* ============================================================
   MODAL - ERROR
   ============================================================ */

.modal-error[b-wuemfsqowd] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    border: 1px solid #FFD4D8;
    border-radius: 10px;
    background: #FFF1F2;
}

.modal-error-icon[b-wuemfsqowd] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #E5232E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
}

.modal-error > div:last-child[b-wuemfsqowd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-error strong[b-wuemfsqowd] {
    color: #B4232B;
    font-size: 9px;
    font-weight: 900;
}

.modal-error span[b-wuemfsqowd] {
    color: #A43A42;
    font-size: 9px;
    line-height: 1.4;
    word-break: break-word;
}


/* ============================================================
   MODAL - PIE
   ============================================================ */

.modal-footer[b-wuemfsqowd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 20px;
    border-top: 1px solid #EEF1F5;
    background: #FFFFFF;
}

.btn-modal-cancel[b-wuemfsqowd],
.btn-modal-save[b-wuemfsqowd] {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-modal-cancel[b-wuemfsqowd] {
    border: 1px solid #D9E0EA;
    background: #FFFFFF;
    color: #344054;
}

    .btn-modal-cancel:hover:not(:disabled)[b-wuemfsqowd] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

.btn-modal-save[b-wuemfsqowd] {
    min-width: 140px;
    border: 0;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    box-shadow: 0 7px 16px rgba(0, 32, 96, 0.16);
}

    .btn-modal-save:hover:not(:disabled)[b-wuemfsqowd] {
        transform: translateY(-1px);
        box-shadow: 0 10px 21px rgba(0, 32, 96, 0.22);
    }

    .btn-modal-cancel:disabled[b-wuemfsqowd],
    .btn-modal-save:disabled[b-wuemfsqowd],
    .modal-close:disabled[b-wuemfsqowd] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.save-arrow[b-wuemfsqowd] {
    color: #FCA522;
    font-size: 14px;
}

.button-spinner[b-wuemfsqowd] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-wuemfsqowd 0.7s linear infinite;
}

/* InputTextArea: más alto y redimensionable solo en vertical. */
.catalog-textarea[b-wuemfsqowd],
[b-wuemfsqowd] .catalog-textarea {
    min-height: 92px;
    resize: vertical;
    line-height: 1.45;
}

.catalog-input:disabled[b-wuemfsqowd],
[b-wuemfsqowd] .catalog-input:disabled {
    background: #F2F4F7;
    color: #98A2B3;
    cursor: not-allowed;
}


/* ============================================================
   BUSCADOR DE LA TABLA
   ============================================================ */

.table-search[b-wuemfsqowd] {
    position: relative;
    width: min(340px, 100%);
}

.table-search-icon[b-wuemfsqowd] {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #98A2B3;
    font-size: 14px;
    pointer-events: none;
}

.table-search-input[b-wuemfsqowd] {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 12px 0 33px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    outline: none;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 11px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .table-search-input[b-wuemfsqowd]::placeholder {
        color: #B0B8C5;
    }

    .table-search-input:focus[b-wuemfsqowd] {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }


/* ============================================================
   RESPONSIVO (piezas nuevas)
   ============================================================ */

@media (max-width: 700px) {

    .page-header-actions[b-wuemfsqowd] {
        width: 100%;
    }

    .page-counter[b-wuemfsqowd],
    .btn-new[b-wuemfsqowd] {
        flex: 1;
        justify-content: center;
    }

    .table-card-header[b-wuemfsqowd] {
        flex-direction: column;
        align-items: stretch;
    }

    .table-search[b-wuemfsqowd] {
        width: 100%;
    }

    .modal-backdrop[b-wuemfsqowd] {
        align-items: flex-end;
        padding: 10px;
    }

    .asset-modal[b-wuemfsqowd] {
        width: 100%;
        max-height: 92vh;
        border-radius: 19px 19px 13px 13px;
    }

    .modal-grid[b-wuemfsqowd] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {

    .page-header-actions[b-wuemfsqowd] {
        flex-direction: column;
    }

    .page-counter[b-wuemfsqowd],
    .btn-new[b-wuemfsqowd] {
        width: 100%;
    }

    .modal-header[b-wuemfsqowd],
    .modal-body[b-wuemfsqowd] {
        padding: 17px;
    }

    .modal-footer[b-wuemfsqowd] {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 13px 17px;
    }

    .btn-modal-cancel[b-wuemfsqowd],
    .btn-modal-save[b-wuemfsqowd] {
        width: 100%;
    }
}
/* /Pages/ConPermiso.razor.rz.scp.css */
.sin-permiso[b-edtnibfkwu] {
    max-width: 460px;
    margin: 80px auto;
    padding: 40px 32px;
    border: 1px solid #E1E6EE;
    border-radius: 18px;
    background: #FFFFFF;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 32, 96, .08);
    font-family: "Segoe UI", Arial, sans-serif;
}

.sin-permiso-icono[b-edtnibfkwu] {
    width: 50px;
    height: 50px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(229, 35, 46, .08);
    color: #E5232E;
    font-size: 23px;
    font-weight: 800;
}

.sin-permiso h2[b-edtnibfkwu] {
    margin: 0 0 8px;
    color: #00143D;
    font-size: 21px;
}

.sin-permiso p[b-edtnibfkwu] {
    margin: 0;
    color: #697386;
    font-size: 13px;
    line-height: 1.6;
}

.sin-permiso code[b-edtnibfkwu] {
    padding: 2px 6px;
    border-radius: 6px;
    background: #F1F4F9;
    color: #002060;
    font-size: 12px;
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* ============================================================
   DASHBOARD
   ============================================================ */

.dashboard-page[b-sghcgsk7i0] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-sghcgsk7i0] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 24px;
    font-weight: 900;
}

.page-eyebrow[b-sghcgsk7i0] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-sghcgsk7i0] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-sghcgsk7i0] {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-sghcgsk7i0] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-sghcgsk7i0] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-sghcgsk7i0] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-sghcgsk7i0] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-sghcgsk7i0] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-sghcgsk7i0] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-sghcgsk7i0],
.empty-state[b-sghcgsk7i0] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-sghcgsk7i0] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-sghcgsk7i0 0.75s linear infinite;
}

.loading-state span[b-sghcgsk7i0] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-sghcgsk7i0] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
    font-weight: 900;
}

.empty-state h3[b-sghcgsk7i0] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-sghcgsk7i0] {
    max-width: 350px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   REDIRECCIÓN
   ============================================================ */

.page-state-card[b-sghcgsk7i0] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

.state-icon[b-sghcgsk7i0] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
    font-weight: 900;
}

.page-state-card h3[b-sghcgsk7i0] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.page-state-card p[b-sghcgsk7i0] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMACIÓN
   ============================================================ */

@keyframes spin-b-sghcgsk7i0 {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   ACCIONES DEL ENCABEZADO
   ============================================================ */

.page-header-actions[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-refresh[b-sghcgsk7i0] {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid #D9E0EA;
    border-radius: 11px;
    background: #FFFFFF;
    color: #344054;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

    .btn-refresh:hover:not(:disabled)[b-sghcgsk7i0] {
        border-color: #BFCFE8;
        background: #F8FAFC;
    }

    .btn-refresh:disabled[b-sghcgsk7i0] {
        opacity: 0.6;
        cursor: progress;
    }


/* ============================================================
   INDICADORES
   ============================================================ */

.kpi-grid[b-sghcgsk7i0] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.kpi-card[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid #E5E9F0;
    border-left: 4px solid #D0D5DD;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 32, 96, 0.035);
}

.kpi-label[b-sghcgsk7i0] {
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.kpi-card strong[b-sghcgsk7i0] {
    color: #00143D;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.kpi-card small[b-sghcgsk7i0] {
    color: #98A2B3;
    font-size: 9px;
    line-height: 1.4;
}

.kpi-danger[b-sghcgsk7i0] {
    border-left-color: #E5232E;
}

    .kpi-danger strong[b-sghcgsk7i0] {
        color: #B4232B;
    }

.kpi-warning[b-sghcgsk7i0] {
    border-left-color: #FCA522;
}

    .kpi-warning strong[b-sghcgsk7i0] {
        color: #B54708;
    }

.kpi-blue[b-sghcgsk7i0] {
    border-left-color: #003B95;
}

    .kpi-blue strong[b-sghcgsk7i0] {
        color: #003B95;
    }

.kpi-success[b-sghcgsk7i0] {
    border-left-color: #2F6B4F;
}

    .kpi-success strong[b-sghcgsk7i0] {
        color: #2F6B4F;
    }

.kpi-neutral[b-sghcgsk7i0] {
    border-left-color: #98A2B3;
}

/* Hay vencidas: la tarjeta se marca completa. */
.kpi-card.is-alert[b-sghcgsk7i0] {
    border-color: #FFD4D8;
    border-left-color: #E5232E;
    background: #FFF7F8;
}


/* ============================================================
   FILAS Y TARJETAS
   ============================================================ */

.dash-row[b-sghcgsk7i0] {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.dash-row-main[b-sghcgsk7i0] {
    grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr);
}

.dash-row-three[b-sghcgsk7i0] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-card[b-sghcgsk7i0] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 32, 96, 0.035);
}

.dash-card-header[b-sghcgsk7i0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dash-eyebrow[b-sghcgsk7i0] {
    display: block;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.dash-card-header h2[b-sghcgsk7i0] {
    margin: 3px 0 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.dash-select[b-sghcgsk7i0] {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #D9E0EA;
    border-radius: 9px;
    background: #FFFFFF;
    color: #344054;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}


/* ============================================================
   TABLAS
   ============================================================ */

.table-wrapper[b-sghcgsk7i0] {
    width: 100%;
    overflow-x: auto;
}

.dash-table[b-sghcgsk7i0] {
    width: 100%;
    border-collapse: collapse;
}

    .dash-table th[b-sghcgsk7i0] {
        padding: 9px 10px;
        border-bottom: 1px solid #EEF1F5;
        background: #F8FAFC;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 0.6px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .dash-table td[b-sghcgsk7i0] {
        padding: 9px 10px;
        border-bottom: 1px solid #F2F4F7;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .dash-table tbody tr:hover[b-sghcgsk7i0] {
        background: #FBFCFE;
    }

    .dash-table .num[b-sghcgsk7i0] {
        text-align: right;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .dash-table .strong[b-sghcgsk7i0] {
        color: #00143D;
        font-weight: 900;
    }

    .dash-table .danger[b-sghcgsk7i0] {
        color: #B4232B;
        font-weight: 900;
    }

.row-muted td[b-sghcgsk7i0] {
    background: #FAFAFB;
    color: #98A2B3;
}


/* ÁREAS */

.area-cell[b-sghcgsk7i0] {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.area-name[b-sghcgsk7i0] {
    color: #00143D;
    font-weight: 800;
}

.row-muted .area-name[b-sghcgsk7i0] {
    color: #667085;
}

.area-bar[b-sghcgsk7i0] {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: #F2F4F7;
    overflow: hidden;
}

.area-bar-total[b-sghcgsk7i0],
.area-bar-open[b-sghcgsk7i0] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
}

.area-bar-total[b-sghcgsk7i0] {
    background: #BFCFE8;
}

.area-bar-open[b-sghcgsk7i0] {
    background: #FCA522;
}

.area-note[b-sghcgsk7i0] {
    color: #98A2B3;
    font-size: 8px;
    font-style: italic;
}

.dash-legend[b-sghcgsk7i0] {
    display: flex;
    gap: 14px;
    color: #667085;
    font-size: 9px;
}

    .dash-legend i[b-sghcgsk7i0] {
        display: inline-block;
        width: 10px;
        height: 6px;
        margin-right: 4px;
        border-radius: 3px;
        vertical-align: middle;
    }

.legend-total[b-sghcgsk7i0] {
    background: #BFCFE8;
}

.legend-open[b-sghcgsk7i0] {
    background: #FCA522;
}


/* ============================================================
   RESUMEN
   ============================================================ */

.resumen-tasa[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 12px;
    background: #F0F7F3;
}

    .resumen-tasa strong[b-sghcgsk7i0] {
        color: #2F6B4F;
        font-size: 30px;
        font-weight: 900;
        line-height: 1.1;
    }

    .resumen-tasa span[b-sghcgsk7i0] {
        color: #2F6B4F;
        font-size: 10px;
        font-weight: 800;
    }

    .resumen-tasa small[b-sghcgsk7i0] {
        color: #667085;
        font-size: 9px;
    }

.tasa-bar[b-sghcgsk7i0] {
    height: 6px;
    margin: 4px 0;
    border-radius: 999px;
    background: #D7EADF;
    overflow: hidden;
}

    .tasa-bar i[b-sghcgsk7i0] {
        display: block;
        height: 100%;
        background: #2F6B4F;
    }

.resumen-list[b-sghcgsk7i0] {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .resumen-list li[b-sghcgsk7i0] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 0;
        border-bottom: 1px solid #F2F4F7;
        color: #344054;
        font-size: 10px;
    }

    .resumen-list strong[b-sghcgsk7i0] {
        color: #00143D;
        font-size: 13px;
        font-weight: 900;
    }

        .resumen-list strong.warning[b-sghcgsk7i0] {
            color: #B54708;
        }

.resumen-nota[b-sghcgsk7i0] {
    margin: 0;
    padding: 9px 10px;
    border-radius: 9px;
    background: #FFF9EE;
    color: #8A6420;
    font-size: 9px;
    line-height: 1.45;
}


/* ============================================================
   PRIORIDAD
   ============================================================ */

.prio[b-sghcgsk7i0] {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #F2F4F7;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
}

.prio-critical[b-sghcgsk7i0] {
    background: #FFF1F2;
    color: #B4232B;
}

.prio-high[b-sghcgsk7i0] {
    background: #FFF6E5;
    color: #B54708;
}

.prio-medium[b-sghcgsk7i0] {
    background: #EEF3FB;
    color: #003B95;
}


/* ============================================================
   TIPO
   ============================================================ */

.tipo-list[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tipo-item[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .tipo-item > small[b-sghcgsk7i0] {
        color: #98A2B3;
        font-size: 9px;
    }

.tipo-top[b-sghcgsk7i0] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

    .tipo-top strong[b-sghcgsk7i0] {
        color: #00143D;
        font-size: 13px;
    }

        .tipo-top strong small[b-sghcgsk7i0] {
            color: #98A2B3;
            font-size: 9px;
            font-weight: 700;
        }

.tipo-bar[b-sghcgsk7i0] {
    height: 8px;
    border-radius: 999px;
    background: #F2F4F7;
    overflow: hidden;
}

    .tipo-bar i[b-sghcgsk7i0] {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: #98A2B3;
    }

.tipo-corrective i[b-sghcgsk7i0] {
    background: #E5232E;
}

.tipo-preventive i[b-sghcgsk7i0] {
    background: #2F6B4F;
}


/* ============================================================
   RANGO DE FECHAS
   ============================================================ */

.range-bar[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 32, 96, 0.035);
}

.range-month[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-nav[b-sghcgsk7i0] {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #D9E0EA;
    border-radius: 9px;
    background: #FFFFFF;
    color: #002060;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

    .range-nav:hover:not(:disabled)[b-sghcgsk7i0] {
        background: #EEF3FB;
    }

    .range-nav:disabled[b-sghcgsk7i0] {
        opacity: 0.5;
        cursor: progress;
    }

.range-title[b-sghcgsk7i0] {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .range-title span[b-sghcgsk7i0] {
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .range-title strong[b-sghcgsk7i0] {
        color: #00143D;
        font-size: 15px;
        font-weight: 900;
    }

.range-dates[b-sghcgsk7i0] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

    .range-dates label[b-sghcgsk7i0] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #667085;
        font-size: 9px;
        font-weight: 800;
    }

.range-input[b-sghcgsk7i0] {
    height: 34px;
    padding: 0 9px;
    border: 1px solid #D9E0EA;
    border-radius: 9px;
    color: #344054;
    font-family: inherit;
    font-size: 11px;
}

.range-reset[b-sghcgsk7i0] {
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   TÍTULOS DE BLOQUE
   ============================================================ */

.block-title[b-sghcgsk7i0] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 4px 0 10px;
}

    .block-title span[b-sghcgsk7i0] {
        color: #00143D;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 1.2px;
    }

    .block-title small[b-sghcgsk7i0] {
        color: #98A2B3;
        font-size: 10px;
    }

.kpi-purple[b-sghcgsk7i0] {
    border-left-color: #6941C6;
}

    .kpi-purple strong[b-sghcgsk7i0] {
        color: #6941C6;
    }


/* ============================================================
   ABASTECIMIENTO
   ============================================================ */

.abasto-card[b-sghcgsk7i0] {
    margin-bottom: 24px;
}

.abasto-etapas[b-sghcgsk7i0] {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.abasto-etapa[b-sghcgsk7i0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 12px;
}

    .abasto-etapa strong[b-sghcgsk7i0] {
        font-size: 26px;
        font-weight: 900;
        line-height: 1.1;
    }

    .abasto-etapa span[b-sghcgsk7i0] {
        font-size: 10px;
        font-weight: 900;
    }

    .abasto-etapa small[b-sghcgsk7i0] {
        color: #667085;
        font-size: 9px;
    }

.abasto-flecha[b-sghcgsk7i0] {
    display: flex;
    align-items: center;
    color: #B0B8C5;
    font-size: 18px;
}

.etapa-req[b-sghcgsk7i0] {
    background: #FFF6E5;
    color: #B54708;
}

.etapa-oc[b-sghcgsk7i0] {
    background: #F4F3FF;
    color: #5925DC;
}

.etapa-compra[b-sghcgsk7i0] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.etapa-badge[b-sghcgsk7i0] {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.ot-cell[b-sghcgsk7i0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .ot-cell strong[b-sghcgsk7i0] {
        color: #00143D;
        font-size: 10px;
        font-weight: 900;
    }

    .ot-cell span[b-sghcgsk7i0] {
        color: #667085;
        font-size: 9px;
    }

.abasto-nota[b-sghcgsk7i0] {
    color: #98A2B3;
    font-size: 9px;
}

.ok-nota[b-sghcgsk7i0] {
    background: #F0F7F3;
    color: #2F6B4F;
}


/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1200px) {

    .dash-row-three[b-sghcgsk7i0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {

    .kpi-grid[b-sghcgsk7i0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-row-main[b-sghcgsk7i0],
    .dash-row-three[b-sghcgsk7i0] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .range-bar[b-sghcgsk7i0],
    .range-dates[b-sghcgsk7i0] {
        align-items: stretch;
        flex-direction: column;
    }

    .range-month[b-sghcgsk7i0] {
        justify-content: space-between;
    }

    .abasto-etapas[b-sghcgsk7i0] {
        flex-direction: column;
    }

    .abasto-flecha[b-sghcgsk7i0] {
        justify-content: center;
        transform: rotate(90deg);
    }

    .dashboard-page[b-sghcgsk7i0] {
        padding: 18px 14px;
    }

    .page-header[b-sghcgsk7i0] {
        align-items: stretch;
        flex-direction: column;
    }

        .page-header h1[b-sghcgsk7i0] {
            font-size: 25px;
        }

    .dash-card-header[b-sghcgsk7i0] {
        flex-direction: column;
        align-items: stretch;
    }

    .kpi-card strong[b-sghcgsk7i0] {
        font-size: 24px;
    }
}
/* /Pages/FotosOrdenTrabajo.razor.rz.scp.css */
/* ============================================================
   EVIDENCIAS DE OT
   ============================================================ */

.fotos-ot[b-6rgqq1offg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fotos-header[b-6rgqq1offg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .fotos-header strong[b-6rgqq1offg] {
        display: block;
        color: #00143D;
        font-size: 11px;
        font-weight: 900;
    }

    .fotos-header span[b-6rgqq1offg] {
        color: #98A2B3;
        font-size: 9px;
        font-weight: 700;
    }

.fotos-lock[b-6rgqq1offg] {
    padding: 4px 8px;
    border-radius: 999px;
    background: #F2F4F7;
    color: #667085 !important;
    white-space: nowrap;
}

.fotos-error[b-6rgqq1offg] {
    padding: 8px 10px;
    border: 1px solid #FFD4D8;
    border-radius: 9px;
    background: #FFF1F2;
    color: #A43A42;
    font-size: 9px;
    line-height: 1.4;
}

.fotos-cargando[b-6rgqq1offg],
.fotos-vacio[b-6rgqq1offg] {
    color: #98A2B3;
    font-size: 10px;
}


/* CUADRÍCULA */

.fotos-grid[b-6rgqq1offg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
}

.foto-item[b-6rgqq1offg],
.foto-agregar[b-6rgqq1offg] {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

.foto-item[b-6rgqq1offg] {
    border: 1px solid #E5E9F0;
    background: #F8FAFC;
}

    .foto-item img[b-6rgqq1offg] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: zoom-in;
        display: block;
    }

.foto-pendiente[b-6rgqq1offg] {
    border-style: dashed;
    border-color: #FCA522;
}

.foto-placeholder[b-6rgqq1offg] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #98A2B3;
}

.foto-fecha[b-6rgqq1offg] {
    position: absolute;
    left: 4px;
    bottom: 4px;
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(0, 20, 61, 0.7);
    color: #FFFFFF;
    font-size: 7px;
    font-weight: 700;
}

.foto-borrar[b-6rgqq1offg] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(229, 35, 46, 0.9);
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.foto-confirmar[b-6rgqq1offg] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(0, 20, 61, 0.82);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
}

    .foto-confirmar button[b-6rgqq1offg] {
        width: 60px;
        height: 22px;
        border: 0;
        border-radius: 6px;
        font-family: inherit;
        font-size: 9px;
        font-weight: 800;
        cursor: pointer;
    }

.foto-si[b-6rgqq1offg] {
    background: #E5232E;
    color: #FFFFFF;
}

.foto-no[b-6rgqq1offg] {
    background: #FFFFFF;
    color: #344054;
}


/* BOTÓN AGREGAR */

.foto-agregar[b-6rgqq1offg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1.5px dashed #BFCFE8;
    background: #EEF3FB;
    color: #003B95;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .foto-agregar:hover[b-6rgqq1offg] {
        border-color: #003B95;
        background: #E3EBF8;
    }

    .foto-agregar.is-busy[b-6rgqq1offg] {
        cursor: progress;
        opacity: 0.75;
    }

    /* InputFile es componente hijo: su <input> necesita ::deep. */
    .foto-agregar[b-6rgqq1offg]  input[type=file] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

.foto-agregar-icono[b-6rgqq1offg] {
    font-size: 20px;
    line-height: 1;
}


/* VISTA AMPLIADA */

.foto-lightbox[b-6rgqq1offg] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 10, 30, 0.88);
    cursor: zoom-out;
}

    .foto-lightbox img[b-6rgqq1offg] {
        max-width: 100%;
        max-height: calc(100vh - 80px);
        border-radius: 8px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .foto-lightbox span[b-6rgqq1offg] {
        color: rgba(255, 255, 255, 0.7);
        font-size: 10px;
    }
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-vphxdutjl5] {
    --azul-noelie: #002060;
    --azul-profundo: #00143d;
    --azul-claro: #0d3b8f;
    --naranja-noelie: #FCA522;
    --rojo-noelie: #E5232E;
    --blanco: #FFFFFF;
    --gris-fondo: #F6F8FC;
    --gris-borde: #D9E0EA;
    --gris-texto: #667085;
    /* Ocupa exactamente la pantalla */
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ya no necesitamos tanto padding */
    padding: 70px 20px 20px;
    position: relative;
    /* Evita scroll interno */
    overflow: hidden;
    background: radial-gradient( circle at 85% 15%, rgba(252, 165, 34, 0.16), transparent 28% ), radial-gradient( circle at 15% 90%, rgba(229, 35, 46, 0.12), transparent 28% ), linear-gradient( 135deg, #00143d 0%, #002060 55%, #0a2c6f 100% );
    font-family: "Segoe UI", Arial, sans-serif;
}


    /* FONDO DECORATIVO */

    .login-page[b-vphxdutjl5]::before,
    .login-page[b-vphxdutjl5]::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .login-page[b-vphxdutjl5]::before {
        width: 420px;
        height: 420px;
        top: -220px;
        right: -150px;
        background: rgba(252, 165, 34, 0.07);
    }

    .login-page[b-vphxdutjl5]::after {
        width: 380px;
        height: 380px;
        bottom: -210px;
        left: -130px;
        background: rgba(229, 35, 46, 0.06);
    }


/* CONTENEDOR GENERAL */

.login-container[b-vphxdutjl5] {
    width: 100%;
    max-width: 470px;
    position: relative;
    z-index: 5;
}


/* TARJETA */
.login-card[b-vphxdutjl5] {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /* Fondo translúcido */
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.50) );
    /* Efecto cristal */
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    border-radius: 28px;
    padding: 95px 38px 30px;
    /* Borde tipo vidrio */
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}


/* LOGO */

.logo-container[b-vphxdutjl5] {
    width: 150px;
    height: 150px;
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #FFFFFF;
    border: 4px solid var(--naranja-noelie);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    box-shadow: 0 14px 34px rgba(0, 32, 96, 0.24);
    overflow: hidden;
}

    .logo-container img[b-vphxdutjl5] {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }


/* ENCABEZADO */

.login-header[b-vphxdutjl5] {
    text-align: center;
    margin-bottom: 34px;
}

    .login-header h1[b-vphxdutjl5] {
        margin: 0;
        font-size: 40px;
        font-weight: 800;
        letter-spacing: -1.5px;
        color: var(--azul-noelie);
    }

        .login-header h1 span[b-vphxdutjl5] {
            color: var(--naranja-noelie);
        }

    .login-header p[b-vphxdutjl5] {
        margin: 8px 0 0;
        color: var(--gris-texto);
        font-size: 14px;
        font-weight: 500;
    }

.brand-line[b-vphxdutjl5] {
    width: 86px;
    height: 5px;
    margin: 18px auto 0;
    border-radius: 20px;
    background: linear-gradient( 90deg, var(--naranja-noelie) 0%, var(--naranja-noelie) 52%, var(--rojo-noelie) 52%, var(--rojo-noelie) 100% );
}


/* FORMULARIO */

.form-group[b-vphxdutjl5] {
    margin-bottom: 22px;
}

    .form-group label[b-vphxdutjl5] {
        display: block;
        margin-bottom: 8px;
        color: var(--azul-noelie);
        font-size: 14px;
        font-weight: 700;
    }


/* IMPORTANTE:
   Esto fuerza el estilo sobre InputText de Blazor
*/
/* INPUTTEXT DE BLAZOR */

[b-vphxdutjl5] .form-control {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 54px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border: 1px solid #D9E0EA !important;
    border-radius: 12px !important;
    background: #F6F8FC !important;
    color: #1F2937 !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    [b-vphxdutjl5] .form-control::placeholder {
        color: #98A2B3;
    }

    [b-vphxdutjl5] .form-control:hover {
        border-color: #AAB4C4 !important;
    }

    [b-vphxdutjl5] .form-control:focus {
        background: #FFFFFF !important;
        border-color: #FCA522 !important;
        box-shadow: 0 0 0 4px rgba(252, 165, 34, 0.16) !important;
    }

/* ERROR */

.login-error[b-vphxdutjl5] {
    margin: -4px 0 16px;
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(229, 35, 46, 0.08);
    border: 1px solid rgba(229, 35, 46, 0.18);
    color: var(--rojo-noelie);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}


/* BOTÓN */

.login-button[b-vphxdutjl5] {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient( 90deg, #002060 0%, #00348d 100% );
    color: #FFFFFF;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 32, 96, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .login-button:hover:not(:disabled)[b-vphxdutjl5] {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 32, 96, 0.28);
        filter: brightness(1.06);
    }

    .login-button:active:not(:disabled)[b-vphxdutjl5] {
        transform: translateY(0);
    }

    .login-button:disabled[b-vphxdutjl5] {
        opacity: 0.65;
        cursor: not-allowed;
    }

.button-arrow[b-vphxdutjl5] {
    font-size: 21px;
    line-height: 1;
}


/* MÓDULOS */

.modules[b-vphxdutjl5] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #E7ECF2;
}

.module-item[b-vphxdutjl5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gris-texto);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.module-icon[b-vphxdutjl5] {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient( 145deg, #F4F7FB, #E8EEF7 );
    color: var(--azul-noelie);
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(0, 32, 96, 0.04);
    transition: transform 0.2s ease, background 0.2s ease;
}

.module-item:hover .module-icon[b-vphxdutjl5] {
    transform: translateY(-2px);
    background: rgba(252, 165, 34, 0.14);
}


/* FOOTER */

.login-footer[b-vphxdutjl5] {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 400;
    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 520px) {

    .login-page[b-vphxdutjl5] {
        padding: 95px 15px 28px;
    }

    .login-container[b-vphxdutjl5] {
        max-width: 100%;
    }

    .login-card[b-vphxdutjl5] {
        padding: 88px 24px 26px;
        border-radius: 22px;
    }

    .logo-container[b-vphxdutjl5] {
        width: 135px;
        height: 135px;
        top: -67px;
    }

    .login-header h1[b-vphxdutjl5] {
        font-size: 34px;
    }

    .login-header p[b-vphxdutjl5] {
        font-size: 12px;
    }

    .modules[b-vphxdutjl5] {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }
}
/* VIDEO DE FONDO */

.login-video[b-vphxdutjl5] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}


/* CAPA NOELIE SOBRE EL VIDEO */

.video-overlay[b-vphxdutjl5] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}


/* LOGIN ENCIMA DEL VIDEO */

.login-container[b-vphxdutjl5] {
    width: 100%;
    max-width: 470px;
    position: relative;
    z-index: 5;
}
/* /Pages/OrdenesTrabajo.razor.rz.scp.css */
/* ============================================================
   ÓRDENES DE TRABAJO
   ============================================================ */

.ordenes-page[b-zofkokdscv] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-zofkokdscv] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 24px;
    font-weight: 900;
}

.page-eyebrow[b-zofkokdscv] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-zofkokdscv] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-zofkokdscv] {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-zofkokdscv] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-zofkokdscv] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   ESTADÍSTICAS
   ============================================================ */

.stats-grid[b-zofkokdscv] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.045);
}

.stat-icon[b-zofkokdscv] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-zofkokdscv] {
    background: #EEF3FB;
    color: #003B95;
}

.stat-icon-green[b-zofkokdscv] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.stat-icon-orange[b-zofkokdscv] {
    background: #FFF4E3;
    color: #A86400;
}

.stat-icon-gray[b-zofkokdscv] {
    background: #F2F4F7;
    color: #667085;
}

.stat-content[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-zofkokdscv] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.stat-content strong[b-zofkokdscv] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-zofkokdscv] {
    margin-top: 3px;
    overflow: hidden;
    color: #98A2B3;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-zofkokdscv] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-zofkokdscv] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-zofkokdscv] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-zofkokdscv] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   TABLE CARD
   ============================================================ */

.table-card[b-zofkokdscv] {
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.045);
}

.table-card-header[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-zofkokdscv] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-zofkokdscv] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-zofkokdscv] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   TABLA
   ============================================================ */

.table-wrapper[b-zofkokdscv] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-zofkokdscv] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

    .catalog-table thead[b-zofkokdscv] {
        background: #F8FAFC;
    }

    .catalog-table th[b-zofkokdscv] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 0.7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-zofkokdscv] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-zofkokdscv] {
        border-bottom: none;
    }

    .catalog-table tbody tr[b-zofkokdscv] {
        transition: background-color 0.15s ease;
    }

        .catalog-table tbody tr:hover[b-zofkokdscv] {
            background: #FBFCFE;
        }


/* ============================================================
   ESTADO
   ============================================================ */

.status-badge[b-zofkokdscv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.status-dot[b-zofkokdscv] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}


/* ============================================================
   ACCIONES
   ============================================================ */

.actions-column[b-zofkokdscv] {
    text-align: right !important;
}

.row-actions[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.btn-detail[b-zofkokdscv],
.btn-edit[b-zofkokdscv] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-detail[b-zofkokdscv] {
    border: 1px solid #E5E9F0;
    background: #FFFFFF;
    color: #344054;
}

    .btn-detail:hover[b-zofkokdscv] {
        border-color: #BFCFE8;
        background: #F8FAFC;
    }

.btn-edit[b-zofkokdscv] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

    .btn-edit:hover[b-zofkokdscv] {
        border-color: #BFCFE8;
        background: #E3EBF7;
    }


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-zofkokdscv],
.empty-state[b-zofkokdscv] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-zofkokdscv] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-zofkokdscv 0.75s linear infinite;
}

.loading-state span[b-zofkokdscv] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-zofkokdscv] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
    font-weight: 900;
}

.empty-state h3[b-zofkokdscv] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-zofkokdscv] {
    max-width: 350px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   REDIRECCIÓN
   ============================================================ */

.page-state-card[b-zofkokdscv] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

.state-icon[b-zofkokdscv] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
    font-weight: 900;
}

.page-state-card h3[b-zofkokdscv] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.page-state-card p[b-zofkokdscv] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMACIÓN
   ============================================================ */

@keyframes spin-b-zofkokdscv {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   FILTROS
   ============================================================ */

.filter-card[b-zofkokdscv] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 32, 96, 0.035);
}

.filter-heading[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.filter-icon[b-zofkokdscv] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
    font-weight: 900;
}

.filter-heading span[b-zofkokdscv] {
    display: block;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.filter-heading strong[b-zofkokdscv] {
    color: #00143D;
    font-size: 12px;
    font-weight: 900;
}

.filter-control[b-zofkokdscv] {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .filter-control label[b-zofkokdscv] {
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.filter-control-wide[b-zofkokdscv] {
    flex: 1;
    min-width: 220px;
}

.filter-clear[b-zofkokdscv] {
    min-height: 44px;
}


/* ============================================================
   CELDAS DE LA TABLA
   ============================================================ */

.order-cell[b-zofkokdscv] {
    min-width: 230px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-icon[b-zofkokdscv] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 15px;
    font-weight: 900;
}

.order-info[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .order-info strong[b-zofkokdscv] {
        color: #00143D;
        font-size: 11px;
        font-weight: 900;
    }

    .order-info span[b-zofkokdscv] {
        color: #98A2B3;
        font-size: 9px;
        font-weight: 700;
    }

.asset-cell[b-zofkokdscv] {
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asset-dot[b-zofkokdscv] {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #0D3B8F;
}

.asset-cell small[b-zofkokdscv],
.date-cell small[b-zofkokdscv] {
    display: block;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.asset-cell strong[b-zofkokdscv],
.date-cell strong[b-zofkokdscv] {
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.user-badge[b-zofkokdscv] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.user-avatar[b-zofkokdscv] {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #002060;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 900;
}

.date-cell[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.date-icon[b-zofkokdscv] {
    color: #98A2B3;
    font-size: 13px;
}

.empty-value[b-zofkokdscv] {
    color: #B0B8C5;
    font-size: 10px;
    font-weight: 700;
}


/* ============================================================
   ESTADOS DE LA OT
   ============================================================ */

.status-received[b-zofkokdscv] {
    background: #F2F4F7;
    color: #475467;
}

.status-scheduled[b-zofkokdscv] {
    background: #EEF3FB;
    color: #003B95;
}

.status-progress[b-zofkokdscv] {
    background: #FFF6E5;
    color: #B54708;
}

.status-paused[b-zofkokdscv] {
    background: #F4F3FF;
    color: #5925DC;
}

.status-waiting[b-zofkokdscv] {
    background: #FFF1E7;
    color: #C4320A;
}

.status-rescheduled[b-zofkokdscv] {
    background: #EEF4FF;
    color: #3538CD;
}

.status-closed[b-zofkokdscv] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.status-cancelled[b-zofkokdscv] {
    background: #FFF1F2;
    color: #B4232B;
}

.status-default[b-zofkokdscv] {
    background: #F2F4F7;
    color: #667085;
}

.status-badge .status-dot[b-zofkokdscv] {
    background: currentColor;
}


/* ============================================================
   PRIORIDAD
   ============================================================ */

.priority-badge[b-zofkokdscv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.priority-dot[b-zofkokdscv] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.priority-low[b-zofkokdscv] {
    background: #F2F4F7;
    color: #667085;
}

.priority-medium[b-zofkokdscv] {
    background: #EEF3FB;
    color: #003B95;
}

.priority-high[b-zofkokdscv] {
    background: #FFF6E5;
    color: #B54708;
}

.priority-default[b-zofkokdscv] {
    background: #F2F4F7;
    color: #667085;
}

/* Crítica: se distingue de "alta" (lleva las dos clases, gana esta). */
.priority-high.priority-critical[b-zofkokdscv] {
    background: #FFF1F2;
    color: #B4232B;
}


/* ============================================================
   BOTONES Y CAMPOS QUE USA EL DETALLE
   ============================================================ */

.form-field[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

    .form-field label[b-zofkokdscv] {
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.btn-primary[b-zofkokdscv],
.btn-secondary[b-zofkokdscv],
.btn-comment[b-zofkokdscv] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary[b-zofkokdscv],
.btn-comment[b-zofkokdscv] {
    border: 0;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    box-shadow: 0 7px 16px rgba(0, 32, 96, 0.16);
}

    .btn-primary:hover:not(:disabled)[b-zofkokdscv],
    .btn-comment:hover:not(:disabled)[b-zofkokdscv] {
        transform: translateY(-1px);
    }

.btn-secondary[b-zofkokdscv] {
    border: 1px solid #D9E0EA;
    background: #FFFFFF;
    color: #344054;
}

    .btn-secondary:hover:not(:disabled)[b-zofkokdscv] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

    .btn-primary:disabled[b-zofkokdscv],
    .btn-secondary:disabled[b-zofkokdscv],
    .btn-comment:disabled[b-zofkokdscv] {
        opacity: 0.5;
        cursor: not-allowed;
    }


/* ============================================================
   DETALLE (MODAL)
   ============================================================ */

.detail-card[b-zofkokdscv] {
    display: flex;
    flex-direction: column;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
}

.modal-backdrop .detail-modal[b-zofkokdscv] {
    width: min(820px, 100%);
    max-height: calc(100vh - 40px);
    margin: 0;
    overflow-y: auto;
    box-shadow: 0 28px 70px rgba(0, 20, 61, 0.28);
    animation: modal-enter-b-zofkokdscv 0.18s ease;
}

.detail-header[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.detail-header-main[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon[b-zofkokdscv] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 18px;
}

.detail-header span[b-zofkokdscv] {
    display: block;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.detail-header h2[b-zofkokdscv] {
    margin: 3px 0 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.detail-header p[b-zofkokdscv] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

.detail-close[b-zofkokdscv] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 0;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #FFFFFF;
    color: #667085;
    font-family: inherit;
    font-size: 19px;
    cursor: pointer;
}

    .detail-close:hover[b-zofkokdscv] {
        background: #FFF1F2;
        color: #E5232E;
    }

.detail-alert[b-zofkokdscv] {
    margin: 16px 20px 0;
}

.detail-section[b-zofkokdscv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #EEF1F5;
}

.detail-section-title[b-zofkokdscv] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

    .detail-section-title span[b-zofkokdscv] {
        display: block;
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .detail-section-title h3[b-zofkokdscv] {
        margin: 2px 0 0;
        color: #00143D;
        font-size: 13px;
        font-weight: 900;
    }

    .detail-section-title p[b-zofkokdscv] {
        margin: 0;
        color: #667085;
        font-size: 10px;
    }

.state-control[b-zofkokdscv],
.new-comment[b-zofkokdscv] {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.detail-notice[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid #FCE3B5;
    border-radius: 10px;
    background: #FFF9EE;
}

.notice-icon[b-zofkokdscv] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #FCA522;
    color: #002060;
    font-size: 11px;
    font-weight: 900;
}

.detail-notice strong[b-zofkokdscv] {
    display: block;
    color: #7A4A00;
    font-size: 10px;
    font-weight: 900;
}

.detail-notice span[b-zofkokdscv] {
    color: #8A6420;
    font-size: 9px;
    line-height: 1.45;
}

.detail-ok[b-zofkokdscv] {
    color: #2F6B4F;
    font-size: 10px;
    font-weight: 800;
}


.detail-footer[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    color: #98A2B3;
    font-size: 10px;
    font-weight: 700;
}


/* ============================================================
   COMENTARIOS
   ============================================================ */

.comments-count[b-zofkokdscv] {
    min-width: 26px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 10px;
    font-weight: 900;
}

.comments-list[b-zofkokdscv] {
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

.comment-item[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.comment-avatar[b-zofkokdscv] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EEF3FB;
    color: #003B95;
    font-size: 9px;
    font-weight: 900;
}

.comment-body[b-zofkokdscv] {
    min-width: 0;
    flex: 1;
    padding: 9px 11px;
    border: 1px solid #EEF1F5;
    border-radius: 10px;
    background: #FBFCFE;
}

.comment-meta[b-zofkokdscv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

    .comment-meta strong[b-zofkokdscv] {
        color: #00143D;
        font-size: 10px;
        font-weight: 900;
    }

    .comment-meta time[b-zofkokdscv] {
        margin-left: auto;
        color: #98A2B3;
        font-size: 8px;
    }

.comment-body p[b-zofkokdscv] {
    margin: 4px 0 0;
    color: #344054;
    font-size: 10px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.system-badge[b-zofkokdscv] {
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #667085;
    font-size: 7px;
    font-weight: 900;
}

.comments-empty[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #98A2B3;
}

    .comments-empty > span[b-zofkokdscv] {
        font-size: 22px;
    }

    .comments-empty strong[b-zofkokdscv] {
        color: #667085;
        font-size: 10px;
    }

    .comments-empty p[b-zofkokdscv] {
        margin: 2px 0 0;
        font-size: 9px;
    }


/* ============================================================
   HEADER - ACCIONES
   ============================================================ */

.page-header-actions[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-new[b-zofkokdscv] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 32, 96, 0.17);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .btn-new:hover[b-zofkokdscv] {
        transform: translateY(-1px);
        box-shadow: 0 11px 23px rgba(0, 32, 96, 0.23);
    }

    .btn-new:active[b-zofkokdscv] {
        transform: translateY(0);
    }

.btn-new-icon[b-zofkokdscv] {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.13);
    color: #FCA522;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}




.empty-action[b-zofkokdscv] {
    min-height: 36px;
    margin-top: 15px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   MODAL - FONDO
   ============================================================ */

.modal-backdrop[b-zofkokdscv] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 20, 61, 0.55);
    backdrop-filter: blur(3px);
    animation: modal-fade-in-b-zofkokdscv 0.16s ease;
}

@keyframes modal-fade-in-b-zofkokdscv {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ============================================================
   MODAL - CONTENEDOR
   ============================================================ */

.order-modal[b-zofkokdscv] {
    width: min(780px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 28px 70px rgba(0, 20, 61, 0.28);
    animation: modal-enter-b-zofkokdscv 0.18s ease;
}

    /* EditForm renderiza un <form> (componente hijo): ::deep para alcanzarlo. */
    .order-modal[b-zofkokdscv]  form {
        min-height: 0;
        display: flex;
        flex: 1;
        flex-direction: column;
    }

@keyframes modal-enter-b-zofkokdscv {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ============================================================
   MODAL - CABECERA
   ============================================================ */

.modal-header[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 18px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.modal-title-area[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-icon[b-zofkokdscv] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 900;
}

.modal-eyebrow[b-zofkokdscv] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.modal-header h2[b-zofkokdscv] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.modal-header p[b-zofkokdscv] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
}

.modal-close[b-zofkokdscv] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #FFFFFF;
    color: #667085;
    font-family: inherit;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

    .modal-close:hover:not(:disabled)[b-zofkokdscv] {
        background: #FFF1F2;
        color: #E5232E;
    }


/* ============================================================
   MODAL - CUERPO
   ============================================================ */

.modal-body[b-zofkokdscv] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 21px;
    overflow-y: auto;
    background: #FBFCFE;
}

.modal-grid[b-zofkokdscv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.modal-field-wide[b-zofkokdscv] {
    grid-column: 1 / -1;
}

.modal-form-field[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .modal-form-field > label:first-child[b-zofkokdscv] {
        margin-bottom: 7px;
        display: flex;
        align-items: center;
        gap: 6px;
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.optional[b-zofkokdscv] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-help[b-zofkokdscv] {
    margin-top: -3px;
    margin-bottom: 7px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1.4;
}


/* ============================================================
   INPUTS
   InputText / InputCheckbox son componentes hijos: su <input>
   no recibe el atributo de aislamiento CSS, por eso ::deep.
   ============================================================ */

.catalog-input[b-zofkokdscv],
[b-zofkokdscv] .catalog-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .catalog-input[b-zofkokdscv]::placeholder,
    [b-zofkokdscv] .catalog-input::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-zofkokdscv],
    [b-zofkokdscv] .catalog-input:hover {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-zofkokdscv],
    [b-zofkokdscv] .catalog-input:focus {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }


/* ============================================================
   MODAL - ERROR
   ============================================================ */

.modal-error[b-zofkokdscv] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    border: 1px solid #FFD4D8;
    border-radius: 10px;
    background: #FFF1F2;
}

.modal-error-icon[b-zofkokdscv] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #E5232E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
}

.modal-error > div:last-child[b-zofkokdscv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-error strong[b-zofkokdscv] {
    color: #B4232B;
    font-size: 9px;
    font-weight: 900;
}

.modal-error span[b-zofkokdscv] {
    color: #A43A42;
    font-size: 9px;
    line-height: 1.4;
    word-break: break-word;
}


/* ============================================================
   MODAL - PIE
   ============================================================ */

.modal-footer[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 20px;
    border-top: 1px solid #EEF1F5;
    background: #FFFFFF;
}

.btn-modal-cancel[b-zofkokdscv],
.btn-modal-save[b-zofkokdscv] {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-modal-cancel[b-zofkokdscv] {
    border: 1px solid #D9E0EA;
    background: #FFFFFF;
    color: #344054;
}

    .btn-modal-cancel:hover:not(:disabled)[b-zofkokdscv] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

.btn-modal-save[b-zofkokdscv] {
    min-width: 140px;
    border: 0;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    box-shadow: 0 7px 16px rgba(0, 32, 96, 0.16);
}

    .btn-modal-save:hover:not(:disabled)[b-zofkokdscv] {
        transform: translateY(-1px);
        box-shadow: 0 10px 21px rgba(0, 32, 96, 0.22);
    }

    .btn-modal-cancel:disabled[b-zofkokdscv],
    .btn-modal-save:disabled[b-zofkokdscv],
    .modal-close:disabled[b-zofkokdscv] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.save-arrow[b-zofkokdscv] {
    color: #FCA522;
    font-size: 14px;
}

.button-spinner[b-zofkokdscv] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-zofkokdscv 0.7s linear infinite;
}

/* InputTextArea: más alto y redimensionable solo en vertical. */
.catalog-textarea[b-zofkokdscv],
[b-zofkokdscv] .catalog-textarea {
    min-height: 92px;
    resize: vertical;
    line-height: 1.45;
}

.catalog-input:disabled[b-zofkokdscv],
[b-zofkokdscv] .catalog-input:disabled {
    background: #F2F4F7;
    color: #98A2B3;
    cursor: not-allowed;
}


/* ============================================================
   ASISTENTE DE ALTA (PASOS)
   ============================================================ */

.wizard-steps[b-zofkokdscv] {
    display: flex;
    gap: 6px;
    padding: 12px 20px;
    border-bottom: 1px solid #EEF1F5;
    background: #FFFFFF;
    overflow-x: auto;
}

.wizard-step[b-zofkokdscv] {
    flex: 1;
    min-width: 84px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border: 1px solid #E5E9F0;
    border-radius: 10px;
    background: #FFFFFF;
    color: #98A2B3;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    text-align: left;
    cursor: default;
}

    .wizard-step.is-done[b-zofkokdscv] {
        border-color: #CFE3D8;
        background: #F0F7F3;
        color: #2F6B4F;
        cursor: pointer;
    }

        .wizard-step.is-done:hover[b-zofkokdscv] {
            border-color: #2F6B4F;
        }

    .wizard-step.is-active[b-zofkokdscv] {
        border-color: #002060;
        background: #002060;
        color: #FFFFFF;
    }

    .wizard-step:disabled[b-zofkokdscv] {
        opacity: 1;
    }

.wizard-num[b-zofkokdscv] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F2F4F7;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
}

.wizard-step.is-done .wizard-num[b-zofkokdscv] {
    background: #2F6B4F;
    color: #FFFFFF;
}

.wizard-step.is-active .wizard-num[b-zofkokdscv] {
    background: #FCA522;
    color: #002060;
}

/* El paso de evidencias se oculta sin destruirse (conserva las fotos). */
.wizard-oculto[b-zofkokdscv] {
    display: none;
}

.wizard-resumen[b-zofkokdscv] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
    padding: 11px 12px;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
}

    .wizard-resumen span[b-zofkokdscv] {
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .wizard-resumen strong[b-zofkokdscv] {
        color: #00143D;
        font-size: 12px;
        font-weight: 900;
    }

    .wizard-resumen small[b-zofkokdscv] {
        color: #667085;
        font-size: 9px;
        line-height: 1.5;
    }

.readonly-value[b-zofkokdscv] {
    display: flex;
    align-items: center;
    background: #F2F4F7 !important;
    color: #667085 !important;
}



/* ============================================================
   PANELES: COMPRAS Y RESPONSABLES
   ============================================================ */

.panel-folios[b-zofkokdscv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.panel-acciones[b-zofkokdscv] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.panel-ayuda[b-zofkokdscv] {
    margin: 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.5;
}

.resp-list[b-zofkokdscv] {
    max-height: 340px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    overflow-y: auto;
}

.resp-item[b-zofkokdscv] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border: 1px solid #E5E9F0;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

    .resp-item:hover[b-zofkokdscv] {
        border-color: #BFCFE8;
    }

    .resp-item.is-on[b-zofkokdscv] {
        border-color: #002060;
        background: #EEF3FB;
    }

    .resp-item.is-readonly[b-zofkokdscv] {
        cursor: default;
    }

    .resp-item input[b-zofkokdscv] {
        width: 16px;
        height: 16px;
        accent-color: #002060;
    }

.resp-nombre[b-zofkokdscv] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .resp-nombre strong[b-zofkokdscv] {
        color: #00143D;
        font-size: 10px;
        font-weight: 800;
    }

    .resp-nombre small[b-zofkokdscv] {
        color: #98A2B3;
        font-size: 8px;
    }


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .stats-grid[b-zofkokdscv] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 700px) {

    .ordenes-page[b-zofkokdscv] {
        padding: 18px 14px;
    }

    /* HEADER */

    .page-header[b-zofkokdscv] {
        align-items: stretch;
        flex-direction: column;
    }

        .page-header h1[b-zofkokdscv] {
            font-size: 25px;
        }

    .page-header-actions[b-zofkokdscv] {
        width: 100%;
    }

    .page-counter[b-zofkokdscv],
    .btn-new[b-zofkokdscv] {
        flex: 1;
        justify-content: center;
    }

    /* STATS */

    .stats-grid[b-zofkokdscv] {
        gap: 9px;
    }

    .stat-card[b-zofkokdscv] {
        padding: 13px;
    }

    /* FILTROS */

    .filter-card[b-zofkokdscv] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-control[b-zofkokdscv],
    .filter-control-wide[b-zofkokdscv] {
        min-width: 0;
        width: 100%;
    }

    /* TABLA */

    .table-card-header[b-zofkokdscv] {
        flex-direction: column;
        align-items: stretch;
        padding: 17px 15px;
    }

    /* MODALES: se vuelven hoja inferior */

    .modal-backdrop[b-zofkokdscv] {
        align-items: flex-end;
        padding: 10px;
    }

        .order-modal[b-zofkokdscv],
        .modal-backdrop .detail-modal[b-zofkokdscv] {
            width: 100%;
            max-height: 92vh;
            border-radius: 19px 19px 13px 13px;
        }

    .modal-grid[b-zofkokdscv] {
        grid-template-columns: 1fr;
    }

    /* PASOS: solo números */

    .wizard-steps[b-zofkokdscv] {
        padding: 10px 14px;
    }

    .wizard-label[b-zofkokdscv] {
        display: none;
    }

    .wizard-step[b-zofkokdscv] {
        min-width: 0;
        justify-content: center;
    }

    .panel-folios[b-zofkokdscv] {
        grid-template-columns: 1fr;
    }

    /* DETALLE: controles apilados */

    .state-control[b-zofkokdscv],
    .new-comment[b-zofkokdscv] {
        align-items: stretch;
        flex-direction: column;
    }

    .detail-section-title[b-zofkokdscv] {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   MÓVIL PEQUEÑO
   ============================================================ */

@media (max-width: 430px) {

    .stats-grid[b-zofkokdscv] {
        grid-template-columns: 1fr 1fr;
    }

    .page-header-actions[b-zofkokdscv] {
        flex-direction: column;
    }

    .page-counter[b-zofkokdscv],
    .btn-new[b-zofkokdscv] {
        width: 100%;
    }

    .modal-header[b-zofkokdscv],
    .modal-body[b-zofkokdscv],
    .detail-header[b-zofkokdscv],
    .detail-section[b-zofkokdscv] {
        padding: 17px;
    }

    .modal-footer[b-zofkokdscv] {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 13px 17px;
    }

    .btn-modal-cancel[b-zofkokdscv],
    .btn-modal-save[b-zofkokdscv] {
        width: 100%;
    }
}
/* /Pages/Plantillas.razor.rz.scp.css */
/* ============================================================
   PLANTILLAS
   ============================================================ */

.plantillas-page[b-uwjg0czdy8] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-uwjg0czdy8] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 23px;
    font-weight: 900;
}

.page-eyebrow[b-uwjg0czdy8] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-uwjg0czdy8] {
    max-width: 650px;
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-uwjg0czdy8] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-uwjg0czdy8] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   STATS
   ============================================================ */

.stats-grid[b-uwjg0czdy8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.045);
}

.stat-icon[b-uwjg0czdy8] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-uwjg0czdy8] {
    background: #EEF3FB;
    color: #003B95;
}

.stat-icon-green[b-uwjg0czdy8] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.stat-icon-orange[b-uwjg0czdy8] {
    background: #FFF4E3;
    color: #A86400;
}

.stat-icon-gray[b-uwjg0czdy8] {
    background: #F2F4F7;
    color: #667085;
}

.stat-content[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-uwjg0czdy8] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.stat-content strong[b-uwjg0czdy8] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-uwjg0czdy8] {
    margin-top: 3px;
    color: #98A2B3;
    font-size: 10px;
}


/* ============================================================
   FORM CARD
   ============================================================ */

.form-card[b-uwjg0czdy8] {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #DCE3ED;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

    .form-card[b-uwjg0czdy8]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #FCA522;
    }

    .form-card summary[b-uwjg0czdy8] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 22px;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

        .form-card summary[b-uwjg0czdy8]::-webkit-details-marker {
            display: none;
        }

        .form-card summary:hover[b-uwjg0czdy8] {
            background: #FBFCFE;
        }

.summary-left[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.summary-icon[b-uwjg0czdy8] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 900;
}

.summary-copy[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.summary-eyebrow[b-uwjg0czdy8] {
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.summary-copy strong[b-uwjg0czdy8] {
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.summary-copy > span:last-child[b-uwjg0czdy8] {
    margin-top: 3px;
    color: #667085;
    font-size: 10px;
}

.summary-right[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editing-badge[b-uwjg0czdy8] {
    padding: 5px 8px;
    border-radius: 999px;
    background: #FFF4E3;
    color: #8A5700;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.summary-arrow[b-uwjg0czdy8] {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #F6F8FC;
    color: #667085;
    font-size: 16px;
    transition: transform .2s ease;
}

.form-card[open] .summary-arrow[b-uwjg0czdy8] {
    transform: rotate(180deg);
}


/* ============================================================
   FORM
   ============================================================ */

.form-content[b-uwjg0czdy8] {
    padding: 22px;
    border-top: 1px solid #EEF1F5;
    background: #FBFCFE;
}

.form-section-header[b-uwjg0czdy8] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

    .form-section-header span[b-uwjg0czdy8] {
        display: block;
        margin-bottom: 3px;
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .form-section-header h3[b-uwjg0czdy8] {
        margin: 0;
        color: #00143D;
        font-size: 16px;
        font-weight: 900;
    }

    .form-section-header p[b-uwjg0czdy8] {
        max-width: 350px;
        margin: 0;
        color: #98A2B3;
        font-size: 10px;
        line-height: 1.5;
        text-align: right;
    }

.form-grid[b-uwjg0czdy8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.form-field[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.form-field-wide[b-uwjg0czdy8] {
    grid-column: 1 / -1;
}

.form-field label[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.optional[b-uwjg0czdy8] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-input[b-uwjg0czdy8] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .catalog-input[b-uwjg0czdy8]::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-uwjg0czdy8] {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-uwjg0czdy8] {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, .08);
    }

textarea.catalog-input[b-uwjg0czdy8] {
    resize: vertical;
}

.description-input[b-uwjg0czdy8] {
    min-height: 90px;
}

.field-helper[b-uwjg0czdy8] {
    margin-top: 6px;
    color: #98A2B3;
    font-size: 8px;
}


/* ============================================================
   TOGGLE
   ============================================================ */

.status-toggle[b-uwjg0czdy8] {
    min-height: 54px;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 9px 12px;
    border: 1px solid #D9E0EA;
    border-radius: 11px;
    background: #FFFFFF;
    cursor: pointer;
}

    .status-toggle input[b-uwjg0czdy8],
    .required-toggle input[b-uwjg0czdy8] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.toggle-control[b-uwjg0czdy8] {
    position: relative;
    width: 36px;
    height: 20px;
    flex: 0 0 36px;
    border-radius: 999px;
    background: #D0D5DD;
    transition: background .2s ease;
}

.toggle-thumb[b-uwjg0czdy8] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .22);
    transition: transform .2s ease;
}

.status-toggle:has(input:checked) .toggle-control[b-uwjg0czdy8] {
    background: #2F6B4F;
}

.status-toggle:has(input:checked) .toggle-thumb[b-uwjg0czdy8] {
    transform: translateX(16px);
}

.toggle-copy[b-uwjg0czdy8] {
    display: flex;
    flex-direction: column;
}

    .toggle-copy strong[b-uwjg0czdy8] {
        color: #344054;
        font-size: 9px;
        font-weight: 900;
    }

    .toggle-copy small[b-uwjg0czdy8] {
        margin-top: 2px;
        color: #98A2B3;
        font-size: 8px;
        font-weight: 500;
    }


/* ============================================================
   FORM ACTIONS
   ============================================================ */

.form-actions[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 21px;
    padding-top: 17px;
    border-top: 1px solid #E7EBF1;
}

.form-actions-info[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 9px;
}

.info-dot[b-uwjg0czdy8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FCA522;
}

.form-buttons[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* ============================================================
   BOTONES
   ============================================================ */

.btn-primary[b-uwjg0czdy8],
.btn-secondary[b-uwjg0czdy8],
.btn-edit[b-uwjg0czdy8],
.btn-steps[b-uwjg0czdy8],
.btn-delete[b-uwjg0czdy8],
.btn-add-step[b-uwjg0czdy8],
.btn-remove-step[b-uwjg0czdy8],
.steps-count[b-uwjg0czdy8] {
    font-family: inherit;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-primary[b-uwjg0czdy8] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: none;
    border-radius: 10px;
    background: #002060;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 4px 9px rgba(0, 32, 96, .18);
}

    .btn-primary:hover:not(:disabled)[b-uwjg0czdy8] {
        background: #00194D;
        transform: translateY(-1px);
    }

    .btn-primary:disabled[b-uwjg0czdy8] {
        cursor: not-allowed;
        opacity: .55;
    }

.btn-secondary[b-uwjg0czdy8] {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

    .btn-secondary:hover[b-uwjg0czdy8] {
        background: #F8FAFC;
    }

.button-arrow[b-uwjg0czdy8] {
    font-size: 15px;
}

.button-spinner[b-uwjg0czdy8] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-uwjg0czdy8 .7s linear infinite;
}


/* ============================================================
   ALERT
   ============================================================ */

.alert-error[b-uwjg0czdy8] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-uwjg0czdy8] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-uwjg0czdy8] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-uwjg0czdy8] {
    color: #B4232B;
    font-size: 10px;
}

.alert-error span[b-uwjg0czdy8] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    word-break: break-word;
}


/* ============================================================
   TABLE
   ============================================================ */

.table-card[b-uwjg0czdy8] {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, .045);
}

.table-card-header[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-uwjg0czdy8] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-uwjg0czdy8] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

.table-total[b-uwjg0czdy8] {
    min-width: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #E5E9F0;
    border-radius: 11px;
    background: #F6F8FC;
}

    .table-total strong[b-uwjg0czdy8] {
        color: #00143D;
        font-size: 17px;
    }

    .table-total span[b-uwjg0czdy8] {
        color: #98A2B3;
        font-size: 8px;
    }

.table-wrapper[b-uwjg0czdy8] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-uwjg0czdy8] {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
}

    .catalog-table thead[b-uwjg0czdy8] {
        background: #F8FAFC;
    }

    .catalog-table th[b-uwjg0czdy8] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: .7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-uwjg0czdy8] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-uwjg0czdy8] {
        border-bottom: none;
    }

    .catalog-table tbody tr:hover[b-uwjg0czdy8],
    .catalog-table tbody tr.selected-row[b-uwjg0czdy8] {
        background: #FBFCFE;
    }

    .catalog-table tbody tr.selected-row[b-uwjg0czdy8] {
        box-shadow: inset 3px 0 0 #FCA522;
    }


/* ============================================================
   TEMPLATE CELL
   ============================================================ */

.template-cell[b-uwjg0czdy8] {
    min-width: 230px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.template-icon[b-uwjg0czdy8] {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
}

.template-info[b-uwjg0czdy8] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .template-info strong[b-uwjg0czdy8] {
        color: #101828;
        font-size: 11px;
        font-weight: 900;
    }

    .template-info span[b-uwjg0czdy8] {
        margin-top: 2px;
        color: #98A2B3;
        font-size: 8px;
    }

    .template-info small[b-uwjg0czdy8] {
        max-width: 300px;
        margin-top: 4px;
        overflow: hidden;
        color: #667085;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* ============================================================
   BADGES
   ============================================================ */

.type-badge[b-uwjg0czdy8] {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 7px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 8px;
    font-weight: 900;
    text-transform: capitalize;
}

.version-badge[b-uwjg0czdy8] {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid #E5E9F0;
    border-radius: 7px;
    background: #F8FAFC;
    color: #344054;
    font-size: 9px;
    font-weight: 900;
}

.status-badge[b-uwjg0czdy8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.status-dot[b-uwjg0czdy8] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active[b-uwjg0czdy8] {
    background: #EEF8F2;
    color: #2F6B4F;
}

    .status-active .status-dot[b-uwjg0czdy8] {
        background: #2F6B4F;
    }

.status-inactive[b-uwjg0czdy8] {
    background: #F2F4F7;
    color: #667085;
}

    .status-inactive .status-dot[b-uwjg0czdy8] {
        background: #98A2B3;
    }


/* ============================================================
   STEPS COUNT
   ============================================================ */

.steps-count[b-uwjg0czdy8] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    background: #FFFFFF;
    color: #667085;
    font-size: 8px;
    font-weight: 800;
}

    .steps-count:hover[b-uwjg0czdy8] {
        border-color: #BFCFE8;
        background: #EEF3FB;
        color: #003B95;
    }

.steps-number[b-uwjg0czdy8] {
    color: #00143D;
    font-size: 11px;
    font-weight: 900;
}


/* ============================================================
   ROW ACTIONS
   ============================================================ */

.actions-column[b-uwjg0czdy8] {
    text-align: right !important;
}

.row-actions[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.btn-edit[b-uwjg0czdy8],
.btn-steps[b-uwjg0czdy8],
.btn-delete[b-uwjg0czdy8] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
}

.btn-edit[b-uwjg0czdy8] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

.btn-steps[b-uwjg0czdy8] {
    border: 1px solid #FFE1AE;
    background: #FFF4E3;
    color: #8A5700;
}

.btn-delete[b-uwjg0czdy8] {
    border: 1px solid #FFD4D8;
    background: #FFF1F2;
    color: #B4232B;
}

.btn-edit:hover[b-uwjg0czdy8] {
    background: #E3EBF7;
}

.btn-steps:hover[b-uwjg0czdy8] {
    background: #FFEBCB;
}

.btn-delete:hover[b-uwjg0czdy8] {
    background: #FFE6E8;
}


/* ============================================================
   STEPS CARD
   ============================================================ */

.steps-card[b-uwjg0czdy8] {
    overflow: hidden;
    border: 1px solid #DCE3ED;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, .05);
}

.steps-header[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.steps-header-main[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.steps-header-icon[b-uwjg0czdy8] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 900;
}

.steps-eyebrow[b-uwjg0czdy8] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.steps-header h2[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.steps-header p[b-uwjg0czdy8] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}

.steps-counter[b-uwjg0czdy8] {
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid #E5E9F0;
    border-radius: 10px;
    background: #F6F8FC;
}

    .steps-counter strong[b-uwjg0czdy8] {
        color: #00143D;
        font-size: 17px;
    }

    .steps-counter span[b-uwjg0czdy8] {
        color: #98A2B3;
        font-size: 7px;
        font-weight: 900;
    }


/* ============================================================
   STEPS WARNING
   ============================================================ */

.steps-warning[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 20px 0;
    padding: 11px 13px;
    border: 1px solid #FFE1AE;
    border-radius: 11px;
    background: #FFF9EE;
}

.steps-warning-icon[b-uwjg0czdy8] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #FCA522;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 900;
}

.steps-warning > div:last-child[b-uwjg0czdy8] {
    display: flex;
    flex-direction: column;
}

.steps-warning strong[b-uwjg0czdy8] {
    color: #805200;
    font-size: 9px;
    font-weight: 900;
}

.steps-warning span[b-uwjg0czdy8] {
    margin-top: 2px;
    color: #996A18;
    font-size: 9px;
}

.steps-error[b-uwjg0czdy8] {
    margin: 16px 20px 0;
}


/* ============================================================
   STEP LIST
   ============================================================ */

.steps-list[b-uwjg0czdy8] {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px;
}

.step-item[b-uwjg0czdy8] {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 14px;
    background: #FBFCFE;
}

.step-number[b-uwjg0czdy8] {
    width: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 19px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
    font-weight: 900;
}

.step-content[b-uwjg0czdy8] {
    min-width: 0;
    flex: 1;
    padding: 16px;
}

.step-title-row[b-uwjg0czdy8] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

    .step-title-row > div[b-uwjg0czdy8] {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

.step-eyebrow[b-uwjg0czdy8] {
    margin-bottom: 2px;
    color: #0D3B8F;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .8px;
}

.step-title-row strong[b-uwjg0czdy8] {
    overflow: hidden;
    color: #00143D;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-remove-step[b-uwjg0czdy8] {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border: 1px solid #FFD4D8;
    border-radius: 8px;
    background: #FFF1F2;
    color: #B4232B;
    font-size: 16px;
    font-weight: 700;
}

    .btn-remove-step:hover[b-uwjg0czdy8] {
        background: #FFE6E8;
    }

.step-grid[b-uwjg0czdy8] {
    display: grid;
    grid-template-columns: 90px 2fr 1fr 1fr;
    gap: 12px;
}

.step-label[b-uwjg0czdy8] {
    grid-column: span 1;
}

.step-wide[b-uwjg0czdy8] {
    grid-column: span 2;
}

.step-textarea[b-uwjg0czdy8] {
    min-height: 70px;
}


/* ============================================================
   REQUIRED TOGGLE
   ============================================================ */

.required-toggle[b-uwjg0czdy8] {
    min-height: 44px;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 8px 10px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
}

.required-control[b-uwjg0czdy8] {
    position: relative;
    width: 32px;
    height: 18px;
    flex: 0 0 32px;
    border-radius: 999px;
    background: #D0D5DD;
    transition: background .2s ease;
}

    .required-control span[b-uwjg0czdy8] {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #FFFFFF;
        transition: transform .2s ease;
    }

.required-toggle:has(input:checked) .required-control[b-uwjg0czdy8] {
    background: #2F6B4F;
}

    .required-toggle:has(input:checked) .required-control span[b-uwjg0czdy8] {
        transform: translateX(14px);
    }

.required-toggle strong[b-uwjg0czdy8] {
    color: #344054;
    font-size: 8px;
    font-weight: 800;
}


/* ============================================================
   STEPS EMPTY
   ============================================================ */

.steps-empty[b-uwjg0czdy8] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.steps-empty-icon[b-uwjg0czdy8] {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 13px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
    font-weight: 900;
}

.steps-empty h3[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.steps-empty p[b-uwjg0czdy8] {
    margin: 5px 0 15px;
    color: #98A2B3;
    font-size: 9px;
}


/* ============================================================
   STEPS FOOTER
   ============================================================ */

.steps-footer[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-top: 1px solid #EEF1F5;
    background: #FBFCFE;
}

.btn-add-step[b-uwjg0czdy8] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px;
    border: 1px solid #DCE6F5;
    border-radius: 9px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 9px;
    font-weight: 900;
}

    .btn-add-step:hover[b-uwjg0czdy8] {
        background: #E3EBF7;
    }

.steps-footer-actions[b-uwjg0czdy8] {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-uwjg0czdy8],
.empty-state[b-uwjg0czdy8] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-uwjg0czdy8] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-uwjg0czdy8 .75s linear infinite;
}

.loading-state span[b-uwjg0czdy8] {
    color: #667085;
    font-size: 10px;
}

.empty-icon[b-uwjg0czdy8] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
}

.empty-state h3[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
}

.empty-state p[b-uwjg0czdy8] {
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
}


/* ============================================================
   REDIRECT
   ============================================================ */

.page-state-card[b-uwjg0czdy8] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
}

.state-icon[b-uwjg0czdy8] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
}

.page-state-card h3[b-uwjg0czdy8] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
}

.page-state-card p[b-uwjg0czdy8] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMATION
   ============================================================ */

@keyframes spin-b-uwjg0czdy8 {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1150px) {

    .stats-grid[b-uwjg0czdy8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-grid[b-uwjg0czdy8] {
        grid-template-columns: 90px 2fr 1fr;
    }

    .step-wide[b-uwjg0czdy8] {
        grid-column: span 3;
    }
}


@media (max-width: 750px) {

    .plantillas-page[b-uwjg0czdy8] {
        padding: 18px 14px;
    }

    .page-header[b-uwjg0czdy8] {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header-main[b-uwjg0czdy8] {
        align-items: flex-start;
    }

    .page-title-icon[b-uwjg0czdy8] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .page-header h1[b-uwjg0czdy8] {
        font-size: 24px;
    }

    .stats-grid[b-uwjg0czdy8] {
        gap: 9px;
    }

    .stat-card[b-uwjg0czdy8] {
        padding: 13px;
    }

    .form-card summary[b-uwjg0czdy8] {
        padding: 18px 15px;
    }

    .form-content[b-uwjg0czdy8] {
        padding: 17px 15px;
    }

    .form-section-header[b-uwjg0czdy8] {
        align-items: flex-start;
        flex-direction: column;
    }

        .form-section-header p[b-uwjg0czdy8] {
            text-align: left;
        }

    .form-grid[b-uwjg0czdy8] {
        grid-template-columns: 1fr;
    }

    .form-field-wide[b-uwjg0czdy8] {
        grid-column: auto;
    }

    .form-actions[b-uwjg0czdy8] {
        align-items: stretch;
        flex-direction: column;
    }

    .form-buttons[b-uwjg0czdy8] {
        flex-direction: column-reverse;
        width: 100%;
    }

        .form-buttons .btn-primary[b-uwjg0czdy8],
        .form-buttons .btn-secondary[b-uwjg0czdy8] {
            width: 100%;
        }

    .steps-header[b-uwjg0czdy8] {
        align-items: flex-start;
    }

    .steps-list[b-uwjg0czdy8] {
        padding: 14px;
    }

    .step-number[b-uwjg0czdy8] {
        width: 38px;
        flex-basis: 38px;
    }

    .step-grid[b-uwjg0czdy8] {
        grid-template-columns: 1fr 1fr;
    }

    .step-order[b-uwjg0czdy8],
    .step-label[b-uwjg0czdy8],
    .step-wide[b-uwjg0czdy8] {
        grid-column: span 1;
    }

    .step-label[b-uwjg0czdy8],
    .step-wide[b-uwjg0czdy8] {
        grid-column: 1 / -1;
    }

    .steps-footer[b-uwjg0czdy8] {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-add-step[b-uwjg0czdy8] {
        width: 100%;
    }

    .steps-footer-actions[b-uwjg0czdy8] {
        width: 100%;
    }

        .steps-footer-actions .btn-secondary[b-uwjg0czdy8],
        .steps-footer-actions .btn-primary[b-uwjg0czdy8] {
            flex: 1;
        }
}


@media (max-width: 460px) {

    .stats-grid[b-uwjg0czdy8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card[b-uwjg0czdy8] {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-counter[b-uwjg0czdy8] {
        align-self: flex-start;
    }

    .summary-copy > span:last-child[b-uwjg0czdy8] {
        display: none;
    }

    .editing-badge[b-uwjg0czdy8] {
        display: none;
    }

    .steps-counter[b-uwjg0czdy8] {
        display: none;
    }

    .step-item[b-uwjg0czdy8] {
        flex-direction: column;
    }

    .step-number[b-uwjg0czdy8] {
        width: 100%;
        height: 30px;
        flex-basis: 30px;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 0 14px;
    }

    .step-grid[b-uwjg0czdy8] {
        grid-template-columns: 1fr;
    }

    .step-order[b-uwjg0czdy8],
    .step-label[b-uwjg0czdy8],
    .step-wide[b-uwjg0czdy8] {
        grid-column: auto;
    }

    .steps-footer-actions[b-uwjg0czdy8] {
        flex-direction: column-reverse;
    }

        .steps-footer-actions .btn-secondary[b-uwjg0czdy8],
        .steps-footer-actions .btn-primary[b-uwjg0czdy8] {
            width: 100%;
        }
}
/* /Pages/ProgramasPreventivos.razor.rz.scp.css */
/* ============================================================
   PROGRAMAS PREVENTIVOS
   ============================================================ */

.programas-page[b-u3prxxuzot] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-u3prxxuzot] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 24px;
    font-weight: 900;
}

.page-eyebrow[b-u3prxxuzot] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-u3prxxuzot] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-u3prxxuzot] {
    max-width: 650px;
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-u3prxxuzot] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, .04);
}

.counter-dot[b-u3prxxuzot] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   STATS
   ============================================================ */

.stats-grid[b-u3prxxuzot] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 32, 96, .045);
}

.stat-icon[b-u3prxxuzot] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-u3prxxuzot] {
    background: #EEF3FB;
    color: #003B95;
}

.stat-icon-green[b-u3prxxuzot] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.stat-icon-orange[b-u3prxxuzot] {
    background: #FFF4E3;
    color: #A86400;
}

.stat-icon-gray[b-u3prxxuzot] {
    background: #F2F4F7;
    color: #667085;
}

.stat-content[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-u3prxxuzot] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .8px;
}

.stat-content strong[b-u3prxxuzot] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-u3prxxuzot] {
    margin-top: 3px;
    color: #98A2B3;
    font-size: 10px;
}


/* ============================================================
   FORM CARD
   ============================================================ */

.form-card[b-u3prxxuzot] {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #DCE3ED;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, .05);
}

    .form-card[b-u3prxxuzot]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #FCA522;
    }

    .form-card summary[b-u3prxxuzot] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px 22px;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

        .form-card summary[b-u3prxxuzot]::-webkit-details-marker {
            display: none;
        }

        .form-card summary:hover[b-u3prxxuzot] {
            background: #FBFCFE;
        }

.summary-left[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
}

.summary-icon[b-u3prxxuzot] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 900;
}

.summary-copy[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.summary-eyebrow[b-u3prxxuzot] {
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.summary-copy strong[b-u3prxxuzot] {
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.summary-copy > span:last-child[b-u3prxxuzot] {
    margin-top: 3px;
    color: #667085;
    font-size: 10px;
}

.summary-right[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editing-badge[b-u3prxxuzot] {
    padding: 5px 8px;
    border-radius: 999px;
    background: #FFF4E3;
    color: #8A5700;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .6px;
}

.summary-arrow[b-u3prxxuzot] {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #F6F8FC;
    color: #667085;
    font-size: 16px;
    transition: transform .2s ease;
}

.form-card[open] .summary-arrow[b-u3prxxuzot] {
    transform: rotate(180deg);
}


/* ============================================================
   FORM CONTENT
   ============================================================ */

.form-content[b-u3prxxuzot] {
    padding: 22px;
    border-top: 1px solid #EEF1F5;
    background: #FBFCFE;
}

.form-section + .form-section[b-u3prxxuzot] {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #E7EBF1;
}

.form-section-header[b-u3prxxuzot] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

    .form-section-header span[b-u3prxxuzot] {
        display: block;
        margin-bottom: 3px;
        color: #0D3B8F;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

    .form-section-header h3[b-u3prxxuzot] {
        margin: 0;
        color: #00143D;
        font-size: 16px;
        font-weight: 900;
    }

    .form-section-header p[b-u3prxxuzot] {
        max-width: 350px;
        margin: 0;
        color: #98A2B3;
        font-size: 10px;
        line-height: 1.5;
        text-align: right;
    }


/* ============================================================
   FORM GRID
   ============================================================ */

.form-grid[b-u3prxxuzot] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.form-field[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.form-field-wide[b-u3prxxuzot] {
    grid-column: 1 / -1;
}

.form-field > label:first-child[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.optional[b-u3prxxuzot] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-input[b-u3prxxuzot] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .catalog-input[b-u3prxxuzot]::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-u3prxxuzot] {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-u3prxxuzot] {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, .08);
    }

.field-helper[b-u3prxxuzot] {
    margin-top: 6px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1.4;
}


/* ============================================================
   SCHEDULE
   ============================================================ */

.schedule-grid[b-u3prxxuzot] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.schedule-preview[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #DCE6F5;
    border-radius: 12px;
    background: #F5F8FD;
}

.schedule-preview-icon[b-u3prxxuzot] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #002060;
    color: #FFFFFF;
    font-size: 16px;
}

.schedule-preview > div:last-child[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.schedule-preview span[b-u3prxxuzot] {
    margin-bottom: 2px;
    color: #0D3B8F;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .8px;
}

.schedule-preview strong[b-u3prxxuzot] {
    color: #00143D;
    font-size: 11px;
    font-weight: 900;
}

.schedule-preview small[b-u3prxxuzot] {
    margin-top: 2px;
    color: #667085;
    font-size: 8px;
}


/* ============================================================
   SWITCH
   ============================================================ */

.switch-card[b-u3prxxuzot] {
    min-height: 54px;
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 9px 12px;
    border: 1px solid #D9E0EA;
    border-radius: 11px;
    background: #FFFFFF;
    cursor: pointer;
}

    .switch-card input[b-u3prxxuzot] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.switch-control[b-u3prxxuzot] {
    position: relative;
    width: 36px;
    height: 20px;
    flex: 0 0 36px;
    border-radius: 999px;
    background: #D0D5DD;
    transition: background .2s ease;
}

.switch-thumb[b-u3prxxuzot] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .22);
    transition: transform .2s ease;
}

.switch-card:has(input:checked) .switch-control[b-u3prxxuzot] {
    background: #2F6B4F;
}

.switch-card:has(input:checked) .switch-thumb[b-u3prxxuzot] {
    transform: translateX(16px);
}

.switch-copy[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .switch-copy strong[b-u3prxxuzot] {
        color: #344054;
        font-size: 9px;
        font-weight: 900;
    }

    .switch-copy small[b-u3prxxuzot] {
        margin-top: 2px;
        color: #98A2B3;
        font-size: 8px;
        font-weight: 500;
    }


/* ============================================================
   FORM ACTIONS
   ============================================================ */

.form-actions[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid #E7EBF1;
}

.form-actions-info[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 9px;
}

.info-dot[b-u3prxxuzot] {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #FCA522;
}

.form-buttons[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary[b-u3prxxuzot],
.btn-secondary[b-u3prxxuzot],
.btn-edit[b-u3prxxuzot],
.btn-delete[b-u3prxxuzot] {
    font-family: inherit;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn-primary[b-u3prxxuzot] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: none;
    border-radius: 10px;
    background: #002060;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 4px 9px rgba(0, 32, 96, .18);
}

    .btn-primary:hover:not(:disabled)[b-u3prxxuzot] {
        background: #00194D;
        transform: translateY(-1px);
        box-shadow: 0 6px 13px rgba(0, 32, 96, .22);
    }

    .btn-primary:disabled[b-u3prxxuzot] {
        cursor: not-allowed;
        opacity: .55;
        box-shadow: none;
    }

.btn-secondary[b-u3prxxuzot] {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

    .btn-secondary:hover[b-u3prxxuzot] {
        background: #F8FAFC;
        border-color: #B8C4D4;
    }

.button-arrow[b-u3prxxuzot] {
    font-size: 15px;
}

.button-spinner[b-u3prxxuzot] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-u3prxxuzot .7s linear infinite;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-u3prxxuzot] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-u3prxxuzot] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-u3prxxuzot] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-u3prxxuzot] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-u3prxxuzot] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    word-break: break-word;
}


/* ============================================================
   TABLE CARD
   ============================================================ */

.table-card[b-u3prxxuzot] {
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, .045);
}

.table-card-header[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-u3prxxuzot] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-u3prxxuzot] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-u3prxxuzot] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

.table-total[b-u3prxxuzot] {
    min-width: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #E5E9F0;
    border-radius: 11px;
    background: #F6F8FC;
}

    .table-total strong[b-u3prxxuzot] {
        color: #00143D;
        font-size: 17px;
        font-weight: 900;
    }

    .table-total span[b-u3prxxuzot] {
        color: #98A2B3;
        font-size: 8px;
        text-transform: uppercase;
    }


/* ============================================================
   TABLE
   ============================================================ */

.table-wrapper[b-u3prxxuzot] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-u3prxxuzot] {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

    .catalog-table thead[b-u3prxxuzot] {
        background: #F8FAFC;
    }

    .catalog-table th[b-u3prxxuzot] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: .7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-u3prxxuzot] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-u3prxxuzot] {
        border-bottom: none;
    }

    .catalog-table tbody tr[b-u3prxxuzot] {
        transition: background-color .15s ease;
    }

        .catalog-table tbody tr:hover[b-u3prxxuzot] {
            background: #FBFCFE;
        }


/* ============================================================
   PROGRAM
   ============================================================ */

.program-cell[b-u3prxxuzot] {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-icon[b-u3prxxuzot] {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
    font-weight: 900;
}

.program-info[b-u3prxxuzot] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .program-info strong[b-u3prxxuzot] {
        color: #101828;
        font-size: 11px;
        font-weight: 900;
    }

    .program-info span[b-u3prxxuzot] {
        margin-top: 3px;
        color: #98A2B3;
        font-size: 8px;
    }


/* ============================================================
   ASSET
   ============================================================ */

.asset-cell[b-u3prxxuzot] {
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asset-dot[b-u3prxxuzot] {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #FCA522;
}

.asset-cell > div[b-u3prxxuzot] {
    display: flex;
    flex-direction: column;
}

.asset-cell small[b-u3prxxuzot] {
    margin-bottom: 2px;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .6px;
}

.asset-cell strong[b-u3prxxuzot] {
    color: #344054;
    font-size: 9px;
    font-weight: 900;
}


/* ============================================================
   FREQUENCY
   ============================================================ */

.frequency-cell[b-u3prxxuzot] {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #F6F8FC;
}

    .frequency-cell strong[b-u3prxxuzot] {
        color: #00143D;
        font-size: 13px;
        font-weight: 900;
    }

    .frequency-cell span[b-u3prxxuzot] {
        color: #667085;
        font-size: 8px;
        font-weight: 800;
    }


/* ============================================================
   DATE
   ============================================================ */

.date-cell[b-u3prxxuzot] {
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.date-icon[b-u3prxxuzot] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #FFF4E3;
    color: #A86400;
    font-size: 12px;
}

.date-cell > div[b-u3prxxuzot] {
    display: flex;
    flex-direction: column;
}

.date-cell small[b-u3prxxuzot] {
    color: #98A2B3;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .5px;
}

.date-cell strong[b-u3prxxuzot] {
    margin-top: 2px;
    color: #344054;
    font-size: 9px;
    font-weight: 900;
}


/* ============================================================
   AUTO
   ============================================================ */

.auto-badge[b-u3prxxuzot] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
}

.auto-enabled[b-u3prxxuzot] {
    background: #FFF4E3;
    color: #8A5700;
}

.auto-manual[b-u3prxxuzot] {
    background: #F2F4F7;
    color: #667085;
}


/* ============================================================
   STATUS
   ============================================================ */

.status-badge[b-u3prxxuzot] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.status-dot[b-u3prxxuzot] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active[b-u3prxxuzot] {
    background: #EEF8F2;
    color: #2F6B4F;
}

    .status-active .status-dot[b-u3prxxuzot] {
        background: #2F6B4F;
    }

.status-inactive[b-u3prxxuzot] {
    background: #F2F4F7;
    color: #667085;
}

    .status-inactive .status-dot[b-u3prxxuzot] {
        background: #98A2B3;
    }


/* ============================================================
   ACTIONS
   ============================================================ */

.actions-column[b-u3prxxuzot] {
    text-align: right !important;
}

.row-actions[b-u3prxxuzot] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.btn-edit[b-u3prxxuzot],
.btn-delete[b-u3prxxuzot] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.btn-edit[b-u3prxxuzot] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

    .btn-edit:hover[b-u3prxxuzot] {
        background: #E3EBF7;
        border-color: #BFCFE8;
    }

.btn-delete[b-u3prxxuzot] {
    border: 1px solid #FFD4D8;
    background: #FFF1F2;
    color: #B4232B;
}

    .btn-delete:hover[b-u3prxxuzot] {
        background: #FFE6E8;
        border-color: #F5B8BE;
    }


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-u3prxxuzot],
.empty-state[b-u3prxxuzot] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-u3prxxuzot] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-u3prxxuzot .75s linear infinite;
}

.loading-state span[b-u3prxxuzot] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-u3prxxuzot] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
}

.empty-state h3[b-u3prxxuzot] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-u3prxxuzot] {
    max-width: 350px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   REDIRECT
   ============================================================ */

.page-state-card[b-u3prxxuzot] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, .05);
}

.state-icon[b-u3prxxuzot] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
}

.page-state-card h3[b-u3prxxuzot] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
}

.page-state-card p[b-u3prxxuzot] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMATION
   ============================================================ */

@keyframes spin-b-u3prxxuzot {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1150px) {

    .stats-grid[b-u3prxxuzot] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-grid[b-u3prxxuzot] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 720px) {

    .programas-page[b-u3prxxuzot] {
        padding: 18px 14px;
    }


    .page-header[b-u3prxxuzot] {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header-main[b-u3prxxuzot] {
        align-items: flex-start;
    }

    .page-title-icon[b-u3prxxuzot] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .page-header h1[b-u3prxxuzot] {
        font-size: 25px;
    }


    .stats-grid[b-u3prxxuzot] {
        gap: 9px;
    }

    .stat-card[b-u3prxxuzot] {
        align-items: flex-start;
        padding: 13px;
    }

    .stat-icon[b-u3prxxuzot] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .stat-content strong[b-u3prxxuzot] {
        font-size: 19px;
    }


    .form-card summary[b-u3prxxuzot] {
        padding: 18px 15px;
    }

    .editing-badge[b-u3prxxuzot] {
        display: none;
    }

    .form-content[b-u3prxxuzot] {
        padding: 17px 15px;
    }

    .form-section-header[b-u3prxxuzot] {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

        .form-section-header p[b-u3prxxuzot] {
            max-width: none;
            text-align: left;
        }


    .form-grid[b-u3prxxuzot],
    .schedule-grid[b-u3prxxuzot] {
        grid-template-columns: 1fr;
    }

    .form-field-wide[b-u3prxxuzot] {
        grid-column: auto;
    }


    .form-actions[b-u3prxxuzot] {
        align-items: stretch;
        flex-direction: column;
    }

    .form-actions-info[b-u3prxxuzot] {
        line-height: 1.5;
    }

    .form-buttons[b-u3prxxuzot] {
        width: 100%;
        flex-direction: column-reverse;
    }

    .btn-primary[b-u3prxxuzot],
    .btn-secondary[b-u3prxxuzot] {
        width: 100%;
    }


    .table-card-header[b-u3prxxuzot] {
        align-items: flex-start;
        padding: 17px 15px;
    }
}


@media (max-width: 440px) {

    .stats-grid[b-u3prxxuzot] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card[b-u3prxxuzot] {
        flex-direction: column;
    }

    .summary-copy > span:last-child[b-u3prxxuzot] {
        display: none;
    }

    .schedule-preview[b-u3prxxuzot] {
        align-items: flex-start;
    }
}
/* /Pages/SinAcceso.razor.rz.scp.css */
.sin-acceso[b-ii5pykvy76] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #00143d 0%, #002060 55%, #0a2c6f 100%);
    font-family: "Segoe UI", Arial, sans-serif;
}

.sin-acceso-card[b-ii5pykvy76] {
    width: 100%;
    max-width: 460px;
    padding: 42px 34px;
    box-sizing: border-box;
    border-radius: 22px;
    background: #FFFFFF;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.sin-acceso-icono[b-ii5pykvy76] {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(252, 165, 34, .14);
    color: #FCA522;
    font-size: 24px;
    font-weight: 800;
}

.sin-acceso-card h1[b-ii5pykvy76] {
    margin: 0 0 10px;
    color: #002060;
    font-size: 22px;
}

.sin-acceso-card p[b-ii5pykvy76] {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.sin-acceso-card button[b-ii5pykvy76] {
    width: 100%;
    height: 50px;
    margin-top: 26px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #002060 0%, #00348d 100%);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
/* /Pages/TiposMantenimiento.razor.rz.scp.css */
/* ============================================================
   TIPOS DE MANTENIMIENTO
   ============================================================ */

.tipos-page[b-3h2m25m3s4] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-3h2m25m3s4] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 24px;
    font-weight: 900;
}

.page-eyebrow[b-3h2m25m3s4] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-3h2m25m3s4] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-3h2m25m3s4] {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-3h2m25m3s4] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-3h2m25m3s4] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   ESTADÍSTICAS
   ============================================================ */

.stats-grid[b-3h2m25m3s4] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.045);
}

.stat-icon[b-3h2m25m3s4] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-3h2m25m3s4] {
    background: #EEF3FB;
    color: #003B95;
}

.stat-icon-green[b-3h2m25m3s4] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.stat-icon-orange[b-3h2m25m3s4] {
    background: #FFF4E3;
    color: #A86400;
}

.stat-icon-gray[b-3h2m25m3s4] {
    background: #F2F4F7;
    color: #667085;
}

.stat-content[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-3h2m25m3s4] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.stat-content strong[b-3h2m25m3s4] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-3h2m25m3s4] {
    margin-top: 3px;
    overflow: hidden;
    color: #98A2B3;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   HEADER - ACCIONES
   ============================================================ */

.page-header-actions[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-new[b-3h2m25m3s4] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 32, 96, 0.17);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .btn-new:hover[b-3h2m25m3s4] {
        transform: translateY(-1px);
        box-shadow: 0 11px 23px rgba(0, 32, 96, 0.23);
    }

    .btn-new:active[b-3h2m25m3s4] {
        transform: translateY(0);
    }

.btn-new-icon[b-3h2m25m3s4] {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.13);
    color: #FCA522;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-3h2m25m3s4] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-3h2m25m3s4] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-3h2m25m3s4] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-3h2m25m3s4] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-3h2m25m3s4] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   TABLE CARD
   ============================================================ */

.table-card[b-3h2m25m3s4] {
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.045);
}

.table-card-header[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-3h2m25m3s4] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-3h2m25m3s4] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-3h2m25m3s4] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

/* ============================================================
   TABLA
   ============================================================ */

.table-wrapper[b-3h2m25m3s4] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-3h2m25m3s4] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

    .catalog-table thead[b-3h2m25m3s4] {
        background: #F8FAFC;
    }

    .catalog-table th[b-3h2m25m3s4] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 0.7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-3h2m25m3s4] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-3h2m25m3s4] {
        border-bottom: none;
    }

    .catalog-table tbody tr[b-3h2m25m3s4] {
        transition: background-color 0.15s ease;
    }

        .catalog-table tbody tr:hover[b-3h2m25m3s4] {
            background: #FBFCFE;
        }


/* ============================================================
   TIPO
   ============================================================ */

.tipo-cell[b-3h2m25m3s4] {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tipo-icon[b-3h2m25m3s4] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
    font-weight: 900;
}

.tipo-info[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .tipo-info strong[b-3h2m25m3s4] {
        overflow: hidden;
        color: #101828;
        font-size: 11px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tipo-info span[b-3h2m25m3s4] {
        margin-top: 3px;
        color: #98A2B3;
        font-size: 9px;
    }


/* ============================================================
   CÓDIGO
   ============================================================ */

.code-badge[b-3h2m25m3s4] {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid #E5E9F0;
    border-radius: 7px;
    background: #F8FAFC;
    color: #344054;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.code-empty[b-3h2m25m3s4] {
    color: #98A2B3;
    font-size: 9px;
}


/* ============================================================
   ESTADO
   ============================================================ */

.status-badge[b-3h2m25m3s4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.status-dot[b-3h2m25m3s4] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active[b-3h2m25m3s4] {
    background: #EEF8F2;
    color: #2F6B4F;
}

    .status-active .status-dot[b-3h2m25m3s4] {
        background: #2F6B4F;
    }

.status-inactive[b-3h2m25m3s4] {
    background: #F2F4F7;
    color: #667085;
}

    .status-inactive .status-dot[b-3h2m25m3s4] {
        background: #98A2B3;
    }


/* ============================================================
   ACCIONES
   ============================================================ */

.actions-column[b-3h2m25m3s4] {
    text-align: right !important;
}

.row-actions[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.btn-edit[b-3h2m25m3s4],
.btn-delete[b-3h2m25m3s4] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.btn-edit[b-3h2m25m3s4] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

    .btn-edit:hover[b-3h2m25m3s4] {
        border-color: #BFCFE8;
        background: #E3EBF7;
    }

.btn-delete[b-3h2m25m3s4] {
    border: 1px solid #FFD4D8;
    background: #FFF1F2;
    color: #B4232B;
}

    .btn-delete:hover[b-3h2m25m3s4] {
        border-color: #F5B8BE;
        background: #FFE6E8;
    }


.btn-edit[b-3h2m25m3s4],
.btn-delete[b-3h2m25m3s4] {
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-3h2m25m3s4],
.empty-state[b-3h2m25m3s4] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-3h2m25m3s4] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-3h2m25m3s4 0.75s linear infinite;
}

.loading-state span[b-3h2m25m3s4] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-3h2m25m3s4] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
    font-weight: 900;
}

.empty-state h3[b-3h2m25m3s4] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-3h2m25m3s4] {
    max-width: 350px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   REDIRECCIÓN
   ============================================================ */

.page-state-card[b-3h2m25m3s4] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

.state-icon[b-3h2m25m3s4] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
    font-weight: 900;
}

.page-state-card h3[b-3h2m25m3s4] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.page-state-card p[b-3h2m25m3s4] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMACIÓN
   ============================================================ */

@keyframes spin-b-3h2m25m3s4 {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   MODAL - FONDO
   ============================================================ */

.modal-backdrop[b-3h2m25m3s4] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 20, 61, 0.55);
    backdrop-filter: blur(3px);
    animation: modal-fade-in-b-3h2m25m3s4 0.16s ease;
}

@keyframes modal-fade-in-b-3h2m25m3s4 {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* ============================================================
   MODAL - CONTENEDOR
   ============================================================ */

.tipo-modal[b-3h2m25m3s4] {
    width: min(580px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 28px 70px rgba(0, 20, 61, 0.28);
    animation: modal-enter-b-3h2m25m3s4 0.18s ease;
}

    /* EditForm renderiza un <form> (componente hijo): ::deep para alcanzarlo. */
    .tipo-modal[b-3h2m25m3s4]  form {
        min-height: 0;
        display: flex;
        flex: 1;
        flex-direction: column;
    }

@keyframes modal-enter-b-3h2m25m3s4 {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ============================================================
   MODAL - CABECERA
   ============================================================ */

.modal-header[b-3h2m25m3s4] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 18px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.modal-title-area[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-icon[b-3h2m25m3s4] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 900;
}

.modal-eyebrow[b-3h2m25m3s4] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.modal-header h2[b-3h2m25m3s4] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.modal-header p[b-3h2m25m3s4] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
}

.modal-close[b-3h2m25m3s4] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #FFFFFF;
    color: #667085;
    font-family: inherit;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

    .modal-close:hover:not(:disabled)[b-3h2m25m3s4] {
        background: #FFF1F2;
        color: #E5232E;
    }


/* ============================================================
   MODAL - CUERPO
   ============================================================ */

.modal-body[b-3h2m25m3s4] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 21px;
    overflow-y: auto;
    background: #FBFCFE;
}

.modal-grid[b-3h2m25m3s4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 15px;
}

.modal-form-field[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .modal-form-field > label:first-child[b-3h2m25m3s4] {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.optional[b-3h2m25m3s4] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-help[b-3h2m25m3s4] {
    margin-top: 3px;
    margin-bottom: 7px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1.4;
}


/* ============================================================
   INPUTS
   InputText / InputCheckbox son componentes hijos: su <input>
   no recibe el atributo de aislamiento CSS, por eso ::deep.
   ============================================================ */

.catalog-input[b-3h2m25m3s4],
[b-3h2m25m3s4] .catalog-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .catalog-input[b-3h2m25m3s4]::placeholder,
    [b-3h2m25m3s4] .catalog-input::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-3h2m25m3s4],
    [b-3h2m25m3s4] .catalog-input:hover {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-3h2m25m3s4],
    [b-3h2m25m3s4] .catalog-input:focus {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }


/* ============================================================
   SWITCH ESTADO
   ============================================================ */

.status-toggle[b-3h2m25m3s4] {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
}

    .status-toggle.is-disabled[b-3h2m25m3s4] {
        cursor: not-allowed;
        opacity: 0.6;
    }

    .status-toggle[b-3h2m25m3s4]  input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.toggle-control[b-3h2m25m3s4] {
    position: relative;
    width: 35px;
    height: 20px;
    flex: 0 0 35px;
    border-radius: 999px;
    background: #D0D5DD;
    transition: background 0.2s ease;
}

.toggle-thumb[b-3h2m25m3s4] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.22);
    transition: transform 0.2s ease;
}

.status-toggle:has(input:checked) .toggle-control[b-3h2m25m3s4] {
    background: #2F6B4F;
}

.status-toggle:has(input:checked) .toggle-thumb[b-3h2m25m3s4] {
    transform: translateX(15px);
}

.toggle-copy[b-3h2m25m3s4] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .toggle-copy strong[b-3h2m25m3s4] {
        color: #344054;
        font-size: 10px;
        font-weight: 900;
    }

    .toggle-copy small[b-3h2m25m3s4] {
        margin-top: 1px;
        color: #98A2B3;
        font-size: 8px;
    }


/* ============================================================
   AYUDA
   ============================================================ */

.info-help[b-3h2m25m3s4] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
}

.info-icon[b-3h2m25m3s4] {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #FFFFFF;
    color: #003B95;
    font-size: 11px;
    font-weight: 900;
}

.info-help strong[b-3h2m25m3s4] {
    display: block;
    color: #00143D;
    font-size: 9px;
}

.info-help p[b-3h2m25m3s4] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 8px;
    line-height: 1.45;
}


/* ============================================================
   MODAL - ERROR
   ============================================================ */

.modal-error[b-3h2m25m3s4] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    border: 1px solid #FFD4D8;
    border-radius: 10px;
    background: #FFF1F2;
}

.modal-error-icon[b-3h2m25m3s4] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #E5232E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
}

.modal-error > div:last-child[b-3h2m25m3s4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-error strong[b-3h2m25m3s4] {
    color: #B4232B;
    font-size: 9px;
    font-weight: 900;
}

.modal-error span[b-3h2m25m3s4] {
    color: #A43A42;
    font-size: 9px;
    line-height: 1.4;
    word-break: break-word;
}


/* ============================================================
   MODAL - PIE
   ============================================================ */

.modal-footer[b-3h2m25m3s4] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 20px;
    border-top: 1px solid #EEF1F5;
    background: #FFFFFF;
}

.btn-modal-cancel[b-3h2m25m3s4],
.btn-modal-save[b-3h2m25m3s4] {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-modal-cancel[b-3h2m25m3s4] {
    border: 1px solid #D9E0EA;
    background: #FFFFFF;
    color: #344054;
}

    .btn-modal-cancel:hover:not(:disabled)[b-3h2m25m3s4] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

.btn-modal-save[b-3h2m25m3s4] {
    min-width: 140px;
    border: 0;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    box-shadow: 0 7px 16px rgba(0, 32, 96, 0.16);
}

    .btn-modal-save:hover:not(:disabled)[b-3h2m25m3s4] {
        transform: translateY(-1px);
        box-shadow: 0 10px 21px rgba(0, 32, 96, 0.22);
    }

.btn-modal-cancel:disabled[b-3h2m25m3s4],
.btn-modal-save:disabled[b-3h2m25m3s4],
.modal-close:disabled[b-3h2m25m3s4] {
    opacity: 0.55;
    cursor: not-allowed;
}

.save-arrow[b-3h2m25m3s4] {
    color: #FCA522;
    font-size: 14px;
}

.button-spinner[b-3h2m25m3s4] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-3h2m25m3s4 0.7s linear infinite;
}


/* ============================================================
   EXTRAS DE TIPOS
   ============================================================ */

/* Tres tarjetas en lugar de cuatro. */
.stats-grid[b-3h2m25m3s4] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fijo-badge[b-3h2m25m3s4] {
    display: inline-flex;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 5px;
    background: #FFF6E5;
    color: #B54708;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.4px;
    vertical-align: middle;
}

.confirm-text[b-3h2m25m3s4] {
    color: #B4232B;
    font-size: 9px;
    font-weight: 800;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .stats-grid[b-3h2m25m3s4] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 700px) {

    .tipos-page[b-3h2m25m3s4] {
        padding: 18px 14px;
    }

    /* HEADER */

    .page-header[b-3h2m25m3s4] {
        align-items: stretch;
        flex-direction: column;
    }

    .page-header-main[b-3h2m25m3s4] {
        align-items: flex-start;
    }

    .page-title-icon[b-3h2m25m3s4] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .page-header h1[b-3h2m25m3s4] {
        font-size: 25px;
    }

    .page-header-actions[b-3h2m25m3s4] {
        width: 100%;
    }

    .page-counter[b-3h2m25m3s4] {
        flex: 1;
        justify-content: center;
    }

    .btn-new[b-3h2m25m3s4] {
        flex: 1;
    }

    /* STATS */

    .stats-grid[b-3h2m25m3s4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .stat-card[b-3h2m25m3s4] {
        align-items: flex-start;
        padding: 13px;
        gap: 9px;
    }

    .stat-icon[b-3h2m25m3s4] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        border-radius: 10px;
        font-size: 14px;
    }

    .stat-content strong[b-3h2m25m3s4] {
        font-size: 19px;
    }

    .stat-content small[b-3h2m25m3s4] {
        white-space: normal;
    }

    /* TABLA */

    .table-card-header[b-3h2m25m3s4] {
        align-items: flex-start;
        padding: 17px 15px;
    }

        .catalog-table th[b-3h2m25m3s4],
    .catalog-table td[b-3h2m25m3s4] {
        padding-left: 13px;
        padding-right: 13px;
    }

    /* MODAL: se vuelve hoja inferior */

    .modal-backdrop[b-3h2m25m3s4] {
        align-items: flex-end;
        padding: 10px;
    }

    .tipo-modal[b-3h2m25m3s4] {
        width: 100%;
        max-height: 92vh;
        border-radius: 19px 19px 13px 13px;
    }

    .modal-grid[b-3h2m25m3s4] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓVIL PEQUEÑO
   ============================================================ */

@media (max-width: 430px) {

    .stats-grid[b-3h2m25m3s4] {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card[b-3h2m25m3s4] {
        flex-direction: column;
    }

    .page-header-actions[b-3h2m25m3s4] {
        flex-direction: column;
    }

    .page-counter[b-3h2m25m3s4],
    .btn-new[b-3h2m25m3s4] {
        width: 100%;
    }

    .modal-header[b-3h2m25m3s4],
    .modal-body[b-3h2m25m3s4] {
        padding: 17px;
    }

    .modal-footer[b-3h2m25m3s4] {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 13px 17px;
    }

    .btn-modal-cancel[b-3h2m25m3s4],
    .btn-modal-save[b-3h2m25m3s4] {
        width: 100%;
    }
}
/* /Pages/Ubicaciones.razor.rz.scp.css */
/* ============================================================
   UBICACIONES
   ============================================================ */

.ubicaciones-page[b-yhgf4eio06] {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 32px;
    color: #101828;
}


/* ============================================================
   HEADER
   ============================================================ */

.page-header[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-header-main[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-icon[b-yhgf4eio06] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 16px;
    background: #EEF3FB;
    color: #002060;
    font-size: 24px;
    font-weight: 900;
}

.page-eyebrow[b-yhgf4eio06] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.page-header h1[b-yhgf4eio06] {
    margin: 0;
    color: #00143D;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.page-header p[b-yhgf4eio06] {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.page-counter[b-yhgf4eio06] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #E5E9F0;
    border-radius: 999px;
    background: #FFFFFF;
    color: #344054;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 3px 10px rgba(0, 32, 96, 0.04);
}

.counter-dot[b-yhgf4eio06] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FCA522;
}


/* ============================================================
   ESTADÍSTICAS
   ============================================================ */

.stats-grid[b-yhgf4eio06] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #E5E9F0;
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.045);
}

.stat-icon[b-yhgf4eio06] {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 900;
}

.stat-icon-blue[b-yhgf4eio06] {
    background: #EEF3FB;
    color: #003B95;
}

.stat-icon-green[b-yhgf4eio06] {
    background: #EEF8F2;
    color: #2F6B4F;
}

.stat-icon-orange[b-yhgf4eio06] {
    background: #FFF4E3;
    color: #A86400;
}

.stat-icon-gray[b-yhgf4eio06] {
    background: #F2F4F7;
    color: #667085;
}

.stat-content[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.stat-label[b-yhgf4eio06] {
    margin-bottom: 2px;
    color: #667085;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.stat-content strong[b-yhgf4eio06] {
    color: #00143D;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-content small[b-yhgf4eio06] {
    margin-top: 3px;
    overflow: hidden;
    color: #98A2B3;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   HEADER - ACCIONES
   ============================================================ */

.page-header-actions[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-new[b-yhgf4eio06] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 32, 96, 0.17);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .btn-new:hover[b-yhgf4eio06] {
        transform: translateY(-1px);
        box-shadow: 0 11px 23px rgba(0, 32, 96, 0.23);
    }

    .btn-new:active[b-yhgf4eio06] {
        transform: translateY(0);
    }

.btn-new-icon[b-yhgf4eio06] {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.13);
    color: #FCA522;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}


/* ============================================================
   ERROR
   ============================================================ */

.alert-error[b-yhgf4eio06] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #FFD4D8;
    border-radius: 13px;
    background: #FFF1F2;
}

.alert-icon[b-yhgf4eio06] {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #E5232E;
    color: #FFFFFF;
    font-weight: 900;
}

.alert-error > div:last-child[b-yhgf4eio06] {
    display: flex;
    flex-direction: column;
}

.alert-error strong[b-yhgf4eio06] {
    color: #B4232B;
    font-size: 10px;
    font-weight: 900;
}

.alert-error span[b-yhgf4eio06] {
    margin-top: 3px;
    color: #A43A42;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-word;
}


/* ============================================================
   TABLE CARD
   ============================================================ */

.table-card[b-yhgf4eio06] {
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.045);
}

.table-card-header[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.table-eyebrow[b-yhgf4eio06] {
    display: block;
    margin-bottom: 3px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.table-card-header h2[b-yhgf4eio06] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.table-card-header p[b-yhgf4eio06] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
}

.table-total[b-yhgf4eio06] {
    min-width: 63px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #E5E9F0;
    border-radius: 11px;
    background: #F6F8FC;
}

    .table-total strong[b-yhgf4eio06] {
        color: #00143D;
        font-size: 17px;
        font-weight: 900;
    }

    .table-total span[b-yhgf4eio06] {
        margin-top: 1px;
        color: #98A2B3;
        font-size: 8px;
        font-weight: 800;
        text-transform: uppercase;
    }


/* ============================================================
   TABLA
   ============================================================ */

.table-wrapper[b-yhgf4eio06] {
    width: 100%;
    overflow-x: auto;
}

.catalog-table[b-yhgf4eio06] {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

    .catalog-table thead[b-yhgf4eio06] {
        background: #F8FAFC;
    }

    .catalog-table th[b-yhgf4eio06] {
        padding: 11px 17px;
        border-bottom: 1px solid #E5E9F0;
        color: #667085;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 0.7px;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .catalog-table td[b-yhgf4eio06] {
        padding: 13px 17px;
        border-bottom: 1px solid #EEF1F5;
        color: #344054;
        font-size: 10px;
        vertical-align: middle;
    }

    .catalog-table tbody tr:last-child td[b-yhgf4eio06] {
        border-bottom: none;
    }

    .catalog-table tbody tr[b-yhgf4eio06] {
        transition: background-color 0.15s ease;
    }

        .catalog-table tbody tr:hover[b-yhgf4eio06] {
            background: #FBFCFE;
        }


/* ============================================================
   UBICACIÓN PRINCIPAL
   ============================================================ */

.location-cell[b-yhgf4eio06] {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-main-icon[b-yhgf4eio06] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 16px;
    font-weight: 900;
}

.location-info[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .location-info strong[b-yhgf4eio06] {
        overflow: hidden;
        color: #101828;
        font-size: 11px;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .location-info span[b-yhgf4eio06] {
        margin-top: 3px;
        color: #98A2B3;
        font-size: 9px;
    }


/* ============================================================
   CÓDIGO
   ============================================================ */

.code-badge[b-yhgf4eio06] {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid #E5E9F0;
    border-radius: 7px;
    background: #F8FAFC;
    color: #344054;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.code-empty[b-yhgf4eio06] {
    color: #98A2B3;
    font-size: 9px;
}


/* ============================================================
   JERARQUÍA
   ============================================================ */

.root-badge[b-yhgf4eio06] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #FFF4E3;
    color: #8A5700;
    font-size: 9px;
    font-weight: 800;
}

.root-dot[b-yhgf4eio06] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FCA522;
}

.parent-info[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.parent-arrow[b-yhgf4eio06] {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 13px;
    font-weight: 900;
}

.parent-info > div[b-yhgf4eio06] {
    display: flex;
    flex-direction: column;
}

.parent-info small[b-yhgf4eio06] {
    margin-bottom: 2px;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.6px;
}

.parent-info strong[b-yhgf4eio06] {
    color: #344054;
    font-size: 9px;
    font-weight: 800;
}


/* ============================================================
   ESTADO
   ============================================================ */

.status-badge[b-yhgf4eio06] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.status-dot[b-yhgf4eio06] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active[b-yhgf4eio06] {
    background: #EEF8F2;
    color: #2F6B4F;
}

    .status-active .status-dot[b-yhgf4eio06] {
        background: #2F6B4F;
    }

.status-inactive[b-yhgf4eio06] {
    background: #F2F4F7;
    color: #667085;
}

    .status-inactive .status-dot[b-yhgf4eio06] {
        background: #98A2B3;
    }


/* ============================================================
   ACCIONES
   ============================================================ */

.actions-column[b-yhgf4eio06] {
    text-align: right !important;
}

.row-actions[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.btn-edit[b-yhgf4eio06],
.btn-delete[b-yhgf4eio06] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
}

.btn-edit[b-yhgf4eio06] {
    border: 1px solid #DCE6F5;
    background: #EEF3FB;
    color: #003B95;
}

    .btn-edit:hover[b-yhgf4eio06] {
        border-color: #BFCFE8;
        background: #E3EBF7;
    }

.btn-delete[b-yhgf4eio06] {
    border: 1px solid #FFD4D8;
    background: #FFF1F2;
    color: #B4232B;
}

    .btn-delete:hover[b-yhgf4eio06] {
        border-color: #F5B8BE;
        background: #FFE6E8;
    }


.btn-edit[b-yhgf4eio06],
.btn-delete[b-yhgf4eio06] {
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}


/* ============================================================
   RESUMEN DE PÁGINA (encabezado de tabla)
   ============================================================ */

.table-summary[b-yhgf4eio06] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

    .table-summary span[b-yhgf4eio06] {
        color: #98A2B3;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .table-summary strong[b-yhgf4eio06] {
        color: #00143D;
        font-size: 13px;
        font-weight: 900;
    }


/* ============================================================
   LOADING / EMPTY
   ============================================================ */

.loading-state[b-yhgf4eio06],
.empty-state[b-yhgf4eio06] {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.loader[b-yhgf4eio06] {
    width: 27px;
    height: 27px;
    margin-bottom: 11px;
    border: 3px solid #E5E9F0;
    border-top-color: #002060;
    border-radius: 50%;
    animation: spin-b-yhgf4eio06 0.75s linear infinite;
}

.loading-state span[b-yhgf4eio06] {
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.empty-icon[b-yhgf4eio06] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 21px;
    font-weight: 900;
}

.empty-state h3[b-yhgf4eio06] {
    margin: 0;
    color: #00143D;
    font-size: 14px;
    font-weight: 900;
}

.empty-state p[b-yhgf4eio06] {
    max-width: 350px;
    margin: 5px 0 0;
    color: #98A2B3;
    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   REDIRECCIÓN
   ============================================================ */

.page-state-card[b-yhgf4eio06] {
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 60px auto;
    padding: 20px;
    border: 1px solid #E5E9F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 18px rgba(0, 32, 96, 0.05);
}

.state-icon[b-yhgf4eio06] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF3FB;
    color: #003B95;
    font-size: 18px;
    font-weight: 900;
}

.page-state-card h3[b-yhgf4eio06] {
    margin: 0;
    color: #00143D;
    font-size: 13px;
    font-weight: 900;
}

.page-state-card p[b-yhgf4eio06] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 10px;
}


/* ============================================================
   ANIMACIÓN
   ============================================================ */

@keyframes spin-b-yhgf4eio06 {
    to {
        transform: rotate(360deg);
    }
}


.empty-action[b-yhgf4eio06] {
    min-height: 36px;
    margin-top: 15px;
    padding: 0 13px;
    border: 0;
    border-radius: 9px;
    background: #002060;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   MODAL - FONDO
   ============================================================ */

.modal-backdrop[b-yhgf4eio06] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 20, 61, 0.55);
    backdrop-filter: blur(3px);
    animation: modal-fade-in-b-yhgf4eio06 0.16s ease;
}

@keyframes modal-fade-in-b-yhgf4eio06 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ============================================================
   MODAL - CONTENEDOR
   ============================================================ */

.location-modal[b-yhgf4eio06] {
    width: min(580px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E5E9F0;
    border-radius: 19px;
    background: #FFFFFF;
    box-shadow: 0 28px 70px rgba(0, 20, 61, 0.28);
    animation: modal-enter-b-yhgf4eio06 0.18s ease;
}

    /* EditForm renderiza un <form> (componente hijo): ::deep para alcanzarlo. */
    .location-modal[b-yhgf4eio06]  form {
        min-height: 0;
        display: flex;
        flex: 1;
        flex-direction: column;
    }

@keyframes modal-enter-b-yhgf4eio06 {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ============================================================
   MODAL - CABECERA
   ============================================================ */

.modal-header[b-yhgf4eio06] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 20px 18px;
    border-top: 4px solid #FCA522;
    border-bottom: 1px solid #EEF1F5;
}

.modal-title-area[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-icon[b-yhgf4eio06] {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #002060;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 900;
}

.modal-eyebrow[b-yhgf4eio06] {
    display: block;
    margin-bottom: 4px;
    color: #0D3B8F;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.modal-header h2[b-yhgf4eio06] {
    margin: 0;
    color: #00143D;
    font-size: 17px;
    font-weight: 900;
}

.modal-header p[b-yhgf4eio06] {
    margin: 4px 0 0;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
}

.modal-close[b-yhgf4eio06] {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #E5E9F0;
    border-radius: 9px;
    background: #FFFFFF;
    color: #667085;
    font-family: inherit;
    font-size: 19px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

    .modal-close:hover:not(:disabled)[b-yhgf4eio06] {
        background: #FFF1F2;
        color: #E5232E;
    }


/* ============================================================
   MODAL - CUERPO
   ============================================================ */

.modal-body[b-yhgf4eio06] {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 21px;
    overflow-y: auto;
    background: #FBFCFE;
}

.modal-grid[b-yhgf4eio06] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 15px;
}

.modal-form-field[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .modal-form-field > label:first-child[b-yhgf4eio06] {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #344054;
        font-size: 10px;
        font-weight: 800;
    }

.optional[b-yhgf4eio06] {
    display: inline-flex;
    padding: 2px 5px;
    border-radius: 4px;
    background: #F2F4F7;
    color: #98A2B3;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-help[b-yhgf4eio06] {
    margin-top: 3px;
    margin-bottom: 7px;
    color: #98A2B3;
    font-size: 8px;
    line-height: 1.4;
}


/* ============================================================
   INPUTS
   InputText / InputCheckbox son componentes hijos: su <input>
   no recibe el atributo de aislamiento CSS, por eso ::deep.
   ============================================================ */

.catalog-input[b-yhgf4eio06],
[b-yhgf4eio06] .catalog-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    outline: none;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #101828;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .catalog-input[b-yhgf4eio06]::placeholder,
    [b-yhgf4eio06] .catalog-input::placeholder {
        color: #B0B8C5;
    }

    .catalog-input:hover[b-yhgf4eio06],
    [b-yhgf4eio06] .catalog-input:hover {
        border-color: #B8C4D4;
    }

    .catalog-input:focus[b-yhgf4eio06],
    [b-yhgf4eio06] .catalog-input:focus {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }


/* ============================================================
   SWITCH ESTADO
   ============================================================ */

.status-toggle[b-yhgf4eio06] {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid #D9E0EA;
    border-radius: 10px;
    background: #FFFFFF;
    cursor: pointer;
}

    .status-toggle.is-disabled[b-yhgf4eio06] {
        cursor: not-allowed;
        opacity: 0.6;
    }

    .status-toggle[b-yhgf4eio06]  input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.toggle-control[b-yhgf4eio06] {
    position: relative;
    width: 35px;
    height: 20px;
    flex: 0 0 35px;
    border-radius: 999px;
    background: #D0D5DD;
    transition: background 0.2s ease;
}

.toggle-thumb[b-yhgf4eio06] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.22);
    transition: transform 0.2s ease;
}

.status-toggle:has(input:checked) .toggle-control[b-yhgf4eio06] {
    background: #2F6B4F;
}

.status-toggle:has(input:checked) .toggle-thumb[b-yhgf4eio06] {
    transform: translateX(15px);
}

.toggle-copy[b-yhgf4eio06] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .toggle-copy strong[b-yhgf4eio06] {
        color: #344054;
        font-size: 10px;
        font-weight: 900;
    }

    .toggle-copy small[b-yhgf4eio06] {
        margin-top: 1px;
        color: #98A2B3;
        font-size: 8px;
    }


/* ============================================================
   AYUDA DE JERARQUÍA
   ============================================================ */

.hierarchy-help[b-yhgf4eio06] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px;
    border: 1px solid #DCE6F5;
    border-radius: 10px;
    background: #EEF3FB;
}

.hierarchy-icon[b-yhgf4eio06] {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #FFFFFF;
    color: #003B95;
    font-size: 11px;
    font-weight: 900;
}

.hierarchy-help strong[b-yhgf4eio06] {
    display: block;
    color: #00143D;
    font-size: 9px;
}

.hierarchy-help p[b-yhgf4eio06] {
    margin: 3px 0 0;
    color: #667085;
    font-size: 8px;
    line-height: 1.45;
}


/* ============================================================
   MODAL - ERROR
   ============================================================ */

.modal-error[b-yhgf4eio06] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    border: 1px solid #FFD4D8;
    border-radius: 10px;
    background: #FFF1F2;
}

.modal-error-icon[b-yhgf4eio06] {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #E5232E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 900;
}

.modal-error > div:last-child[b-yhgf4eio06] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-error strong[b-yhgf4eio06] {
    color: #B4232B;
    font-size: 9px;
    font-weight: 900;
}

.modal-error span[b-yhgf4eio06] {
    color: #A43A42;
    font-size: 9px;
    line-height: 1.4;
    word-break: break-word;
}


/* ============================================================
   MODAL - PIE
   ============================================================ */

.modal-footer[b-yhgf4eio06] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 20px;
    border-top: 1px solid #EEF1F5;
    background: #FFFFFF;
}

.btn-modal-cancel[b-yhgf4eio06],
.btn-modal-save[b-yhgf4eio06] {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-modal-cancel[b-yhgf4eio06] {
    border: 1px solid #D9E0EA;
    background: #FFFFFF;
    color: #344054;
}

    .btn-modal-cancel:hover:not(:disabled)[b-yhgf4eio06] {
        border-color: #B8C4D4;
        background: #F8FAFC;
    }

.btn-modal-save[b-yhgf4eio06] {
    min-width: 140px;
    border: 0;
    background: linear-gradient(135deg, #002060, #003B95);
    color: #FFFFFF;
    box-shadow: 0 7px 16px rgba(0, 32, 96, 0.16);
}

    .btn-modal-save:hover:not(:disabled)[b-yhgf4eio06] {
        transform: translateY(-1px);
        box-shadow: 0 10px 21px rgba(0, 32, 96, 0.22);
    }

    .btn-modal-cancel:disabled[b-yhgf4eio06],
    .btn-modal-save:disabled[b-yhgf4eio06],
    .modal-close:disabled[b-yhgf4eio06] {
        opacity: 0.55;
        cursor: not-allowed;
    }

.save-arrow[b-yhgf4eio06] {
    color: #FCA522;
    font-size: 14px;
}

.button-spinner[b-yhgf4eio06] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-yhgf4eio06 0.7s linear infinite;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .stats-grid[b-yhgf4eio06] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 700px) {

    .ubicaciones-page[b-yhgf4eio06] {
        padding: 18px 14px;
    }

    /* HEADER */

    .page-header[b-yhgf4eio06] {
        align-items: stretch;
        flex-direction: column;
    }

    .page-header-main[b-yhgf4eio06] {
        align-items: flex-start;
    }

    .page-title-icon[b-yhgf4eio06] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 13px;
    }

    .page-header h1[b-yhgf4eio06] {
        font-size: 25px;
    }

    .page-header-actions[b-yhgf4eio06] {
        width: 100%;
    }

    .page-counter[b-yhgf4eio06] {
        flex: 1;
        justify-content: center;
    }

    .btn-new[b-yhgf4eio06] {
        flex: 1;
    }

    /* STATS */

    .stats-grid[b-yhgf4eio06] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .stat-card[b-yhgf4eio06] {
        align-items: flex-start;
        padding: 13px;
        gap: 9px;
    }

    .stat-icon[b-yhgf4eio06] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        border-radius: 10px;
        font-size: 14px;
    }

    .stat-content strong[b-yhgf4eio06] {
        font-size: 19px;
    }

    .stat-content small[b-yhgf4eio06] {
        white-space: normal;
    }

    /* TABLA */

    .table-card-header[b-yhgf4eio06] {
        align-items: flex-start;
        padding: 17px 15px;
    }

    .table-summary[b-yhgf4eio06] {
        display: none;
    }

    .catalog-table th[b-yhgf4eio06],
    .catalog-table td[b-yhgf4eio06] {
        padding-left: 13px;
        padding-right: 13px;
    }

    /* MODAL: se vuelve hoja inferior */

    .modal-backdrop[b-yhgf4eio06] {
        align-items: flex-end;
        padding: 10px;
    }

    .location-modal[b-yhgf4eio06] {
        width: 100%;
        max-height: 92vh;
        border-radius: 19px 19px 13px 13px;
    }

    .modal-grid[b-yhgf4eio06] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   MÓVIL PEQUEÑO
   ============================================================ */

@media (max-width: 430px) {

    .stats-grid[b-yhgf4eio06] {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card[b-yhgf4eio06] {
        flex-direction: column;
    }

    .page-header-actions[b-yhgf4eio06] {
        flex-direction: column;
    }

    .page-counter[b-yhgf4eio06],
    .btn-new[b-yhgf4eio06] {
        width: 100%;
    }

    .modal-header[b-yhgf4eio06],
    .modal-body[b-yhgf4eio06] {
        padding: 17px;
    }

    .modal-footer[b-yhgf4eio06] {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 13px 17px;
    }

    .btn-modal-cancel[b-yhgf4eio06],
    .btn-modal-save[b-yhgf4eio06] {
        width: 100%;
    }
}
/* /Shared/Paginador.razor.rz.scp.css */
/* ============================================================
   PAGINADOR
   ============================================================ */

.pagination-container[b-70fykrlj1q] {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 18px;
    border-top: 1px solid #EEF1F5;
    background: #FBFCFE;
}

.pagination-info[b-70fykrlj1q] {
    color: #667085;
    font-size: 10px;
    white-space: nowrap;
}

    .pagination-info strong[b-70fykrlj1q] {
        color: #00143D;
        font-weight: 900;
    }

.pagination-controls[b-70fykrlj1q] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pagination-size[b-70fykrlj1q] {
    height: 33px;
    padding: 0 10px;
    border: 1px solid #D9E0EA;
    border-radius: 8px;
    outline: 0;
    background: #FFFFFF;
    color: #344054;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

    .pagination-size:focus[b-70fykrlj1q] {
        border-color: #0D3B8F;
        box-shadow: 0 0 0 3px rgba(13, 59, 143, 0.08);
    }

.pagination-buttons[b-70fykrlj1q] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-button[b-70fykrlj1q] {
    min-width: 33px;
    height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #E5E9F0;
    border-radius: 8px;
    background: #FFFFFF;
    color: #344054;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .pagination-button:hover:not(:disabled):not(.active)[b-70fykrlj1q] {
        border-color: #BFCFE8;
        background: #EEF3FB;
        color: #002060;
        transform: translateY(-1px);
    }

    .pagination-button.active[b-70fykrlj1q] {
        border-color: #002060;
        background: #002060;
        color: #FFFFFF;
        box-shadow: 0 5px 12px rgba(0, 32, 96, 0.16);
    }

    .pagination-button:disabled[b-70fykrlj1q] {
        opacity: 0.35;
        cursor: not-allowed;
    }

.pagination-arrow[b-70fykrlj1q] {
    font-size: 15px;
}


/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 700px) {

    .pagination-container[b-70fykrlj1q] {
        align-items: stretch;
        flex-direction: column;
        gap: 11px;
        padding: 13px;
    }

    .pagination-info[b-70fykrlj1q] {
        text-align: center;
    }

    .pagination-controls[b-70fykrlj1q] {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination-size[b-70fykrlj1q] {
        width: 100%;
    }

    .pagination-buttons[b-70fykrlj1q] {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 430px) {

    .pagination-button[b-70fykrlj1q] {
        min-width: 31px;
        height: 31px;
        padding: 0 6px;
    }
}
