/* _content/ServerViari/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-uyhm1fek14] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-uyhm1fek14] {
    flex: 1;
}

.sidebar[b-uyhm1fek14] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-uyhm1fek14] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-uyhm1fek14]  a, .top-row[b-uyhm1fek14]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-uyhm1fek14]  a:hover, .top-row[b-uyhm1fek14]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-uyhm1fek14]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-uyhm1fek14] {
        justify-content: space-between;
    }

    .top-row[b-uyhm1fek14]  a, .top-row[b-uyhm1fek14]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-uyhm1fek14] {
        flex-direction: row;
    }

    .sidebar[b-uyhm1fek14] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-uyhm1fek14] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-uyhm1fek14]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-uyhm1fek14], article[b-uyhm1fek14] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-uyhm1fek14] {
    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-uyhm1fek14] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/ServerViari/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ya1vhd236i] {
    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-ya1vhd236i] {
        background-color: rgba(255, 255, 255, 0.2);
    }

/* === Header superior === */
.top-row[b-ya1vhd236i] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ya1vhd236i] {
    font-size: 1.1rem;
}

/* === Iconos embebidos (data-uri) === */
.bi[b-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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");
}

/* === Items del men� (texto blanco por defecto) === */
.nav-item[b-ya1vhd236i] {
    font-size: .9rem;
    padding-bottom: .5rem;
}

    .nav-item:first-of-type[b-ya1vhd236i] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ya1vhd236i] {
        padding-bottom: 1rem;
    }

    /* Enlaces normales (estado base blanco) */
    .nav-item[b-ya1vhd236i]  .nav-link,
    .nav-menu a[b-ya1vhd236i] {
        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-ya1vhd236i]  .nav-link:hover,
        .nav-menu a:hover[b-ya1vhd236i] {
            background-color: rgba(255,255,255,0.10);
            color: #fff;
        }

        /* Active */
        .nav-item[b-ya1vhd236i]  a.active,
        .nav-menu a.active[b-ya1vhd236i] {
            background-color: rgba(255,255,255,0.15);
            color: #fff;
            font-weight: 600;
        }

/* Mostrar/ocultar contenedor responsive */
.nav-scrollable[b-ya1vhd236i] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ya1vhd236i] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ya1vhd236i] {
        display: none;
    }

    .nav-scrollable[b-ya1vhd236i] {
        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-ya1vhd236i] {
    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-ya1vhd236i],
    .nav-group .nav-group-header:focus[b-ya1vhd236i] {
        color: #fff;
        background-color: rgba(255,255,255,.10);
        outline: 0;
    }

    /* Flecha del grupo */
    .nav-group .nav-group-header .arrow[b-ya1vhd236i] {
        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-ya1vhd236i] {
        transform: rotate(90deg);
    }

/* Submen� colapsable */
.nav-group .nav-group-body[b-ya1vhd236i] {
    overflow: hidden;
    transition: height .15s ease, padding .15s ease;
}

    .nav-group .nav-group-body.closed[b-ya1vhd236i] {
        height: 0;
        padding: 0 .75rem;
    }

    .nav-group .nav-group-body.open[b-ya1vhd236i] {
        height: auto;
        padding: .25rem .75rem .5rem;
    }

/* Lista del submen� + enlaces hijos (texto claro) */
.subnav[b-ya1vhd236i] {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .subnav .nav-link[b-ya1vhd236i],
    .subnav a[b-ya1vhd236i] {
        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-ya1vhd236i],
        .subnav a:hover[b-ya1vhd236i],
        .subnav .nav-link:focus[b-ya1vhd236i],
        .subnav a:focus[b-ya1vhd236i] {
            color: #fff;
            background-color: rgba(255,255,255,.10);
            outline: 0;
        }

        /* Activo en hijos */
        .subnav .nav-link.active[b-ya1vhd236i],
        .subnav a.active[b-ya1vhd236i] {
            color: #fff;
            background-color: rgba(255,255,255,.15);
        }

/* �Usuarios� marcado cuando est� expandido (opcional) */
.nav-group[aria-expanded="true"] .nav-group-header[b-ya1vhd236i],
.nav-group .nav-group-header[aria-expanded="true"][b-ya1vhd236i] {
    background-color: rgba(255,255,255,.12);
}

/* Ajustes finos */
.nav-scrollable .nav-item[b-ya1vhd236i] {
    margin: .125rem 0;
}

.bi-plus-square-fill-nav-menu[b-ya1vhd236i] {
    margin-right: .5rem;
    vertical-align: -0.125rem;
}
.bi-people-fill-nav-menu[b-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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-ya1vhd236i] {
    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");
}

/* _content/ServerViari/Components/Pages/PageAdminUsuarios.razor.rz.scp.css */
.roles-page[b-ufl4n3y8s7] {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.roles-header[b-ufl4n3y8s7] {
    margin-bottom: 1.5rem;
}

    .roles-header h1[b-ufl4n3y8s7] {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
        color: #1f2933;
    }

    .roles-header p[b-ufl4n3y8s7] {
        margin: 0.25rem 0 0;
        color: #6b7280;
        font-size: 0.95rem;
    }

.roles-toolbar[b-ufl4n3y8s7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-main[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
        transform: translateY(-1px);
        box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
        opacity: 0.95;
    }

    .btn-main:active[b-ufl4n3y8s7] {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    }

.roles-summary[b-ufl4n3y8s7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.summary-chip[b-ufl4n3y8s7] {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #4b5563;
}

    .summary-chip strong[b-ufl4n3y8s7] {
        color: #111827;
    }

/* Loading card */

.loading-card[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563eb;
    animation: spin-b-ufl4n3y8s7 0.7s linear infinite;
}

@keyframes spin-b-ufl4n3y8s7 {
    to {
        transform: rotate(360deg);
    }
}

/* Card y tabla */

.roles-card[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
    width: 100%;
    overflow-x: auto;
}

.roles-table[b-ufl4n3y8s7] {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

    .roles-table thead[b-ufl4n3y8s7] {
        background: linear-gradient(90deg, #eff6ff, #f9fafb);
    }

        .roles-table thead th[b-ufl4n3y8s7] {
            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-ufl4n3y8s7] {
        background: #f9fafb;
    }

    .roles-table tbody tr:nth-child(odd)[b-ufl4n3y8s7] {
        background: #ffffff;
    }

    .roles-table tbody tr:hover[b-ufl4n3y8s7] {
        background: #eef2ff;
    }

    .roles-table tbody td[b-ufl4n3y8s7] {
        padding: 0.75rem 1rem;
        vertical-align: middle;
        font-size: 0.9rem;
        color: #111827;
    }

/* Usuario */

.user-cell[b-ufl4n3y8s7] {
    min-width: 240px;
}

.user-info[b-ufl4n3y8s7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.user-email[b-ufl4n3y8s7] {
    font-weight: 600;
}

.user-id[b-ufl4n3y8s7] {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Chips de roles */

.roles-badges[b-ufl4n3y8s7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.role-pill[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.role-remove[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
        background: rgba(15, 23, 42, 0.1);
        transform: translateY(-1px);
    }

.no-roles[b-ufl4n3y8s7] {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

/* Añadir rol */

.add-role-row[b-ufl4n3y8s7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.select-role[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    }

.btn-add[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(34, 197, 94, 0.4);
        opacity: 0.97;
    }

    .btn-add:active[b-ufl4n3y8s7] {
        transform: translateY(0);
        box-shadow: 0 6px 14px rgba(34, 197, 94, 0.35);
    }

/* Mensaje info */

.info-message[b-ufl4n3y8s7] {
    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-ufl4n3y8s7] {
        margin-top: 1rem;
    }

    .roles-table[b-ufl4n3y8s7] {
        min-width: 100%;
    }

    .roles-toolbar[b-ufl4n3y8s7] {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-cell[b-ufl4n3y8s7] {
        min-width: 200px;
    }
}
/* _content/ServerViari/Components/Pages/PageGraficas.razor.rz.scp.css */
.gp-wrapper[b-wau3s5uzld] {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.gp-toolbar[b-wau3s5uzld] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between
}

.gp-toolbar-left[b-wau3s5uzld] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start
}

.gp-toolbar-right[b-wau3s5uzld] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end
}

.gp-field[b-wau3s5uzld] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 260px
}

    .gp-field > label[b-wau3s5uzld] {
        font-weight: 700;
        font-size: .9rem;
        color: #374151
    }

.gp-multicol[b-wau3s5uzld] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 720px
}

/* <- aquí estaba el typo: había dos puntos */
.gp-chip[b-wau3s5uzld] {
    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-wau3s5uzld] {
        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-wau3s5uzld] {
        transform: scale(1.1);
    }

    .gp-chip.dis[b-wau3s5uzld] {
        opacity: .55;
        cursor: not-allowed
    }

    /* (opcional) colorear el texto cuando está seleccionado */
    .gp-chip.sel span:last-child[b-wau3s5uzld] {
        color: var(--sw, #3b82f6);
    }

    .gp-chip input[b-wau3s5uzld] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
    }

.gp-swatch[b-wau3s5uzld] {
    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-wau3s5uzld] {
    display: flex;
    gap: 8px;
    align-items: center
}

.gp-num[b-wau3s5uzld] {
    width: 90px;
    text-align: right;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px
}

.gp-actions[b-wau3s5uzld] {
    display: flex;
    align-items: flex-end
}

.gp-btn[b-wau3s5uzld] {
    padding: 8px 14px;
    background: #0ea5e9;
    color: #fff;
    border: 1px solid #0ea5e9;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700
}

    .gp-btn:disabled[b-wau3s5uzld] {
        opacity: .6;
        cursor: not-allowed
    }

.gp-status[b-wau3s5uzld] {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #6b7280
}

.gp-charts[b-wau3s5uzld] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px
}

.gp-card[b-wau3s5uzld] {
    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-wau3s5uzld] {
    padding: 10px 14px;
    background: linear-gradient(180deg,#fafafa,#f5f5f5);
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700
}

.gp-chart[b-wau3s5uzld] {
    width: 100%;
    height: 320px
}

@media(min-width:1100px) {
    .gp-charts[b-wau3s5uzld] {
        grid-template-columns: 1fr 1fr
    }
}
/* _content/ServerViari/Components/Pages/PageProgramasgeneral.razor.rz.scp.css */
@keyframes toast-in-out-b-55ylwhv1rx {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    10% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.toast[b-55ylwhv1rx] {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: toast-in-out-b-55ylwhv1rx 3s ease-in-out forwards;
}

.toast-success[b-55ylwhv1rx] {
    background: #22c55e;
    color: #fff;
    border: 1px solid #16a34a;
}

.banner[b-55ylwhv1rx] {
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.banner-success[b-55ylwhv1rx] {
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
}

.programas-container[b-55ylwhv1rx] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* tarjeta base un poco más grande */
.programa-card[b-55ylwhv1rx] {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    transition: background 0.25s ease, border-left 0.25s ease;
    overflow: hidden;
    font-size: 0.95rem;
}

    /* bordes de estado */
    .programa-card.borde-verde[b-55ylwhv1rx] {
        border-left: 7px solid #22c55e;
    }

    .programa-card.borde-azul[b-55ylwhv1rx] {
        border-left: 7px solid #3b82f6;
    }

    .programa-card.borde-naranja[b-55ylwhv1rx] {
        border-left: 7px solid #f97316;
    }

    .programa-card.expanded[b-55ylwhv1rx] {
        background: #eef6ff;
    }

.header[b-55ylwhv1rx] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e1e1e1;
    padding: 8px 12px;
    cursor: pointer;
}

.header-left[b-55ylwhv1rx] {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.prog-id[b-55ylwhv1rx] {
    background: #0f172a;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
}

.prog-nombre[b-55ylwhv1rx] {
    font-weight: 600;
    font-size: 1rem;
}

.header-right[b-55ylwhv1rx] {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.status-indicator[b-55ylwhv1rx] {
    font-size: .85rem;
}

.toggle-button[b-55ylwhv1rx] {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.content[b-55ylwhv1rx] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px 12px;
}

.content-row[b-55ylwhv1rx] {
    display: flex;
    gap: .5rem;
    align-items: center;
}

    .content-row input[type="number"][b-55ylwhv1rx] {
        max-width: 130px;
        padding: 4px 6px;
        font-size: .9rem;
    }

.dias-row[b-55ylwhv1rx] {
    flex-wrap: wrap;
}

    .dias-row label[b-55ylwhv1rx] {
        display: flex;
        gap: .3rem;
        align-items: center;
        font-size: .9rem;
    }

.big-check[b-55ylwhv1rx] {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #3b82f6;
}

.prox-row[b-55ylwhv1rx] {
    font-size: .9rem;
}

.prox-valor[b-55ylwhv1rx] {
    font-weight: 600;
    color: #374151;
}

.valvulas-header[b-55ylwhv1rx],
.valvula-row[b-55ylwhv1rx] {
    display: grid;
    grid-template-columns: 150px 65px 85px 85px 115px;
    gap: .5rem;
    align-items: center;
}

.valvulas-header[b-55ylwhv1rx] {
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    margin-top: 4px;
}

.valvula-row input[type="number"][b-55ylwhv1rx] {
    width: 100%;
    padding: 4px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .9rem;
}

.footer-row.big-footer[b-55ylwhv1rx] {
    font-size: .85rem;
    color: #4b5563;
}

    .footer-row.big-footer strong[b-55ylwhv1rx] {
        font-weight: 600;
    }

.actions-row[b-55ylwhv1rx] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: .25rem;
}

.btn-primary[b-55ylwhv1rx] {
    padding: 6px 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
}

    .btn-primary:disabled[b-55ylwhv1rx] {
        background: #cbd5f5;
        cursor: not-allowed;
    }

.btn-secondary[b-55ylwhv1rx] {
    padding: 6px 14px;
    background: #64748b;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
}
/* contenedor de los días */
.dias-row[b-55ylwhv1rx] {
    flex-wrap: wrap;
    gap: .6rem;
}

/* wrapper del checkbox custom */
.chk-wrap[b-55ylwhv1rx] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
}

/* input real lo escondemos pero sigue ahí para el binding */
.chk-real[b-55ylwhv1rx] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* el cuadrado que se ve */
.chk-fake[b-55ylwhv1rx] {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #3b82f6;
    border-radius: .35rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0);
}

/* el texto (L, M, X, ...) */
.chk-text[b-55ylwhv1rx] {
    font-size: .9rem;
}

/* cuando está checkeado pintamos el cuadrado */
.chk-real:checked + .chk-fake[b-55ylwhv1rx] {
    background: #3b82f6;
    box-shadow: inset 0 0 0 2px #fff;
}

/* estado disabled */
.chk-real:disabled + .chk-fake[b-55ylwhv1rx] {
    opacity: .5;
    cursor: not-allowed;
}

.chk-wrap.small .chk-fake[b-55ylwhv1rx] {
    width: 1.05rem;
    height: 1.05rem;
}

/* agrandar la tarjeta un poco */
.programa-card[b-55ylwhv1rx] {
    font-size: 1rem;
    padding-bottom: .35rem;
}

/* fecha/modificación más grande */
.footer-row.big-footer[b-55ylwhv1rx] {
    font-size: .9rem;
}

    .footer-row.big-footer strong[b-55ylwhv1rx] {
        font-size: .9rem;
    }

/* Ajustes generales útiles */
.programas-container[b-55ylwhv1rx] {
    padding: 0 8px;
}

.header-left[b-55ylwhv1rx],
.prog-nombre[b-55ylwhv1rx] {
    min-width: 0; /* permite ellipsis/encogerse dentro de flex */
}

/* Evitar que nombres largos rompan el header */
.prog-nombre[b-55ylwhv1rx] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Checkbox custom: el input absoluto debe anclarse al wrapper */
.chk-wrap[b-55ylwhv1rx] {
    position: relative;
}

/* Inputs de texto también deberían comportarse como los number */
.content-row input[type="text"][b-55ylwhv1rx] {
    padding: 4px 6px;
    font-size: .9rem;
    width: 100%;
    max-width: 420px;
}

/* ---------- Tablet / pantallas medias ---------- */
@media (max-width: 768px) {
    .header[b-55ylwhv1rx] {
        flex-wrap: wrap;
        gap: 8px;
        align-items: flex-start;
    }

    .header-right[b-55ylwhv1rx] {
        width: 100%;
        justify-content: space-between;
    }

    .content-row[b-55ylwhv1rx] {
        flex-wrap: wrap;
        align-items: flex-start;
    }

        .content-row label[b-55ylwhv1rx] {
            width: 100%;
        }

        .content-row input[type="number"][b-55ylwhv1rx],
        .content-row input[type="text"][b-55ylwhv1rx] {
            width: 100%;
            max-width: none; /* elimina el max-width 130px */
        }

    .unidad[b-55ylwhv1rx] {
        margin-left: 2px;
    }

    /* Tabla/grid de válvulas: permite scroll horizontal si no cabe */
    .content[b-55ylwhv1rx] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .valvulas-header[b-55ylwhv1rx],
    .valvula-row[b-55ylwhv1rx] {
        min-width: 560px; /* fuerza ancho mínimo para que el scroll sea usable */
    }

    .actions-row[b-55ylwhv1rx] {
        flex-wrap: wrap;
        justify-content: stretch;
    }

        .actions-row button[b-55ylwhv1rx] {
            flex: 1 1 220px;
        }
}

/* ---------- Móvil ---------- */
@media (max-width: 480px) {
    /* Toast/banner fijo: en móvil mejor a ancho completo */
    .toast[b-55ylwhv1rx] {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    /* Header: que todo respire */
    .prog-id[b-55ylwhv1rx] {
        font-size: .95rem;
        padding: 3px 8px;
    }

    .status-indicator[b-55ylwhv1rx] {
        font-size: .8rem;
    }

    .toggle-button[b-55ylwhv1rx] {
        font-size: 1.2rem;
    }

    .content[b-55ylwhv1rx] {
        padding: 10px;
    }

    /* Días: compactar un poco */
    .dias-row[b-55ylwhv1rx] {
        gap: .45rem;
    }

    .chk-fake[b-55ylwhv1rx] {
        width: 1.15rem;
        height: 1.15rem;
    }

    .chk-text[b-55ylwhv1rx] {
        font-size: .85rem;
    }

    /* Botones: 1 por fila, fáciles de pulsar */
    .actions-row[b-55ylwhv1rx] {
        flex-direction: column;
        gap: .5rem;
    }

        .actions-row button[b-55ylwhv1rx] {
            width: 100%;
        }
}
/* _content/ServerViari/Components/Pages/PageSPAlarmas.razor.rz.scp.css */
