@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

footer .copyright {
    text-align: center;
    border-top: 1px solid rgba(250,250,250,0.2);
    padding-top: 25px;
    padding-bottom: 25px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.88px;
    text-transform: uppercase;
}
/* Efecto de acercamiento en hover */
.card-hover:hover {
    transform: scale(1.05);
}

/* Efecto de acercamiento para la imagen en hover */
.card-hover .card-img {
    transition: transform 0.3s ease-in-out;
}

.card-hover:hover .card-img {
    transform: scale(1.1);
}
/* 
---------------------------------------------
preloader
--------------------------------------------- 
*/
#preloader {
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(10,37,64,1) 0%, rgba(30,58,138,1) 100%);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    z-index: 9999;
    color: #fff;
}

    #preloader .jumper {
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: block;
        position: absolute;
        margin: auto;
        width: 50px;
        height: 50px;
    }

        #preloader .jumper > div {
            background-color: #fff;
            width: 10px;
            height: 10px;
            border-radius: 100%;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
            position: absolute;
            opacity: 0;
            width: 50px;
            height: 50px;
            -webkit-animation: jumper 1s 0s linear infinite;
            animation: jumper 1s 0s linear infinite;
        }

            #preloader .jumper > div:nth-child(2) {
                -webkit-animation-delay: 0.33333s;
                animation-delay: 0.33333s;
            }

            #preloader .jumper > div:nth-child(3) {
                -webkit-animation-delay: 0.66666s;
                animation-delay: 0.66666s;
            }

@-webkit-keyframes jumper {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    5% {
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes jumper {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    5% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.table-wrapper {
}

    .table-wrapper table thead {
        position: -webkit-sticky; /* Safari... */
        position: sticky;
        top: 0;
        left: 0;
    }

@media (min-width: 640px) {
    .custom-checkbox {
        display: inline-block;
        width: 25px;
        height: 25px;
        border: 2px solid #000;
        border-radius: 5px;
        background-color: #fff;
        cursor: pointer;
        position: relative;
    }

        .custom-checkbox input[type="checkbox"] {
            display: none;
        }

        .custom-checkbox::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            background-color: #000;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.2s ease;
        }

        .custom-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
            transform: translate(-50%, -50%) scale(1);
        }
}

.scrollBar {
    overflow: auto;
}
    /* Estilos para motores Webkit y blink (Chrome, Safari, Opera... )*/

    .scrollBar::-webkit-scrollbar {
        -webkit-appearance: none;
    }

        .scrollBar::-webkit-scrollbar:vertical {
            width: 8px;
        }

    .scrollBar::-webkit-scrollbar-button:increment, .contenedor::-webkit-scrollbar-button {
        display: none;
    }

    .scrollBar::-webkit-scrollbar:horizontal {
        height: 8px;
    }

    .scrollBar::-webkit-scrollbar-thumb {
        background-color: #797979;
        border-radius: 20px;
        border: 2px solid #f1f2f3;
    }

    .scrollBar::-webkit-scrollbar-track {
        border-radius: 10px;
    }
.animation-examples.two {
    outline: 3px dashed #F2D694;
    box-shadow: 0 0 0 5px #FA2A00;
    animation: 2s animateBorderTwo ease infinite;
}

@keyframes animateBorderTwo {
    to {
        outline-color: #FA2A00;
        box-shadow: 0 0 0 3px #F2D694;
    }
}





/* Variables por defecto */
main {
    --bg-color: #0a2540;
    --bg-second-color: #E0F2FE;
    --text-color: #ffffff;
    --text-second-color: #000000;
    --btn-bg: #1e3a8a;
}

    /* Tema verde */
    main.theme-green {
        --bg-color: #064E3B; /* Verde muy oscuro */
        --bg-second-color: #6EE7B7; /* Verde claro */
        --text-color: #FFFFFF; /* Texto principal */
        --text-second-color: #000000; /* Texto secundario */
        --btn-bg: #10B981; /* Verde estándar para botones */
    }

    /* Tema naranja */
    main.theme-orange {
        --bg-color: #ff9347; /* Fondo principal (muy claro, casi blanco con toque naranja) */
        --bg-second-color: #FED7AA; /* Fondo secundario (naranja suave) */
        --text-color: #000000; /* Texto principal (oscuro para buen contraste) */
        --text-second-color: #4B5563; /* Texto secundario (gris medio) */
        --btn-bg: #F97316; /* Botones (naranja vivo) */
    }

    /* Tema oscuro */
    main.theme-dark {
        --bg-color: #111827; /* Gris muy oscuro */
        --bg-second-color: #D1D5DB; /* Gris claro */
        --text-color: #FFFFFF; /* Texto principal */
        --text-second-color: #000000; /* Texto secundario */
        --btn-bg: #6B7280; /* Gris medio para botones */
    }

/* Clases de utilidad */
.bg-theme {
    background-color: var(--bg-color);
}

.bg-second {
    background-color: var(--bg-second-color);
}

.text-theme {
    color: var(--text-color);
}
.text-second {
    color: var(--text-second-color);
}

.btn-theme {
    background-color: var(--btn-bg);
}

@layer utilities {
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .animate-marquee {
        animation: marquee 30s linear infinite;
        width: max-content;
    }
}

/***Switch Button***/

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E0F2FE;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: #1E3A8A;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #E0F2FE;
}

input:focus + .slider {
    box-shadow: 0 0 1px #E0F2FE;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }