/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8kccp5bu08] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-8kccp5bu08] {
    flex: 1;
}

.sidebar[b-8kccp5bu08] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-8kccp5bu08] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-8kccp5bu08]  a, .top-row[b-8kccp5bu08]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-8kccp5bu08]  a:hover, .top-row[b-8kccp5bu08]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-8kccp5bu08]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-8kccp5bu08] {
        justify-content: space-between;
    }

    .top-row[b-8kccp5bu08]  a, .top-row[b-8kccp5bu08]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-8kccp5bu08] {
        flex-direction: row;
    }

    .sidebar[b-8kccp5bu08] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-8kccp5bu08] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-8kccp5bu08]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-8kccp5bu08], article[b-8kccp5bu08] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-8kccp5bu08] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-8kccp5bu08] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5cu8ja0a32] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked[b-5cu8ja0a32] {
        background-color: rgba(255, 255, 255, 0.2);
    }

/* === Header superior === */
.top-row[b-5cu8ja0a32] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-5cu8ja0a32] {
    font-size: 1.1rem;
}

/* === Iconos embebidos (data-uri) === */
.bi[b-5cu8ja0a32] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: .5rem; /* menor para que el texto quede m�s junto */
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 1 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}
.bi-sliders-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-sliders' viewBox='0 0 16 16'%3E%3Cpath d='M11 0a1 1 0 0 1 1 1v7a1 1 0 0 1-2 0V1a1 1 0 0 1 1-1ZM5 4a1 1 0 0 1 1 1v10a1 1 0 0 1-2 0V5a1 1 0 0 1 1-1ZM1 8a1 1 0 0 1 1 1v6a1 1 0 0 1-2 0V9a1 1 0 0 1 1-1ZM15 6a1 1 0 0 1 1 1v8a1 1 0 0 1-2 0V7a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

.bi-arrow-repeat-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-repeat' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5 5 0 0 0 8 3M3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9z'/%3E%3Cpath fill-rule='evenodd' d='M14 7.5a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1 0-1h3.5V3.5a.5.5 0 0 1 1 0zm-12 1a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H3v3.5a.5.5 0 0 1-1 0z'/%3E%3C/svg%3E");
}

.bi-droplet-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-droplet' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.21.8C7.69.295 8 0 8 0q.164.544.371 1.038c.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8m.413 1.021A31 31 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10a5 5 0 0 0 10 0c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z'/%3E%3C/svg%3E");
}

.bi-lightning-charge-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-lightning-charge' viewBox='0 0 16 16'%3E%3Cpath d='M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09zM4.157 8.5H7a.5.5 0 0 1 .478.647L6.11 13.59l5.732-6.09H9a.5.5 0 0 1-.478-.647L9.89 2.41z'/%3E%3C/svg%3E");
}

/* === Items del men� (texto blanco por defecto) === */
.nav-item[b-5cu8ja0a32] {
    font-size: .9rem;
    padding-bottom: .5rem;
}

    .nav-item:first-of-type[b-5cu8ja0a32] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-5cu8ja0a32] {
        padding-bottom: 1rem;
    }

    /* Enlaces normales (estado base blanco) */
    .nav-item[b-5cu8ja0a32]  .nav-link,
    .nav-menu a[b-5cu8ja0a32] {
        color: rgba(255,255,255,.85);
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        padding: .375rem .5rem;
        text-decoration: none;
    }

        /* Hover */
        .nav-item[b-5cu8ja0a32]  .nav-link:hover,
        .nav-menu a:hover[b-5cu8ja0a32] {
            background-color: rgba(255,255,255,0.10);
            color: #fff;
        }

        /* Active */
        .nav-item[b-5cu8ja0a32]  a.active,
        .nav-menu a.active[b-5cu8ja0a32] {
            background-color: rgba(255,255,255,0.15);
            color: #fff;
            font-weight: 600;
        }

/* Mostrar/ocultar contenedor responsive */
.nav-scrollable[b-5cu8ja0a32] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-5cu8ja0a32] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5cu8ja0a32] {
        display: none;
    }

    .nav-scrollable[b-5cu8ja0a32] {
        display: block; /* nunca colapsar en pantallas anchas */
        height: calc(100vh - 3.5rem); /* scroll interno si es alto */
        overflow-y: auto;
    }
}

/* ===== Submen�s (NavGroup) ===== */
.nav-group .nav-group-header[b-5cu8ja0a32] {
    display: block;
    width: 100%;
    text-align: left;
    padding: .5rem 1rem;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.85); /* <- texto claro como los dem�s */
    border-radius: .375rem;
    cursor: pointer;
    font-weight: 600;
}

    .nav-group .nav-group-header:hover[b-5cu8ja0a32],
    .nav-group .nav-group-header:focus[b-5cu8ja0a32] {
        color: #fff;
        background-color: rgba(255,255,255,.10);
        outline: 0;
    }

    /* Flecha del grupo */
    .nav-group .nav-group-header .arrow[b-5cu8ja0a32] {
        margin-left: auto; /* empuja flecha a la derecha */
        transition: transform .15s ease;
        line-height: 1;
        color: rgba(255,255,255,.7);
    }

    .nav-group .nav-group-header .rotate-90[b-5cu8ja0a32] {
        transform: rotate(90deg);
    }

/* Submen� colapsable */
.nav-group .nav-group-body[b-5cu8ja0a32] {
    overflow: hidden;
    transition: height .15s ease, padding .15s ease;
}

    .nav-group .nav-group-body.closed[b-5cu8ja0a32] {
        height: 0;
        padding: 0 .75rem;
    }

    .nav-group .nav-group-body.open[b-5cu8ja0a32] {
        height: auto;
        padding: .25rem .75rem .5rem;
    }

/* Lista del submen� + enlaces hijos (texto claro) */
.subnav[b-5cu8ja0a32] {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .subnav .nav-link[b-5cu8ja0a32],
    .subnav a[b-5cu8ja0a32] {
        display: block;
        padding: .5rem 1rem .5rem 2rem; /* sangr�a para hijos */
        border-radius: .375rem;
        text-decoration: none;
        color: rgba(255,255,255,.85);
    }

        /* Hover/Focus en hijos */
        .subnav .nav-link:hover[b-5cu8ja0a32],
        .subnav a:hover[b-5cu8ja0a32],
        .subnav .nav-link:focus[b-5cu8ja0a32],
        .subnav a:focus[b-5cu8ja0a32] {
            color: #fff;
            background-color: rgba(255,255,255,.10);
            outline: 0;
        }

        /* Activo en hijos */
        .subnav .nav-link.active[b-5cu8ja0a32],
        .subnav a.active[b-5cu8ja0a32] {
            color: #fff;
            background-color: rgba(255,255,255,.15);
        }

/* �Usuarios� marcado cuando est� expandido (opcional) */
.nav-group[aria-expanded="true"] .nav-group-header[b-5cu8ja0a32],
.nav-group .nav-group-header[aria-expanded="true"][b-5cu8ja0a32] {
    background-color: rgba(255,255,255,.12);
}

/* Ajustes finos */
.nav-scrollable .nav-item[b-5cu8ja0a32] {
    margin: .125rem 0;
}

.bi-plus-square-fill-nav-menu[b-5cu8ja0a32] {
    margin-right: .5rem;
    vertical-align: -0.125rem;
}
.bi-people-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13 7c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2Zm-6 0a3 3 0 1 0-3-3 3 3 0 0 0 3 3Zm6 1c-1.5 0-3 .8-3 2v1h6v-1c0-1.2-1.5-2-3-2Zm-6 0c-2.21 0-4 1.343-4 3v1h8v-1c0-1.657-1.79-3-4-3Z'/%3E%3C/svg%3E");
}

/* Crear */
.bi-person-plus-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5 6s0-4 5-4 5 4 5 4v1H1v-1Z'/%3E%3Cpath d='M13 5.5V4h1v1.5H15v1h-1V8h-1V6.5h-1v-1h1Z'/%3E%3C/svg%3E");
}

/* Modificar */
.bi-person-gear-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3Cpath d='M11.5 9a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 11.5 9Zm-1.095 3.905a3.5 3.5 0 0 0 1.19.218 3.5 3.5 0 0 0 1.19-.218l.53.53-.707.707-.53-.53a3.5 3.5 0 0 0 .218-1.19 3.5 3.5 0 0 0-.218-1.19l.53-.53.707.707-.53.53a3.5 3.5 0 0 0-1.19-.218 3.5 3.5 0 0 0-1.19.218l-.53-.53.707-.707.53.53c-.14.37-.218.77-.218 1.19s.078.82.218 1.19l-.53.53-.707-.707.53-.53Z'/%3E%3Cpath d='M1 14s0-4 5-4 5 4 5 4v1H1v-1Z'/%3E%3C/svg%3E");
}

/* Sistema (si no la tienes a�n en esta hoja) */
.bi-gear-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.2-.58-1.03-.58-1.23 0l-.28.81a5.51 5.51 0 0 0-1.18.68l-.86-.5c-.52-.3-1.14.32-.83.85l.5.86c-.27.37-.49.77-.66 1.2l-.92.15c-.6.1-.76.9-.27 1.25l.77.56c-.03.2-.05.4-.05.6s.02.4.05.6l-.77.56c-.49.35-.33 1.15.27 1.25l.92.15c.17.43.39.83.66 1.2l-.5.86c-.31.53.31 1.15.83.85l.86-.5c.37.27.77.5 1.18.68l.28.81c.2.58 1.03.58 1.23 0l.28-.81c.41-.18.81-.41 1.18-.68l.86.5c.52.3 1.14-.32.83-.85l-.5-.86c.27-.37.49-.77.66-1.2l.92-.15c.6-.1.76-.9.27-1.25l-.77-.56c.03-.2.05-.4.05-.6s-.02-.4-.05-.6l.77-.56c.49-.35.33-1.15-.27-1.25l-.92-.15a5.51 5.51 0 0 0-.66-1.2l.5-.86c.31-.53-.31-1.15-.83-.85l-.86.5a5.51 5.51 0 0 0-1.18-.68l-.28-.81ZM8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E");
}

.bi-diagram-3-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H14a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 2 7h5.5V6A1.5 1.5 0 0 1 6 4.5v-1zm-6 8A1.5 1.5 0 0 1 1.5 10h1A1.5 1.5 0 0 1 4 11.5v1A1.5 1.5 0 0 1 2.5 14h-1A1.5 1.5 0 0 1 0 12.5v-1zm6 0A1.5 1.5 0 0 1 7.5 10h1a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5v-1zm6 0a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1z'/%3E%3C/svg%3E");
}

.bi-speedometer2-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4M3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707M2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10m9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5m.754-4.246a.39.39 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.39.39 0 0 0-.029-.518z'/%3E%3Cpath fill-rule='evenodd' d='M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A8 8 0 0 1 0 10m8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3'/%3E%3C/svg%3E");
}

.bi-list-check-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5M3.854 2.146a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 3.293l1.146-1.147a.5.5 0 0 1 .708 0m0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708L2 7.293l1.146-1.147a.5.5 0 0 1 .708 0m0 4a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0'/%3E%3C/svg%3E");
}

.bi-graph-up-arrow-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0 0h1v15h15v1H0zm10 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V4.9l-3.613 4.417a.5.5 0 0 1-.74.037L7.06 6.767l-3.656 5.027a.5.5 0 0 1-.808-.588l4-5.5a.5.5 0 0 1 .758-.06l2.609 2.61L13.445 4H10.5a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E");
}

.bi-bell-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.2-.58-1.03-.58-1.23 0l-.28.81a5.51 5.51 0 0 0-1.18.68l-.86-.5c-.52-.3-1.14.32-.83.85l.5.86c-.27.37-.49.77-.66 1.2l-.92.15c-.6.1-.76.9-.27 1.25l.77.56c-.03.2-.05.4-.05.6s.02.4.05.6l-.77.56c-.49.35-.33 1.15.27 1.25l.92.15c.17.43.39.83.66 1.2l-.5.86c-.31.53.31 1.15.83.85l.86-.5c.37.27.77.5 1.18.68l.28.81c.2.58 1.03.58 1.23 0l.28-.81c.41-.18.81-.41 1.18-.68l.86.5c.52.3 1.14-.32.83-.85l-.5-.86c.27-.37.49-.77.66-1.2l.92-.15c.6-.1.76-.9.27-1.25l-.77-.56c.03-.2.05-.4.05-.6s-.02-.4-.05-.6l.77-.56c.49-.35.33-1.15-.27-1.25l-.92-.15a5.51 5.51 0 0 0-.66-1.2l.5-.86c.31-.53-.31-1.15-.83-.85l-.86.5a5.51 5.51 0 0 0-1.18-.68l-.28-.81ZM8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E");
}

/* Alarmas (grupo): advertencia */
.bi-exclamation-triangle-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5m.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E");
}

/* Usuarios alarmas: contacto/usuario */
.bi-person-lines-fill-nav-menu[b-5cu8ja0a32] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m-5 6s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zM11 3.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1zm2 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1z'/%3E%3C/svg%3E");
}

/* /Components/Pages/PageAdminUsuarios.razor.rz.scp.css */
.roles-page[b-6axkkoe44i] {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.roles-header[b-6axkkoe44i] {
    margin-bottom: 1.5rem;
}

    .roles-header h1[b-6axkkoe44i] {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: #1f2933;
    }

    .roles-header p[b-6axkkoe44i] {
        margin: 0.25rem 0 0;
        color: #6b7280;
        font-size: 0.95rem;
    }

.roles-toolbar[b-6axkkoe44i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-main[b-6axkkoe44i] {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

    .btn-main:hover[b-6axkkoe44i] {
        transform: translateY(-1px);
        box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
        opacity: 0.95;
    }

    .btn-main:active[b-6axkkoe44i] {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    }

.roles-summary[b-6axkkoe44i] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.summary-chip[b-6axkkoe44i] {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #4b5563;
}

    .summary-chip strong[b-6axkkoe44i] {
        color: #111827;
    }

/* Loading card */

.loading-card[b-6axkkoe44i] {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.spinner[b-6axkkoe44i] {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: spin-b-6axkkoe44i 0.7s linear infinite;
}

@keyframes spin-b-6axkkoe44i {
    to {
        transform: rotate(360deg);
    }
}

/* Card y tabla */

.roles-card[b-6axkkoe44i] {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.table-wrapper[b-6axkkoe44i] {
    width: 100%;
    overflow-x: auto;
}

.roles-table[b-6axkkoe44i] {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

    .roles-table thead[b-6axkkoe44i] {
        background: linear-gradient(90deg, #eff6ff, #f9fafb);
    }

        .roles-table thead th[b-6axkkoe44i] {
            text-align: left;
            padding: 0.85rem 1rem;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #6b7280;
            border-bottom: 1px solid #e5e7eb;
        }

    .roles-table tbody tr:nth-child(even)[b-6axkkoe44i] {
        background: #f9fafb;
    }

    .roles-table tbody tr:nth-child(odd)[b-6axkkoe44i] {
        background: #ffffff;
    }

    .roles-table tbody tr:hover[b-6axkkoe44i] {
        background: #eef2ff;
    }

    .roles-table tbody td[b-6axkkoe44i] {
        padding: 0.75rem 1rem;
        vertical-align: middle;
        font-size: 0.9rem;
        color: #111827;
    }

/* Usuario */

.user-cell[b-6axkkoe44i] {
    min-width: 240px;
}

.user-info[b-6axkkoe44i] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-6axkkoe44i] {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.user-text[b-6axkkoe44i] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.user-email[b-6axkkoe44i] {
    font-weight: 600;
}

.user-id[b-6axkkoe44i] {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Chips de roles */

.roles-badges[b-6axkkoe44i] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.role-pill[b-6axkkoe44i] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem 0.25rem 0.65rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid #bfdbfe;
}

.role-name[b-6axkkoe44i] {
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.role-remove[b-6axkkoe44i] {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
    padding: 0.05rem 0.25rem;
    border-radius: 999px;
    transition: background 0.12s ease, transform 0.1s ease;
}

    .role-remove:hover[b-6axkkoe44i] {
        background: rgba(15, 23, 42, 0.1);
        transform: translateY(-1px);
    }

.no-roles[b-6axkkoe44i] {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

/* Añadir rol */

.add-role-row[b-6axkkoe44i] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.select-role[b-6axkkoe44i] {
    flex: 1;
    min-width: 150px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 0.3rem 0.75rem;
    font-size: 0.83rem;
    outline: none;
    background: #ffffff;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

    .select-role:focus[b-6axkkoe44i] {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }

.btn-add[b-6axkkoe44i] {
    border-radius: 999px;
    border: none;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    background: #22c55e;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

    .btn-add:hover[b-6axkkoe44i] {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(34, 197, 94, 0.4);
        opacity: 0.97;
    }

    .btn-add:active[b-6axkkoe44i] {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(34, 197, 94, 0.35);
    }

/* Mensaje info */

.info-message[b-6axkkoe44i] {
    padding: 0.75rem 1rem;
    background: #eff6ff;
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid #dbeafe;
    font-size: 0.85rem;
    color: #1d4ed8;
}

/* Responsive */

@media (max-width: 768px) {
    .roles-page[b-6axkkoe44i] {
        margin-top: 1rem;
    }

    .roles-table[b-6axkkoe44i] {
        min-width: 100%;
    }

    .roles-toolbar[b-6axkkoe44i] {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-cell[b-6axkkoe44i] {
        min-width: 200px;
    }
}
/* /Components/Pages/PageGraficas.razor.rz.scp.css */
.gp-wrapper[b-tx81sk9l9q] {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.gp-toolbar[b-tx81sk9l9q] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between
}

.gp-toolbar-left[b-tx81sk9l9q] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start
}

.gp-toolbar-right[b-tx81sk9l9q] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end
}

.gp-field[b-tx81sk9l9q] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 260px
}

    .gp-field > label[b-tx81sk9l9q] {
        font-weight: 700;
        font-size: .9rem;
        color: #374151
    }

.gp-multicol[b-tx81sk9l9q] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 720px
}

/* <- aquí estaba el typo: había dos puntos */
.gp-chip[b-tx81sk9l9q] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background .15s
}

    .gp-chip.sel[b-tx81sk9l9q] {
        border-color: var(--sw, #3b82f6);
        background: #f8fbff;
        /* usa una variable fallback con alpha ya aplicada */
        box-shadow: 0 0 0 3px var(--sw-glow, rgba(59,130,246,.2));
    }

    .gp-chip:hover .gp-swatch[b-tx81sk9l9q] {
        transform: scale(1.1);
    }

    .gp-chip.dis[b-tx81sk9l9q] {
        opacity: .55;
        cursor: not-allowed
    }

    /* (opcional) colorear el texto cuando está seleccionado */
    .gp-chip.sel span:last-child[b-tx81sk9l9q] {
        color: var(--sw, #3b82f6);
    }

    .gp-chip input[b-tx81sk9l9q] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }

.gp-swatch[b-tx81sk9l9q] {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--sw, #d1d5db);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.6), 0 0 0 1px rgba(0,0,0,.06);
    transition: transform .12s ease, box-shadow .12s ease;
}

.gp-inline[b-tx81sk9l9q] {
    display: flex;
    gap: 8px;
    align-items: center
}

.gp-num[b-tx81sk9l9q] {
    width: 90px;
    text-align: right;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px
}

.gp-actions[b-tx81sk9l9q] {
    display: flex;
    align-items: flex-end
}

.gp-btn[b-tx81sk9l9q] {
    padding: 8px 14px;
    background: #0ea5e9;
    color: #fff;
    border: 1px solid #0ea5e9;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700
}

    .gp-btn:disabled[b-tx81sk9l9q] {
        opacity: .6;
        cursor: not-allowed
    }

.gp-status[b-tx81sk9l9q] {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #6b7280
}

.gp-charts[b-tx81sk9l9q] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px
}

.gp-card[b-tx81sk9l9q] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    overflow: hidden
}

.gp-card-header[b-tx81sk9l9q] {
    padding: 10px 14px;
    background: linear-gradient(180deg,#fafafa,#f5f5f5);
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700
}

.gp-chart[b-tx81sk9l9q] {
    width: 100%;
    height: 320px
}

@media(min-width:1100px) {
    .gp-charts[b-tx81sk9l9q] {
        grid-template-columns: 1fr 1fr
    }
}
.gp-select[b-tx81sk9l9q] {
    min-width: 320px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    color: #111827;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: border-color .15s, box-shadow .15s, transform .05s;
}

    .gp-select:focus[b-tx81sk9l9q] {
        border-color: #0ea5e9;
        box-shadow: 0 0 0 3px rgba(14,165,233,.20), 0 2px 10px rgba(0,0,0,.04);
    }

    .gp-select:disabled[b-tx81sk9l9q] {
        opacity: .6;
        cursor: not-allowed;
    }

/* hint pequeño (lo usas en analógicas cuando llegas al máximo) */
.gp-hint[b-tx81sk9l9q] {
    font-size: .85rem;
    color: #6b7280;
}

.gp-btn[b-tx81sk9l9q] {
    padding: 10px 14px; /* antes 8px 14px */
}

.gp-live-legend[b-tx81sk9l9q] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 14px 14px;
    border-top: 1px solid #e5e7eb;
    font-size: .88rem;
    color: #334155;
}

.gp-live-legend-title[b-tx81sk9l9q] {
    width: 100%;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.gp-live-legend-item[b-tx81sk9l9q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8fafc;
}

.gp-live-legend-swatch[b-tx81sk9l9q] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--c);
}

.gp-live-legend-value[b-tx81sk9l9q] {
    font-weight: 900;
    color: #111827;
}



