/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
.nvx-empty-layout[b-e6pgprjryt] {
    min-height: 100vh;
    width: 100%;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*
Novantix CSS 
MainLayOut.razor.css
 
*/

.nvx-app-shell[b-x6snx7xfo3] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg);
}

/* Topbar */
.nvx-topbar[b-x6snx7xfo3] {
    flex-shrink: 0;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 50;
}

.nvx-topbar-inner[b-x6snx7xfo3] {
    min-height: 92px;
    display: grid;
    grid-template-columns: 230px minmax(360px, 760px) auto;
    align-items: center;
    gap: 24px;
    padding: 0 clamp(18px, 2.2vw, 36px);
}

.nvx-hamburger[b-x6snx7xfo3] {
    display: none;
}

.nvx-brand[b-x6snx7xfo3] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none;
}

.nvx-client-logo[b-x6snx7xfo3] {
    display: block;
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Search */
.nvx-topbar-center[b-x6snx7xfo3] {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nvx-search-main[b-x6snx7xfo3] {
    width: 100%;
    max-width: 760px;
}

.nvx-search-wrap[b-x6snx7xfo3] {
    position: relative;
    width: 100%;
}

.nvx-search-icon[b-x6snx7xfo3] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.nvx-top-search[b-x6snx7xfo3] {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 46px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    background: var(--surface2);
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    box-shadow: var(--shadow-sm);
}

    .nvx-top-search[b-x6snx7xfo3]::placeholder {
        color: var(--text-muted);
    }

    .nvx-top-search:focus[b-x6snx7xfo3] {
        border-color: var(--accent);
        background: var(--surface);
        box-shadow: 0 0 0 3px var(--accent-dim);
    }

/* Right */
.nvx-topbar-right[b-x6snx7xfo3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.nvx-search-mobile-btn[b-x6snx7xfo3] {
    display: none;
}

.nvx-quick-btn[b-x6snx7xfo3] {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

    .nvx-quick-btn:hover[b-x6snx7xfo3] {
        background: var(--surface3);
        color: var(--text);
        border-color: var(--border-strong);
        transform: translateY(-1px);
    }

.nvx-quick-badge[b-x6snx7xfo3] {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    line-height: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.nvx-user-chip[b-x6snx7xfo3] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface2);
    cursor: pointer;
    margin-left: 4px;
    transition: background .15s ease, border-color .15s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

    .nvx-user-chip:hover[b-x6snx7xfo3] {
        background: var(--surface3);
        border-color: var(--border-strong);
    }

.nvx-user-avatar[b-x6snx7xfo3] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nvx-user-name[b-x6snx7xfo3] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.nvx-user-caret[b-x6snx7xfo3] {
    font-size: 10px;
    color: var(--text-muted);
}

.nvx-mobile-searchbar[b-x6snx7xfo3] {
    display: none;
}

.nvx-session-timeout-overlay[b-x6snx7xfo3] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.nvx-session-timeout-modal[b-x6snx7xfo3] {
    width: min(420px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.nvx-session-timeout-icon[b-x6snx7xfo3] {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warning-dim);
    color: var(--warning);
    font-size: 1.45rem;
}

.nvx-session-timeout-modal h3[b-x6snx7xfo3] {
    margin: 0 0 .5rem;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 800;
}

.nvx-session-timeout-modal p[b-x6snx7xfo3] {
    margin: 0;
    color: var(--text-dim);
    font-size: .9rem;
    line-height: 1.6;
}

.nvx-session-timeout-actions[b-x6snx7xfo3] {
    display: flex;
    gap: .75rem;
    margin-top: 1.25rem;
}

    .nvx-session-timeout-actions .nvx-btn[b-x6snx7xfo3] {
        flex: 1;
    }

/* Body */
.nvx-body[b-x6snx7xfo3] {
    display: flex;
    flex: 1;
    min-height: 0;
}

.nvx-main[b-x6snx7xfo3] {
    flex: 1;
    min-width: 0;
    background: var(--bg);
    overflow-x: hidden;
}

.nvx-page[b-x6snx7xfo3] {
    padding: 28px;
}

/* Desktop medio */
@media (max-width: 1500px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: 220px minmax(340px, 700px) auto;
        gap: 20px;
    }

    .nvx-search-main[b-x6snx7xfo3] {
        max-width: 700px;
    }
}

/* Laptop */
@media (max-width: 1280px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: 220px minmax(300px, 600px) auto;
        gap: 18px;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 54px;
        max-width: 205px;
    }

    .nvx-search-main[b-x6snx7xfo3] {
        max-width: 600px;
    }

    .nvx-top-search[b-x6snx7xfo3] {
        height: 52px;
    }

    .nvx-quick-btn[b-x6snx7xfo3] {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }
}

/* Tablet horizontal */
@media (max-width: 1100px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: 190px minmax(260px, 1fr) auto;
        gap: 14px;
        padding: 0 18px;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 50px;
        max-width: 185px;
    }

    .nvx-theme-desktop[b-x6snx7xfo3],
    .nvx-quick-btn[title="Usuarios"][b-x6snx7xfo3] {
        display: none;
    }

    .nvx-user-name[b-x6snx7xfo3] {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: auto 1fr auto;
        min-height: 82px;
    }

    .nvx-hamburger[b-x6snx7xfo3] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border);
        background: var(--surface2);
        color: var(--text-dim);
        font-size: 22px;
        cursor: pointer;
        border-radius: 12px;
        flex-shrink: 0;
        box-shadow: var(--shadow-sm);
    }

    .nvx-brand[b-x6snx7xfo3] {
        justify-content: flex-start;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 46px;
        max-width: 165px;
    }

    .nvx-topbar-center[b-x6snx7xfo3] {
        display: none;
    }

    .nvx-search-mobile-btn[b-x6snx7xfo3] {
        display: inline-flex;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: var(--surface2);
        color: var(--text-dim);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: var(--shadow-sm);
    }

    .nvx-topbar-right[b-x6snx7xfo3] {
        margin-left: auto;
    }

    .nvx-quick-btn[b-x6snx7xfo3],
    .nvx-theme-desktop[b-x6snx7xfo3] {
        display: none;
    }

    .nvx-user-name[b-x6snx7xfo3],
    .nvx-user-caret[b-x6snx7xfo3] {
        display: none;
    }

    .nvx-user-chip[b-x6snx7xfo3] {
        padding: 6px;
        margin-left: 0;
    }

    .nvx-mobile-searchbar[b-x6snx7xfo3] {
        display: block;
        padding: 0 16px 14px;
    }
}

/* Móvil */
@media (max-width: 640px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        min-height: 76px;
        padding: 0 14px;
        gap: 10px;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 42px;
        max-width: 145px;
    }

    .nvx-body[b-x6snx7xfo3] {
        display: block;
        min-height: auto;
    }

    .nvx-main[b-x6snx7xfo3] {
        overflow: visible;
    }

    .nvx-page[b-x6snx7xfo3] {
        padding: 16px;
        padding-bottom: 32px;
    }
}

/* Móvil pequeño */
@media (max-width: 420px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        padding: 0 10px;
        gap: 8px;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 38px;
        max-width: 128px;
    }

    .nvx-hamburger[b-x6snx7xfo3],
    .nvx-search-mobile-btn[b-x6snx7xfo3],
    .nvx-user-chip[b-x6snx7xfo3] {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .nvx-user-avatar[b-x6snx7xfo3] {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

.nvx-user-menu-wrap[b-x6snx7xfo3] {
    position: relative;
}

.nvx-user-menu[b-x6snx7xfo3] {
    position: absolute;
    right: 0;
    top: calc(100% + .65rem);
    width: 260px;
    padding: .75rem;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 500;
}

.nvx-user-menu-head[b-x6snx7xfo3] {
    padding: .75rem .8rem .9rem;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: .45rem;
}

    .nvx-user-menu-head strong[b-x6snx7xfo3],
    .nvx-user-menu-head span[b-x6snx7xfo3] {
        display: block;
    }

    .nvx-user-menu-head strong[b-x6snx7xfo3] {
        color: var(--text);
        font-size: .92rem;
    }

    .nvx-user-menu-head span[b-x6snx7xfo3] {
        color: var(--text-muted);
        font-size: .78rem;
        margin-top: .15rem;
    }

.nvx-user-menu-item[b-x6snx7xfo3],
.nvx-user-session-time[b-x6snx7xfo3] {
    width: 100%;
    min-height: 40px;
    border: 0;
    background: transparent;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .75rem;
    border-radius: 12px;
    font-size: .86rem;
    font-weight: 700;
    text-align: left;
}

.nvx-user-menu-item[b-x6snx7xfo3] {
    cursor: pointer;
}

    .nvx-user-menu-item:hover[b-x6snx7xfo3] {
        background: var(--surface2);
        color: var(--text);
    }

.nvx-user-session-time[b-x6snx7xfo3] {
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    margin-top: .4rem;
    padding-top: .75rem;
}

.nvx-user-menu-danger[b-x6snx7xfo3] {
    color: var(--danger);
}

    .nvx-user-menu-danger:hover[b-x6snx7xfo3] {
        background: var(--danger-dim);
        color: var(--danger);
    }

/* =========================================================
   TOPBAR RESPONSIVE — OVERRIDE FINAL
========================================================= */

.nvx-topbar[b-x6snx7xfo3] {
    width: 100% !important;
}

.nvx-topbar-inner[b-x6snx7xfo3] {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 92px !important;
    display: grid !important;
    grid-template-columns: 220px minmax(360px, 760px) auto !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 0 24px !important;
}

.nvx-brand[b-x6snx7xfo3] {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    transform: none !important;
}

.nvx-client-logo[b-x6snx7xfo3] {
    height: 58px !important;
    max-width: 210px !important;
}

.nvx-topbar-center[b-x6snx7xfo3] {
    display: flex !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.nvx-search-main[b-x6snx7xfo3] {
    width: 100% !important;
    max-width: 760px !important;
}

.nvx-topbar-right[b-x6snx7xfo3] {
    justify-content: flex-end !important;
    min-width: 0 !important;
}

/* El contenido NO debe centrarse raro */
.nvx-page[b-x6snx7xfo3] {
    max-width: none !important;
    margin: 0 !important;
    padding: 28px !important;
}

.nvx-main[b-x6snx7xfo3] {
    width: 100% !important;
}

/* Laptop */
@media (max-width: 1280px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: 210px minmax(300px, 620px) auto !important;
        gap: 18px !important;
        padding: 0 20px !important;
    }

    .nvx-brand[b-x6snx7xfo3] {
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 54px !important;
        max-width: 190px !important;
    }

    .nvx-search-main[b-x6snx7xfo3] {
        max-width: 620px !important;
    }
}

/* Tablet */
@media (max-width: 980px) {
    .nvx-topbar-inner[b-x6snx7xfo3] {
        grid-template-columns: auto 1fr auto !important;
        min-height: 78px !important;
        gap: 12px !important;
        padding: 0 14px !important;
    }

    .nvx-hamburger[b-x6snx7xfo3] {
        display: flex !important;
    }

    .nvx-brand[b-x6snx7xfo3] {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .nvx-client-logo[b-x6snx7xfo3] {
        height: 44px !important;
        max-width: 155px !important;
    }

    .nvx-topbar-center[b-x6snx7xfo3] {
        display: none !important;
    }

    .nvx-search-mobile-btn[b-x6snx7xfo3] {
        display: inline-flex !important;
    }

    .nvx-quick-btn[b-x6snx7xfo3],
    .nvx-theme-desktop[b-x6snx7xfo3] {
        display: none !important;
    }

    .nvx-user-name[b-x6snx7xfo3],
    .nvx-user-caret[b-x6snx7xfo3] {
        display: none !important;
    }

    .nvx-page[b-x6snx7xfo3] {
        padding: 16px !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   NavMenu.razor.css — Novantix.ISP.Web
   Regla: clases directas del componente → selector normal
          clases en hijos dinámicos (@foreach) → ::deep
   ═══════════════════════════════════════════════════════ */

/* ─── Sidebar ───────────────────────────────────────────── */

.nvx-sidebar[b-i8s5wo3fs8] {
    width: 220px;
    flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    transition: width 0.22s ease, background 300ms, border-color 300ms;
    overflow: visible;
    z-index: 10;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8] {
    width: 70px;
}

/* ─── Toggle ────────────────────────────────────────────── */

.nvx-sidebar-toggle[b-i8s5wo3fs8] {
    position: absolute;
    top: 20px;
    right: -13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    z-index: 20;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    box-shadow: var(--shadow-sm);
}

    .nvx-sidebar-toggle:hover[b-i8s5wo3fs8] {
        background: var(--surface2);
        color: var(--text);
        border-color: var(--border-strong);
    }

/* ─── Nav container ─────────────────────────────────────── */

.nvx-nav[b-i8s5wo3fs8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
    gap: 2px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ─── Sección ───────────────────────────────────────────── */

[b-i8s5wo3fs8] .nvx-nav-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 8px 4px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.15s;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-section {
    opacity: 0;
    pointer-events: none;
}

/* ─── Nav link principal ────────────────────────────────── */

[b-i8s5wo3fs8] .nvx-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.12s, color 0.12s;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    width: 100%;
}

    [b-i8s5wo3fs8] .nvx-nav-link:hover {
        background: var(--surface2);
        color: var(--text);
    }

    [b-i8s5wo3fs8] .nvx-nav-link.active {
        background: var(--accent-dim);
        color: var(--accent);
        font-weight: 600;
    }

/* ─── Icono ─────────────────────────────────────────────── */

[b-i8s5wo3fs8] .nvx-nav-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    line-height: 1;
}

/* ─── Label ─────────────────────────────────────────────── */

[b-i8s5wo3fs8] .nvx-nav-label {
    opacity: 1;
    transition: opacity 0.15s;
    overflow: hidden;
}

/* ─── Estado colapsado ──────────────────────────────────── */

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-link {
    justify-content: center;
    padding: 10px;
    width: 48px; 
    margin: 0 auto;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-label {
    opacity: 0;
    width: 0;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-icon {
    transform: translateX(4px);
}

/* ─── Tooltip colapsado ─────────────────────────────────── */

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-link::after {
    content: attr(title);
    position: fixed;
    left: 72px;
    background: var(--text);
    color: var(--text-inverse);
    font-size: 12px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-link:hover::after {
    opacity: 1;
}

/* ─── Submenús ──────────────────────────────────────────── */

[b-i8s5wo3fs8] .nvx-nav-group {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: flex-start;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
}

[b-i8s5wo3fs8] .nvx-nav-arrow {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-arrow {
    display: none;
}

[b-i8s5wo3fs8] .nvx-nav-children {
    display: flex;
    flex-direction: column;
    margin: 2px 8px 4px 18px;
    padding: 4px 0 4px 12px;
    border-left: 2px solid var(--border);
    gap: 1px;
}

.nvx-sidebar--collapsed[b-i8s5wo3fs8]  .nvx-nav-children {
    display: none;
}

[b-i8s5wo3fs8] .nvx-nav-child {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}

    [b-i8s5wo3fs8] .nvx-nav-child::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--text-muted);
        flex-shrink: 0;
        transition: background 0.12s;
    }

    [b-i8s5wo3fs8] .nvx-nav-child:hover {
        background: var(--surface2);
        color: var(--text);
    }

        [b-i8s5wo3fs8] .nvx-nav-child:hover::before {
            background: var(--accent);
        }

    [b-i8s5wo3fs8] .nvx-nav-child.active {
        color: var(--accent);
        font-weight: 600;
        background: var(--accent-dim);
    }

        [b-i8s5wo3fs8] .nvx-nav-child.active::before {
            background: var(--accent);
        }

/* ─── Mobile overlay ────────────────────────────────────── */

.nvx-mobile-overlay[b-i8s5wo3fs8] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 200;
}

/* ─── Mobile drawer ─────────────────────────────────────── */

.nvx-mobile-drawer[b-i8s5wo3fs8] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
}

.nvx-mobile-drawer--open[b-i8s5wo3fs8] {
    transform: translateX(0);
}

.nvx-mobile-drawer-head[b-i8s5wo3fs8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
}

.nvx-mobile-close[b-i8s5wo3fs8] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text-dim);
    cursor: pointer;
}

.nvx-mobile-theme[b-i8s5wo3fs8] {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

/* ─── Responsive ────────────────────────────────────────── */

@media (min-width: 768px) {
    .nvx-sidebar[b-i8s5wo3fs8] {
        display: flex;
    }

    .nvx-mobile-overlay[b-i8s5wo3fs8],
    .nvx-mobile-drawer[b-i8s5wo3fs8] {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .nvx-sidebar[b-i8s5wo3fs8] {
        display: none;
    }

    .nvx-mobile-overlay[b-i8s5wo3fs8],
    .nvx-mobile-drawer[b-i8s5wo3fs8] {
        display: block;
    }

    [b-i8s5wo3fs8] .nvx-nav-children {
        margin-left: 14px;
        padding-left: 10px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7kg1swbj2o],
.components-reconnect-repeated-attempt-visible[b-7kg1swbj2o],
.components-reconnect-failed-visible[b-7kg1swbj2o],
.components-pause-visible[b-7kg1swbj2o],
.components-resume-failed-visible[b-7kg1swbj2o],
.components-rejoining-animation[b-7kg1swbj2o] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-retrying[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-failed[b-7kg1swbj2o],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7kg1swbj2o] {
    display: block;
}


#components-reconnect-modal[b-7kg1swbj2o] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-7kg1swbj2o 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-7kg1swbj2o 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7kg1swbj2o 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-7kg1swbj2o]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7kg1swbj2o 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7kg1swbj2o {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7kg1swbj2o {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7kg1swbj2o {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7kg1swbj2o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7kg1swbj2o] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7kg1swbj2o] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-7kg1swbj2o] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-7kg1swbj2o] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-7kg1swbj2o] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7kg1swbj2o] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7kg1swbj2o 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7kg1swbj2o] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7kg1swbj2o {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Clientes/Clientes.razor.rz.scp.css */
/*!
 * Clientes.css
 * Sistema Novantix ISP Cloud
 * Copyright (c) 2026 Rey Solutions, S.R.L.
 * Todos los derechos reservados.
 */

.clientes-card[b-n93gic5igx] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clientes-header[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.clientes-header-text[b-n93gic5igx] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.clientes-subtitle[b-n93gic5igx] {
    margin: 0;
    color: var(--text-dim);
}

.clientes-coord-wrap[b-n93gic5igx] {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

    .clientes-coord-wrap .nvx-input[b-n93gic5igx] {
        flex: 1;
    }

    .clientes-coord-wrap .nvx-btn-icon[b-n93gic5igx] {
        width: 42px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.clientes-header-actions[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.clientes-alert[b-n93gic5igx] {
    margin-top: 0.25rem;
}

.clientes-toolbar[b-n93gic5igx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.clientes-tabs[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clientes-tab[b-n93gic5igx] {
    border: 0;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

    .clientes-tab.active[b-n93gic5igx] {
        background: var(--accent-dim);
        color: var(--accent);
    }

.clientes-filters[b-n93gic5igx] {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.clientes-search[b-n93gic5igx],
.clientes-filter-select[b-n93gic5igx] {
    width: 100%;
}

.clientes-actions-col[b-n93gic5igx] {
    width: 180px;
}

.clientes-row-actions[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.clientes-modal-overlay[b-n93gic5igx] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 999;
}

.clientes-modal[b-n93gic5igx] {
    width: min(1080px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.clientes-modal--contacto[b-n93gic5igx] {
    width: min(760px, 100%);
}

.clientes-modal-header[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

    .clientes-modal-header h3[b-n93gic5igx] {
        margin: 0 0 0.2rem;
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text);
    }

    .clientes-modal-header p[b-n93gic5igx] {
        margin: 0;
        color: var(--text-dim);
        font-size: 0.95rem;
    }

.clientes-modal-close[b-n93gic5igx] {
    border: 0;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

    .clientes-modal-close:hover[b-n93gic5igx] {
        background: var(--surface2);
        color: var(--text);
    }

.clientes-modal-body[b-n93gic5igx] {
    padding: 1.25rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clientes-modal-footer[b-n93gic5igx] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.clientes-form-section[b-n93gic5igx] {
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1rem;
    background: var(--surface2);
}

.clientes-form-section-title[b-n93gic5igx] {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.85rem;
    font-size: 0.97rem;
}

.clientes-form-section-header[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.clientes-form-section-subtitle[b-n93gic5igx] {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.clientes-form-grid[b-n93gic5igx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.clientes-col-span-2[b-n93gic5igx] {
    grid-column: span 2;
}

.clientes-check-grid[b-n93gic5igx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}

.clientes-check-item[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-weight: 500;
}

.clientes-doc-input-wrap[b-n93gic5igx] {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

    .clientes-doc-input-wrap .nvx-input[b-n93gic5igx] {
        flex: 1;
    }

.clientes-inline-alert[b-n93gic5igx] {
    margin-bottom: 0.85rem;
}

.clientes-empty-state[b-n93gic5igx] {
    border: 1px dashed var(--border-strong);
    border-radius: 0.8rem;
    padding: 1rem;
    color: var(--text-dim);
    background: var(--surface2);
}

.clientes-contactos-list[b-n93gic5igx] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.clientes-contacto-card[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    background: var(--surface);
}

.clientes-contacto-card-main[b-n93gic5igx] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    flex: 1;
}

.clientes-contacto-nombre-row[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.clientes-contacto-nombre[b-n93gic5igx] {
    font-weight: 700;
    color: var(--text);
    font-size: 0.98rem;
}

.clientes-contacto-badges[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.clientes-contacto-meta[b-n93gic5igx],
.clientes-contacto-detalle[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.clientes-contacto-actions[b-n93gic5igx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nvx-field-error[b-n93gic5igx] {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.25;
    color: var(--danger);
}

.nvx-field-help[b-n93gic5igx] {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--info);
}

/* =========================
   MOBILE CARDS
   ========================= */

.clientes-mobile-list[b-n93gic5igx] {
    display: none;
}

.clientes-mobile-card[b-n93gic5igx] {
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 1rem;
    background: var(--surface);
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.clientes-mobile-card-header[b-n93gic5igx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.clientes-mobile-card-nombre[b-n93gic5igx] {
    font-weight: 700;
    color: var(--text);
    font-size: 0.98rem;
}

.clientes-mobile-card-comercial[b-n93gic5igx] {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.clientes-mobile-card-badges[b-n93gic5igx] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.clientes-mobile-card-info[b-n93gic5igx] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

    .clientes-mobile-card-info span[b-n93gic5igx] {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .clientes-mobile-card-info strong[b-n93gic5igx] {
        color: var(--text);
    }

.clientes-mobile-card-actions[b-n93gic5igx] {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-soft);
}

    .clientes-mobile-card-actions .nvx-btn[b-n93gic5igx] {
        flex: 1;
    }

.clientes-modal-pro[b-n93gic5igx] {
    width: min(1180px, calc(100vw - 2rem));
}

.clientes-form-section[b-n93gic5igx] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.clientes-form-section-title[b-n93gic5igx] {
    color: var(--text);
    font-size: .92rem;
    font-weight: 900;
    padding-bottom: .7rem;
    margin-bottom: .85rem;
    border-bottom: 1px solid var(--border-soft);
}



/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
    .clientes-filters[b-n93gic5igx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .clientes-form-grid[b-n93gic5igx],
    .clientes-check-grid[b-n93gic5igx],
    .clientes-filters[b-n93gic5igx] {
        grid-template-columns: 1fr;

        .clientes-modal-pro {
            width: 100%;
        }
    }

    .clientes-col-span-2[b-n93gic5igx] {
        grid-column: span 1;
    }

    .clientes-modal[b-n93gic5igx] {
        width: 100%;
        max-height: calc(100vh - 1rem);
        background: var(--surface);
        color: var(--text);
    }

    .clientes-modal-overlay[b-n93gic5igx] {
        padding: 0.5rem;
    }

    .clientes-modal-footer[b-n93gic5igx] {
        flex-direction: column-reverse;
        background: var(--surface);
        border-top-color: var(--border);
    }

        .clientes-modal-footer .nvx-btn[b-n93gic5igx] {
            width: 100%;
        }

    .clientes-doc-input-wrap[b-n93gic5igx] {
        flex-direction: column;
    }

        .clientes-doc-input-wrap .nvx-btn[b-n93gic5igx] {
            width: 100%;
        }

    .clientes-form-section-header[b-n93gic5igx],
    .clientes-contacto-card[b-n93gic5igx],
    .clientes-contacto-nombre-row[b-n93gic5igx] {
        flex-direction: column;
    }

    .clientes-contacto-actions[b-n93gic5igx] {
        width: 100%;
    }

        .clientes-contacto-actions .nvx-btn[b-n93gic5igx] {
            width: 100%;
        }

    .nvx-table-wrap[b-n93gic5igx] {
        display: none !important;
    }

    .clientes-mobile-list[b-n93gic5igx] {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding-bottom: 2rem;
    }

    .clientes-card[b-n93gic5igx] {
        max-height: none;
        overflow: visible;
        background: var(--surface);
        color: var(--text);
    }

    .clientes-mobile-card[b-n93gic5igx] {
        overflow: visible;
        background: var(--surface);
        color: var(--text);
        border-color: var(--border);
    }

    .clientes-mobile-card-nombre[b-n93gic5igx],
    .clientes-mobile-card-info strong[b-n93gic5igx] {
        color: var(--text);
    }

    .clientes-mobile-card-comercial[b-n93gic5igx],
    .clientes-mobile-card-info[b-n93gic5igx] {
        color: var(--text-dim);
    }

    .clientes-mobile-card-actions[b-n93gic5igx] {
        flex-direction: column;
        border-top-color: var(--border-soft);
    }

        .clientes-mobile-card-actions .nvx-btn[b-n93gic5igx] {
            width: 100%;
        }
}

@media (min-width: 769px) {
    .clientes-mobile-list[b-n93gic5igx] {
        display: none !important;
    }
}
/* /Components/Pages/GestionDeRed/Naps.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   NOVANTIX ISP CLOUD
   Naps.razor.css
   Producto: Novantix ISP Cloud
   Empresa: Rey Solutions EIRL
   Derechos de autor: © 2026 Rey Solutions EIRL. Todos los derechos reservados.
   Solo estilos específicos del módulo NAP
   ═══════════════════════════════════════════════════════════════ */

/* =========================================================
   01. KPI dashboard
   ========================================================= */

.naps-kpi-grid[b-5rj124lxzx] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.naps-kpi-card[b-5rj124lxzx] {
    min-height: 104px;
    padding: 18px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

    .naps-kpi-card[b-5rj124lxzx]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 48%);
        pointer-events: none;
    }

    .naps-kpi-card span[b-5rj124lxzx] {
        position: relative;
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: .055em;
    }

    .naps-kpi-card strong[b-5rj124lxzx] {
        position: relative;
        color: var(--text);
        font-size: 28px;
        line-height: 1;
        font-weight: 950;
        letter-spacing: -.04em;
    }

/* =========================================================
   02. Toolbar / tabla
   ========================================================= */

.naps-toolbar-title[b-5rj124lxzx] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-dim);
    font-size: .84rem;
    font-weight: 800;
}

    .naps-toolbar-title i[b-5rj124lxzx] {
        color: var(--accent);
        font-size: 1rem;
    }

.nap-name-cell[b-5rj124lxzx] {
    max-width: 240px;
}

.nap-name-main[b-5rj124lxzx] {
    color: var(--text);
    font-weight: 850;
    font-size: .92rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nap-name-meta[b-5rj124lxzx] {
    color: var(--accent);
    font-size: .76rem;
    font-weight: 750;
    margin-top: .22rem;
    line-height: 1.25;
}

.nap-capacity-cell[b-5rj124lxzx] {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    min-width: 140px;
}

.nap-capacity-main[b-5rj124lxzx] {
    color: var(--text);
    font-size: .86rem;
    font-weight: 850;
}

.nap-capacity-meta[b-5rj124lxzx] {
    color: var(--text-muted);
    font-size: .74rem;
    font-weight: 750;
}

.nap-progress[b-5rj124lxzx] {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: var(--surface2);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.nap-progress-bar[b-5rj124lxzx] {
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transition: width .2s ease;
}

.nap-progress-bar--ok[b-5rj124lxzx] {
    background: var(--success);
}

.nap-progress-bar--warning[b-5rj124lxzx] {
    background: var(--warning);
}

.nap-progress-bar--danger[b-5rj124lxzx] {
    background: var(--danger);
}

/* =========================================================
   03. Estados
   ========================================================= */

.nap-pill[b-5rj124lxzx] {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 26px;
    padding: .22rem .65rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 850;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nap-pill-dot[b-5rj124lxzx] {
    width: .45rem;
    height: .45rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent);
}

.nap-pill-activo[b-5rj124lxzx] {
    color: var(--success);
    background: var(--success-dim);
    border-color: color-mix(in srgb, var(--success) 18%, transparent);
}

.nap-pill-mantenimiento[b-5rj124lxzx] {
    color: var(--warning);
    background: var(--warning-dim);
    border-color: color-mix(in srgb, var(--warning) 22%, transparent);
}

.nap-pill-fuera-de-servicio[b-5rj124lxzx] {
    color: var(--danger);
    background: var(--danger-dim);
    border-color: color-mix(in srgb, var(--danger) 20%, transparent);
}

.nap-pill-planificado[b-5rj124lxzx] {
    color: var(--info);
    background: var(--info-dim);
    border-color: color-mix(in srgb, var(--info) 20%, transparent);
}

/* =========================================================
   04. Acciones
   ========================================================= */

.nap-action-btn[b-5rj124lxzx] {
    width: 32px;
    height: 32px;
    border-radius: .65rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

    .nap-action-btn:hover:not(:disabled)[b-5rj124lxzx] {
        background: var(--accent-dim);
        color: var(--accent);
        border-color: color-mix(in srgb, var(--accent) 25%, transparent);
        transform: translateY(-1px);
    }

    .nap-action-btn:disabled[b-5rj124lxzx] {
        opacity: .45;
        cursor: not-allowed;
    }

.nap-action-btn--danger[b-5rj124lxzx] {
    color: var(--danger);
}

    .nap-action-btn--danger:hover:not(:disabled)[b-5rj124lxzx] {
        background: var(--danger-dim);
        color: var(--danger);
        border-color: color-mix(in srgb, var(--danger) 25%, transparent);
    }

/* =========================================================
   05. Mobile cards
   ========================================================= */

.nap-mobile-grid[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    padding: .75rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

    .nap-mobile-grid div[b-5rj124lxzx] {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

    .nap-mobile-grid span[b-5rj124lxzx] {
        color: var(--text-muted);
        font-size: .72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .nap-mobile-grid strong[b-5rj124lxzx] {
        color: var(--text);
        font-size: .86rem;
        font-weight: 850;
    }

/* =========================================================
   06. Modal
   ========================================================= */

.naps-modal-pro[b-5rj124lxzx] {
    width: min(1180px, calc(100vw - 2rem));
}

.naps-form-grid[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.naps-form-card[b-5rj124lxzx] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.naps-form-card--full[b-5rj124lxzx] {
    grid-column: 1 / -1;
}

.naps-form-title[b-5rj124lxzx] {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--text);
    font-size: .92rem;
    font-weight: 900;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--border-soft);
}

    .naps-form-title i[b-5rj124lxzx] {
        color: var(--accent);
        font-size: 1rem;
    }

.naps-mini-grid[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

/* =========================================================
   07. Ubicación / GPS
   ========================================================= */

.naps-coordinates-row[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 52px;
    gap: 10px;
    align-items: stretch;
}

.naps-coordinates-input[b-5rj124lxzx] {
    max-width: 360px;
}

.naps-location-btn[b-5rj124lxzx] {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 14px;
}

/* =========================================================
   08. Checks / opciones PRO
   ========================================================= */

.naps-check-grid[b-5rj124lxzx],
.naps-tech-grid[b-5rj124lxzx] {
    display: grid;
    gap: 10px;
}

.naps-tech-grid[b-5rj124lxzx] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.naps-check[b-5rj124lxzx] {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem .85rem;
    border-radius: 14px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

    .naps-check:hover[b-5rj124lxzx] {
        background: var(--accent-dim);
        border-color: color-mix(in srgb, var(--accent) 20%, transparent);
        color: var(--text);
    }

    .naps-check input[b-5rj124lxzx] {
        width: 16px;
        height: 16px;
        accent-color: var(--accent);
        flex-shrink: 0;
    }

        .naps-check input:checked + span[b-5rj124lxzx] {
            color: var(--accent);
            font-weight: 850;
        }

/* =========================================================
   09. Alertas internas del modal
   ========================================================= */

.naps-modal-alert-container[b-5rj124lxzx] {
    padding: 1rem 1.5rem 0 1.5rem;
    flex-shrink: 0;
}

.naps-modal-alert[b-5rj124lxzx] {
    width: 100%;
    margin: 0;
    padding: .85rem 1rem;
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    font-weight: 500;
    border: 1px solid transparent;
}

    .naps-modal-alert i[b-5rj124lxzx] {
        font-size: 1rem;
        margin-top: .1rem;
    }

.naps-modal-alert-danger[b-5rj124lxzx] {
    background: rgba(239, 68, 68, .10);
    border-color: rgba(239, 68, 68, .24);
    color: #dc2626;
}

.naps-modal-alert-warning[b-5rj124lxzx] {
    background: rgba(245, 158, 11, .10);
    border-color: rgba(245, 158, 11, .25);
    color: #d97706;
}

.naps-modal-alert-success[b-5rj124lxzx] {
    background: rgba(34, 197, 94, .10);
    border-color: rgba(34, 197, 94, .22);
    color: #16a34a;
}

[data-theme="dark"] .naps-modal-alert-danger[b-5rj124lxzx],
.dark .naps-modal-alert-danger[b-5rj124lxzx] {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .32);
    color: #fca5a5;
}

[data-theme="dark"] .naps-modal-alert-warning[b-5rj124lxzx],
.dark .naps-modal-alert-warning[b-5rj124lxzx] {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .32);
    color: #fcd34d;
}

[data-theme="dark"] .naps-modal-alert-success[b-5rj124lxzx],
.dark .naps-modal-alert-success[b-5rj124lxzx] {
    background: rgba(34, 197, 94, .14);
    border-color: rgba(34, 197, 94, .32);
    color: #86efac;
}

/* =========================================================
   10. Exportación
   ========================================================= */

.naps-export-grid[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.naps-export-option[b-5rj124lxzx] {
    min-height: 72px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

    .naps-export-option:hover[b-5rj124lxzx] {
        background: var(--accent-dim);
        border-color: color-mix(in srgb, var(--accent) 22%, transparent);
        color: var(--text);
        transform: translateY(-1px);
    }

    .naps-export-option input[b-5rj124lxzx] {
        accent-color: var(--accent);
    }

    .naps-export-option strong[b-5rj124lxzx] {
        color: var(--text);
        font-size: .9rem;
        font-weight: 900;
    }

.naps-export-columns[b-5rj124lxzx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* =========================================================
   11. Responsive
   ========================================================= */

@media (max-width: 1200px) {
    .naps-kpi-grid[b-5rj124lxzx] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .naps-tech-grid[b-5rj124lxzx] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .naps-form-grid[b-5rj124lxzx] {
        grid-template-columns: 1fr;
    }

    .naps-mini-grid[b-5rj124lxzx],
    .naps-export-grid[b-5rj124lxzx] {
        grid-template-columns: 1fr;
    }

    .naps-tech-grid[b-5rj124lxzx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .naps-kpi-grid[b-5rj124lxzx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .naps-modal-pro[b-5rj124lxzx] {
        width: 100%;
    }

    .nap-mobile-grid[b-5rj124lxzx],
    .naps-export-columns[b-5rj124lxzx] {
        grid-template-columns: 1fr 1fr;
    }

    .nvx-mobile-card-actions .nap-action-btn[b-5rj124lxzx] {
        width: 100%;
        height: 42px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .naps-kpi-grid[b-5rj124lxzx],
    .nap-mobile-grid[b-5rj124lxzx],
    .naps-tech-grid[b-5rj124lxzx],
    .naps-export-columns[b-5rj124lxzx] {
        grid-template-columns: 1fr;
    }

    .naps-kpi-card[b-5rj124lxzx] {
        min-height: 92px;
    }

    .naps-coordinates-row[b-5rj124lxzx] {
        grid-template-columns: 1fr;
    }

    .naps-location-btn[b-5rj124lxzx] {
        width: 100%;
    }
}
/* /Components/Pages/GestionDeRed/OVPNServidores.razor.rz.scp.css */
:host[b-yfsayjaykm] {
    --nvx-border: var(--border);
    --nvx-card-bg: var(--surface);
    --nvx-text: var(--text);
    --nvx-text-soft: var(--text-dim);
    --nvx-font-mono: 'DM Mono', 'Cascadia Code', Consolas, monospace;
}

/* ══════════════════════════════════════════════════════════════════════
   PANEL BASE
   ══════════════════════════════════════════════════════════════════════ */

.rtr-overlay[b-yfsayjaykm] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(5px);
}

.rtr-panel[b-yfsayjaykm] {
    width: min(1520px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.rtr-panel--full[b-yfsayjaykm] {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
}

.rtr-panel-header[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.rtr-panel-title h3[b-yfsayjaykm] {
    margin: 0;
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 850;
}

.rtr-breadcrumb[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .25rem;
    color: var(--text-dim);
    font-size: .84rem;
}

.rtr-bc-active[b-yfsayjaykm] {
    color: var(--accent);
    font-weight: 750;
}

.rtr-panel-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rtr-icon-btn[b-yfsayjaykm] {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .8rem;
    border: 1px solid var(--border);
    background: var(--accent-dim);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .18s ease;
}

    .rtr-icon-btn:hover[b-yfsayjaykm] {
        transform: translateY(-1px);
    }

.rtr-icon-btn--close[b-yfsayjaykm] {
    color: var(--danger, #dc2626);
    background: color-mix(in srgb, var(--danger, #dc2626) 9%, transparent);
    border-color: color-mix(in srgb, var(--danger, #dc2626) 24%, transparent);
}

.rtr-tabs[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    flex-shrink: 0;
}

.rtr-tab[b-yfsayjaykm] {
    min-height: 38px;
    padding: .55rem .9rem;
    border-radius: .75rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: .18s ease;
}

.rtr-tab--active[b-yfsayjaykm] {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 24%, transparent);
}

.rtr-tab:hover:not(:disabled)[b-yfsayjaykm] {
    background: rgba(255,255,255,.03);
}

.rtr-tab:disabled[b-yfsayjaykm] {
    opacity: .45;
    cursor: not-allowed;
}

.rtr-body[b-yfsayjaykm] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--surface2);
}

.rtr-body--split[b-yfsayjaykm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.rtr-col[b-yfsayjaykm] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.rtr-section-title[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: .9rem;
    font-weight: 850;
}

    .rtr-section-title[b-yfsayjaykm]::before {
        content: "";
        width: .45rem;
        height: .45rem;
        margin-right: .55rem;
        border-radius: 99px;
        background: var(--accent);
        box-shadow: 0 0 0 4px var(--accent-dim);
    }

.rtr-field-row[b-yfsayjaykm] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.rtr-divider[b-yfsayjaykm] {
    border: 0;
    border-top: 1px solid var(--border);
    margin: .35rem 0;
}

.rtr-guardar-wrap .nvx-btn[b-yfsayjaykm] {
    width: 100%;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════════
   OVPN
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-card[b-yfsayjaykm] {
    gap: 1.25rem;
}

.ovpn-header[b-yfsayjaykm] {
    align-items: flex-start;
}

.ovpn-subtitle[b-yfsayjaykm] {
    margin: .35rem 0 0;
    color: var(--nvx-text-soft);
    font-size: .96rem;
    line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════════════════
   TABLA
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-row-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.ovpn-cipher-badge[b-yfsayjaykm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem .7rem;
    border-radius: .8rem;
    background: rgba(59, 130, 246, .10);
    color: #3b82f6;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-mobile-list[b-yfsayjaykm] {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.ovpn-mobile-card[b-yfsayjaykm] {
    border: 1px solid var(--nvx-border);
    border-radius: 1.2rem;
    background: var(--nvx-card-bg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ovpn-mobile-card-header[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ovpn-mobile-card-info[b-yfsayjaykm] {
    display: grid;
    gap: .55rem;
    font-size: .92rem;
    color: var(--nvx-text-soft);
}

.ovpn-mobile-actions[b-yfsayjaykm] {
    display: flex;
    gap: .75rem;
}

.ovpn-mobile-icon-action[b-yfsayjaykm] {
    flex: 1;
    border: 1px solid var(--nvx-border);
    border-radius: 1rem;
    background: transparent;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: .18s ease;
}

    .ovpn-mobile-icon-action i[b-yfsayjaykm] {
        font-size: 1rem;
    }

.ovpn-mobile-icon-action--primary[b-yfsayjaykm] {
    color: #3b82f6;
}

.ovpn-mobile-icon-action--danger[b-yfsayjaykm] {
    color: #ef4444;
}

.ovpn-mobile-icon-action:hover[b-yfsayjaykm] {
    transform: translateY(-1px);
    background: rgba(255,255,255,.04);
}

/* ══════════════════════════════════════════════════════════════════════
   PANEL
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-panel[b-yfsayjaykm] {
    width: min(1520px, 97vw);
}

.ovpn-row-2col[b-yfsayjaykm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}

.ovpn-field-error[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .55rem;
    color: #ef4444;
    font-size: .82rem;
    font-weight: 500;
}

.nvx-input-error[b-yfsayjaykm] {
    border-color: rgba(239, 68, 68, .55) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .08);
}

/* ══════════════════════════════════════════════════════════════════════
   TUNNEL CARD
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-tunnel-card[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1.3rem;
    border: 1px solid var(--nvx-border);
    background: rgba(255,255,255,.03);
}

.ovpn-tunnel-icon[b-yfsayjaykm] {
    width: 54px;
    height: 54px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, .12);
    color: #3b82f6;
    flex-shrink: 0;
}

    .ovpn-tunnel-icon i[b-yfsayjaykm] {
        font-size: 1.3rem;
    }

.ovpn-tunnel-content[b-yfsayjaykm] {
    flex: 1;
}

.ovpn-tunnel-info[b-yfsayjaykm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .9rem;
    margin-top: 1rem;
}

    .ovpn-tunnel-info div[b-yfsayjaykm] {
        border: 1px solid var(--nvx-border);
        border-radius: 1rem;
        padding: .85rem 1rem;
        background: rgba(255,255,255,.02);
    }

    .ovpn-tunnel-info span[b-yfsayjaykm] {
        display: block;
        font-size: .76rem;
        color: var(--nvx-text-soft);
        margin-bottom: .3rem;
    }

    .ovpn-tunnel-info strong[b-yfsayjaykm] {
        font-size: .92rem;
        font-weight: 700;
        color: var(--nvx-text);
    }

/* ══════════════════════════════════════════════════════════════════════
   CLIENTES
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-clientes-toolbar[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ovpn-clientes-toolbar-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ovpn-client-count[b-yfsayjaykm] {
    font-size: .88rem;
    color: var(--nvx-text-soft);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════
   CLIENT EDITOR
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-client-editor[b-yfsayjaykm] {
    border: 1px solid var(--nvx-border);
    border-radius: 1.5rem;
    padding: 1.35rem;
    background: rgba(255,255,255,.02);
    margin-bottom: 1.5rem;
}

.ovpn-client-editor-head[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ovpn-client-grid[b-yfsayjaykm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
}

.ovpn-label-action[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .55rem;
}

.ovpn-inline-action[b-yfsayjaykm] {
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #3b82f6;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}

    .ovpn-inline-action:hover[b-yfsayjaykm] {
        opacity: .82;
    }

.ovpn-password-wrap[b-yfsayjaykm] {
    position: relative;
}

.ovpn-password-toggle[b-yfsayjaykm] {
    position: absolute;
    right: .85rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--nvx-text-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .ovpn-password-toggle:hover[b-yfsayjaykm] {
        color: var(--nvx-text);
    }

/* ══════════════════════════════════════════════════════════════════════
   REDES
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-routes-block[b-yfsayjaykm] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ovpn-routes-head[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ovpn-route-add[b-yfsayjaykm] {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: .85rem;
}

.ovpn-routes-empty[b-yfsayjaykm] {
    border: 1px dashed var(--nvx-border);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    color: var(--nvx-text-soft);
    font-size: .92rem;
}

.ovpn-routes-list[b-yfsayjaykm] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.ovpn-route-item[b-yfsayjaykm] {
    border: 1px solid var(--nvx-border);
    border-radius: 1rem;
    background: rgba(255,255,255,.02);
    padding: .9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ovpn-route-value[b-yfsayjaykm] {
    font-size: .92rem;
    font-weight: 700;
    color: var(--nvx-text);
    font-family: var(--nvx-font-mono);
}

.ovpn-route-desc[b-yfsayjaykm] {
    margin-top: .25rem;
    color: var(--nvx-text-soft);
    font-size: .82rem;
}

.ovpn-client-editor-actions[b-yfsayjaykm] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   CLIENT LIST
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-client-list[b-yfsayjaykm] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ovpn-client-card[b-yfsayjaykm] {
    border: 1px solid var(--nvx-border);
    border-radius: 1.4rem;
    overflow: hidden;
    background: rgba(255,255,255,.02);
}

.ovpn-client-card-head[b-yfsayjaykm] {
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ovpn-client-name[b-yfsayjaykm] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nvx-text);
}

.ovpn-client-meta[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .35rem;
    color: var(--nvx-text-soft);
    font-size: .86rem;
}

.ovpn-client-card-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

/* ══════════════════════════════════════════════════════════════════════
   SCRIPT
   ══════════════════════════════════════════════════════════════════════ */



.ovpn-script-header[b-yfsayjaykm] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ovpn-script-title[b-yfsayjaykm] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nvx-text);
}

.ovpn-script-desc[b-yfsayjaykm] {
    margin-top: .35rem;
    color: var(--nvx-text-soft);
    font-size: .9rem;
    line-height: 1.45;
}

.ovpn-script-pre[b-yfsayjaykm] {
    margin: 0;
    padding: 1.15rem;
    border-radius: 1.2rem;
    background: #091126;
    border: 1px solid rgba(255,255,255,.05);
    color: #dbeafe;
    font-size: .88rem;
    line-height: 1.7;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: var(--nvx-font-mono);
}

.ovpn-btn-add-route[b-yfsayjaykm] {
    min-width: 132px;
    justify-content: center;
}

.ovpn-routes-list[b-yfsayjaykm] {
    margin-top: .5rem;
}

.ovpn-route-main[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ovpn-route-icon[b-yfsayjaykm] {
    width: 38px;
    height: 38px;
    border-radius: .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    flex-shrink: 0;
}

.ovpn-route-delete[b-yfsayjaykm] {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: .75rem;
    background: transparent;
    color: var(--danger, #dc2626);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .ovpn-route-delete:hover[b-yfsayjaykm] {
        background: color-mix(in srgb, var(--danger, #dc2626) 10%, transparent);
    }

.ovpn-client-savebar[b-yfsayjaykm] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.ovpn-btn-save-client[b-yfsayjaykm] {
    min-width: 180px;
    justify-content: center;
}

.ovpn-script-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════════
   SCRIPT / TERMINAL — NOVANTIX PRO
   ══════════════════════════════════════════════════════════════════════ */

.ovpn-client-script[b-yfsayjaykm] {
    margin: 1rem 1.15rem 1.15rem;
    padding: 1rem;
    border-radius: 1.35rem;
    border: 1px solid var(--border);
    background: var(--surface);
}

.ovpn-script-top[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ovpn-script-info[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ovpn-script-badge[b-yfsayjaykm] {
    width: 42px;
    height: 42px;
    border-radius: .95rem;
    background: var(--accent-dim);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ovpn-script-title[b-yfsayjaykm] {
    color: var(--text);
    font-size: 1rem;
    font-weight: 850;
}

.ovpn-script-subtitle[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .25rem;
    color: var(--text-dim);
    font-size: .86rem;
}

    .ovpn-script-subtitle .dot[b-yfsayjaykm] {
        width: 4px;
        height: 4px;
        border-radius: 99px;
        background: var(--border);
    }

.status-online[b-yfsayjaykm] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #16a34a;
    font-weight: 750;
}

    .status-online i[b-yfsayjaykm] {
        font-size: .48rem;
    }

.ovpn-script-actions[b-yfsayjaykm] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    flex-wrap: wrap;
}

.ovpn-terminal[b-yfsayjaykm] {
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid #263247;
    background: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.ovpn-terminal-bar[b-yfsayjaykm] {
    height: 38px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: 0 1rem;
    background: #111827;
    border-bottom: 1px solid #263247;
}

    .ovpn-terminal-bar span[b-yfsayjaykm] {
        width: 10px;
        height: 10px;
        border-radius: 999px;
    }

        .ovpn-terminal-bar span:nth-child(1)[b-yfsayjaykm] {
            background: #ef4444;
        }

        .ovpn-terminal-bar span:nth-child(2)[b-yfsayjaykm] {
            background: #f59e0b;
        }

        .ovpn-terminal-bar span:nth-child(3)[b-yfsayjaykm] {
            background: #22c55e;
        }

.ovpn-script-code[b-yfsayjaykm] {
    margin: 0;
    max-height: 520px;
    overflow: auto;
    white-space: pre;
    padding: 1.25rem 1.35rem;
    background: #0f172a;
    color: #dbeafe;
    font-family: 'DM Mono', 'Cascadia Code', Consolas, monospace;
    font-size: .82rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ovpn-script-top[b-yfsayjaykm] {
        align-items: stretch;
        flex-direction: column;
    }

    .ovpn-script-actions[b-yfsayjaykm] {
        justify-content: flex-start;
    }

        .ovpn-script-actions .nvx-btn[b-yfsayjaykm] {
            flex: 1;
            justify-content: center;
        }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {

    .rtr-body--split[b-yfsayjaykm],
    .ovpn-client-grid[b-yfsayjaykm],
    .ovpn-row-2col[b-yfsayjaykm],
    .ovpn-route-add[b-yfsayjaykm],
    .ovpn-tunnel-info[b-yfsayjaykm] {
        grid-template-columns: 1fr;
    }

    .ovpn-client-card-head[b-yfsayjaykm],
    .ovpn-clientes-toolbar[b-yfsayjaykm],
    .ovpn-client-editor-head[b-yfsayjaykm],
    .ovpn-script-header[b-yfsayjaykm],
    .rtr-panel-header[b-yfsayjaykm] {
        flex-direction: column;
        align-items: stretch;
    }

    .ovpn-client-card-actions[b-yfsayjaykm],
    .ovpn-clientes-toolbar-actions[b-yfsayjaykm] {
        flex-wrap: wrap;
    }
}

@media (max-width: 860px) {

    .nvx-table-wrap[b-yfsayjaykm] {
        display: none;
    }

    .ovpn-mobile-list[b-yfsayjaykm] {
        display: flex;
    }
}

@media (max-width: 720px) {

    .ovpn-panel[b-yfsayjaykm] {
        width: 100vw;
        height: 100vh;
        max-width: none;
        border-radius: 0;
    }

    .rtr-body[b-yfsayjaykm] {
        padding: 1rem;
    }

    .ovpn-client-card-actions[b-yfsayjaykm] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .ovpn-route-item[b-yfsayjaykm] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ovpn-mobile-actions[b-yfsayjaykm] {
        flex-direction: column;
    }
}
/* /Components/Pages/GestionDeRed/RedesIPv4.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   RedesIPv4.razor.css — Estilos específicos del módulo IPv4
   ═══════════════════════════════════════════════════════════════ */

/* =========================================================
   01. Tabla / textos específicos
   ========================================================= */

.redes-ipv4-main[b-wskzjya975] {
    font-weight: 800;
    color: var(--text);
}

.redes-ipv4-muted[b-wskzjya975] {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 3px;
}

/* =========================================================
   02. Uso de IPs
   ========================================================= */

.redes-ipv4-usage[b-wskzjya975] {
    min-width: 160px;
}

    .redes-ipv4-usage span[b-wskzjya975] {
        display: block;
        font-size: 12px;
        color: var(--text-dim);
        margin-bottom: 6px;
    }

    .redes-ipv4-usage div[b-wskzjya975] {
        height: 6px;
        background: var(--surface3);
        border-radius: 999px;
        overflow: hidden;
    }

    .redes-ipv4-usage i[b-wskzjya975] {
        display: block;
        height: 100%;
        background: var(--accent);
        border-radius: inherit;
    }

/* =========================================================
   03. CIDR + botón recalcular
   ========================================================= */

.cidr-actions[b-wskzjya975] {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .cidr-actions .nvx-cidr-select[b-wskzjya975] {
        flex: 1;
    }

    .cidr-actions .nvx-btn[b-wskzjya975] {
        min-width: 48px;
        width: 48px;
        height: 48px;
        padding: 0;
    }

        .cidr-actions .nvx-btn i[b-wskzjya975] {
            font-size: 16px;
        }

/* =========================================================
   04. Resumen calculado de red
   ========================================================= */

.redes-ipv4-resumen[b-wskzjya975] {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
    border-radius: 16px;
    background: linear-gradient( 180deg, color-mix(in srgb, var(--accent) 5%, var(--surface)) 0%, color-mix(in srgb, var(--accent) 8%, var(--surface2)) 100% );
}

    .redes-ipv4-resumen div[b-wskzjya975] {
        padding: 10px 12px;
        border-radius: 12px;
        background: var(--surface);
        border: 1px solid var(--border-soft);
    }

    .redes-ipv4-resumen span[b-wskzjya975] {
        display: block;
        font-size: 11px;
        color: var(--text-muted);
        font-weight: 800;
        margin-bottom: 4px;
    }

    .redes-ipv4-resumen strong[b-wskzjya975] {
        display: block;
        color: var(--text);
        font-size: 13px;
        font-weight: 800;
    }

/* =========================================================
   05. Responsive
   ========================================================= */

@media (max-width: 900px) {
    .redes-ipv4-resumen[b-wskzjya975] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cidr-actions[b-wskzjya975] {
        align-items: stretch;
    }

        .cidr-actions .nvx-btn[b-wskzjya975] {
            height: 42px;
            min-width: 42px;
            width: 42px;
        }
}
/* /Components/Pages/GestionDeRed/Routers.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   NOVANTIX ISP CLOUD
   Routers.razor.css
   Solo estilos específicos del módulo Routers
   ═══════════════════════════════════════════════════════════════ */

/* =========================================================
   01. Refresh / acciones superiores
   ========================================================= */

.routers-refresh-config[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-dim);
    font-size: .78rem;
    font-weight: 700;
}

.routers-refresh-input[b-nkqyks5cyo] {
    width: 76px;
    height: 38px;
    text-align: center;
}

/* =========================================================
   02. Celdas principales de router
   ========================================================= */

.router-name-cell[b-nkqyks5cyo] {
    max-width: 210px;
}

.router-name-main[b-nkqyks5cyo] {
    color: var(--text);
    font-weight: 800;
    font-size: .92rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.router-name-meta[b-nkqyks5cyo] {
    color: var(--accent);
    font-size: .76rem;
    font-weight: 750;
    margin-top: .22rem;
    line-height: 1.25;
}

.router-client-count[b-nkqyks5cyo] {
    min-width: 30px;
    height: 24px;
    padding: 0 .55rem;
    border-radius: 999px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
}

/* =========================================================
   03. Acciones de fila
   ========================================================= */

.rtr-action-btn[b-nkqyks5cyo] {
    width: 32px;
    height: 32px;
    border-radius: .65rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .rtr-action-btn:hover:not(:disabled)[b-nkqyks5cyo] {
        background: var(--accent-dim);
        color: var(--accent);
        border-color: color-mix(in srgb, var(--accent) 25%, transparent);
    }

    .rtr-action-btn:disabled[b-nkqyks5cyo] {
        opacity: .4;
        cursor: not-allowed;
    }

.rtr-action-btn--danger[b-nkqyks5cyo] {
    color: var(--danger);
}

.rtr-action-btn--warning[b-nkqyks5cyo] {
    color: var(--warning);
    background: var(--warning-dim);
}

/* =========================================================
   04. Estado técnico / CPU / Health
   ========================================================= */

.router-tech-cell[b-nkqyks5cyo] {
    max-width: 280px;
}

.router-tech-meta[b-nkqyks5cyo] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .55rem;
    margin-top: .25rem;
    color: var(--text-dim);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.25;
}

    .router-tech-meta span[b-nkqyks5cyo] {
        white-space: nowrap;
    }

.router-tech-offline[b-nkqyks5cyo] {
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
}

.router-cpu-bar[b-nkqyks5cyo] {
    width: 100%;
    height: 6px;
    margin-top: .3rem;
    border-radius: 999px;
    background: var(--surface2);
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.router-cpu-bar-fill[b-nkqyks5cyo] {
    height: 100%;
    border-radius: inherit;
    transition: width .25s ease;
}

.router-cpu-bar--ok[b-nkqyks5cyo] {
    background: var(--success);
}

.router-cpu-bar--medium[b-nkqyks5cyo] {
    background: var(--info);
}

.router-cpu-bar--warning[b-nkqyks5cyo] {
    background: var(--warning);
}

.router-cpu-bar--danger[b-nkqyks5cyo] {
    background: var(--danger);
}

.router-cpu-bar--empty[b-nkqyks5cyo] {
    background: transparent;
}

.router-tech-meta .router-cpu-bar[b-nkqyks5cyo] {
    flex-basis: 100%;
    max-width: 180px;
}

.router-lastseen[b-nkqyks5cyo] {
    flex-basis: 100%;
    font-size: .70rem;
    line-height: 1.25;
    color: var(--text-muted);
}

    .router-lastseen strong[b-nkqyks5cyo] {
        color: var(--text);
        font-weight: 800;
    }

    .router-lastseen i[b-nkqyks5cyo] {
        font-size: .72rem;
    }



.router-tech-offline[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

    .router-tech-offline .router-lastseen[b-nkqyks5cyo] {
        margin-top: .1rem;
    }

.router-tech-expand[b-nkqyks5cyo] {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .router-tech-expand:hover[b-nkqyks5cyo] {
        color: var(--accent);
    }

.router-tech-extra[b-nkqyks5cyo] {
    flex-basis: 100%;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    padding-top: .45rem;
    margin-top: .35rem;
    border-top: 1px dashed var(--border-soft);
}

    .router-tech-extra div[b-nkqyks5cyo] {
        display: inline-flex;
        align-items: center;
        gap: .25rem;
    }

    .router-tech-extra span[b-nkqyks5cyo] {
        color: var(--text-muted);
        font-size: .68rem;
        font-weight: 750;
        text-transform: uppercase;
    }

    .router-tech-extra strong[b-nkqyks5cyo] {
        color: var(--text);
        font-size: .72rem;
        font-weight: 850;
    }

.router-health-ok[b-nkqyks5cyo] {
    color: var(--success) !important;
}

.router-health-fail[b-nkqyks5cyo] {
    color: var(--danger) !important;
}

/* =========================================================
   05. Mobile cards específicas de router
   ========================================================= */

.router-mobile-grid[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    padding: .75rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

    .router-mobile-grid div[b-nkqyks5cyo] {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

    .router-mobile-grid span[b-nkqyks5cyo] {
        color: var(--text-muted);
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .router-mobile-grid strong[b-nkqyks5cyo] {
        color: var(--text);
        font-size: .86rem;
        font-weight: 800;
    }

.router-mobile-cpu[b-nkqyks5cyo] {
    grid-column: 1 / -1;
}

.router-mobile-cpu-head[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.router-tech-extra--mobile[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

    .router-tech-extra--mobile div[b-nkqyks5cyo] {
        display: flex;
        flex-direction: column;
        gap: .12rem;
    }

/* =========================================================
   06. Modal principal de Router
   ========================================================= */

.rtr-overlay[b-nkqyks5cyo] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rtr-panel[b-nkqyks5cyo] {
    width: min(1180px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: width .22s ease, max-height .22s ease, border-radius .22s ease;
    position: relative;
}

.rtr-panel--full[b-nkqyks5cyo] {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
}

.rtr-panel-header[b-nkqyks5cyo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.rtr-panel-title[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

    .rtr-panel-title h3[b-nkqyks5cyo] {
        margin: 0;
        color: var(--text);
        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: -.02em;
    }

.rtr-breadcrumb[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-dim);
    font-size: .84rem;
    flex-wrap: wrap;
}

.rtr-bc-sep[b-nkqyks5cyo] {
    color: var(--text-muted);
}

.rtr-bc-active[b-nkqyks5cyo] {
    color: var(--accent);
    font-weight: 700;
}

.rtr-panel-actions[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rtr-icon-btn[b-nkqyks5cyo] {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .75rem;
    border: 1px solid var(--border);
    background: var(--accent-dim);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}

    .rtr-icon-btn:hover:not(:disabled)[b-nkqyks5cyo] {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        transform: translateY(-1px);
    }

.rtr-icon-btn--close[b-nkqyks5cyo] {
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
    border-color: color-mix(in srgb, var(--danger) 25%, transparent);
}

    .rtr-icon-btn--close:hover:not(:disabled)[b-nkqyks5cyo] {
        background: var(--danger);
        color: #fff;
        border-color: var(--danger);
    }

.rtr-icon-btn:disabled[b-nkqyks5cyo] {
    opacity: .55;
    cursor: not-allowed;
}

/* =========================================================
   07. Tabs del modal
   ========================================================= */

.rtr-tabs[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .65rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

    .rtr-tabs[b-nkqyks5cyo]::-webkit-scrollbar {
        display: none;
    }

.rtr-tab[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 38px;
    padding: .55rem .9rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    background: transparent;
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

    .rtr-tab:hover:not(:disabled)[b-nkqyks5cyo] {
        background: var(--surface2);
        color: var(--text);
    }

.rtr-tab--active[b-nkqyks5cyo] {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.rtr-tab:disabled[b-nkqyks5cyo] {
    opacity: .45;
    cursor: not-allowed;
}

/* =========================================================
   08. Body / cards internas
   ========================================================= */

.rtr-body[b-nkqyks5cyo] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem;
    background: var(--surface2);
}

.rtr-body--split[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.rtr-body--mikrotik[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.rtr-col[b-nkqyks5cyo],
.rtr-info-panel[b-nkqyks5cyo],
.rtr-traffic-panel[b-nkqyks5cyo],
.rtr-mini-form[b-nkqyks5cyo] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: .95rem;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.rtr-col[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.rtr-section-title[b-nkqyks5cyo],
.rtr-info-panel-title[b-nkqyks5cyo],
.rtr-mini-form-title[b-nkqyks5cyo] {
    color: var(--text);
    font-size: .92rem;
    font-weight: 800;
}

.rtr-mikrotik-title[b-nkqyks5cyo] {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: .04em;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--border);
}

.rtr-divider[b-nkqyks5cyo] {
    border: none;
    border-top: 1px solid var(--border);
    margin: .35rem 0;
}

/* =========================================================
   09. Formularios internos
   ========================================================= */

.rtr-field-row[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.rtr-field-row--toggle[b-nkqyks5cyo] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem .9rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: .8rem;
}

.rtr-lock[b-nkqyks5cyo] {
    color: var(--text-muted);
    font-size: .8rem;
    margin-left: .2rem;
}

.rtr-pass-wrap[b-nkqyks5cyo] {
    display: flex;
    align-items: stretch;
    gap: .5rem;
}

    .rtr-pass-wrap .nvx-input[b-nkqyks5cyo] {
        flex: 1;
    }

.rtr-geo-btn[b-nkqyks5cyo] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--accent);
    padding: 0 .25rem;
    font-size: .95rem;
    vertical-align: middle;
}

.rtr-guardar-wrap[b-nkqyks5cyo] {
    margin-top: .5rem;
}

    .rtr-guardar-wrap .nvx-btn[b-nkqyks5cyo] {
        width: 100%;
        min-height: 42px;
        justify-content: center;
        gap: .45rem;
        font-weight: 800;
        border-radius: .75rem;
    }

.rtr-api-test-box[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .25rem;
    margin-bottom: 1rem;
}

    .rtr-api-test-box .nvx-btn[b-nkqyks5cyo] {
        justify-content: center;
        min-height: 40px;
        border-radius: .75rem;
        font-weight: 750;
    }

.nvx-btn-loading[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.nvx-spin[b-nkqyks5cyo] {
    animation: nvx-spin-b-nkqyks5cyo 1s linear infinite;
}

@keyframes nvx-spin-b-nkqyks5cyo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   10. Toggle específico router
   ========================================================= */

.rtr-toggle[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

    .rtr-toggle input[b-nkqyks5cyo] {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

.rtr-toggle-track[b-nkqyks5cyo] {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 99px;
    background: var(--border-strong);
    transition: background .22s ease;
    flex-shrink: 0;
}

    .rtr-toggle-track[b-nkqyks5cyo]::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: transform .22s ease;
        box-shadow: 0 1px 4px rgba(0,0,0,.18);
    }

.rtr-toggle input:checked + .rtr-toggle-track[b-nkqyks5cyo] {
    background: var(--accent);
}

    .rtr-toggle input:checked + .rtr-toggle-track[b-nkqyks5cyo]::after {
        transform: translateX(20px);
    }

/* =========================================================
   11. Bloqueos
   ========================================================= */

.rtr-tab-toolbar[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rtr-tab-toolbar-left[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.rtr-tab-search[b-nkqyks5cyo] {
    min-width: 220px;
    max-width: 360px;
}

.rtr-tab-footer[b-nkqyks5cyo] {
    margin-top: .75rem;
    color: var(--text-dim);
    font-size: .85rem;
}

.rtr-empty-cell[b-nkqyks5cyo] {
    text-align: center;
    color: var(--text-dim);
    padding: 1.75rem 0;
    font-size: .9rem;
}

.rtr-mini-form[b-nkqyks5cyo] {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.rtr-mini-form-grid[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: .85rem;
}

.rtr-mini-form-actions[b-nkqyks5cyo] {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    padding-top: .35rem;
}

/* =========================================================
   12. MikroTik info
   ========================================================= */

.rtr-info-panel[b-nkqyks5cyo],
.rtr-traffic-panel[b-nkqyks5cyo] {
    min-height: 220px;
}

.rtr-info-panel-title[b-nkqyks5cyo] {
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}

.rtr-info-table[b-nkqyks5cyo] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .84rem;
    overflow: hidden;
    border-radius: .75rem;
}

    .rtr-info-table tr:nth-child(odd) td[b-nkqyks5cyo] {
        background: var(--surface2);
    }

    .rtr-info-table tr:nth-child(even) td[b-nkqyks5cyo] {
        background: var(--surface);
    }

.rtr-info-label[b-nkqyks5cyo] {
    color: var(--text-dim);
    padding: .45rem .65rem;
    text-align: right;
    width: 46%;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-soft);
}

.rtr-info-value[b-nkqyks5cyo] {
    color: var(--text);
    padding: .45rem .65rem;
    font-family: 'DM Mono', ui-monospace, 'Cascadia Code', monospace;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid var(--border-soft);
}

.rtr-info-updated[b-nkqyks5cyo] {
    color: var(--text-dim);
    font-size: .78rem;
    margin-top: .75rem;
    text-align: right;
}

.rtr-no-data[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-dim);
    font-size: .9rem;
    padding: 1rem;
    background: var(--surface2);
    border: 1px dashed var(--border);
    border-radius: .8rem;
}

/* =========================================================
   13. Selector de interfaces
   ========================================================= */

.rtr-iface-picker[b-nkqyks5cyo] {
    position: relative;
}

.rtr-iface-selected[b-nkqyks5cyo] {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--border);
    background: var(--surface2);
    border-radius: .9rem;
    padding: .65rem .9rem;
    display: grid;
    grid-template-columns: 1fr auto;
    text-align: left;
    cursor: pointer;
}

.rtr-iface-selected-name[b-nkqyks5cyo] {
    color: var(--text);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
}

.rtr-iface-selected-comment[b-nkqyks5cyo] {
    color: var(--text-muted);
    font-size: .9rem;
    font-style: italic;
    margin-top: .18rem;
}

.rtr-iface-selected i[b-nkqyks5cyo] {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: var(--text-muted);
}

.rtr-iface-dropdown[b-nkqyks5cyo] {
    position: absolute;
    z-index: 50;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: .9rem;
    box-shadow: var(--shadow-lg);
    padding: .65rem;
}

.rtr-iface-search[b-nkqyks5cyo] {
    margin-bottom: .55rem;
}

.rtr-iface-options[b-nkqyks5cyo] {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.rtr-iface-option[b-nkqyks5cyo] {
    border: 0;
    background: transparent;
    border-radius: .7rem;
    padding: .65rem .75rem;
    text-align: left;
    cursor: pointer;
}

    .rtr-iface-option:hover[b-nkqyks5cyo],
    .rtr-iface-option--active[b-nkqyks5cyo] {
        background: var(--accent-dim);
    }

.rtr-iface-option-name[b-nkqyks5cyo] {
    display: block;
    color: var(--text);
    font-size: .95rem;
    font-weight: 650;
}

.rtr-iface-option-comment[b-nkqyks5cyo] {
    display: block;
    color: var(--text-muted);
    font-size: .84rem;
    font-style: italic;
    margin-top: .12rem;
}

.rtr-iface-empty[b-nkqyks5cyo] {
    color: var(--text-muted);
}

/* =========================================================
   14. Tráfico en vivo
   ========================================================= */

.rtr-live-values[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin: 1rem 0;
}

    .rtr-live-values div[b-nkqyks5cyo] {
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 1rem;
        padding: .85rem;
    }

    .rtr-live-values span[b-nkqyks5cyo] {
        color: var(--text-muted);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .04em;
    }

    .rtr-live-values strong[b-nkqyks5cyo] {
        display: block;
        margin-top: .35rem;
        font-size: 1.15rem;
        font-weight: 900;
    }

.rtr-pro-chart[b-nkqyks5cyo] {
    height: 240px;
    margin-top: 1rem;
    background: linear-gradient(180deg, var(--surface2), var(--surface));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: .75rem;
    overflow: hidden;
}

    .rtr-pro-chart svg[b-nkqyks5cyo] {
        width: 100%;
        height: 100%;
    }

.rtr-grid-line[b-nkqyks5cyo] {
    stroke: rgba(148, 163, 184, .22);
    stroke-width: 1;
}

.rtr-line-rx[b-nkqyks5cyo],
.rtr-line-tx[b-nkqyks5cyo] {
    fill: none;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
}

.rtr-line-rx[b-nkqyks5cyo] {
    stroke: var(--danger);
}

.rtr-line-tx[b-nkqyks5cyo] {
    stroke: var(--info);
}

.rtr-point-rx[b-nkqyks5cyo] {
    fill: var(--danger);
    opacity: 0;
    cursor: pointer;
}

    .rtr-point-rx:hover[b-nkqyks5cyo] {
        opacity: 1;
    }

.rtr-axis-label[b-nkqyks5cyo] {
    fill: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
}

.rtr-traffic-wait[b-nkqyks5cyo] {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: .9rem;
}

.rtr-traffic-legend[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: .75rem;
    color: var(--text-dim);
    font-size: .78rem;
    font-weight: 750;
}

.rtr-dot-rx[b-nkqyks5cyo],
.rtr-dot-tx[b-nkqyks5cyo] {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
    margin-right: .35rem;
}

.rtr-dot-rx[b-nkqyks5cyo] {
    background: var(--danger);
}

.rtr-dot-tx[b-nkqyks5cyo] {
    background: var(--info);
}

.rtr-live-now[b-nkqyks5cyo] {
    margin-left: auto;
    color: var(--text-muted);
    font-size: .76rem;
    font-weight: 800;
}

/* =========================================================
   15. Placeholders / gráficos
   ========================================================= */

.rtr-graficos-placeholder[b-nkqyks5cyo] {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    padding: 2.5rem 1rem;
    color: var(--text-dim);
    text-align: center;
    background: var(--surface2);
    border: 1px dashed var(--border);
    border-radius: .9rem;
}

    .rtr-graficos-placeholder i[b-nkqyks5cyo] {
        font-size: 2.6rem;
        color: var(--accent);
        opacity: .85;
    }

    .rtr-graficos-placeholder p[b-nkqyks5cyo] {
        margin: 0;
        max-width: 420px;
        line-height: 1.45;
    }

.rtr-traffic-hint[b-nkqyks5cyo] {
    color: var(--text-dim);
    font-size: .8rem;
}

    .rtr-traffic-hint code[b-nkqyks5cyo] {
        background: var(--surface);
        border: 1px solid var(--border);
        padding: .15rem .45rem;
        border-radius: .45rem;
        color: var(--text);
        font-size: .76rem;
    }

/* =========================================================
   16. Logs
   ========================================================= */

.rtr-log-toolbar[b-nkqyks5cyo] {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.rtr-log-tools[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: .9rem;
    padding: .25rem;
}

.rtr-log-page-size[b-nkqyks5cyo] {
    width: 112px;
    height: 36px;
    border: 0;
    background: transparent;
    font-weight: 800;
    font-size: .82rem;
}

.rtr-log-tool-btn[b-nkqyks5cyo] {
    width: 36px;
    height: 36px;
    border: 0;
    border-left: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: .65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .rtr-log-tool-btn:hover[b-nkqyks5cyo] {
        background: var(--accent-dim);
        color: var(--accent);
    }

.rtr-log-tool-btn--danger[b-nkqyks5cyo] {
    color: var(--danger);
}

    .rtr-log-tool-btn--danger:hover[b-nkqyks5cyo] {
        background: var(--danger-dim);
        color: var(--danger);
    }

.rtr-filter-group[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: .85rem;
}

.rtr-filter-btn[b-nkqyks5cyo] {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 800;
    padding: .45rem .7rem;
    border-radius: .65rem;
    cursor: pointer;
}

    .rtr-filter-btn:hover[b-nkqyks5cyo],
    .rtr-filter-btn.active[b-nkqyks5cyo] {
        color: var(--accent);
        background: var(--accent-dim);
    }

.rtr-log-origin-filter[b-nkqyks5cyo] {
    justify-self: start;
}

.rtr-log-search[b-nkqyks5cyo] {
    justify-self: end;
    max-width: 360px;
    width: 100%;
    min-width: 240px;
}

.rtr-log-tipo[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    font-size: .72rem;
    font-weight: 700;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: .45rem;
    padding: .2rem .45rem;
    color: var(--text-dim);
    font-family: 'DM Mono', ui-monospace, monospace;
}

.rtr-log-origin[b-nkqyks5cyo] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .55rem;
    font-size: .72rem;
    font-weight: 800;
}

.rtr-log-origin-router[b-nkqyks5cyo] {
    color: var(--info);
    background: var(--info-dim);
    border: 1px solid color-mix(in srgb, var(--info) 18%, transparent);
}

.rtr-log-origin-system[b-nkqyks5cyo] {
    color: #7c3aed;
    background: rgba(124, 58, 237, .08);
    border: 1px solid rgba(124, 58, 237, .18);
}

/* =========================================================
   17. Paginación
   ========================================================= */

.rtr-pagination[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .85rem;
    flex-wrap: wrap;
    gap: .65rem;
}

.rtr-pagination-info[b-nkqyks5cyo] {
    color: var(--text-dim);
    font-size: .85rem;
}

.rtr-pagination-btns[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.rtr-pagination-page[b-nkqyks5cyo],
.rtr-page-number[b-nkqyks5cyo] {
    min-width: 34px;
    height: 34px;
    border-radius: .65rem;
    background: var(--surface);
    color: var(--text-dim);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    font-weight: 500;
}

    .rtr-pagination-page[b-nkqyks5cyo],
    .rtr-page-number.active[b-nkqyks5cyo] {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        box-shadow: 0 4px 10px color-mix(in srgb, var(--accent) 25%, transparent);
    }

.rtr-page-ellipsis[b-nkqyks5cyo] {
    color: var(--text-muted);
    padding: 0 .25rem;
    font-weight: 800;
}

/* =========================================================
   18. Modal limpiar logs
   ========================================================= */

.rtr-mini-overlay[b-nkqyks5cyo] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.rtr-clean-modal[b-nkqyks5cyo] {
    position: relative;
    z-index: 10000;
    width: min(520px, calc(100vw - 2rem));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: nvxModalIn-b-nkqyks5cyo .18s ease;
}

@keyframes nvxModalIn-b-nkqyks5cyo {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rtr-clean-header[b-nkqyks5cyo] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border);
}

    .rtr-clean-header h4[b-nkqyks5cyo] {
        margin: 0;
        font-size: 1rem;
        font-weight: 900;
    }

    .rtr-clean-header p[b-nkqyks5cyo] {
        margin: .25rem 0 0;
        color: var(--text-muted);
        font-size: .82rem;
    }

.rtr-clean-body[b-nkqyks5cyo] {
    padding: 1.1rem;
}

.rtr-clean-options[b-nkqyks5cyo] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .5rem 0 1rem;
}

.rtr-clean-check[b-nkqyks5cyo] {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-muted);
    font-size: .84rem;
    font-weight: 700;
}

.rtr-clean-actions[b-nkqyks5cyo] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    padding: 1rem 1.1rem;
    border-top: 1px solid var(--border);
    background: var(--surface2);
}

/* =========================================================
   19. Menús flotantes / reconexión
   ========================================================= */

.rtr-floating-menu[b-nkqyks5cyo] {
    position: absolute;
    z-index: 100;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: .9rem;
    box-shadow: var(--shadow-lg);
    padding: .55rem;
}

.rtr-menu-item[b-nkqyks5cyo] {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    border-radius: .65rem;
    padding: .55rem .65rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

    .rtr-menu-item:hover[b-nkqyks5cyo] {
        background: var(--accent-dim);
        color: var(--accent);
    }

.rtr-reconnect-banner[b-nkqyks5cyo] {
    position: absolute;
    top: .75rem;
    left: 50%;
    z-index: 40;
    transform: translateX(-50%);
    max-width: min(620px, calc(100% - 2rem));
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: .78rem;
    font-weight: 750;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    overflow: hidden;
}

    .rtr-reconnect-banner span[b-nkqyks5cyo] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rtr-reconnect-banner[b-nkqyks5cyo]::before {
        content: "";
        width: .55rem;
        height: .55rem;
        border-radius: 999px;
        background: var(--warning);
        box-shadow: 0 0 0 5px var(--warning-dim);
        flex: 0 0 auto;
    }

    .rtr-reconnect-banner .nvx-spinner[b-nkqyks5cyo] {
        display: none;
    }

/* =========================================================
   20. Grafana / Novantix monitor
   ========================================================= */

.rtr-body--graficos[b-nkqyks5cyo] {
    display: grid;
    gap: 18px;
}

.rtr-graphing-card[b-nkqyks5cyo],
.rtr-nvx-monitor-card[b-nkqyks5cyo] {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.rtr-graphing-header[b-nkqyks5cyo],
.rtr-nvx-monitor-head[b-nkqyks5cyo] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

    .rtr-graphing-header h4[b-nkqyks5cyo],
    .rtr-nvx-monitor-head h4[b-nkqyks5cyo] {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        color: var(--text);
    }

    .rtr-graphing-header p[b-nkqyks5cyo],
    .rtr-nvx-monitor-head p[b-nkqyks5cyo] {
        margin: 4px 0 0;
        font-size: 13px;
        color: var(--text-dim);
    }

.rtr-graphing-body[b-nkqyks5cyo] {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    background: var(--surface2);
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 18px;
}

.rtr-graphing-icon[b-nkqyks5cyo] {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 26px;
}

.rtr-graphing-info[b-nkqyks5cyo] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--text-dim);
    font-size: 13px;
}

    .rtr-graphing-info strong[b-nkqyks5cyo] {
        color: var(--text);
    }

    .rtr-graphing-info code[b-nkqyks5cyo] {
        width: fit-content;
        margin-top: 4px;
        padding: 4px 8px;
        border-radius: 8px;
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--text-dim);
    }

.rtr-graphing-actions[b-nkqyks5cyo] {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rtr-coming-soon[b-nkqyks5cyo] {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.rtr-nvx-monitor-head > i[b-nkqyks5cyo] {
    font-size: 34px;
    color: var(--accent);
    opacity: .85;
}

.rtr-monitor-grid[b-nkqyks5cyo] {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

    .rtr-monitor-grid div[b-nkqyks5cyo] {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        padding: 14px;
        border-radius: 14px;
        background: var(--surface2);
        border: 1px solid var(--border);
        color: var(--text-dim);
        font-weight: 700;
        font-size: 13px;
    }

    .rtr-monitor-grid i[b-nkqyks5cyo] {
        color: var(--accent);
        font-size: 18px;
    }

.rtr-graphing-frame-wrap[b-nkqyks5cyo] {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    height: min(72vh, 760px);
}

.rtr-graphing-frame[b-nkqyks5cyo] {
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.nvx-table-pro th:nth-child(1)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(1)[b-nkqyks5cyo] {
    width: 22%;
}

.nvx-table-pro th:nth-child(2)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(2)[b-nkqyks5cyo] {
    width: 20%;
}

.nvx-table-pro th:nth-child(3)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(3)[b-nkqyks5cyo] {
    width: 15%;
}

.nvx-table-pro th:nth-child(4)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(4)[b-nkqyks5cyo] {
    width: 22%;
}

.nvx-table-pro th:nth-child(5)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(5)[b-nkqyks5cyo] {
    width: 7%;
}

.nvx-table-pro th:nth-child(6)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(6)[b-nkqyks5cyo] {
    width: 8%;
}

.nvx-table-pro th:nth-child(7)[b-nkqyks5cyo],
.nvx-table-pro td:nth-child(7)[b-nkqyks5cyo] {
    width: 6%;
}

/* =========================================================
   22. Responsive específico Routers
   ========================================================= */

@media (max-width: 992px) {
    .routers-refresh-config[b-nkqyks5cyo] {
        flex: 1;
        min-width: 180px;
    }

    .rtr-body--split[b-nkqyks5cyo],
    .rtr-body--mikrotik[b-nkqyks5cyo] {
        grid-template-columns: 1fr;
    }

    .rtr-log-toolbar[b-nkqyks5cyo] {
        grid-template-columns: 1fr;
    }

    .rtr-log-tools[b-nkqyks5cyo],
    .rtr-log-origin-filter[b-nkqyks5cyo],
    .rtr-log-search[b-nkqyks5cyo] {
        width: 100%;
        justify-self: stretch;
    }

    .rtr-log-search[b-nkqyks5cyo] {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .routers-refresh-config[b-nkqyks5cyo] {
        min-width: 0;
    }

    .routers-refresh-input[b-nkqyks5cyo] {
        width: 64px;
        height: 38px;
        padding-inline: 6px;
    }

    .rtr-overlay[b-nkqyks5cyo] {
        padding: .5rem;
        align-items: flex-end;
    }

    .rtr-panel[b-nkqyks5cyo] {
        width: 100%;
        max-height: calc(100dvh - 1rem);
        border-radius: .9rem;
    }

    .rtr-panel--full[b-nkqyks5cyo] {
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .rtr-panel-header[b-nkqyks5cyo] {
        padding: 1rem;
    }

    .rtr-panel-title h3[b-nkqyks5cyo] {
        font-size: 1.05rem;
    }

    .rtr-breadcrumb[b-nkqyks5cyo] {
        font-size: .78rem;
    }

    .rtr-icon-btn[b-nkqyks5cyo] {
        width: 2.15rem;
        height: 2.15rem;
    }

    .rtr-tabs[b-nkqyks5cyo] {
        position: relative;
        z-index: 3;
        background: var(--surface);
    }

    .rtr-tab[b-nkqyks5cyo] {
        padding: .7rem .85rem;
        font-size: .82rem;
    }

    .rtr-body[b-nkqyks5cyo] {
        position: relative;
        z-index: 1;
        padding: 1rem;
    }

    .rtr-mini-form-grid[b-nkqyks5cyo] {
        grid-template-columns: 1fr;
    }

    .rtr-mini-form-actions[b-nkqyks5cyo] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rtr-pagination[b-nkqyks5cyo] {
        flex-direction: column;
        align-items: flex-start;
    }

    .rtr-graphing-header[b-nkqyks5cyo],
    .rtr-nvx-monitor-head[b-nkqyks5cyo],
    .rtr-graphing-body[b-nkqyks5cyo] {
        flex-direction: column;
    }

    .rtr-monitor-grid[b-nkqyks5cyo] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .routers-refresh-config[b-nkqyks5cyo] {
        width: 100%;
        justify-content: space-between;
    }

    .router-mobile-grid[b-nkqyks5cyo] {
        grid-template-columns: 1fr;
    }

    .rtr-panel-header[b-nkqyks5cyo] {
        align-items: flex-start;
    }

    .rtr-panel-actions[b-nkqyks5cyo] {
        gap: .35rem;
    }

    .rtr-field-row--toggle[b-nkqyks5cyo] {
        align-items: flex-start;
        flex-direction: column;
    }

    .nvx-mobile-card-actions[b-nkqyks5cyo] {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        gap: .6rem;
    }

        .nvx-mobile-card-actions .rtr-action-btn[b-nkqyks5cyo] {
            width: 100%;
            max-width: none;
            height: 42px;
            border-radius: 12px;
        }

    .router-mobile-grid .router-lastseen[b-nkqyks5cyo] {
        display: inline-flex;
        font-size: .78rem;
    }
}

@media (max-width: 420px) {
    .nvx-mobile-card-actions[b-nkqyks5cyo] {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* /Components/Pages/GestionDeRed/Sites.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════
   NOVANTIX ISP CLOUD
   Sites.razor.css
   Producto: Novantix ISP Cloud
   Empresa: Rey Solutions EIRL
   Derechos de autor: © 2026 Rey Solutions EIRL. Todos los derechos reservados.

   Nota:
   - Los estilos globales usan nvx-* desde novantix-isp.css.
   - Este archivo solo conserva detalles propios de Sites.
   ═══════════════════════════════════════════════════════════════ */

/* =========================================================
   01. Ajustes visuales de tabla específicos de Sites
   ========================================================= */

:deep(.nvx-table-pro td)[b-7ifhke2fk7] {
    vertical-align: middle;
}

:deep(.nvx-row-actions)[b-7ifhke2fk7] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
}

:deep(.nvx-row-actions--icon)[b-7ifhke2fk7] {
    min-width: 84px;
}

/* =========================================================
   02. Modal Sites
   ========================================================= */

.sites-modal-pro[b-7ifhke2fk7] {
    width: min(1080px, 100%);
}

.sites-form-grid[b-7ifhke2fk7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.sites-form-card[b-7ifhke2fk7] {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.sites-form-card--full[b-7ifhke2fk7] {
    grid-column: 1 / -1;
}

.sites-form-title[b-7ifhke2fk7] {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
}

    .sites-form-title i[b-7ifhke2fk7] {
        color: var(--accent);
        font-size: 1rem;
    }

/* =========================================================
   03. Coordenadas
   ========================================================= */

.sites-coordinates-row[b-7ifhke2fk7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: center;
}

.sites-coordinates-input[b-7ifhke2fk7] {
    min-width: 0;
}

.sites-location-btn[b-7ifhke2fk7] {
    min-width: 44px;
    height: 42px;
    padding-left: .75rem;
    padding-right: .75rem;
}

/* =========================================================
   04. Bloques de tecnología / infraestructura
   ========================================================= */

.sites-tech-grid[b-7ifhke2fk7] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sites-toggle[b-7ifhke2fk7] {
    min-height: 46px;
    padding: .75rem .85rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: .65rem;
    cursor: pointer;
    user-select: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

    .sites-toggle:hover[b-7ifhke2fk7] {
        background: var(--surface-hover);
        border-color: var(--border-strong);
        color: var(--text);
        transform: translateY(-1px);
    }

    .sites-toggle input[b-7ifhke2fk7] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.sites-toggle-track[b-7ifhke2fk7] {
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: var(--border-strong);
    position: relative;
    flex-shrink: 0;
    transition: background .18s ease;
}

    .sites-toggle-track[b-7ifhke2fk7]::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        left: 3px;
        top: 3px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
        transition: transform .18s ease;
    }

.sites-toggle input:checked + .sites-toggle-track[b-7ifhke2fk7] {
    background: var(--accent);
}

    .sites-toggle input:checked + .sites-toggle-track[b-7ifhke2fk7]::before {
        transform: translateX(16px);
    }

.sites-toggle input:checked ~ span:last-child[b-7ifhke2fk7] {
    color: var(--text);
    font-weight: 800;
}

.sites-toggle span:last-child[b-7ifhke2fk7] {
    font-size: .84rem;
    font-weight: 750;
}

/* =========================================================
   05. Alertas internas de modal
   Solo validaciones dentro del modal.
   Los mensajes globales usan nvx-alert debajo del Hero.
   ========================================================= */

.sites-modal-alert-container[b-7ifhke2fk7] {
    padding: 14px 24px 0;
}

.sites-modal-alert[b-7ifhke2fk7] {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 750;
    line-height: 1.45;
    border: 1px solid transparent;
}

.sites-modal-alert-danger[b-7ifhke2fk7] {
    background: var(--danger-dim);
    color: var(--danger);
    border-color: color-mix(in srgb, var(--danger) 25%, transparent);
}

.sites-modal-alert-warning[b-7ifhke2fk7] {
    background: var(--warning-dim);
    color: var(--warning);
    border-color: color-mix(in srgb, var(--warning) 25%, transparent);
}

.sites-modal-alert-success[b-7ifhke2fk7] {
    background: var(--success-dim);
    color: var(--success);
    border-color: color-mix(in srgb, var(--success) 25%, transparent);
}

/* =========================================================
   06. Mobile cards específicos de Sites
   ========================================================= */

.sites-mobile-grid[b-7ifhke2fk7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    padding: .75rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

    .sites-mobile-grid div[b-7ifhke2fk7] {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }

    .sites-mobile-grid span[b-7ifhke2fk7] {
        color: var(--text-muted);
        font-size: .72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .sites-mobile-grid strong[b-7ifhke2fk7] {
        color: var(--text);
        font-size: .86rem;
        font-weight: 850;
    }

/* =========================================================
   07. Responsive
   ========================================================= */

@media (max-width: 992px) {
    .sites-form-grid[b-7ifhke2fk7] {
        grid-template-columns: 1fr;
    }

    .sites-tech-grid[b-7ifhke2fk7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sites-modal-pro[b-7ifhke2fk7] {
        width: 100%;
    }

    .sites-form-card[b-7ifhke2fk7] {
        border-radius: 16px;
        padding: 14px;
    }

    .sites-coordinates-row[b-7ifhke2fk7] {
        grid-template-columns: 1fr;
    }

    .sites-location-btn[b-7ifhke2fk7] {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .sites-tech-grid[b-7ifhke2fk7],
    .sites-mobile-grid[b-7ifhke2fk7] {
        grid-template-columns: 1fr;
    }

    .sites-toggle[b-7ifhke2fk7] {
        min-height: 44px;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* ============================================================
   Novantix ISP Cloud — Login Liquid Glass 2026
   Fondo claro + red de nodos animada
============================================================ */

html:has(.nvx-login-liquid)[b-l87lm89ix0],
body:has(.nvx-login-liquid)[b-l87lm89ix0] {
    overflow: hidden;
}

.nvx-login-liquid[b-l87lm89ix0] {
    width: 100%;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(360px, 520px) minmax(340px, 460px);
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    padding: clamp(1rem, 3vw, 2.5rem);
    font-family: 'DM Sans', 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #f8fafc;
    background: radial-gradient(circle at 12% 18%, rgba(67, 115, 255, .28), transparent 34%), radial-gradient(circle at 86% 82%, rgba(117, 87, 255, .20), transparent 36%), linear-gradient(135deg, #122042 0%, #17294d 48%, #101a33 100%);
}

    .nvx-login-liquid *[b-l87lm89ix0],
    .nvx-login-liquid *[b-l87lm89ix0]::before,
    .nvx-login-liquid *[b-l87lm89ix0]::after {
        box-sizing: border-box;
    }

    .nvx-login-liquid[b-l87lm89ix0]::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(120,160,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,255,.075) 1px, transparent 1px), radial-gradient(circle at 16% 24%, rgba(145,185,255,.34) 0 2px, transparent 3px), radial-gradient(circle at 28% 48%, rgba(145,185,255,.26) 0 2px, transparent 3px), radial-gradient(circle at 42% 30%, rgba(145,185,255,.30) 0 2px, transparent 3px), radial-gradient(circle at 64% 42%, rgba(145,185,255,.24) 0 2px, transparent 3px), radial-gradient(circle at 78% 26%, rgba(145,185,255,.26) 0 2px, transparent 3px), radial-gradient(circle at 84% 66%, rgba(145,185,255,.28) 0 2px, transparent 3px);
        background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
        pointer-events: none;
        opacity: .9;
    }

    .nvx-login-liquid[b-l87lm89ix0]::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(115deg, transparent 13%, rgba(130,175,255,.13) 13.1%, transparent 13.7%), linear-gradient(32deg, transparent 27%, rgba(130,175,255,.11) 27.1%, transparent 27.7%), linear-gradient(143deg, transparent 46%, rgba(130,175,255,.10) 46.1%, transparent 46.6%), linear-gradient(62deg, transparent 68%, rgba(130,175,255,.10) 68.1%, transparent 68.7%), radial-gradient(circle at center, transparent 0%, rgba(5,10,25,.32) 100%);
        animation: nvx-network-shift-b-l87lm89ix0 18s ease-in-out infinite alternate;
    }

@keyframes nvx-network-shift-b-l87lm89ix0 {
    from {
        transform: translate3d(-12px, -8px, 0) scale(1);
        opacity: .82;
    }

    to {
        transform: translate3d(14px, 10px, 0) scale(1.025);
        opacity: 1;
    }
}

.nvx-login-bg-orb[b-l87lm89ix0] {
    position: absolute;
    border-radius: 999px;
    filter: blur(92px);
    opacity: .20;
    pointer-events: none;
    animation: nvx-login-float-b-l87lm89ix0 12s ease-in-out infinite alternate;
}

.nvx-orb-one[b-l87lm89ix0] {
    width: 430px;
    height: 430px;
    left: -150px;
    top: -130px;
    background: #3f73ff;
}

.nvx-orb-two[b-l87lm89ix0] {
    width: 380px;
    height: 380px;
    right: -130px;
    bottom: -120px;
    background: #7357ff;
    animation-delay: -4s;
}

@keyframes nvx-login-float-b-l87lm89ix0 {
    from {
        transform: translate3d(0,0,0) scale(1);
    }

    to {
        transform: translate3d(24px,-18px,0) scale(1.06);
    }
}

/* CARD */

.nvx-login-card[b-l87lm89ix0] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: calc(100dvh - 2rem);
    padding: clamp(1.55rem, 3vw, 2.5rem);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.065)), rgba(13,22,39,.72);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(255,255,255,.05), 0 30px 80px rgba(0,0,0,.36), 0 0 72px rgba(64,101,255,.13);
    backdrop-filter: blur(32px) saturate(155%);
    -webkit-backdrop-filter: blur(32px) saturate(155%);
}

    .nvx-login-card[b-l87lm89ix0]::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: 31px;
        background: radial-gradient(circle at 18% 8%, rgba(255,255,255,.16), transparent 36%), linear-gradient(180deg, rgba(67,105,255,.12), transparent 55%);
        pointer-events: none;
    }

    .nvx-login-card > *[b-l87lm89ix0] {
        position: relative;
        z-index: 1;
    }

/* BRAND */

.nvx-login-brand[b-l87lm89ix0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: clamp(1.15rem, 2vw, 1.65rem);
    text-align: center;
}

.nvx-login-logo[b-l87lm89ix0] {
    width: clamp(170px, 17vw, 235px);
    max-width: 82%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(255,45,45,.16)) drop-shadow(0 0 28px rgba(65,105,245,.12));
}

.nvx-login-brand-text h1[b-l87lm89ix0] {
    display: none !important;
}

.nvx-login-brand-text p[b-l87lm89ix0] {
    margin: .15rem 0 0 !important;
    font-size: clamp(.78rem, 1vw, .93rem) !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    color: rgba(226,232,240,.76) !important;
    line-height: 1.3 !important;
}

.nvx-login-brand-text[b-l87lm89ix0]::after {
    content: "";
    display: block;
    width: 58px;
    height: 2px;
    margin: .75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #3f73ff, #7357ff);
    box-shadow: 0 0 22px rgba(90,105,255,.45);
}

/* ALERT */

.nvx-login-alert[b-l87lm89ix0] {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 42px;
    padding: .72rem .9rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    font-size: .84rem;
    line-height: 1.35;
    border: 1px solid transparent;
    backdrop-filter: blur(18px);
}

.nvx-login-alert-danger[b-l87lm89ix0] {
    color: #fecaca;
    background: rgba(239,68,68,.14);
    border-color: rgba(248,113,113,.30);
}

.nvx-login-alert-success[b-l87lm89ix0] {
    color: #bbf7d0;
    background: rgba(34,197,94,.12);
    border-color: rgba(74,222,128,.24);
}

.nvx-login-alert-warning[b-l87lm89ix0] {
    color: #fde68a;
    background: rgba(245,158,11,.13);
    border-color: rgba(251,191,36,.25);
}

/* FORM */

.nvx-login-form[b-l87lm89ix0] {
    display: flex;
    flex-direction: column;
}

.nvx-login-field[b-l87lm89ix0] {
    margin-bottom: .9rem;
}

    .nvx-login-field label[b-l87lm89ix0] {
        display: block;
        margin: 0 0 .45rem;
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .15em;
        text-transform: uppercase;
        color: rgba(226,232,240,.76) !important;
    }

.nvx-login-input-wrap[b-l87lm89ix0] {
    position: relative;
    width: 100%;
    height: 54px;
    border-radius: 17px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.115), rgba(255,255,255,.055)), rgba(9,16,31,.50);
    border: 1px solid rgba(145,174,255,.40);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 14px 28px rgba(0,0,0,.14);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .nvx-login-input-wrap i[b-l87lm89ix0] {
        position: absolute;
        left: .85rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 31px;
        height: 31px;
        border-radius: 11px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(218,226,255,.84);
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.09);
        pointer-events: none;
    }

    .nvx-login-input-wrap:hover[b-l87lm89ix0] {
        border-color: rgba(145,174,255,.62);
    }

    .nvx-login-input-wrap:focus-within[b-l87lm89ix0] {
        border-color: rgba(145,174,255,.90);
        box-shadow: 0 0 0 4px rgba(65,105,245,.20), 0 18px 38px rgba(34,76,190,.23), 0 0 34px rgba(115,87,255,.18);
        transform: translateY(-1px);
    }

.nvx-login-liquid .nvx-login-input-wrap > input[b-l87lm89ix0],
.nvx-login-liquid .nvx-login-input-wrap > input.valid[b-l87lm89ix0],
.nvx-login-liquid .nvx-login-input-wrap > input.invalid[b-l87lm89ix0],
.nvx-login-liquid .nvx-login-input-wrap > input.modified[b-l87lm89ix0],
.nvx-login-liquid .nvx-login-input-wrap > input[type="text"][b-l87lm89ix0],
.nvx-login-liquid .nvx-login-input-wrap > input[type="password"][b-l87lm89ix0] {
    all: unset !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 54px !important;
    padding: 0 1rem 0 3.8rem !important;
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(248,250,252,.96) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 17px !important;
    font-family: inherit !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    line-height: 54px !important;
    caret-color: #86a4ff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

    .nvx-login-liquid .nvx-login-input-wrap > input[b-l87lm89ix0]::placeholder {
        color: rgba(203,213,225,.52) !important;
    }

    .nvx-login-liquid .nvx-login-input-wrap > input:-webkit-autofill[b-l87lm89ix0],
    .nvx-login-liquid .nvx-login-input-wrap > input:-webkit-autofill:hover[b-l87lm89ix0],
    .nvx-login-liquid .nvx-login-input-wrap > input:-webkit-autofill:focus[b-l87lm89ix0] {
        -webkit-text-fill-color: rgba(248,250,252,.96) !important;
        -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
        box-shadow: 0 0 0 1000px transparent inset !important;
        transition: background-color 999999s ease-in-out 0s !important;
    }

.nvx-login-liquid .validation-message[b-l87lm89ix0] {
    display: block;
    margin-top: .38rem;
    color: #fca5a5 !important;
    font-size: .76rem;
}

/* BUTTON */

.nvx-login-submit[b-l87lm89ix0] {
    width: 100%;
    height: 56px;
    margin-top: .45rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 18px;
    background: linear-gradient(135deg, #3f73ff 0%, #5865f2 50%, #7357ff 100%);
    color: #ffffff !important;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: -.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 18px 36px rgba(65,105,245,.36), 0 0 0 1px rgba(255,255,255,.06);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .nvx-login-submit:hover:not(:disabled)[b-l87lm89ix0] {
        transform: translateY(-2px);
        filter: saturate(1.08);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 24px 48px rgba(65,105,245,.48), 0 0 34px rgba(97,91,255,.28);
    }

    .nvx-login-submit:active:not(:disabled)[b-l87lm89ix0] {
        transform: translateY(0) scale(.985);
    }

    .nvx-login-submit:disabled[b-l87lm89ix0] {
        opacity: .72;
        cursor: wait;
    }

    .nvx-login-submit i[b-l87lm89ix0] {
        font-size: 1.35rem;
        line-height: 1;
    }

.nvx-login-spinner[b-l87lm89ix0] {
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #ffffff;
    animation: nvx-login-spin-b-l87lm89ix0 .72s linear infinite;
}

@keyframes nvx-login-spin-b-l87lm89ix0 {
    to {
        transform: rotate(360deg);
    }
}

/* RECOVERY */

.nvx-login-recovery[b-l87lm89ix0] {
    margin-top: .75rem;
    padding: .3rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: rgba(147,183,255,.68) !important;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .18s ease, text-shadow .18s ease;
}

    .nvx-login-recovery:hover[b-l87lm89ix0] {
        color: #c7d8ff !important;
        text-shadow: 0 0 18px rgba(100,140,255,.35);
    }

/* FOOTER */

.nvx-login-footer[b-l87lm89ix0] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem .9rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255,255,255,.09);
}

    .nvx-login-footer span[b-l87lm89ix0] {
        display: inline-flex;
        align-items: center;
        gap: .38rem;
        font-size: .7rem;
        color: rgba(203,213,225,.52) !important;
    }

        .nvx-login-footer span[b-l87lm89ix0]::before {
            content: "";
            width: .36rem;
            height: .36rem;
            border-radius: 999px;
            background: #4b73ff;
            box-shadow: 0 0 14px rgba(75,115,255,.85);
        }

/* SHOWCASE */

.nvx-login-showcase[b-l87lm89ix0] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    align-self: center;
    transform: translateY(56px);
}

.nvx-showcase-card[b-l87lm89ix0] {
    position: relative;
    padding: 0;
}

.nvx-showcase-chip[b-l87lm89ix0] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(65,105,245,.15);
    border: 1px solid rgba(148,178,255,.36);
    color: #c0d1ff !important;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.nvx-showcase-card h2[b-l87lm89ix0] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    max-width: 430px;
    margin: 1.25rem 0 .75rem !important;
    font-size: clamp(2rem, 3.35vw, 3.55rem) !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
    letter-spacing: -.065em;
    color: rgba(255,255,255,.98) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.18), 0 18px 48px rgba(0,0,0,.28);
}

.nvx-showcase-card p[b-l87lm89ix0] {
    max-width: 430px;
    margin: 0 !important;
    color: rgba(218,226,240,.68) !important;
    font-size: .92rem !important;
    line-height: 1.6 !important;
}

.nvx-showcase-metrics[b-l87lm89ix0] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.25rem;
}

    .nvx-showcase-metrics > div[b-l87lm89ix0] {
        min-height: 78px;
        border-radius: 16px;
        padding: .75rem .85rem;
        background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.038));
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 16px 36px rgba(0,0,0,.14);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nvx-showcase-metrics strong[b-l87lm89ix0] {
        display: block;
        font-size: 1.1rem !important;
        font-weight: 900 !important;
        letter-spacing: -.04em;
        color: #ffffff !important;
    }

    .nvx-showcase-metrics span[b-l87lm89ix0] {
        margin-top: .2rem;
        font-size: .7rem;
        color: rgba(218,226,240,.58) !important;
    }

.nvx-login-network[b-l87lm89ix0] {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .42;
}

    .nvx-login-network svg[b-l87lm89ix0] {
        width: 100%;
        height: 100%;
    }

.nvx-net-line[b-l87lm89ix0] {
    fill: none;
    stroke: rgba(135, 180, 255, .28);
    stroke-width: 1.2;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    filter: drop-shadow(0 0 8px rgba(80,130,255,.35));
    animation: nvx-net-draw-b-l87lm89ix0 8s ease-in-out infinite;
}

    .nvx-net-line.l2[b-l87lm89ix0] {
        animation-delay: 1.2s;
    }

    .nvx-net-line.l3[b-l87lm89ix0] {
        animation-delay: 2.4s;
    }

.nvx-net-node[b-l87lm89ix0] {
    fill: rgba(190, 215, 255, .90);
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(90,150,255,.85));
    animation: nvx-net-node-pulse-b-l87lm89ix0 8s ease-in-out infinite;
}

    .nvx-net-node:nth-of-type(2n)[b-l87lm89ix0] {
        animation-delay: .6s;
    }

    .nvx-net-node:nth-of-type(3n)[b-l87lm89ix0] {
        animation-delay: 1.2s;
    }

@keyframes nvx-net-draw-b-l87lm89ix0 {
    0% {
        stroke-dashoffset: 1200;
        opacity: 0;
    }

    18% {
        opacity: .95;
    }

    55% {
        stroke-dashoffset: 0;
        opacity: .95;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: .18;
    }
}

@keyframes nvx-net-node-pulse-b-l87lm89ix0 {
    0%, 18% {
        opacity: 0;
        transform: scale(.7);
    }

    35% {
        opacity: 1;
        transform: scale(1);
    }

    45% {
        opacity: 1;
        transform: scale(1.9);
    }

    55% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: .25;
        transform: scale(1);
    }
}

.nvx-login-network-canvas[b-l87lm89ix0] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: .34;
}

.nvx-login-card[b-l87lm89ix0],
.nvx-login-showcase[b-l87lm89ix0] {
    z-index: 2;
}

.nvx-login-dev-footer[b-l87lm89ix0] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.9rem;
    padding: 0 2rem;
    height: 38px;
    background: rgba(4, 6, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}

.nvx-dev-copy[b-l87lm89ix0] {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    white-space: nowrap;
}

.nvx-dev-disclaimer[b-l87lm89ix0] {
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.68rem;
}

.nvx-dev-sep[b-l87lm89ix0] {
    color: rgba(255, 255, 255, 0.12);
    user-select: none;
}

.nvx-login-dev-footer a[b-l87lm89ix0] {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

    .nvx-login-dev-footer a:hover[b-l87lm89ix0] {
        color: rgba(255, 255, 255, 0.65);
        text-decoration: underline;
    }

/* RESPONSIVE */

@media (max-height: 760px) and (min-width: 981px) {
    .nvx-login-liquid[b-l87lm89ix0] {
        grid-template-columns: minmax(340px, 500px) minmax(330px, 440px);
        gap: 3.75rem;
        padding: 1rem 2rem;
    }

    .nvx-login-card[b-l87lm89ix0] {
        padding: 1.45rem 2rem;
        border-radius: 28px;
    }

        .nvx-login-card[b-l87lm89ix0]::before {
            border-radius: 27px;
        }

    .nvx-login-logo[b-l87lm89ix0] {
        width: 165px;
    }

    .nvx-login-brand[b-l87lm89ix0] {
        margin-bottom: 1.05rem;
    }

    .nvx-login-brand-text[b-l87lm89ix0]::after {
        margin-top: .6rem;
    }

    .nvx-login-field[b-l87lm89ix0] {
        margin-bottom: .7rem;
    }

    .nvx-login-input-wrap[b-l87lm89ix0] {
        height: 48px;
    }

    .nvx-login-submit[b-l87lm89ix0] {
        height: 50px;
    }

    .nvx-login-footer[b-l87lm89ix0] {
        margin-top: .95rem;
        padding-top: .85rem;
    }

    .nvx-login-showcase[b-l87lm89ix0] {
        transform: translateY(42px);
        max-width: 430px;
    }

    .nvx-showcase-card h2[b-l87lm89ix0] {
        font-size: clamp(1.9rem, 3vw, 3.1rem) !important;
    }

    .nvx-showcase-metrics > div[b-l87lm89ix0] {
        min-height: 70px;
    }
}

@media (max-width: 980px) {
    html:has(.nvx-login-liquid)[b-l87lm89ix0],
    body:has(.nvx-login-liquid)[b-l87lm89ix0] {
        overflow: auto;
    }

    .nvx-login-liquid[b-l87lm89ix0] {
        min-height: 100dvh;
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: .85rem;
        align-content: start;
    }

    .nvx-login-card[b-l87lm89ix0],
    .nvx-login-showcase[b-l87lm89ix0] {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    .nvx-login-card[b-l87lm89ix0] {
        max-height: none;
    }

    .nvx-login-showcase[b-l87lm89ix0] {
        transform: none;
    }
}

@media (max-width: 560px) {
    .nvx-login-liquid[b-l87lm89ix0] {
        padding: .75rem;
    }

    .nvx-login-card[b-l87lm89ix0] {
        border-radius: 24px;
        padding: 1.15rem;
    }

    .nvx-login-showcase[b-l87lm89ix0] {
        padding-bottom: 1rem;
    }

    .nvx-showcase-card h2[b-l87lm89ix0] {
        font-size: clamp(1.8rem, 11vw, 2.55rem) !important;
    }
}

@media (max-width: 390px) {
    .nvx-login-card[b-l87lm89ix0] {
        padding: 1rem;
    }

    .nvx-login-logo[b-l87lm89ix0] {
        width: 145px;
    }

    .nvx-showcase-metrics[b-l87lm89ix0] {
        grid-template-columns: 1fr;
    }

        .nvx-showcase-metrics > div[b-l87lm89ix0] {
            min-height: 58px;
            align-items: flex-start;
        }
}
/* /Components/Pages/Seguridad/CambiarPassword.razor.rz.scp.css */
.nvx-password-shell[b-da852p5j37] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: radial-gradient(circle at top left, rgba(39, 132, 255, .16), transparent 34%), linear-gradient(135deg, #f6f8fc 0%, #eef3f9 100%);
}

.nvx-password-card[b-da852p5j37] {
    width: min(100%, 520px);
    border-radius: 30px;
    padding: 2rem;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 28px 90px rgba(15, 23, 42, .12);
}

.nvx-password-header[b-da852p5j37] {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.nvx-password-icon[b-da852p5j37] {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1473e6, #0f172a);
    color: #fff;
    font-size: 1.35rem;
}

.nvx-password-header h1[b-da852p5j37] {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 850;
    letter-spacing: -.04em;
}

.nvx-password-header p[b-da852p5j37] {
    margin: .35rem 0 0;
    color: #64748b;
}

.nvx-password-form[b-da852p5j37] {
    display: grid;
    gap: 1rem;
}
