/*
 * Instituto Electoral del Estado de México
 * Unidad de Informática y Estadística
 * Departamento de Análisis, Desarrollo de Sistemas y Control de Calidad
 */
/* 
    Created on : 10/07/2024, 10:22:02 AM
    Author     : zuriel
*/

:root {
    --primary-color: #b20fe8;
    --text-color: #db0f89;
    --bg-color-soft: #e6e6ef;
    --bg-hover: #c534b947;
    --purple-ieem: #6a11cb;
    --purple-ieem-hover: #2575fc;
    --morado-ieem: #6C3483;
    --morado-claro: #A569BD;
    --gris-suave: #F4F6F7;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

/*
Clase personalizada para el contenido principal
*/

.pink-radio {
    color: purple;
}

.purple-footer {
    background-color: #fbf1fd;
}

.purple-btn {
    color: white;
    background-color: #582e7d;
    border-color: #f8f8f8;
}

.purple-btn:hover {
    color: white;
    background-color: #81378c;
    /*border-color: #a353a0;*/
}

.pink-btn {
    color: white;
    background-color: #E044A8;
}

.pink-btn:hover {
    color: white;
    background-color: #f084e7;
}

.error-match {
    border: 1px solid red;
    background-color: #ffe5e5;
}

.bg-gradiant-purple {
    background: linear-gradient(180deg, rgba(144, 0, 255, 0.38) 10%, rgba(227, 227, 227, 0) 23%);
}

.text-purple {
    color: #582e7d;
    font-weight: 500;
}

.btn-bg-purple {
    --btn-bg-color: #8C00F7;
    --btn-text-color: #8C00F7;
}

.btn-bg-blue {
    --btn-bg-color: #1d9af4;
    --btn-text-color: #1d9af4;
}

.btn-bg-red {
    --btn-bg-color: #f80d0d;
    --btn-text-color: #f80d0d;
}


.btn-animation button {
    color: white;
    background: white;
    padding: 0.7em calc(0.7em * 1.2);
    display: inline-block;
    border: 3px solid transparent;
    position: relative;
    font-size: 1.5em;
    cursor: pointer;
    letter-spacing: 0.07em;
}

.btn-animation button .text {
    font-family: proxima-nova, monospace;
    transform: translate3d(0, 0.7em, 0);
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1) 0.4s;
    color: var(--btn-text-color);
}

.btn-animation button:after {
    position: absolute;
    content: "";
    bottom: -3px;
    left: calc(0.7em * 1.2);
    right: calc(0.7em * 1.2);
    height: 3px;
    background: var(--btn-bg-color);
    transition: transform 0.8s cubic-bezier(1, 0, 0.37, 1) 0.2s, right 0.2s cubic-bezier(0.04, 0.48, 0, 1) 0.6s, left 0.4s cubic-bezier(0.04, 0.48, 0, 1) 0.6s;
    transform-origin: left;
}

.btn-animation .line {
    position: absolute;
    background: var(--btn-bg-color);
}

.btn-animation .line.-right,
.btn-animation .line.-left {
    width: 3px;
    bottom: -3px;
    top: -3px;
    transform: scale3d(1, 0, 1);
}

.btn-animation .line.-top,
.btn-animation .line.-bottom {
    height: 3px;
    left: -3px;
    right: -3px;
    transform: scale3d(0, 1, 1);
}

.btn-animation .line.-right {
    right: -3px;
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.23s;
    transform-origin: top;
}

.btn-animation .line.-top {
    top: -3px;
    transition: transform 0.08s linear 0.43s;
    transform-origin: left;
}

.btn-animation .line.-left {
    left: -3px;
    transition: transform 0.08s linear 0.51s;
    transform-origin: bottom;
}

.btn-animation .line.-bottom {
    bottom: -3px;
    transition: transform 0.3s cubic-bezier(1, 0, 0.65, 1.01);
    transform-origin: right;
}

.btn-animation button:hover .text,
.btn-animation button:active .text {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1) 0.4s;
}

.btn-animation button:hover:after,
.btn-animation button:active:after {
    transform: scale3d(0, 1, 1);
    right: -3px;
    left: -3px;
    transform-origin: right;
    transition: transform 0.2s cubic-bezier(1, 0, 0.65, 1.01) 0.17s, right 0.2s cubic-bezier(1, 0, 0.65, 1.01), left 0s 0.3s;
}

.btn-animation button:hover .line,
.btn-animation button:active .line {
    transform: scale3d(1, 1, 1);
}

.btn-animation button:hover .line.-right,
.btn-animation button:active .line.-right {
    transition: transform 0.1s cubic-bezier(1, 0, 0.65, 1.01) 0.2s;
    transform-origin: bottom;
}

.btn-animation button:hover .line.-top,
.btn-animation button:active .line.-top {
    transition: transform 0.08s linear 0.4s;
    transform-origin: right;
}

.btn-animation button:hover .line.-left,
.btn-animation button:active .line.-left {
    transition: transform 0.08s linear 0.48s;
    transform-origin: top;
}

.btn-animation button:hover .line.-bottom,
.btn-animation button:active .line.-bottom {
    transition: transform 0.5s cubic-bezier(0, 0.53, 0.29, 1) 0.56s;
    transform-origin: left;
}


.custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed #8C00F7;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    width: 75%;

}

.custom-file-upload:hover {
    border-color: #8C00F7;
    background-color: #f8f8f8;
}

.custom-file-upload i {
    font-size: 40px;
    color: #8C00F7;
    margin-bottom: 10px;
}

.custom-file-upload .text {
    font-size: 1rem;
    color: #8C00F7;
}

.file-input {
    display: none;
}

.button-pulse {
    animation: pulse 1.5s infinite;
    transition: background-color 0.3s ease;
}

.button-pulse:hover {
    background-color: transparent;
}

.form-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-title {
    color: #8C00F7;
    border-bottom: 2px solid #8C00F7;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.required-field::after {
    content: " *";
    color: red;
}

.slide-button-track {
    width: 100%;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;

    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

.slide-button-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    /* El JS se encargará de esto */
    height: 100%;
    background-color: #a5d6a7;
    z-index: 1;
    pointer-events: none;
}

.slide-button-track p {
    margin: 0;
    color: #666;
    width: 100%;
    text-align: center;
    pointer-events: none;
    position: absolute;
    /* Cambiado a absoluto para que no empuje al thumb */
    z-index: 2;
}

.slide-button-thumb {
    position: relative;
    /* Cambiado de absolute a relative para mejor control inicial */
    left: 0;
    top: 0;
    width: 180px;
    /* Un poco más ancho para que quepa el texto */
    height: 50px;
    background-color: #4CAF50;
    border-radius: 25px;
    border: none;
    color: white;
    font-weight: bold;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    white-space: nowrap;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.slide-button-thumb:active {
    cursor: grabbing;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #9c27b0 !important;
    /* morado cuando pasas encima */
    color: white;
}

.select2-container--default .select2-selection--single {
    border-color: #9c27b0;
}


.btn-anima {
    position: relative;
    padding: .5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(99, 9, 225);
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    min-width: 200px;
    z-index: 1;
}

.neon-pulse {
    background: #f8f9fa;
    border: 2px solid rgb(99, 9, 225);
    box-shadow: 0 0 10px rgba(166, 6, 229, 0.566);
    overflow: visible;
}

.neon-pulse::before,
.neon-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid rgb(99, 9, 225);
    border-radius: inherit;
    animation: pulseOut 2s ease-out infinite;
    opacity: 0;
}

.neon-pulse::after {
    animation-delay: 1s;
}

@keyframes pulseOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Permite hacer clic a través del canvas */
}

#canvas {
    border: 1px solid #582e7d;
    width: 100%;
    height: 200px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: block;
    /* Importante */
}


.btn-2 {
    position: relative;
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    min-width: 200px;
    z-index: 1;
}


.btn-1 {
    text-align: center;
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #d71abb;
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    background: #d71abb;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 13px;
}

.btn-1:before {
    content: "";
    position: absolute;
    height: 150px;
    width: 50px;
    background: #ffffff;
    left: -55px;
    top: -40px;
    transform: rotate(37deg);
    transition: all .3s;
    opacity: 0.3;
}

.btn-1:hover:before {
    left: 95%;
}

.btn-1-disabled {
    text-align: center;
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #b5b2b5;
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    background: #72707042;
    color: #4d4949;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 13px;
}

.btn-1-disabled:before {
    content: "";
    position: absolute;
    height: 150px;
    width: 50px;
    background: #8e8c8c;
    left: -55px;
    top: -40px;
    transform: rotate(37deg);
    transition: all .3s;
    opacity: 0.3;
}

.btn-1-disabled:hover:before {
    left: 95%;
}


.btn-3 {
    text-align: center;
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #dd3657;
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
    background: #ef0b5b;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 13px;
}

.btn-3:before {
    content: "";
    position: absolute;
    height: 150px;
    width: 50px;
    background: #ffffff;
    left: -55px;
    top: -40px;
    transform: rotate(37deg);
    transition: all .3s;
    opacity: 0.3;
}

.btn-3:hover:before {
    left: 95%;
}

.btn-cuestionario {
    position: relative;
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #151414;
    background: #F7C1F8;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    min-width: 200px;
    z-index: 1;
}

.btn-cuestionario:hover {
    background: #F4A2F5;
    color: #151414;
}

.custom-checkbox {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
}


.custom-label {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
    color: var(--text-color);
    font-family: "Inter", sans-serif;
}

/* Ocultamos el radio original */
.radio-input {
    position: absolute;
    left: -9999px;
}

/* Estilo del contenedor (el span) cuando está seleccionado */
.radio-input:checked+.radio-tile {
    background-color: var(--bg-hover);
}

/* El círculo interno cuando está seleccionado */
.radio-input:checked+.radio-tile:before {
    box-shadow: inset 0 0 0 0.4375em var(--primary-color);
}

.radio-tile {
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    transition: 0.25s ease;
}

.radio-tile:hover {
    background-color: var(--bg-hover);
}

/* El círculo (radio decorativo) */
.radio-tile:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-right: 0.375em;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em var(--primary-color);
}

/* Centrado para el contenedor de Codepen */
.main-container {
    display: flex;
    direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;

}

.form-group {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.card-cuestion {
    background-color: #a4a4a4/90;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    max-width: 600px;

}

.card-info {
    background: rgb(224 224 224 / 60%);
    border-radius: 10px;
    padding: 20px;

}

.card-info:hover {
    background: rgba(242, 31, 214, 0.497);
    color: #fff;
    transform: scale(1.1);
    transition: 1s;
    cursor: crosshair;
}

#card-identification {
    background: url("/sicel2027/assets/img/bgIdentification-e951ce5defed9b9bbc3788d2f48adb8d.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #ffffff;
    border: 100px;
    border-color: #9e0add;
    border-radius: 30px;
    margin: 70px;
    padding: 30px;
    max-width: 500px;
    /*height: 600px;*/
    box-shadow: 0 6px 10px rgba(181, 61, 192, 0.5);

}

#img-identification {
    background: #fff;
    border-radius: 10px;
    padding-top: 10 px;
}

.check-pink {
    display: none;
}

.text-line:hover {
    background: rgb(224 224 224 / 60%);
    transform: scale(1.1);
    transition: all 1.5s ease;
    cursor: zoom-in;
    padding: 8px;
    border-radius: 10px;
}


.fs-black-bold {
    font-weight: bold;
}

.slide-reveal {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.slide-reveal:hover {
    background: #f8fafc;
}

.slide-reveal .slide-box {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid #be1778;
    border-radius: 6px;
    margin-right: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slide-reveal .slide-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #d4069d;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-reveal .slide-box::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
    z-index: 1;
}

.check-pink:checked+.slide-reveal .slide-box::after {
    transform: translateX(0);
}

.check-pink:checked+.slide-reveal .slide-box::before {
    transform: rotate(45deg) scale(1);
}

/*texttos gradiantes para titulos*/
.text-gradiant-purple {
    background: linear-gradient(to right, #471754 0%, #da358a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradiant-pink {
    background: linear-gradient(to right, #eb099c 0%, #2d0319cd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradiant-border-img {
    mask-image: linear-gradient(black 90%,transparent);
}

.title-animation-gradiant {
    font-size: clamp(2.8rem, 1.5vw, 3rem);
    font-weight: bold;
    margin: 5px;
    background: linear-gradient(to left,
            #471754 20%,
            #bb3dcb 30%,
            #ff059b 70%,
            #da358a 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 3s ease-in-out infinite alternate;
}


.loader-grid {
    width: 16px;
    height: 16px;
    box-shadow: 0 30px, 0 -30px;
    border-radius: 4px;
    background: currentColor;
    display: block;
    margin: -50px auto 0;
    position: relative;
    color: #FFF;
    transform: translateY(30px);
    box-sizing: border-box;
    animation: animloader 2s ease infinite;
}

.loader-grid::after,
.loader-grid::before {
    content: '';
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    box-shadow: 0 30px, 0 -30px;
    border-radius: 4px;
    background: currentColor;
    color: #FFF;
    position: absolute;
    left: 30px;
    top: 0;
    animation: animloader 2s 0.2s ease infinite;
}

.loader-grid::before {
    animation-delay: 0.4s;
    left: 60px;
}

@keyframes animloader {
    0% {
        top: 0;
        color: rgb(224, 62, 149);
    }

    50% {
        top: 30px;
        color: rgba(255, 255, 255, 0.2);
    }

    100% {
        top: 0;
        color: rgba(221, 42, 185, 0.772);
    }
}

.loader-screw {
    width: 60px;
    height: 40px;
    position: relative;
    display: inline-block;
    --base-color: #d13ec9;
}

.loader--screw::before {
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #FFF;
    background-image: radial-gradient(circle 8px at 18px 18px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 18px 0px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 0px 18px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 36px 18px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 18px 36px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 30px 5px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 30px 5px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 30px 30px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 5px 30px, var(--base-color) 100%, transparent 0), radial-gradient(circle 4px at 5px 5px, var(--base-color) 100%, transparent 0);
    background-repeat: no-repeat;
    box-sizing: border-box;
    animation: rotationBack 3s linear infinite;
}

.loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
    transform: rotate(45deg);
}

.loader::before {
    content: '';
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: -24px;
    animation: animloader 4s ease infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(235, 35, 181, 0.85);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    animation: animloader2 2s ease infinite;
}

@keyframes animloader {
    0% {
        box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }

    12% {
        box-shadow: 0 24px rgb(202, 16, 199), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }

    25% {
        box-shadow: 0 24px rgb(149, 53, 123), 24px 24px rgb(143, 35, 130), 24px 48px rgba(145, 21, 130, 0), 0px 48px rgba(159, 48, 119, 0);
    }

    37% {
        box-shadow: 0 24px rgb(168, 12, 152), 24px 24px rgb(141, 14, 147), 24px 48px rgb(133, 44, 114), 0px 48px rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 24px rgb(166, 16, 151), 24px 24px rgb(166, 14, 151), 24px 48px rgb(123, 46, 96), 0px 48px rgb(188, 59, 175);
    }

    62% {
        box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgb(120, 32, 103), 24px 48px rgb(181, 61, 195), 0px 48px rgb(223, 61, 215);
    }

    75% {
        box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgb(152, 16, 114), 0px 48px rgb(222, 58, 192);
    }

    87% {
        box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgb(214, 55, 185);
    }

    100% {
        box-shadow: 0 24px rgba(255, 255, 255, 0), 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }
}

@keyframes animloader2 {
    0% {
        transform: translate(0, 0) rotateX(0) rotateY(0);
    }

    25% {
        transform: translate(100%, 0) rotateX(0) rotateY(180deg);
    }

    50% {
        transform: translate(100%, 100%) rotateX(-180deg) rotateY(180deg);
    }

    75% {
        transform: translate(0, 100%) rotateX(-180deg) rotateY(360deg);
    }

    100% {
        transform: translate(0, 0) rotateX(0) rotateY(360deg);
    }
}


@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.info-congratulations {
    background-color: rgb(120, 32, 103, 10%);
    border-radius: 15px;
    border-color: #81378c;
    color: #d13ec9;
    padding: 20px;
}


.driver-popover.driverjs-theme {
    background-color: #e617ca;
    color: #f8f8f8;
}

.driver-popover.driverjs-theme .driver-popover-title {
    font-size: 20px;
}

.driver-popover.driverjs-theme .driver-popover-title,
.driver-popover.driverjs-theme .driver-popover-description,
.driver-popover.driverjs-theme .driver-popover-progress-text {
    color: #000;
}

.driver-popover.driverjs-theme button {
    flex: 1;
    text-align: center;
    background-color: #000;
    color: #ffffff;
    border: 2px solid #000;
    text-shadow: none;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 6px;
}

.driver-popover.driverjs-theme button:hover {
    background-color: #000;
    color: #ffffff;
}

.driver-popover.driverjs-theme .driver-popover-navigation-btns {
    justify-content: space-between;
    gap: 3px;
}

.driver-popover.driverjs-theme .driver-popover-close-btn {
    color: #9b9b9b;
}

.driver-popover.driverjs-theme .driver-popover-close-btn:hover {
    color: #000;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
    border-left-color: #c932c1;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
    border-right-color: #c932c1;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
    border-top-color: #c932c1;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
    border-bottom-color: #c932c1;
}


/*
Escala para tablas, se puede aplicar a cualquier elemento con la clase .scale-component
*/

.scale-identification {
    transform: scale(1);
    transition: all 0.3s ease;
}

.scale-identification:hover {
    transform: scale(1.1);
    transition: all 1s ease;
}

.scale-component {
    transform: scale(1);
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    border: 1px;
    border-color: #b3b3b3;
    border-radius: 15px;
}

.scale-component:hover {
    background-color: rgba(240, 227, 240, 0.2);
    box-shadow: 1px 6px 10px rgba(181, 61, 192, 0.5);
    transform: scale(1.005);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 2px;
    border-color: #471754;

}

.bg-disabled {
    background-color: rgba(162, 160, 162, 0.113);
}

.parent {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.parent>div {
    grid-column: span 1 !important;
    grid-row: auto !important;
}

@media (min-width: 768px) {
    .parent {
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 10px;
    }

    .div1 {
        grid-column: span 4 / span 4;
        grid-row: span 3 / span 3;
    }

    .div2 {
        grid-column: span 3 / span 3;
        grid-row: span 3 / span 3;
        grid-column-start: 5;
    }

    .div3 {
        grid-column: span 3 / span 3;
        grid-row: span 2 / span 2;
        grid-row-start: 4;
    }

    .div4 {
        grid-column: span 4 / span 4;
        grid-row: span 2 / span 2;
        grid-column-start: 4;
        grid-row-start: 4;
    }
}

.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100px;
    border: 2px dashed #007bff;
    border-radius: 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 20px;
}

.file-label:hover {
    background-color: #e9ecef;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.file-label:hover .icon-wrapper {
    transform: scale(1.1);
}

.main-text {
    color: #495057;
}

/*
    --tooltops para botoenes y infotmacion
*/

.tooltip-green .tooltip-inner {
    background-color: #009100;
    /* Cambia el color de fondo */
    color: white;
    /* Cambia el color del texto */
    font-weight: bold;
}

.tooltip-green .tooltip-arrow::before {
    border-top-color: #009100 !important;
    /* Cambia la flecha */
}


.tooltip-yellow .tooltip-inner {
    background-color: #efb810;
    /* Cambia el color de fondo */
    color: white;
    /* Cambia el color del texto */
    font-weight: bold;
}

.tooltip-yellow .tooltip-arrow::before {
    border-top-color: #efb810 !important;
    /* Cambia la flecha */
}


.tooltip-blue .tooltip-inner {
    background-color: #10a1c3;
    /* Cambia el color de fondo */
    color: white;
    /* Cambia el color del texto */
    font-weight: bold;
}

.tooltip-blue.tooltip-arrow::before {
    border-top-color: #10a1c3 !important;
    /* Cambia la flecha */
}


.tooltip-purple .tooltip-inner {
    background-color: #770e85;
    /* Cambia el color de fondo */
    color: white;
    /* Cambia el color del texto */
    font-weight: bold;
}

.tooltip-purple .tooltip-arrow::before {
    border-top-color: #770e85 !important;
    /* Cambia la flecha */
}

/* Contenedor del diálogo */
.mailbox-attachment-info {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.confirm-overlay-card {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(174, 83, 211, 0.957);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 15px;
    transition: top 0.3s ease-in-out;
}

.confirm-overlay-card.show {
    top: 0;
}

/* Botones personalizados dentro del overlay */
.btn-confirm-white {
    background: rgb(203, 10, 10);
    color: #ffffff;
    font-weight: bold;
    border: none;
    margin-left: 10px;
}

.btn-confirm-white:hover {
    background: #efefef;
    color: #ef241d;
}


.campo-valido {
    border: 2px solid #21996198 !important;
    background-color: #f0fff42b !important;
}


.campo-invalido {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

.campo-requerido {
    transition: all 0.3s ease;
}

#lock-trayectoria {
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-trayectoria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    color: #333;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Efectos Hover */
.btn-trayectoria:hover {
    border-color: rgb(181, 61, 192);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(181, 61, 192, 0.2);
    background-color: #fdfcff;
}

/* Icono Principal */
.btn-trayectoria .icon-wrapper {
    font-size: 2.5rem;
    color: rgb(181, 61, 192);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.btn-trayectoria:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Textos */
.btn-trayectoria .btn-text {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.btn-trayectoria .btn-subtext {
    font-size: 0.85rem;
    color: #757575;
    font-weight: 400;
}

/* Flecha decorativa que aparece al hover */
.btn-trayectoria .arrow-icon {
    position: absolute;
    bottom: -20px;
    right: 15px;
    font-size: 1.2rem;
    color: rgb(181, 61, 192);
    opacity: 0;
    transition: all 0.3s ease;
}

.btn-trayectoria:hover .arrow-icon {
    bottom: 15px;
    opacity: 1;
}

.custom-form-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

/* Encabezado con degradado IEEM */
.card-header-ieem {
    background: linear-gradient(135deg, rgb(181, 61, 192) 0%, #86298d 100%);
    border-bottom: none;
}

/* Badge circular para los pasos */
.badge-step {
    background-color: rgb(181, 61, 192);
    color: white;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Títulos de sección */
.text-purple-ieem {
    color: rgb(181, 61, 192);
    letter-spacing: 0.5px;
}

/* Inputs personalizados */
.custom-input {
    border: 2px solid #edf2f7;
    border-radius: 5px;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.custom-input:focus {
    border-color: rgb(181, 61, 192);
    box-shadow: 0 0 0 4px rgba(106, 17, 203, 0.1);
    background-color: #fff;
}

/* Estilo para los select */
select.custom-input {
    cursor: pointer;
}

/* Animación de los botones Plus/Minus en el header */
.card-header-ieem .btn-light:hover {
    transform: scale(1.1);
    background-color: #fff;
}

.bg-purple-ieem {
    background-color: rgb(181, 61, 192) !important;
    color: white;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    box-shadow: 0 2px 5px rgba(106, 17, 203, 0.3);
}


.table-custom {
    border-collapse: collapse;
    table-layout: auto;
    width: 100%;
}

.table-custom th,
.table-custom td {
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.table-custom thead tr:first-child th {
    background-color: #343a40;
    color: #fff;
    font-weight: bold;
}

.table-custom tbody tr:hover {
    background-color: #f2f2f2;
}

.table-custom td {
    background-color: #ffffff;
}

.sexo-mujer {
    background-color: #603787 !important;
    color: white;
}

.sexo-hombre {
    background-color: #c42c7f !important;
    color: white;
}

.sexo-nobinario {
    background-color: #6c757d !important;
    color: white;
}


.arrow-btn {
    animation: slideRight 4s ease-in-out infinite;
}

.arrow-btn:nth-child(1) {
    animation-delay: 0s;
}

.arrow-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-btn:nth-child(3) {
    animation-delay: 0.4s;
    color: #7dd67d42;
}

@keyframes slideRight {
    0% {
        transform: translateX(0);
        opacity: 0.5;
    }

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

    100% {
        transform: translateX(0);
        opacity: 0.5;
    }
}

.arrow-btn-left {
    animation: slideLeft 4s ease-in-out infinite;
}

.arrow-btn-left:nth-child(1) {
    animation-delay: 0s;
}

.arrow-btn-left:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-btn-left:nth-child(3) {
    animation-delay: 0.4s;
    color: #7dd67d42;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
        opacity: 0.5;
    }

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

    100% {
        transform: translateX(0);
        opacity: 0.5;
    }
}

#toast-container>.toast-warning {
    background-color: #f0871e !important;
    opacity: 0.9;
}

#toast-container>.toast-warning .toast-message,
#toast-container>.toast-warning .toast-title {
    color: #ffffff;
}

#toast-container>.toast-info {
    background-color: #2980b9 !important;
    background-image: none !important;
}


.titulo-bienvenida {
    font-size: 6rem;
    font-weight: 400;
    color: #2C3E50;
    line-height: 1.1;
}

@media screen and (max-width: 768px) {
    .titulo-bienvenida {
        font-size: 3rem;
    }

}

.titulo-bienvenida span {
    color: var(--morado-ieem);
}

.subtitulo-registro {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #566573;
}

/* --- Botones --- */
.btn-principal {
    display: inline-block;
    background-color: var(--morado-ieem);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 4px 15px rgba(108, 52, 131, 0.3);
    text-align: center;
}

.btn-principal:hover {
    background-color: var(--morado-claro);
    color: #fbf4ff;
    transform: translateY(-3px);
}

.btn-secundario {
    background: none;
    border: 2px solid #D5D8DC;
    padding: 15px 30px;
    border-radius: 50px;
    margin-left: 15px;
    cursor: pointer;
    color: #566573;
}

.btn-secundario:hover {
    background-color: #D5D8DC;
    color: #2C3E50;
}


.scale-component-admin {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.scale-component-admin:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(71, 23, 84, 0.4);
    box-shadow: 0 20px 40px rgba(71, 23, 84, 0.15);
}

.scale-component-button {

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.scale-component-button:hover {

    transform: translateY(-8px) scale(1.01);
    border-color: rgba(71, 23, 84, 0.4);
    box-shadow: 0 20px 40px rgba(71, 23, 84, 0.15);
}

.gh-filter-panel {
    background-color: #f6f8fa;
    /* Gris GitHub */
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.gh-filter-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #1f2328;
}

.gh-filter-header i {
    color: #656d76;
    margin-right: 8px;
}

.gh-filter-header h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.gh-input {
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 14px;
    padding: 5px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gh-input:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
    outline: none;
}

.gh-label {
    font-size: 12px;
    font-weight: 500;
    color: #444d56;
    margin-bottom: 4px;
    display: block;
}

.btn-gh-search {
    background-color: #1f2328;
    color: #ffffff;
    border: 1px solid rgba(27, 31, 36, 0.15);
    border-radius: 6px;
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-gh-search:hover {
    background-color: #2b3137;
}

.badge-purple {
    background: #57009131;
    color: rgb(58, 7, 86);
    padding-inline: 8px;
    font-weight: 700;
}

.badge-success {
    background: #00910043;
    color: rgb(7, 86, 12);
    padding-inline: 8px;
    font-weight: 700;
}

.badge-danger {
    background: #e8070743;
    color: rgb(41, 4, 4);
    padding-inline: 8px;
    font-weight: 700;
}

.badge-pink {
    background: #dd0da52c;
    color: rgb(210, 52, 168);
    padding-inline: 8px;
    font-weight: 700;
    border-radius: 8px;
    border: 0;
}

.card-indicador {
    position: relative;
    overflow: hidden;
    /* Importante para que el icono no se salga */
    border: none;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff;
    /* Texto claro para resaltar sobre el fondo obscuro */
    min-height: 120px;
    transition: transform 0.3s ease;
}

.card-indicador:hover {
    transform: translateY(-5px);
}

.sub-metrics {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: 40px;
}

.sub-item {
    display: flex;
    flex-direction: column;
}

.sub-item .label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.sub-item .value {
    font-size: 2.1rem;
    font-weight: 700;
}

/* El icono de fondo */
.icon-background {
    position: absolute;
    right: 5px;
    bottom: -10px;
    font-size: 7rem;
    /* Icono grande */
    opacity: 0.2;
    /* Lo hace ver como una "marca de agua" */
    color: rgba(0, 0, 0, 0.4);
    /* Oscurece el icono respecto al fondo */
    pointer-events: none;
    /* No interfiere con clics */
}

/* Variaciones de colores institucionales */
.bg-total {
    background: #9140e836;
    color: #5e259a;
}

/* Morado fuerte */
.bg-enviados {
    background: #28a74633;
    color: #109a0e;
}

/* Verde éxito */
.bg-faltantes {
    background: #dbb53a3e;
    color: #a57d26;
}

/* Rojo alerta */

.bg-error {
    background: #dc35463e;
    color: #dc3545;
}

/* Rojo alerta */

.card-indicador h2 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 0;
}

.card-indicador p {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-admin {
    border-collapse: separate;
    border-spacing: 0 8px;
    /* Espaciado entre filas */
    font-size: 0.9rem;
}

.table-admin thead th {
    background-color: #f8f9fa;
    color: #494649f0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.table-admin tbody tr {
    background-color: #ffffff;
    transition: all 0.2s;
}

.table-admin tbody tr:hover {
    background-color: #d2c1dd71;
    /* Un toque morado sutil al pasar el mouse */
    transform: scale(1.002);
}

/* Badges de estatus */
.status-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.status-pendiente {
    background-color: #fff4e5;
    color: #b06a00;
    border: 1px solid rgba(176, 106, 0, 0.2);
}

.status-enviado {
    background-color: #e6ffed;
    color: #1a7f37;
    border: 1px solid rgba(26, 127, 55, 0.2);
}

.status-error {
    background-color: #ffebe9;
    color: #cf222e;
    border: 1px solid rgba(207, 34, 46, 0.2);
}

.action-panel {
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 20px;
}

.action-label {
    font-size: 13px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
    display: block;
}

.action-select {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-color: #d0d7de;
    font-size: 14px;
    height: 40px;
}

.action-select:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

.btn-action {
    height: 40px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Botón Iniciar (Verde GitHub) */
.btn-start {
    background-color: #1f883d;
    border-color: rgba(27, 31, 36, 0.15);
    color: #ffffff;
}

.btn-start:hover {
    background-color: #1a7f37;
}

/* Botón Detener (Rojo sutil) */
.btn-stop {
    background-color: #f6f8fa;
    color: #cf222e;
    border: 1px solid #d0d7de;
}

.btn-stop:hover {
    background-color: #ffebe9;
    border-color: rgba(207, 34, 46, 0.4);
}

@keyframes pulse-update {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-green {
    animation: pulse-update 0.3s ease-in-out;
    color: #287da7 !important;
    /* Brillo verde temporal */
}

.pulse-red {
    animation: pulse-update 0.3s ease-in-out;
    color: #dc3545 !important;
    /* Brillo rojo temporal */
}

/* Transición suave para regresar al color original */
.value {
    transition: color 0.5s ease;
}

.loader-container {
    width: 100%;
    /* Ocupa el ancho disponible del div padre */
    max-width: 600px;
    /* Le ponemos un límite elegante para que no se estire infinitamente en pantallas ultra-wide */
    height: 30px;
    /* Grosor de la pista */
    background-color: #f3f3f3;
    /* Un fondo gris muy tenue para que se note el camino que va a recorrer */
    border-radius: 10px;
    position: relative;
    margin: 20px auto;
    /* El 'auto' mantiene la pista perfectamente centrada */
    overflow: hidden;
}

/* Este es el bloque que viaja por todo el contenedor */
.loader-animated-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: hitZak 7s linear infinite;
}

/* El icono flotando */
.loader-icon {
    color: #8f17a7;
    font-size: 1.2rem;
    margin-bottom: 0px;
    text-align: right;
    /* Nos aseguramos de que no tenga ninguna transformación rara */
    transform: scaleX(1);
}

/* La línea morada de progreso */
.loader-line {
    width: 100%;
    height: 4.8px;
    background: #8f17a77b;
    border-radius: 2px;
}

@keyframes hitZak {
    0% {
        left: 0;
        transform: translateX(-100%);
        /* Nace oculto desde la izquierda */
    }

    100% {
        left: 100%;
        transform: translateX(0%);
        /* Termina saliendo por completo a la derecha */
    }
}

.btn-action-edit:hover {
    background-color: #6a1b9a !important;
    color: #ffffff !important;
    border-color: #6a1b9a !important;
    transform: translateY(-2px);
}

.success-checkmark {
    width: 80px;
    height: 90px;
    margin: 0, auto;
}

.success-checkmark .check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
    overflow: hidden;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before,
.success-checkmark .check-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #d2b8ee1c;
    transform: rotate(-45deg);

}

.success-checkmark .check-icon .icon-line {
    height: 5px;
    background-color: #4CAF50;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.success-checkmark .check-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, .5);
}

.success-checkmark .check-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #d2b8ee1c;
}

/* --- Animaciones (Keyframes) --- */

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.error-banmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.error-banmark .error-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #F44336;
    /* Rojo de error */
    overflow: hidden;
}

/* Bloques tapón para la animación de revelado del círculo */
.error-banmark .error-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.error-banmark .error-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.error-banmark .error-icon::before,
.error-banmark .error-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    /* Cambia por tu fondo si no es blanco puro */
    transform: rotate(-45deg);
}

/* Estilo base para las dos líneas que forman la X */
.error-banmark .error-icon .icon-line {
    height: 5px;
    background-color: #F44336;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

/* Línea 1 de la X (Diagonal Izquierda -> Derecha) */
.error-banmark .error-icon .icon-line.line-left {
    top: 38px;
    left: 17px;
    width: 47px;
    transform: rotate(45deg);
    animation: icon-line-left 0.6s ease-out;
}

/* Línea 2 de la X (Diagonal Derecha -> Izquierda) */
.error-banmark .error-icon .icon-line.line-right {
    top: 38px;
    right: 16px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-right 0.6s ease-out;
}

/* Círculo de fondo sutil */
.error-banmark .error-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(244, 67, 54, .3);
}

/* Parche fijador oculto */
.error-banmark .error-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
    /* Cambia por tu fondo si no es blanco puro */
}


/* --- Animaciones (Keyframes) --- */

/* Reutiliza o mantiene la rotación del círculo exterior */
@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

/* Animación para la primera línea de la X */
@keyframes icon-line-left {
    0% {
        width: 0;
        left: 17px;
        top: 15px;
    }

    60% {
        width: 0;
        left: 17px;
        top: 15px;
    }

    100% {
        width: 47px;
        left: 17px;
        top: 38px;
    }
}

/* Animación para la segunda línea de la X (entra justo después) */
@keyframes icon-line-right {
    0% {
        width: 0;
        right: 16px;
        top: 15px;
    }

    65% {
        width: 0;
        right: 16px;
        top: 15px;
    }

    100% {
        width: 47px;
        right: 16px;
        top: 38px;
    }
}

.loader-correos {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-correos:before,
.loader-correos:after {
    content: '';
    width: 15px;
    height: 15px;
    display: inline-block;
    position: relative;
    margin: 0 5px;
    border-radius: 50%;
    color: #444144;
    background: currentColor;
    box-shadow: 50px 0, -50px 0;
    animation: left 1s infinite ease-in-out;
}

.loader-correos:after {
    color: #e5e4e5;
    animation: right 1.1s infinite ease-in-out;
}


@keyframes right {

    0%,
    100% {
        transform: translateY(-10px)
    }

    50% {
        transform: translateY(10px)
    }
}

@keyframes left {

    0%,
    100% {
        transform: translateY(10px)
    }

    50% {
        transform: translateY(-10px)
    }
}

.info-infomark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.info-infomark .info-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #0066FF;
    /* Azul informativo */
    overflow: hidden;
}

/* Bloques tapón para la animación de revelado del círculo */
.info-infomark .info-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.info-infomark .info-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.info-infomark .info-icon::before,
.info-infomark .info-icon::after {
    content: '';
    height: 100px;
    position: absolute;
    background: #FFFFFF;
    /* Cambia por tu fondo si no es blanco puro */
    transform: rotate(-45deg);
}

/* --- Elementos de la "i" --- */

/* El cuerpo de la "i" (Línea vertical) */
.info-infomark .info-icon .icon-line.line-body {
    height: 32px;
    width: 6px;
    background-color: #0066FF;
    display: block;
    border-radius: 3px;
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: info-body 0.6s ease-out;
}

/* El punto de la "i" (Círculo pequeño superior) */
.info-infomark .info-icon .icon-dot {
    width: 6px;
    height: 6px;
    background-color: #0066FF;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    animation: info-dot 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto rebote */
}

/* Círculo de fondo sutil */
.info-infomark .info-icon .icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(0, 102, 255, .2);
}

/* Parche fijador oculto */
.info-infomark .info-icon .icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
    /* Cambia por tu fondo si no es blanco puro */
}


/* --- Animaciones (Keyframes) --- */

/* Rotación estándar del círculo exterior */
@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

/* El cuerpo aparece creciendo desde abajo */
@keyframes info-body {
    0% {
        height: 0;
        bottom: 20px;
    }

    50% {
        height: 0;
    }

    100% {
        height: 32px;
    }
}

/* El punto cae desde arriba y rebota en su lugar */
@keyframes info-dot {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* --- Contenedor Tradicional Monocromático --- */
.loop-wrapper {
    margin: 0 auto;
    position: relative;
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f8f9fa;
    /* Fondo blanco puro */
    border-bottom: 1px solid #1a1a1a;
    /* Suelo de línea delgada */
}

/* --- Paisaje de Fondo en Líneas Sutiles --- */
.mountain {
    position: absolute;
    right: -200px;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    /* Un truco para hacer solo el contorno del triángulo */
    border-bottom: 110px solid #e5e5e5;
    animation: mtn 20s linear infinite;
    opacity: 0.6;
}

.hill {
    position: absolute;
    right: -300px;
    bottom: -50px;
    width: 250px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    /* Línea de colina muy suave */
    background: transparent;
    animation: hill 12s linear infinite;
}

/* --- Árboles Estilo Boceto (Líneas) --- */
.tree {
    position: absolute;
    width: 1px;
    height: 35px;
    background-color: #cccccc;
    /* Tronco de línea */
    bottom: 0;
    animation: tree 5s linear infinite;
}

.tree::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #cccccc;
    /* Copa del árbol contorneada */
    background-color: #ffffff;
}

/* Variaciones de los árboles de fondo */
.tree:nth-child(2) {
    animation: tree 3.5s 1.2s linear infinite;
    height: 25px;
}

.tree:nth-child(2)::before {
    width: 10px;
    height: 10px;
    left: -5px;
    top: -9px;
}

.tree:nth-child(3) {
    animation: tree 2.5s 2.5s linear infinite;
    height: 45px;
    opacity: 0.5;
}

/* --- El Camioncito de Correo Tradicional (Líneas Negras) --- */
.truck {
    position: absolute;
    bottom: 12px;
    right: 50%;
    margin-right: -40px;
    width: 75px;
    height: 38px;
    background-color: #ffffff;
    /* Cuerpo blanco */
    border: 1.5px solid #1a1a1a;
    /* Contorno negro clásico */
    border-radius: 2px 8px 2px 2px;
    animation: truck-move 0.4s ease-in-out infinite alternate;
}

/* Ventana de la cabina */
.truck::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 14px;
    height: 12px;
    border: 1.5px solid #1a1a1a;
    background-color: #ffffff;
    border-radius: 1px;
}

/* Línea tradicional de correo (Ahora gris/negra sutil en lugar de azul y roja) */
.truck::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 100%;
    height: 1.5px;
    background-color: #1a1a1a;
    /* Franja negra elegante */
}

/* --- Ruedas de Contorno --- */
.wheels {
    position: absolute;
    bottom: 4px;
    right: 50%;
    margin-right: -40px;
    width: 75px;
    height: 16px;
    z-index: 2;
}

.wheels::before {
    content: '';
    position: absolute;
    left: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1.5px solid #1a1a1a;
    /* Ruedas de línea negra */
    box-shadow: 40px 0 0 -1.5px #ffffff, 40px 0 0 0 #1a1a1a;
    /* Segunda rueda idéntica */
    animation: spin 0.5s linear infinite;
}


/* --- ANIMACIONES SUAVES --- */

@keyframes tree {
    0% {
        transform: translateX(650px);
    }

    100% {
        transform: translateX(-100px);
    }
}

@keyframes mtn {
    0% {
        transform: translateX(650px);
    }

    100% {
        transform: translateX(-350px);
    }
}

@keyframes hill {
    0% {
        transform: translateX(650px);
    }

    100% {
        transform: translateX(-350px);
    }
}

@keyframes truck-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-1px);
    }
}

/* Pequeño vaivén de movimiento en el camino */
@keyframes spin {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(0.3px);
    }

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

/* Custom CSS */
.border-dashed-2 {
    border: 2px dashed #cbd5e1 !important;
}

/* Modificaciones precisas para bs-stepper en la parte inferior */
.bs-stepper .bs-stepper-content {
    padding: 0 !important;
    /* Limpia paddings por defecto que causan scroll */
}

/* Color personalizado cuando el paso está activo */
.bs-stepper .step.active .bs-stepper-circle {
    background-color: #1e3a8a !important;
    color: #ffffff;
}

/* Color cuando el paso ya se completó correctamente */
.bs-stepper .step.disabled .bs-stepper-circle {
    background-color: #e2e8f0;
    color: #64748b;
}

/* Quita sombras y bordes feos nativos de los botones del disparador */
.bs-stepper-header .step-trigger:focus {
    background-color: transparent !important;
    border-radius: 0;
}

/* Ajustes de scrollbars internos */
.overflow-auto::-webkit-scrollbar {
    width: 6px;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
}


/* Custom CSS para el Selector de Documentos Oficiales */
.custom-doc-selector .btn {
    border-radius: 4px;
    font-size: 12px;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.2s, box-shadow 0.2s;
    will-change: transform;
}

/* ─── El efecto solicitado: Escala sutil al pasar el mouse ─── */
.custom-doc-selector .btn:hover {
    transform: scale(1.05);
    /* Escala del 5% (perfecta para no desbordar) */
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.12);
    cursor: pointer;
}

/* Estilo para los botones que no están activos (outline) */
.custom-doc-selector .btn-outline-primary {
    color: #475569;
    border-color: #cbd5e1;

}

/* Hover de los botones que no están activos */
.custom-doc-selector .btn-outline-primary:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
    background-color: #f0f4f8;
}

/* Botón que está seleccionado actualmente */
.custom-doc-selector .btn-primary.active {
    background-color: #1e3a8a !important;
    /* Mismo azul corporativo */
    border-color: #1e3a8a !important;
    transform: none !important;
    /* El activo no necesita escalar */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   OVERRIDE DE BOTONES DE VALIDACIÓN (ESTILO TRANSLÚCIDO / SOFT)
   ========================================================================== */

/* VERDE EXITOSO: Fondo translúcido (15% opacidad) y Texto Sólido Fuerte */
.btn-success,
.btn-success.text-white,
.list-group-item-success {
    background-color: rgba(40, 167, 69, 0.15) !important;
    /* Verde Bootstrap con opacidad */
    color: #1e602b !important;
    /* Verde oscuro y fuerte para legibilidad */
    border-color: rgba(40, 167, 69, 0.3) !important;
    /* Borde sutil a juego */
}

/* Mantener el diseño limpio si pasan el mouse (Hover) o está activo */
.btn-success:hover,
.btn-success.active {
    background-color: rgba(40, 167, 69, 0.25) !important;
    /* Un poco más de fondo al pasar el mouse */
    color: #15431f !important;
    /* Texto aún más oscuro */
    border-color: rgba(40, 167, 69, 0.5) !important;
}


/* ROJO RECHAZADO: Fondo translúcido (12% opacidad) y Texto Sólido Fuerte */
.btn-danger,
.btn-danger.text-white,
.list-group-item-danger {
    background-color: rgba(220, 53, 69, 0.12) !important;
    /* Rojo Bootstrap translúcido */
    color: #9c1c26 !important;
    /* Rojo quemado/fuerte para el texto */
    border-color: rgba(220, 53, 69, 0.25) !important;
    /* Borde sutil */
}

/* Efectos Hover y Active para el Rojo */
.btn-danger:hover,
.btn-danger.active {
    background-color: rgba(220, 53, 69, 0.22) !important;
    color: #75151c !important;
    border-color: rgba(220, 53, 69, 0.4) !important;
}

/* ROJO RECHAZADO: Fondo translúcido (12% opacidad) y Texto Sólido Fuerte */
.btn-warning,
.btn-warning.text-white,
.list-group-item-warning {
    background-color: rgba(220, 153, 53, 0.12) !important;
    /* Rojo Bootstrap translúcido */
    color: #9c761c !important;
    /* Rojo quemado/fuerte para el texto */
    border-color: rgba(220, 53, 69, 0.25) !important;
    /* Borde sutil */
}

/* Efectos Hover y Active para el Rojo */
.btn-warning:hover,
.btn-warning.active {
    background-color: rgba(220, 150, 53, 0.22) !important;
    color: #9c761c !important;
    border-color: rgba(220, 162, 53, 0.4) !important;
}

/* 🔄 PEQUEÑO AJUSTE PARA LOS MINI-BOTONES CUADRADOS */
/* Como les quitamos la clase 'text-white' nativa en JS, aseguramos que hereden el color fuerte */
.square-mini-btn.btn-success {
    color: #1e602b !important;
}

.square-mini-btn.btn-danger {
    color: #9c1c26 !important;
}

.btn-primary.active,
.btn-outline-primary.active,
.btn-section-valid.active,
.btn-section-valid-curricular.active,
.square-mini-btn.active {
    background-color: rgba(0, 123, 255, 0.478) !important;
    /* Azul traslúcido muy suave */
    background-image: none !important;
    /* Por si la plantilla usa gradientes */
    color: #ffffff !important;
    /* Azul marino profundo (Súper legible) */
    border-color: #0056b3 !important;
    /* Borde firme azul */
    font-weight: bold !important;
}

/* Evitar que al pasar el mouse encima (Hover) se vuelva a poner azul oscuro */
.btn-primary.active:hover,
.btn-outline-primary.active:hover,
.btn-section-valid.active:hover,
.btn-section-valid-curricular.active:hover {
    background-color: rgba(0, 123, 255, 0.25) !important;
    color: #002752 !important;
    border-color: #004085 !important;
}


.offcanvas-modal {
    pointer-events: none;
}

.offcanvas-modal .offcanvas-dialog {
    position: fixed;
    margin: 0;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    /* Ocupa todo el ancho */
    /* Se ajusta al contenido de tus dudas */
    height: 40vh;
    /* Ocupa máximo el 40% de la pantalla para no tapar de más */

    /* Escondido hacia arriba en el eje Y */
    transform: translate3d(0, -100%, 0);
    transition: transform 0.3s ease-in-out;
}

/* Animación de entrada cuando se activa */
.offcanvas-modal.show .offcanvas-dialog {
    transform: translate3d(0, 0, 0);
}

/* Quitar animaciones por defecto del modal de BS4 para que no choquen */
.offcanvas-modal.fade .offcanvas-dialog {
    transition: transform 0.3s ease-in-out;
}

/* 1. Asegurar el contenedor del Offcanvas Top */
.offcanvas-modal .modal-content {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.522);
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 2. Forzar al contenedor UL a comportarse como flex horizontal */
.list-dudas-glass {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    flex-direction: row !important;
    /* Fuerza la dirección horizontal */
    flex-wrap: wrap !important;
    /* Permite el salto de línea */
    gap: 16px;
    /* Espaciado moderno entre tarjetas */
    padding: 15px !important;
    margin: 0;
}

/* 3. Re-escribir por completo el Item para romper la estructura vertical de Bootstrap */
.badge-glass-item {
    /* Reseteo de Bootstrap 4 */
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    float: none !important;

    /* Configuración de columnas (3 columnas en pantallas grandes) */
    flex: 1 1 calc(33.333% - 16px) !important;
    min-width: 300px;
    /* Si la pantalla se achica, bajan automáticamente */

    /* Estilo Glassmorphism */
    background: rgba(240, 244, 248, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

/* Hover */
.badge-glass-item:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 123, 255, 0.4) !important;
}

/* 4. El número */
.glass-number-badge {
    background: #f6000055;
    color: rgb(62, 10, 10);
    font-weight: bold;
    font-size: 0.85rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

/* 5. El texto */
.glass-text {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Cambiar el fondo del encabezado del popover */

.popover {
    z-index: 1060 !important;
}

.popover-header {
    background-color: #f8d7da;
    color: #721c24;
    border-bottom: 1px solid #f5c6cb;
}

/* Cambiar el fondo del cuerpo del popover */
.popover-body {
    background-color: #fdf3f4;
    color: #721c24;
}

/* Cambiar el color de la pequeña flecha del popover */
.bs-popover-bottom .arrow::after,
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
    border-bottom-color: #f8d7da;
}

/* --- Estilos base del contenedor --- */
.custom-purple-stepper {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 32px 16px;
    box-sizing: border-box;
}

.custom-purple-stepper .bs-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* --- Cada contenedor de paso --- */
.custom-purple-stepper .step {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.custom-purple-stepper .step:last-child {
    flex: none;
    /* El último no se estira porque no tiene línea adelante */
}

/* --- El botón disparador --- */
.custom-purple-stepper .step-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

/* --- Los Círculos (Por defecto: Inactivos / Gris) --- */
.custom-purple-stepper .bs-stepper-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    /* slate-300 */
    background-color: #ffffff;
    color: #94a3b8;
    /* slate-400 */
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* --- Las Etiquetas (Por defecto: Gris) --- */
.custom-purple-stepper .bs-stepper-label {
    position: absolute;
    bottom: -24px;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* --- Las Líneas Conectoras --- */
.custom-purple-stepper .line {
    position: absolute;
    left: calc(50% + 20px);
    right: 0;
    top: 20px;
    height: 2px;
    background-color: #e2e8f0;
    /* slate-200 */
    transition: all 0.3s ease;
}

/* ==========================================================================
   COLORES MORADOS Y REDUCCIÓN DE TAMAÑO (ALINEADO AL INICIO)
   ========================================================================== */

/* --- Ajuste de tamaño general (Más chico) --- */
#stepperRegistro .bs-stepper-circle {
    width: 30px !important;
    /* Círculos más compactos */
    height: 30px !important;
    font-size: 12px !important;
    /* Iconos de FontAwesome más chicos */
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
}

#stepperRegistro .bs-stepper-label {
    font-size: 11px !important;
    /* Texto de los labels más chico */
}

/* --- 1. ESTADO NEUTRO / DESACTIVADO (Gris por defecto) --- */
#stepperRegistro .bs-stepper-circle {
    background-color: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    /* Gris slate-300 */
    color: #94a3b8 !important;
    /* Icono gris slate-400 */
    box-shadow: none !important;
}

#stepperRegistro .bs-stepper-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

#stepperRegistro .line {
    background-color: #e2e8f0 !important;
    /* Línea gris conectora */
}

/* --- 2. ESTADO ACTIVO (Doble Anillo Morado) --- */
#stepperRegistro .step.active .bs-stepper-circle {
    background-color: #701a75 !important;
    /* Morado base */
    border-color: #701a75 !important;
    color: #ffffff !important;
    /* Icono blanco */
    /* El doble anillo sutil para el círculo más chico */
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #f5d0fe !important;
}

#stepperRegistro .step.active .bs-stepper-label {
    color: #701a75 !important;
    font-weight: 700 !important;
}

/* --- 3. ESTADO COMPLETADO (Pasos anteriores procesados) --- */
/* Cuando agregues la clase '.step-completed' con JavaScript a los pasos anteriores */
#stepperRegistro .step-completed .bs-stepper-circle {
    background-color: #701a75 !important;
    border-color: #701a75 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

#stepperRegistro .step-completed .bs-stepper-label {
    color: #475569 !important;
    /* Texto gris oscuro */
}

#stepperRegistro .step-completed+.line {
    background-color: #701a75 !important;
    /* Pinta la línea siguiente de morado */
}


/* Estilos del botón */
.button-slide {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 8rem;
    color: #fff;        
    letter-spacing: .15rem;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-slide:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4CAF50;
    border-radius: 8rem;
    z-index: -2;
}

.button-slide:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #054f173e;
    /* Equivalente a darken(#0cf, 15%) */
    transition: all .3s;
    border-radius: 8rem;
    z-index: -1;
}

.button-slide:hover {
    color: #fff;
}

.button-slide:hover:before {
    width: 100%;
}


.form-bloqueado, .form-bloqueado * {
    pointer-events: none !important;    
    opacity: 0.9;
}


/* ============================================================
   ESTILOS GENERALES PARA REPORTES
   PRE-REGISTRO,EN REGISTRO Y DE APERTURA/CIERRE
   ============================================================ */


.reporte-validacion-contenedor {
    padding: 2rem;
}

/* Colores */

.reporte-color-preregistro {
    color: #603787;
}

.reporte-color-sin-finalizar {
    color: #A21C68;
}

.reporte-color-sin-validacion {
    color: #471754;
}

.reporte-color-finalizado {
    color: #603787;
}

/* =========================================================
   TOTAL PARTICIPACIÓN
   ========================================================= */

.total-participacion-card {
    min-height: 330px;
}

.total-participacion-body {
    min-height: 330px;
}

.total-participacion-numero-container {
    min-height: 280px;
}

.total-participacion-numero {
    font-size: 10rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(
        to right,
        #471754 0%,
        #A21C68 50%,
        #da358a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 5px 20px rgba(71, 23, 84, 0.15);
}

.total-participacion-info {
    min-height: 280px;
    border-left: 2px solid rgba(162, 28, 104, 0.15);
}

.total-participacion-icono {
    font-size: 6rem;
    background: linear-gradient(
        to right,
        #471754 0%,
        #A21C68 50%,
        #da358a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.total-participacion-titulo {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(
        to right,
        #471754 0%,
        #A21C68 50%,
        #da358a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.total-participacion-descripcion {
    font-size: 1.25rem;
}

.reporte-titulo {
    font-size: 2rem;
}

.reporte-subtitulo {
    font-size: 1.25rem;
}

.reporte-opciones {
    font-size: 1.3rem;
}


/* TARJETAS */

.reporte-card {
    min-height: 330px;
}

.reporte-card-header {
    font-size: 2rem;
    font-weight: 700;
    padding: 1.4rem;
}

.reporte-card-header-icono {
    font-size: 2.2rem;
}

.reporte-card-numero {
    font-size: 6rem;
    line-height: 1;
    font-weight: 800;
}

.reporte-card-descripcion {
    font-size: 1.35rem;
}

.reporte-card-icono-circular {
    width: 125px;
    height: 125px;
    font-size: 4.5rem;
}

.reporte-card-footer {
    padding: 1.1rem;
}

.reporte-card-footer-texto {
    font-size: 1.15rem;
    font-weight: 600;
}


/* COLORES */

.reporte-color-mujeres {
    color: #603787;
}

.reporte-color-hombres {
    color: #A21C68;
}

.reporte-color-total {
    color: #471754;
}


/* ICONOS CIRCULARES */

.reporte-icono-mujeres {
    background: rgba(96, 55, 135, 0.14);
    color: #603787;
}

.reporte-icono-hombres {
    background: rgba(162, 28, 104, 0.14);
    color: #A21C68;
}

.reporte-icono-total {
    background: rgba(71, 23, 84, 0.14);
    color: #471754;
}