
:root {
    --primary: #333;
    --secondary: #f4946c;
    --errorColor: red;
    --stepNumber: 6;
    --containerWidth: 100%;
    --bgColor: #333;
    --inputBorderColor: lightgray;
 }

 .form-outer {
    width: 100%;
    overflow: hidden;
 }

 .form-outer form {
    display: flex;
    width: calc(100% * var(--stepNumber));
 }

 .form-outer form .page {
    width: calc(100% / var(--stepNumber));
    transition: margin-left 0.3s ease-in-out;
    height: 0;
 }

 .page.page-active {
    height: fit-content !important;
 }

 .form-outer form .page .title {
    text-align: left;
    font-size: 25px;
    font-weight: 500;
 }

 .form-outer form .page .field {
    width: var(--containerWidth);
    /* height: 45px; */
    margin: 45px 0;
    display: flex;
    position: relative;
    flex-direction: column;
    width: 99%;
 }

 form .page .field .label {
    /* position: absolute; */
    top: -30px;
    font-weight: 500;
 }

 form .page .field input,
 .field textarea {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: 1px solid var(--inputBorderColor);
    border-radius: 5px;
    padding-left: 15px;
    margin: 0 1px;
    font-size: 18px;
    transition: border-color 150ms ease;
    min-height: 45px;
 }

 form .page .field input[type="radio"] {
    height: 20px;
    width: 20px;
 }

 form .page .field input.invalid-input {
    border-color: var(--errorColor);
 }

 form .page .field select {
    width: 100%;
    padding-left: 10px;
    font-size: 17px;
    font-weight: 500;
 }

 form .page .field button {
    width: 100%;
    height: 45px;
    border: none;
    background: var(--secondary);
    margin-top: 10px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.5s ease;
 }

 form .page .field button:hover {
    background: #000;
 }

 form .page .btns button {
    /* margin-top: -20px !important; */
 }

 form .page .btns button.prev {
    margin-right: 3px;
    font-size: 17px;
 }

 form .page .btns button.next {
    margin-left: 3px;
 }

 .progress-bar {
    display: flex;
    margin: 40px 0;
    user-select: none;
    flex-direction: row;
    background: none;
 }

 .progress-bar .step {
    text-align: center;
    width: 100%;
    position: relative;
 }

 .progress-bar .step p {
    font-weight: 500;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
 }

 .progress-bar .step .bullet {
    height: 25px;
    width: 25px;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    font-weight: 500;
    font-size: 17px;
    line-height: 25px;
 }

 .progress-bar .step .bullet.active {
    border-color: var(--primary);
    background: var(--primary);
 }

 .progress-bar .step .bullet span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
 }

 .progress-bar .step .bullet.active span {
    display: none;
 }

 .progress-bar .step .bullet:before,
 .progress-bar .step .bullet:after {
    position: absolute;
    content: "";
    bottom: 11px;
    right: -51px;
    height: 3px;
    width: 44px;
    background: #262626;
 }

 .progress-bar .step .bullet.active:after {
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 0.3s linear forwards;
 }

 @keyframes animate {
    100% {
       transform: scaleX(1);
    }
 }

 .progress-bar .step:last-child .bullet:before,
 .progress-bar .step:last-child .bullet:after {
    display: none;
 }

 .progress-bar .step p.active {
    color: var(--primary);
    transition: 0.2s linear;
 }

 .progress-bar .step .check {
    position: absolute;
    left: 50%;
    top: 70%;
    font-size: 15px;
    transform: translate(-50%, -50%);
    display: none;
 }

 .progress-bar .step .check.active {
    display: block;
    color: #fff;
 }

 input[type="radio"] {
    border-color: #ff0000;
    /* Cambia el color del borde a rojo */
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
 }

 input[type="radio"]:checked {
    background: #40e0d0;
 }

 input.paquetes {
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
 }

 @media screen and (max-width: 660px) {
    :root {
       --containerWidth: 400px;
    }

    .progress-bar .step p {
       display: none;
    }

    .progress-bar .step .bullet::after,
    .progress-bar .step .bullet::before {
       display: none;
    }

    .progress-bar .step .bullet {
       display: flex;
       align-items: center;
       justify-content: center;
    }

    .progress-bar .step .check {
       position: absolute;
       left: 50%;
       top: 50%;
       font-size: 15px;
       transform: translate(-50%, -50%);
       display: none;
    }

    .step {
       display: flex;
       align-items: center;
       justify-content: center;
    }
 }