body {
    font-family: 'Open Sans', sans-serif;
}

#signUpForm {
    background-color: #ffffff;
    padding: 40px;
    box-shadow: 0px 6px 18px rgb(0 0 0 / 9%);
    border-radius: 12px;
}

#signUpForm .form-header {
    gap: 5px;
    text-align: center;
    font-size: .9em;
}

#signUpForm .form-header .stepIndicator {
    position: relative;
    flex: 1;
    padding-bottom: 30px;
}

#signUpForm .form-header .stepIndicator.active {
    font-weight: 600;
}

#signUpForm .form-header .stepIndicator.finish {
    font-weight: 600;
    color: #00795C;
}

#signUpForm .form-header .stepIndicator::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 9;
    width: 20px;
    height: 20px;
    background-color: #d5efed;
    border-radius: 50%;
    border: 3px solid #ecf5f4;
}

#signUpForm .form-header .stepIndicator.active::before {
    background-color: #edcaa7;
    border: 3px solid #d5f9f6;
}

#signUpForm .form-header .stepIndicator.finish::before {
    background-color: #F47A3C;
    border: 3px solid #00795C;
}

#signUpForm .form-header .stepIndicator::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 100%;
    height: 3px;
    background-color: #a7ede8;
}

#signUpForm .form-header .stepIndicator.active::after {
    background-color: #edcaa7;
}

#signUpForm .form-header .stepIndicator.finish::after {
    background-color: #F47A3C;
}

#signUpForm .form-header .stepIndicator:last-child:after {
    display: none;
}

#signUpForm input,
#signUpForm select {
    padding: 15px 20px;
    width: 100%;
    font-size: 1em;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
}

#signUpForm input:focus {
    border: 1px solid #00795C;
    outline: 0;
}

#signUpForm input.invalid,
#signUpForm select.invalid {
    border: 1px solid #ffaba5;
}

#signUpForm .step {
    display: none;
}

#signUpForm .form-footer {
    overflow: auto;
    gap: 20px;
}

#signUpForm .form-footer button {
    background-color: #00795C;
    border: 1px solid #00795C !important;
    color: #ffffff;
    border: none;
    padding: 13px 30px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    flex: 1;
    margin-top: 5px;
}

#signUpForm .form-footer button:hover {
    opacity: 0.8;
}

#signUpForm .form-footer #prevBtn {
    background-color: #fff;
    color: #F47A3C;
    border: 1px solid #F47A3C !important;
}

.footer {
    background-color: #F47A3C;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 2%;
}


/* Contenedor principal para centrar el efecto */

.success-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* El círculo exterior verde */

.sa-success-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(165, 220, 134, 0.2);
    /* Borde claro de fondo */
    border-radius: 50%;
    border-top-color: #00795c;
    /* Color verde de SweetAlert */
    position: relative;
    animation: rotate-circle 0.6s ease-in-out forwards;
}


/* SVG de la palomita interna */

.sa-success-svg {
    width: 80px;
    height: 80px;
    position: absolute;
    top: -4px;
    left: -4px;
}

.sa-success-checkmark {
    stroke: #00795c;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    /* Truco de CSS para ocultar el trazo inicialmente */
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    /* Animación del dibujo de la palomita */
    animation: draw-checkmark 0.4s ease-in-out 0.4s forwards;
}


/* Animación para expandir sutilmente el círculo al aparecer */

@keyframes rotate-circle {
    0% {
        transform: scale(0.4);
        border-color: rgba(165, 220, 134, 0.2);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        border-color: #00795c;
        /* Se vuelve verde completo al final */
    }
}


/* Animación del trazo de la palomita (efecto de dibujado) */

@keyframes draw-checkmark {
    to {
        stroke-dashoffset: 0;
    }
}


/* Estilos del texto de éxito opcional */

.sa-success-title {
    color: #545454;
    font-size: 26px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    animation: fade-in-text 0.5s ease-out 0.2s both;
}

@keyframes fade-in-text {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}