﻿
._10px {
    font-size: 8px;
}


*:not(.material-icons) {
    font-family: "Alata", Arial !important;
    font-variant-numeric: tabular-nums !important;
}

body {
    background-color: var(--color-1) !important;
    font-style: normal;
    color: var(--color-3);
}

.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/*.form-control {
    border: 2px solid #c8dcfc;
}*/

.custom-switch .form-check-input {
    width: 40px;
    height: 20px;
    background-color: var(--color-1) !important; /* track apagado */
    border: 1px solid var(--color-3) !important;
    border-radius: 20px; /* para que sea redondeado */
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

    /* círculo interno */
    .custom-switch .form-check-input::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 15px;
        height: 15px;
        background-color: var(--color-3);
        border-radius: 50%;
        transition: left 0.3s;
    }

    .custom-switch .form-check-input:checked {
        background-color: var(--color-2) !important; /* track encendido */
        border-color: var(--color-2) !important;
    }

        /* mover el círculo cuando está marcado */
        .custom-switch .form-check-input:checked::after {
            left: 21px;
        }

.custom-switch .form-check-label {
    color: var(--color-3) !important;
    font-weight: bold;
    margin-left: 8px;
}

.container-full {
    position: relative;
    /*z-index: 0;*/
    margin: 0 20px;
}

.modal-body {
    background-color: var(--color-1) !important;
}

.modal-footer {
    background-color: var(--color-1) !important;
    border-top: 0px solid var(--color-3) !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modal-img {
    margin-right: 20px;
    height: 18px;
}

.modal-title {
    color: var(--color-1) !important;
    font-weight: bold;
}

.modal-header {
    background-color: var(--color-2) !important;
    border-bottom: 1px solid var(--color-1) !important;
    height: 40px !important;
}

.grid-icon {
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.card {
    background-color: var(--color-1) !important;
}

.card-body {
    padding: 0;
    margin-bottom: 10px !important;
}

.card-body-2 {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    border: 1px solid var(--color-7) !important;
    border-radius: 4px !important
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px var(--color-9) !important inset;
    -webkit-text-fill-color: var(--color-3) !important; /* puedes cambiar el color del texto si quieres */
    transition: background-color 5000s ease-in-out 0s;
    font-family: inherit; /* mantiene la fuente definida en tu input */
    font-size: inherit; /* mantiene el tamaño de fuente */
}

input:-moz-autofill {
    box-shadow: 0 0 0px 1000px var(--color-9) !important inset;
    -moz-text-fill-color: var(--color-3) !important;
    font-family: inherit; /* mantiene la fuente definida en tu input */
    font-size: inherit; /* mantiene el tamaño de fuente */
}

input::placeholder {
    color: var(--color-9) !important;
    opacity: 0.3 !important;
}

/* Tabs inactivas */
.nav-tabs .nav-link {
    background-color: var(--color-1) !important;
    color: var(--color-2) !important;
    border: 2px solid var(--color-2) !important;
    border-bottom: none !important; /* quitamos línea inferior */
}

    /* Tab activa */
    .nav-tabs .nav-link.active {
        background-color: var(--color-2) !important;
        color: var(--color-1) !important;
        border: 2px solid var(--color-2) !important;
        /*border-bottom: none !important;*/ /* quitamos línea inferior */
    }

/* Línea inferior general del contenedor */
.nav-tabs {
    border-bottom: 2px solid var(--color-2) !important;
}

.form-label {
    color: var(--color-3) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: calc(100% - 7px);
}

/* Inputs y selects generales */
.form-control,
.form-select {
    border: 1px solid var(--color-7);
    outline: none;
    box-shadow: none;
    background-color: var(--color-1);
    color: var(--color-3) !important;
    font-family: "Alata", Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    display: block;
}

    /* Focus */
    .form-control:focus,
    .form-select:focus {
        border: 1px solid var(--color-8);
        background-color: var(--color-1);
        box-shadow: none;
        outline: none;
    }

    /* Disabled */
    .form-control:disabled,
    .form-select:disabled,
    button.form-select:disabled {
        -webkit-appearance: none;
        background-image: none;
        background-color: var(--color-1);
        border: 1px solid var(--color-7);
        opacity: 0.6;
        cursor: not-allowed;
    }

.totales-form-control {
    opacity: 1 !important;
}

.btn-close {
    filter: invert(85%) sepia(10%) saturate(400%) hue-rotate(300deg) brightness(110%) contrast(100%);
}

._11px {
    font-size: 13px;
    font-weight: 600;
}

._12px {
    font-size: 16px;
}

.frm {
    padding-top: 20px;
    z-index: -1;
}

.hidden {
    visibility: hidden;
}

.display-none {
    display: none;
}

.linea-horizontal {
    height: 2px; /* Grosor de la línea */
    background-color: var(--color-7); /* Color de la línea */
    margin: 0 0 15px 0; /* arriba, derecha, abajo, izquierda */
}

.DropStyle {
    font-size: 10px !important;
    padding-right: -5px !important;
    padding-left: 35px !important;
    margin-right: 0px;
    cursor: pointer;
}

.align-center {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    text-decoration: none;
    margin-left: 0px !important;
}

.align-right {
    display: block !important;
    text-align: right !important;
    width: 100% !important;
    text-decoration: none;
}

.btn-DropStyle {
    width: 82.55px;
    text-align: end;
    line-height: 9px !important;
    height: 18px !important;
}

.fa-circle-left {
    color: var(--color-9);
    font-size: 30px !important;
}

.disabled-column {
    pointer-events: none;
    opacity: 0.5;
}

.frame {
    border: 1px solid var(--color-3);
    border-radius: 5px;
    padding: 10px;
}

.fila-espaciado-totales {
    margin-top: 5px !important;
}

.fila-espaciado {
    margin-top: 15px !important;
}

.fila-espaciado-enc {
    height: 60px;
}

.custom-col {
    margin-bottom: 5px;
}

.custom-col-1 {
    width: 1000px !important;
    max-width: 20px !important;
}

.btn-guardar {
    margin-top: 25px;
}

.col-0-5 {
    flex: 0 0 auto;
    max-width: 4.3%;
}

.col-0-6 {
    flex: 0 0 auto;
    max-width: 5.3%;
}

.col-0-7 {
    flex: 0 0 auto;
    max-width: 6.3%;
}

.col-0-9 {
    flex: 0 0 auto;
    max-width: 7.7%;
}

.col-1-2 {
    flex: 0 0 auto;
    max-width: 8.5%;
}

.col-tot {
    flex: 0 0 15.1%;
}

.col-1-3 {
    flex: 0 0 9.5%;
    max-width: 9.5%;
}

.col-1-4 {
    flex: 0 0 10.5%;
    max-width: 10.5%;
}

.col-1-5 {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}

.col-1-7 {
    flex: 0 0 15.5%;
    max-width: 15.5%;
}

.col-2-3 {
    flex: 0 0 17.4%;
    max-width: 17.4%;
}

.col-2-5 {
    flex: 0 0 19.4%;
    max-width: 19.4%;
}

.col-2-7 {
    flex: 0 0 22.4%;
    max-width: 22.4%;
}

.col-3-5 {
    flex: 0 0 26.333%;
    max-width: 26.333%;
}

.col-3-7 {
    flex: 0 0 28.333%;
    max-width: 28.333%;
}

.col-4-5 {
    flex: 0 0 37.1%;
    max-width: 37.1%;
}

.col-5-2 {
    flex: 0 0 42.5%;
    max-width: 42.5%;
}

.col-5-4 {
    flex: 0 0 45.667%;
    max-width: 45.667%;
}

.col-8-5 {
    flex: 0 0 auto;
    max-width: 70%;
}

.alertify-notifier {
    bottom: 20px !important;
}

    .alertify-notifier .ajs-message.ajs-success {
        background-color: var(--color-2) !important;
        color: var(--color-12) !important;
        font-weight: bold;
        border-radius: 5px;
        min-width: 400px;
        max-width: 90%;
        text-shadow: none !important;
        border: 2px solid var(--color-12) !important;
    }

    .alertify-notifier .ajs-message.ajs-error {
        background-color: red !important;
        color: var(--color-1) !important;
        /*font-weight: bold;*/
        border-radius: 5px;
        min-width: 400px;
        max-width: 90%;
        text-shadow: none !important;
        border: 2px solid var(--color-12) !important;
    }

    .alertify-notifier .ajs-message {
        background-color: gray !important;
        color: var(--color-3) !important;
        /*font-weight: bold;*/
        border-radius: 5px;
        min-width: 400px;
        max-width: 90%;
        text-shadow: none !important;
        border: 2px solid var(--color-12) !important;
    }

.GoBack {
    background-color: transparent;
    border: none;
}

.btn-outline-custom {
    --bs-btn-color: #004688;
    --bs-btn-border-color: #004688;
    --bs-btn-hover-color: #e6dedd;
    --bs-btn-hover-bg: #004688;
    --bs-btn-hover-border-color: #004688;
    --bs-btn-focus-shadow-rgb: 8, 31, 92;
    --bs-btn-active-color: #e6dedd;
    --bs-btn-active-bg: #004688;
    --bs-btn-active-border-color: #004688;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #004688;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #004688;
    --bs-gradient: none;
    height: 32px;
    margin-top: 1px;
    padding: 3px 10px;
}

.btn-outline-custom2 {
    --bs-btn-color: #e6dedd;
    --bs-btn-bg: #004688;
    --bs-btn-border-color: #004688;
    --bs-btn-hover-color: #004688;
    --bs-btn-hover-bg: white;
    --bs-btn-hover-border-color: #004688;
    --bs-btn-focus-shadow-rgb: 8, 31, 92;
    --bs-btn-active-color: #004688;
    --bs-btn-active-bg: #e6dedd;
    --bs-btn-active-border-color: #e6dedd;
    --bs-btn-disabled-color: #e6dedd;
    --bs-btn-disabled-bg: #004688;
    --bs-btn-disabled-border-color: #004688;
    --bs-gradient: none;
}

.btn-guardar-custom {
    --bs-btn-color: #004688;
    --bs-btn-border-color: #004688;
    --bs-btn-hover-color: #e6dedd;
    --bs-btn-hover-bg: #004688;
    --bs-btn-hover-border-color: #004688;
    --bs-btn-focus-shadow-rgb: 8, 31, 92;
    --bs-btn-active-color: #e6dedd;
    --bs-btn-active-bg: #004688;
    --bs-btn-active-border-color: #004688;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #004688;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #004688;
    --bs-gradient: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23004688' class='bi bi-floppy' viewBox='0 0 16 16'%3E%3Cpath d='M11 2H9v3h2z'/%3E%3Cpath d='M1.5 0h11.586a1.5 1.5 0 0 1 1.06.44l1.415 1.414A1.5 1.5 0 0 1 16 2.914V14.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0M1 1.5v13a.5.5 0 0 0 .5.5H2v-4.5A1.5 1.5 0 0 1 3.5 9h9a1.5 1.5 0 0 1 1.5 1.5V15h.5a.5.5 0 0 0 .5-.5V2.914a.5.5 0 0 0-.146-.353l-1.415-1.415A.5.5 0 0 0 13.086 1H13v4.5A1.5 1.5 0 0 1 11.5 7h-7A1.5 1.5 0 0 1 3 5.5V1H1.5a.5.5 0 0 0-.5.5m3 4a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V1H4zM3 15h10v-4.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    /*background-size: 20px;*/
    height: 32px;
    padding: 0px 18px;
    margin-top: 2px;
}

    .btn-guardar-custom:hover {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e6dedd' class='bi bi-floppy' viewBox='0 0 16 16'%3E%3Cpath d='M11 2H9v3h2z'/%3E%3Cpath d='M1.5 0h11.586a1.5 1.5 0 0 1 1.06.44l1.415 1.414A1.5 1.5 0 0 1 16 2.914V14.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0M1 1.5v13a.5.5 0 0 0 .5.5H2v-4.5A1.5 1.5 0 0 1 3.5 9h9a1.5 1.5 0 0 1 1.5 1.5V15h.5a.5.5 0 0 0 .5-.5V2.914a.5.5 0 0 0-.146-.353l-1.415-1.415A.5.5 0 0 0 13.086 1H13v4.5A1.5 1.5 0 0 1 11.5 7h-7A1.5 1.5 0 0 1 3 5.5V1H1.5a.5.5 0 0 0-.5.5m3 4a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V1H4zM3 15h10v-4.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5z'/%3E%3C/svg%3E");
    }

    .btn-guardar-custom:focus {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e6dedd' class='bi bi-floppy' viewBox='0 0 16 16'%3E%3Cpath d='M11 2H9v3h2z'/%3E%3Cpath d='M1.5 0h11.586a1.5 1.5 0 0 1 1.06.44l1.415 1.414A1.5 1.5 0 0 1 16 2.914V14.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0M1 1.5v13a.5.5 0 0 0 .5.5H2v-4.5A1.5 1.5 0 0 1 3.5 9h9a1.5 1.5 0 0 1 1.5 1.5V15h.5a.5.5 0 0 0 .5-.5V2.914a.5.5 0 0 0-.146-.353l-1.415-1.415A.5.5 0 0 0 13.086 1H13v4.5A1.5 1.5 0 0 1 11.5 7h-7A1.5 1.5 0 0 1 3 5.5V1H1.5a.5.5 0 0 0-.5.5m3 4a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V1H4zM3 15h10v-4.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5z'/%3E%3C/svg%3E");
        background-color: #004688;
    }

    .btn-guardar-custom:active {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23004688' class='bi bi-floppy' viewBox='0 0 16 16'%3E%3Cpath d='M11 2H9v3h2z'/%3E%3Cpath d='M1.5 0h11.586a1.5 1.5 0 0 1 1.06.44l1.415 1.414A1.5 1.5 0 0 1 16 2.914V14.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13A1.5 1.5 0 0 1 1.5 0M1 1.5v13a.5.5 0 0 0 .5.5H2v-4.5A1.5 1.5 0 0 1 3.5 9h9a1.5 1.5 0 0 1 1.5 1.5V15h.5a.5.5 0 0 0 .5-.5V2.914a.5.5 0 0 0-.146-.353l-1.415-1.415A.5.5 0 0 0 13.086 1H13v4.5A1.5 1.5 0 0 1 11.5 7h-7A1.5 1.5 0 0 1 3 5.5V1H1.5a.5.5 0 0 0-.5.5m3 4a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V1H4zM3 15h10v-4.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5z'/%3E%3C/svg%3E");
    }


    .btn-guardar-custom::before {
        content: none !important;
        display: none !important;
    }

.btn-spinner {
    --bs-btn-color: #004688;
    border: none;
    --bs-btn-focus-shadow-rgb: 8, 31, 92;
    --bs-btn-active-color: #e6dedd;
    --bs-btn-active-bg: #004688;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #004688;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #004688;
}

.btn-pasar {
    height: 24px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-width: 2px; /* Grosor del borde */
    border-style: solid; /* Tipo de borde */
    --bs-btn-color: var(--color-1);
    --bs-btn-bg: var(--color-13);
    --bs-btn-border-color: var(--color-13);
    --bs-btn-hover-color: var(--color-13);
    --bs-btn-hover-bg: var(--color-1);
    --bs-btn-hover-border-color: var(--color-13);
    --bs-btn-focus-shadow-rgb: 0, 148, 185;
    --bs-btn-active-color: var(--color-1);
    --bs-btn-active-bg: var(--color-13);
    --bs-btn-active-border-color: var(--color-13);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-13);
    --bs-btn-disabled-bg: var(--color-13);
    --bs-btn-disabled-border-color: var(--color-13);
    --bs-gradient: none;
    font-size: 13px;
}

.btn-devolver {
    height: 24px;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-width: 2px; /* Grosor del borde */
    border-style: solid; /* Tipo de borde */
    --bs-btn-color: var(--color-1);
    --bs-btn-bg: var(--color-11);
    --bs-btn-border-color: var(--color-11);
    --bs-btn-hover-color: var(--color-11);
    --bs-btn-hover-bg: var(--color-1);
    --bs-btn-hover-border-color: var(--color-11);
    --bs-btn-focus-shadow-rgb: 0, 148, 185;
    --bs-btn-active-color: var(--color-1);
    --bs-btn-active-bg: var(--color-11);
    --bs-btn-active-border-color: var(--color-11);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-11);
    --bs-btn-disabled-bg: var(--color-11);
    --bs-btn-disabled-border-color: var(--color-11);
    --bs-gradient: none;
    font-size: 13px;
}

.btn-form {
    margin-top: 27px;
    height: 32px;
    width: 100%;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-width: 2px; /* Grosor del borde */
    border-style: solid; /* Tipo de borde */
    --bs-btn-color: var(--color-1);
    --bs-btn-bg: var(--color-2);
    --bs-btn-border-color: var(--color-2);
    --bs-btn-hover-color: var(--color-2);
    --bs-btn-hover-bg: var(--color-1);
    --bs-btn-hover-border-color: var(--color-2);
    --bs-btn-focus-shadow-rgb: 0, 148, 185;
    --bs-btn-active-color: var(--color-1);
    --bs-btn-active-bg: var(--color-2);
    --bs-btn-active-border-color: var(--color-2);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-2);
    --bs-btn-disabled-bg: var(--color-2);
    --bs-btn-disabled-border-color: var(--color-2);
    --bs-gradient: none;
}

.btn-form-icon {
    font-size: 20px;
}

.btn-outline-danger:hover i {
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item {
    margin-right: 15px; /* o 20px, lo que necesités */
}

.card {
    border: none;
}

.card-header {
    background-color: var(--color-1);
    color: var(--color-2) !important;
    font-weight: bold;
    border-bottom: 2px solid var(--color-2) !important;
    margin-bottom: 15px !important;
    padding-left: 0;
}

.card-header-2 {
    background-color: var(--color-1);
    color: var(--color-2) !important;
    font-weight: bold;
}


.card-header-sec2 {
    background-color: #F1F5FB;
    color: #004688;
}

#btnAgregar {
    margin-right: 22px; /* Ajusta la distancia con respecto al grid */
    margin-bottom: 10px;
    padding: 0px;
    border: none;
}

.btn-superior {
    margin-right: 15px; /* Ajusta la distancia con respecto al grid */
    margin-bottom: 10px;
    padding: 0px;
    border-radius: 50% !important;
    height: 52.5px;
    border: none;
}

.modal-content-fullscreen {
    min-height: 100vh !important;
    max-height: 100vh !important;
    position: relative;
    overflow: hidden;
}

.modal-xxl {
    --bs-modal-width: 1500px;
    /*
    height: 100%;
    */
}

.modal-xxxl {
    --bs-modal-width: 1650px;
    /*
    height: 100%;
    */
}


.btn-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.btn-container-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.linea-horizontal {
    height: 1px; /* Grosor de la línea */
    background-color: #ccc; /* Color de la línea */
    margin: 0; /* Espacio alrededor de la línea */
}

.btn-outline-secondary {
    --bs-btn-bg: var(--color-2);
    --bs-btn-color: var(--color-1);
    --bs-btn-border-color: var(--color-1);
    --bs-btn-hover-color: var(--color-2);
    --bs-btn-hover-bg: var(--color-1);
    --bs-btn-hover-border-color: var(--color-1);
    --bs-btn-focus-shadow-rgb: 8, 31, 92;
    --bs-btn-active-color: var(--color-2);
    --bs-btn-active-bg: var(--color-1);
    --bs-btn-active-border-color: var(--color-1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-2);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--color-2);
    --bs-gradient: none;
    border: 0px solid;
}
/* ===================================
   ||           Tooltip             ||
   =================================== */

.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-custom {
    visibility: hidden;
    background-color: #e6dedd;
    color: #004688;
    text-align: center;
    border-radius: 4px;
    padding: 4px 8px;
    position: absolute;
    z-index: 100;
    bottom: 105%; /* Ajusta posición arriba del botón */
    left: 35%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tooltip-wrapper:hover .tooltip-custom {
    visibility: visible;
    opacity: 1;
}

/* ===========================================
   ||        Deshabilitar contenedor DIV    ||
   =========================================== */

.is-disabled {
    pointer-events: none; /* Evita clics y eventos */
    opacity: 0.6; /* Apariencia atenuada */
    filter: grayscale(60%);
    cursor: not-allowed; /* Cursor de "no permitido" */
    user-select: none; /* No permite seleccionar texto */
}

/* ===============================================
   ||   Asterisco de requerido junto al label   ||
   =============================================== */

.requerido::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.no-requerido::after {
    content: " (Opcional)";
    color: #6c757d; /* gris neutro elegante */
    font-weight: 600;
}

/* =============================================
   ||     Spinner en botón con imagen         ||
   ============================================= */

.spinner-eliminar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    color: #cf4644;
}

.spinner-guardar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    color: #004688;
}

.spinner-aplicar {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    color: #004688;
}

.spinner-login {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    color: #7ac29a;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* color-1 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-logo-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.spinner-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid var(--color-1);
    border-top-color: var(--color-2);
    animation: spinHalo 1.2s linear infinite;
    box-shadow: 0 0 0px 1px var(--color-1);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(-5px 0px 0px var(--color-2));
    /*animation: pulseLogo 1.5s ease-in-out infinite;*/
    z-index: 2;
}

@keyframes spinHalo {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseLogo {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* ===================================
   ||           Scroll              ||
   =================================== */

/* General para todos los elementos */
*::-webkit-scrollbar {
    width: 16px; /* Más ancho */
}

*::-webkit-scrollbar-thumb {
    background: #004688;
    border-radius: 10px;
    border: 3px solid #e6dedd; /* Para separarlo del track */
}

*::-webkit-scrollbar-track {
    background: #e6dedd;
    border-radius: 10px;
}

/* Firefox */
* {
    scrollbar-width: thick; /* más grueso que medium */
    scrollbar-color: #004688 #e6dedd;
}

/* Para contenedores específicos */
.scrollable-container {
    padding-right: 16px;
    scrollbar-width: thick;
    scrollbar-color: #004688 #e6dedd;
}

    .scrollable-container::-webkit-scrollbar {
        width: 16px;
    }

    .scrollable-container::-webkit-scrollbar-thumb {
        background: #004688;
        border-radius: 10px;
        border: 3px solid #e6dedd;
    }

    .scrollable-container::-webkit-scrollbar-track {
        background: #e6dedd;
        border-radius: 10px;
    }

/* ===============================================
   ||      Carrousel de imágenes adjuntos       ||
   =============================================== */

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004688'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    border-radius: 30px;
    background-size: 1rem 1rem;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004688'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    border-radius: 30px;
    background-size: 1rem 1rem;
}

.carousel-indicators {
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 13px;
}

/* ===========================================
   ||   Control de selección con pantalla   ||
   =========================================== */

.colBtnBusqueda {
    padding-right: 0px;
}

.btnBusqueda {
    border: 1px solid var(--color-7) !important;
    border-right: 0px solid var(--color-1) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    height: 32px !important;
    margin-top: 27.5px !important;
    --bs-btn-hover-border-color: var(--color-7) !important;
}

.lblBusquedaEnc {
    position: absolute !important;
    /*margin-top: 3px;*/
}

.colTxtBusqueda {
    position: relative;
    overflow: visible;
    padding-left: 0;
}

.txtBusqueda {
    border-left: 0px solid var(--color-1) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    height: 32px !important;
    margin-top: 27.5px !important;
    padding-left: 7px;
    padding-right: 7px;
    background-color: var(--color-1) !important;
    opacity: 1 !important;
}

.lblBusquedaDesc {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 7px;
    margin-top: -1px;
    z-index: 10;
}

.btnBusqueda2 {
    border: 1px solid var(--color-7) !important;
    border-right: 0px solid var(--color-1) !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    height: 32px !important;
    --bs-btn-hover-border-color: var(--color-7) !important;
    margin-top: 0px !important;
}

.txtBusqueda2 {
    border-left: 0px solid var(--color-1) !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    height: 32px !important;
    padding-left: 7px;
    padding-right: 7px;
    background-color: var(--color-1) !important;
    opacity: 1 !important;
    margin-top: 0px !important;
}

.borde-rojo {
    border: 1px solid red !important;
}


/* ===========================================
   ||              NAVBAR STYLES            ||
   =========================================== */

.navbar-container {
    height: 55px !important;
    position: relative;
    z-index: 30 !important
}

.dropdown-submenu {
    position: relative;
    /*z-index: 30 !important;*/
}

.dropdown-menu {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    top: 0;
    left: 100%;
    margin-top: -1px;
    /*z-index: 30 !important;*/
}

.dropdown-item {
    font-size: 12px !important;
    /*font-weight: 600;*/
    z-index: 1000 !important;
}

    .dropdown-item:hover {
        background-color: #cacaca;
    }

.btnMenuNav {
    font-size: 13px !important;
    user-select: none;
}

a, label, h1, h2, h3, h4, h5, h6, li, p {
    user-select: none;
}

.navbar {
    background-color: var(--color-2) !important;
    position: absolute !important;
    z-index: 1500 !important;
    width: 100% !important;
    /*border-radius: 10px 10px 10px 10px;*/
    height: 45px !important;
}

.nav-image {
    margin-left: -20px;
    /*margin-bottom: 9px !important;*/
    /*filter: drop-shadow(2px 2px 1px rgb(0, 0, 0));*/
}

.nav-link {
    color: var(--color-1) !important;
    font-weight: 600;
}

/* ===========================================
   ||            Boton limpiar grid         ||
   =========================================== */

.btn-limpiar-grid {
    margin-top: 1px !important;
    width: 100% !important;
    height: 30px !important;
    padding: 1px !important;
    font-size: 20px !important;
    background-color: #fbfbfb !important;
    color: #004688 !important;
}
