@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
/* /Layout/NavMenu.razor.rz.scp.css */
/* /Pages/Seguridad/AccesoMenus/AccesoMenus.razor.rz.scp.css */
.menu-row[b-ibnbud0wfu] {
    background-color: #f8f9fa;
    font-weight: bold;
}

.submenu-row td[b-ibnbud0wfu] {
    padding-left: 30px;
}

.btn-desplegar[b-ibnbud0wfu] {
    margin-left: 10px;
    padding: 2px 8px;
    font-size: 12px;
}
/* /Pages/Z/Login/Login.razor.rz.scp.css */
/* /Shared/ComponentesBase/MultiSelectHorarios.razor.rz.scp.css */
/* Root */
.ms-root[b-48aesylvbc] {
    width: 100%;
}

.ms-container[b-48aesylvbc] {
    position: relative;
    width: 100%;
}

/* Click-outside backdrop */
.ms-backdrop[b-48aesylvbc] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--ms-z, 900) - 100);
    background: transparent;
}

/* Control: igual a tu look (underline + bg) */
.ms-control[b-48aesylvbc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    width: 100%;
    min-height: 32px;
    padding: 0.4rem 0.75rem;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: #f8f9fa;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
}

    .ms-control:focus-within[b-48aesylvbc] {
        outline: none;
        border-bottom: 2px solid #007bff;
        background-color: #fff;
    }

.ms-placeholder[b-48aesylvbc] {
    color: #6c757d;
    font-size: .875rem;
    user-select: none;
}

/* input “interno” del control */
.ms-input[b-48aesylvbc] {
    flex: 1;
    min-width: 140px;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    height: 1.2em;
    line-height: 1.2;
}

/* Chips */
.ms-chip[b-48aesylvbc] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .15rem .4rem;
    background: #495057; /* plomo oscuro */
    color: #fff;
    border-radius: .25rem;
    font-size: .75rem;
    line-height: 1;
}

.ms-chip-x[b-48aesylvbc] {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.ms-chip-x:hover[b-48aesylvbc] {
    opacity: 1;
}


/* Menu */
.ms-menu[b-48aesylvbc] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.ms-search-wrap[b-48aesylvbc] {
    padding: .5rem .5rem 0 .5rem;
}

.ms-search[b-48aesylvbc] {
    width: 100%;
    height: 32px;
    padding: .25rem .5rem;
    border: 1px solid #ced4da;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    background: #fff;
}

.ms-list[b-48aesylvbc] {
    padding: .5rem;
}

.ms-item[b-48aesylvbc] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .25rem;
    cursor: pointer;
    user-select: none;
    border-radius: .25rem;
    width: 100%; /* ✅ NUEVO: ocupa toda la fila */
    box-sizing: border-box; /* ✅ recomendado */
}

    .ms-item:hover[b-48aesylvbc] {
        background: #f8f9fa;
    }

.ms-item-text[b-48aesylvbc] {
    font-size: .95rem;
    flex: 1; /* ✅ NUEVO: toma todo el espacio disponible */
    width: 100%; /* ✅ opcional pero ayuda en algunos casos */
}


.ms-empty[b-48aesylvbc] {
    color: #6c757d;
    font-size: .875rem;
    padding: .5rem .25rem;
}

/* Checkbox custom (sin Bootstrap) */
.ms-checkbox[b-48aesylvbc] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    border: 1px solid #adb5bd;
    border-radius: .2rem;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    box-sizing: border-box;
}

    .ms-checkbox[b-48aesylvbc]::before {
        content: "";
        width: .55rem;
        height: .30rem;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(-45deg) scale(0);
        transform-origin: center;
        transition: 120ms transform ease-in-out;
    }

    .ms-checkbox:checked[b-48aesylvbc] {
        background: #0d6efd;
        border-color: #0d6efd;
    }

        .ms-checkbox:checked[b-48aesylvbc]::before {
            transform: rotate(-45deg) scale(1);
        }

    .ms-checkbox:focus[b-48aesylvbc] {
        outline: 2px solid rgba(13,110,253,.35);
        outline-offset: 2px;
    }

/* ===== Shield contra tu CSS global (.custom-form-group input...) ===== */
.custom-form-group .ms-root input.ms-input[b-48aesylvbc] {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.custom-form-group .ms-root input.ms-search[b-48aesylvbc] {
    height: 32px !important;
    padding: .25rem .5rem !important;
    border: 1px solid #ced4da !important;
    border-bottom: 1px solid #ced4da !important;
    background: #fff !important;
}

.custom-form-group .ms-root input.ms-checkbox[b-48aesylvbc] {
    width: 1.05rem !important;
    height: 1.05rem !important;
    padding: 0 !important;
    border: 1px solid #adb5bd !important;
    border-bottom: 1px solid #adb5bd !important;
    background: #fff !important;
}

    .custom-form-group .ms-root input.ms-checkbox:checked[b-48aesylvbc] {
        background: #0d6efd !important;
        border-color: #0d6efd !important;
        border-bottom-color: #0d6efd !important;
    }

/* /Shared/Loading.razor.rz.scp.css */
.loading-overlay[b-8kmi4x33hn] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-container[b-8kmi4x33hn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px; /* Espacio entre el spinner y el texto */
}

.loader[b-8kmi4x33hn] {
    color: #fff;
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: mulShdSpin-b-8kmi4x33hn 1.3s infinite linear;
    transform: translateZ(0);
}

.loading-text[b-8kmi4x33hn] {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

@keyframes mulShdSpin-b-8kmi4x33hn {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}
