input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.btn-close:focus {
    box-shadow: none;
}

/* ============================GENERAL============================ */

a,
a:hover,
a:active,
a:focus {
    color: black;
    text-decoration: none;
}

.cursor-pointer {
    cursor: pointer;
}

.transition-sm {
    transition: all 150ms;
}

.transition {
    transition: all 200ms;
}

.transition-lg {
    transition: all 250ms;
}

.form-floating>.form-control:hover {
    border-color: #FFB700;
}

.form-floating>.form-control:focus {
    border-color: #FFB700;
    box-shadow: 0 0 0 0.25rem #FFB700;
}

.form-control,
.form-control:active,
.form-control:focus,
.form-select,
.form-select:active,
.form-select:focus {
    box-shadow: none;
}

.form-control[readonly] {
    background-color: #e9ecef;
}

.text-hover,
.text-hover:focus {
    color: #6c757d;
}

.text-hover:hover {
    color: #0072b9 !important;
}



.shadowfull-sm {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.shadowfull {
    box-shadow: 0px 0px 16px 6px rgba(0, 0, 0, 0.1);
}

.shadowfull-lg {
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {

    .shadowfull-sm-hover:hover {
        box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.08);
    }

    .shadowfull-hover:hover {
        box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.1);
    }

    .shadowfull-sm-active:active,
    .shadowfull-active:active,
    .shadowfull-lg-active:active {
        box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
    }
}


.form-control:hover,
.form-control:focus {
    border: 1px solid #0072b9;
}


/* Estilos para un nuevo botón personalizado 'outline' */
.btn-labyx-outline {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #0072b9;
    /* Borde con el color principal */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;

    /* Colores del botón 'outline' */
    color: #0072b9;
    /* Color del texto del botón */
    background-color: transparent;
    /* Fondo transparente */

    /* Transición suave para los cambios de color */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Estado del botón 'outline' al pasar el mouse por encima (hover) o al enfocarlo */
.btn-labyx-outline:hover,
.btn-labyx-outline:focus {
    color: #fff;
    /* Color del texto al pasar el mouse (se vuelve blanco) */
    background-color: #0072b9;
    /* El fondo se rellena con el color principal */
    border-color: #0072b9;
}

/* Estado del botón 'outline' al estar activo (presionado) */
.btn-labyx-outline:active {
    color: #fff;
    background-color: #005a91;
    /* Un color de fondo ligeramente más oscuro */
    border-color: #005a91;
}

/* Estilos para el botón 'outline' pequeño (small) */
.btn-labyx-outline.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}






/* Estilos base para un nuevo botón personalizado 'solid' */
.btn-labyx {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid #0072b9;
    /* Borde con el color principal */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;

    /* Colores del botón 'solid' */
    color: #fff;
    /* Color del texto (blanco para contraste) */
    background-color: #0072b9;
    /* Fondo con el color principal */

    /* Transición suave para los cambios de color */
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Estado del botón 'solid' al pasar el mouse por encima (hover) o al enfocarlo */
.btn-labyx:hover,
.btn-labyx:focus {
    color: #fff;
    /* El texto se mantiene blanco */
    background-color: #005a91;
    /* El fondo se oscurece un poco al hacer hover/focus */
    border-color: #005a91;
    /* El borde también se oscurece */
}

/* Estado del botón 'solid' al estar activo (presionado) */
.btn-labyx:active {
    color: #fff;
    background-color: #004269 !important;
    /* Un color de fondo ligeramente más oscuro que el hover/focus */
    border-color: #004269 !important;
}

/* Estilos para el botón 'solid' pequeño (small), copiando la convención de Bootstrap */
.btn-labyx.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}










.toast {
    background-color: rgba(0, 114, 185, 0.95);
    backdrop-filter: blur(1px) !important;
    border: 1px solid rgba(0, 114, 185, 1);
    transition: all 200ms;
}

.toast:hover {
    border: 1px solid white;
}

.toast-container> :not(:last-child) {
    margin-bottom: 0.6rem;
}



/* input[type=text]:hover {
    border: 1px solid #0d6efd;
} */

.modal.fade .modal-dialog {
    /* Duración de la transición para la opacidad y la transformación */
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.modal.fade.show .modal-dialog {
    /*
   * La clase 'show' se añade cuando el modal está visible.
   * La duración de la transición se define aquí.
   */
    transition-duration: 0.2s;
    /* Cambia este valor para modificar la velocidad */
}

.offcanvas {
    /*
   * Duración de la transición para la transformación.
   * La propiedad 'transform' es la que controla la entrada y salida del offcanvas.
   */
    transition: transform 0.2s ease-in-out;
}



/* ===========================Animaciones=========================== */

.animation-fadeIn {
    animation: animation-fadeIn 100ms forwards;
}

@keyframes animation-fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.animation-fadeOut {
    animation: animation-fadeOut 50ms forwards;
}

@keyframes animation-fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}




.animation-fadeIn-motion {
    animation: animation-fadeIn-motion 500ms forwards;
}

@keyframes animation-fadeIn-motion {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    50% {
        opacity: 1;
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

.animation-fadeOut-motion {
    animation: animation-fadeOut-motion 300ms forwards;
}

@keyframes animation-fadeOut-motion {
    0% {
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}