* {
    box-sizing: border-box;
}

.pasosLineales {
    --color_marca1: #70B66B;
    --color_marca2: #FFDC5D;
    --color_marca3: #e6e7ea;
    --color_marca4: #008044;
    --color_marca6: #989898;
    --colorTexto: #3E3E3F;
    --colorLinea: #E6E7E9;

    --ancho: 900px;
    --marginTop: 300px;
    margin: auto;
    margin-top: var(--marginTop);
}

@media (max-width: 992px) {
    .pasosLineales {
        max-width: fit-content;
        --marginTop: 200px;
    }

    .progress_inner__status {
        max-width: 100px !important;
    }
}

.progress_inner__step:before {
    width: 35px;
    height: 35px;
    color: var(--colorTexto);
    background: var(--color_marca3);
    line-height: 30px;
    border: 3px solid var(--color_marca6);
    font-size: 22px;
    line-height: 1.2;
    top: 3px;
    border-radius: 100%;
    transition: all 0.4s;
    cursor: pointer;
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulso {
    0% {
        transform: scale(1) translateY(-50%);
    }

    50% {
        transform: scale(1.1) translateY(-50%);
    }

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

.progress_inner__step:before {
    animation: pulso 1s infinite;
}

.progress_inner__step {
    width: 16.6%;
    font-size: 20px;
    padding: 0 10px;
    transition: all 0.4s;
    float: left;
    text-align: center;
    position: relative;
    z-index: 3;
}

.progress_inner__step label {
    padding-top: 50px;
    top: -20px;
    display: block;
    position: relative;
    cursor: pointer;
    font-weight: bold;
    color: var(--colorTexto);
}

.progress_inner__step:hover {
    color: var(--color_marca4);
}

.progress_inner__step:hover:before {
    background: var(--color_marca3);
}

.progress_inner #step-1.visited-step~.progress_inner__step:nth-of-type(1) label,
.progress_inner #step-2.visited-step~.progress_inner__step:nth-of-type(2) label,
.progress_inner #step-3.visited-step~.progress_inner__step:nth-of-type(3) label,
.progress_inner #step-4.visited-step~.progress_inner__step:nth-of-type(4) label,
.progress_inner #step-5.visited-step~.progress_inner__step:nth-of-type(5) label,
.progress_inner #step-6.visited-step~.progress_inner__step:nth-of-type(6) label {
    color: var(--color_marca3);
}

.progress_inner #step-1.active-step~.progress_inner__step:nth-of-type(1) label,
.progress_inner #step-2.active-step~.progress_inner__step:nth-of-type(2) label,
.progress_inner #step-3.active-step~.progress_inner__step:nth-of-type(3) label,
.progress_inner #step-4.active-step~.progress_inner__step:nth-of-type(4) label,
.progress_inner #step-5.active-step~.progress_inner__step:nth-of-type(5) label,
.progress_inner #step-6.active-step~.progress_inner__step:nth-of-type(6) label {
    color: var(--color_marca4);

  
      
}


.progress_inner {
    width: var(--ancho);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.progress_inner__tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.progress_inner__bar--set,
.progress_inner__bar {
    height: 6px;
    left: 10%;
    background: repeating-linear-gradient(45deg, var(--color_marca4), var(--color_marca4) 4px, var(--color_marca2) 4px, var(--color_marca2) 10px);
    transition: width 800ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    border-radius: 6px;
    width: 0;
    position: relative;
    z-index: 2;
}

.progress_inner__bar--set {
    width: 80%;
    top: -6px;
    background: var(--colorLinea);
    position: relative;
    z-index: 1;
}

.progress_inner__tabs .tab {
    display: none;
    position: relative;
    border-bottom: 0;
    box-shadow: 0px 4px 0 var(--color_marca3);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.2s;
    width: 600px;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--color_marca2);
}

.progress_inner__tabs .tab:nth-child(odd) {
    background: var(--color_marca4);
}

.progress_inner__tabs .tab:nth-child(even) {
    background: var(--color_marca1);
}


.progress_inner__tabs .tab h3 {
    color: white;
    line-height: 1;
    font-size: 1.2rem;
    width: 100%;
    border-bottom: 1px solid var(--color_marca3);
    padding-bottom: 5px;
    display: flex;
    justify-content: center;
}


.progress_inner__tabs .tab p {
    font-weight: 400;
    font-size: 22px;
    color: white;
}

.progress_inner__status {
    width: 100%;
    max-width: 200px;
    height: calc(var(--marginTop) - 40px);
    bottom: calc(100% + 20px);
    transition: right 800ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    transform: translateX(50%);
    position: absolute;
}

.progress_inner input[type=radio] {
    display: none;
}

.progress_inner__step:nth-of-type(1):before {
    content: "1";
}

.progress_inner__step:nth-of-type(2):before {
    content: "2";
}

.progress_inner__step:nth-of-type(3):before {
    content: "3";
}

.progress_inner__step:nth-of-type(4):before {
    content: "4";
}

.progress_inner__step:nth-of-type(5):before {
    content: "5";
}

.progress_inner__step:nth-of-type(6):before {
    content: "6";
}

/* Show active tab */
.progress_inner #step-1:checked~.progress_inner__tabs .tab:nth-of-type(1),
.progress_inner #step-2:checked~.progress_inner__tabs .tab:nth-of-type(2),
.progress_inner #step-3:checked~.progress_inner__tabs .tab:nth-of-type(3),
.progress_inner #step-4:checked~.progress_inner__tabs .tab:nth-of-type(4),
.progress_inner #step-5:checked~.progress_inner__tabs .tab:nth-of-type(5),
.progress_inner #step-6:checked~.progress_inner__tabs .tab:nth-of-type(6) {
    display: flex;
    flex-direction: column;
}

/* Estilo para los pasos ya vistos */
.progress_inner #step-1.visited-step~.progress_inner__step:nth-of-type(1):before,
.progress_inner #step-2.visited-step~.progress_inner__step:nth-of-type(2):before,
.progress_inner #step-3.visited-step~.progress_inner__step:nth-of-type(3):before,
.progress_inner #step-4.visited-step~.progress_inner__step:nth-of-type(4):before,
.progress_inner #step-5.visited-step~.progress_inner__step:nth-of-type(5):before,
.progress_inner #step-6.visited-step~.progress_inner__step:nth-of-type(6):before {
    background: var(--color_marca1);
    color: white;
    border-color: var(--color_marca3);
    animation: none;
}

/* Estilo para el input activo */
.progress_inner #step-1.active-step~.progress_inner__step:nth-of-type(1):before,
.progress_inner #step-2.active-step~.progress_inner__step:nth-of-type(2):before,
.progress_inner #step-3.active-step~.progress_inner__step:nth-of-type(3):before,
.progress_inner #step-4.active-step~.progress_inner__step:nth-of-type(4):before,
.progress_inner #step-5.active-step~.progress_inner__step:nth-of-type(5):before,
.progress_inner #step-6.active-step~.progress_inner__step:nth-of-type(6):before {
    background: var(--color_marca4);
    color: white;
    border-color: var(--color_marca1);
    animation: none;
}

/* Estilo para el input activo */
.progress_inner #step-1[type="radio"]:disabled~.progress_inner__step:nth-of-type(1):before,
.progress_inner #step-2[type="radio"]:disabled~.progress_inner__step:nth-of-type(2):before,
.progress_inner #step-3[type="radio"]:disabled~.progress_inner__step:nth-of-type(3):before,
.progress_inner #step-4[type="radio"]:disabled~.progress_inner__step:nth-of-type(4):before,
.progress_inner #step-5[type="radio"]:disabled~.progress_inner__step:nth-of-type(5):before,
.progress_inner #step-6[type="radio"]:disabled~.progress_inner__step:nth-of-type(6):before {
    filter: grayscale(1);
    animation: none;
    cursor: not-allowed !important;
}

/* Adjust progress bar width */
.progress_inner #step-1:checked~.progress_inner__bar {
    width: 0%;
}
.progress_inner #step-2:checked~.progress_inner__bar {
    width: 16%;
}
.progress_inner #step-3:checked~.progress_inner__bar {
    width: 32%;
}
.progress_inner #step-4:checked~.progress_inner__bar {
    width: 48%;
}
.progress_inner #step-5:checked~.progress_inner__bar {
    width: 64%;
}
.progress_inner #step-6:checked~.progress_inner__bar {
    width: 80%;
}


/* Move status icon */
.progress_inner #step-1:checked~.progress_inner__status {
        right: 94%;
    }
    .progress_inner #step-2:checked~.progress_inner__status {
        right: 78%;
    }
    .progress_inner #step-3:checked~.progress_inner__status {
        right: 62%;
    }
    .progress_inner #step-4:checked~.progress_inner__status {
        right: 46%;
    }
    .progress_inner #step-5:checked~.progress_inner__status {
        right: 30%;
    }
    .progress_inner #step-6:checked~.progress_inner__status {
        right: 14%;
    }


@media (max-width: 576px) {

    /* Move status icon */
.progress_inner #step-1:checked~.progress_inner__status {
        right: 98%;
    }
    .progress_inner #step-2:checked~.progress_inner__status {
        right: 78%;
    }
    .progress_inner #step-3:checked~.progress_inner__status {
        right: 58%;
    }
    .progress_inner #step-4:checked~.progress_inner__status {
        right: 38%;
    }
    .progress_inner #step-5:checked~.progress_inner__status {
        right: 18%;
    }
    .progress_inner #step-6:checked~.progress_inner__status {
        right: 0%;
    }
}

/* New styles for the box image */
.progress_inner__status img {
    width: auto;
    height: 100%;
    max-width: max-content;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    transition-delay: 300ms;
}

/* Mostrar la imagen correspondiente a cada paso */
.progress_inner #step-1:checked~.progress_inner__status img:nth-child(1),
.progress_inner #step-2:checked~.progress_inner__status img:nth-child(2),
.progress_inner #step-3:checked~.progress_inner__status img:nth-child(3),
.progress_inner #step-4:checked~.progress_inner__status img:nth-child(4),
.progress_inner #step-5:checked~.progress_inner__status img:nth-child(5),
.progress_inner #step-6:checked~.progress_inner__status img:nth-child(6) {
    opacity: 1;
}