*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --primary-color:#e53ea2;
    --secondary-color:#E0027A;
    --tertiary-color: #FFE0F9;
    --white-color: #ffffff;
    --black-color: #000000;
    --gray-color: #707070;
    --red-color: #ff0000;
    --border-radius: 20px;
    --font-size-xs: 0.75rem; /* 12px */
    --line-height-xs: 1rem; /* 16px */
    --font-size-sm: 0.875rem; /* 14px */
    --line-height-sm: 1.25rem; /* 20px */
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.5rem; /* 24px */
    --font-size-lg: 1.125rem; /* 18px */
    --line-height-lg: 1.75rem; /* 28px */
    --font-size-xl: 1.25rem; /* 20px */
    --line-height-xl: 1.75rem; /* 28px */
    --font-size-2xl: 1.5rem; /* 24px */
    --line-height-2xl: 2rem; /* 32px */
}

@font-face {
    font-family: "Corporative Sans RD";
    src: url('/fonts/corporativesansrd-black.otf') format('opentype');
    font-weight: 900;
}

@font-face {
    font-family: "Corporative Sans RD";
    src: url('/fonts/corporativesansrd-bold.otf') format('opentype');
    font-weight: 700;
}

@font-face {
    font-family: "Corporative Sans RD";
    src: url('/fonts/corporativesansrd-boldit.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Corporative Sans RD";
    src: url('/fonts/corporativesansrd-medium.otf') format('opentype');
    font-weight: 500;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Corporative Sans RD";
    font-weight: 700;
    font-size: 16px;
}

hr {
    width: 25%;
    height: 3px !important;
    background: var(--secondary-color);
    opacity: 1;
}


/**
*
* text
*
*/

.text-xs {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-sm);
}

.text-md {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

.text-lg {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-lg);
}

.text-xl {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-xl);
}

.text-2xl {
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-2xl);
}

.font-900 {
    font-weight: 900;
}

.font-700 {
    font-weight: 700;
}

.font-500 {
    font-weight: 500;
}
/**
*
* Landings
*
*/

.title-landing {
    font-weight: 700;
}

.landing-v1 {
    background-color:  var(--white-color);
    min-height: calc(100vh - 143px);

}
.landing-v1 .message {
    font-size: 1.1rem;
}

.landing-v1 .icon-h {
    font-size: 32px;
}


.landing-v2 {
    background-image: url("/img/landings/bg.jpg");
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    height: 100vh;
    color: var(--white-color);
}

.landing-v2 .message {
    font-size: 1.1rem;
}

@media (min-width: 576px) {
    .landing-v2 .message {
        width: 80vw;
    }
}

@media (min-width: 768px) {
    .landing-v2 .message {
        width: 75vw;
    }
}

@media (min-width: 992px) {
    .landing-v2 .message {
        width: 70vw;
    }
}

@media (min-width: 1200px) {
    .landing-v2 .message {
        width: 60vw;
    }
}

@media (min-width: 1400px) {
    .landing-v2 .message {
        width: 45vw;
    }
}


/**
*
* Pagina soporte
*
*/

.support .icon {
    font-size: 2rem;
}

.support hr {
    height: 1px !important;
    width: 100%;
}

/**
*
* Botones
*
*/

.btn-periodicity {
    font-family: "Corporative Sans RD";
    font-weight: 900;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    border-radius: var(--border-radius);
    border: 0px;
    color: var(--black-color);
    background-color: #EBEBEB;
    padding: 6px 20px;
    text-align: center;
}

@media (max-width: 576px) {
    .btn-periodicity {
        font-size: calc(var(--font-size-base) * 0.85); /* Reduce el tamaño de la fuente */
        padding: 4px 16px; /* Reduce el relleno */
    }
}

.btn-periodicity:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    cursor: pointer;
}

.btn-check:checked + .btn-periodicity:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    cursor: pointer;
}

.btn-check:checked + .btn-periodicity {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn {
    font-family: "Corporative Sans RD";
    font-weight: 900;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    border-radius: var(--border-radius);
    border: 0;
    padding: 6px 20px;
    text-transform: uppercase;
}

.btn:focus {
    box-shadow: none;
}


.btn-normal-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 9rem;
}
.btn-normal-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-normal-secondary {
    background-color: var(--black-color);
    color: var(--white-color);
    width: 9rem;
}

.btn-normal-secondary:hover  {
    color: var(--white-color);
    background: var(--gray-color);
}


.btn-icon {
    display: flex;
    background: var(--white-color);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-icon:hover {
    color: var(--secondary-color);
    background: var(--tertiary-color);
}

.btn-icon .icon {
    font-size: 16px;
}

/**
*
* inputs
*
*/

.input {
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    padding-left: 10px;
    width: 100%;
}

.input:focus {
    outline-color: var(--secondary-color);
}

/**
*
* label
*
*/

.label {
    font-family: "Corporative Sans RD";
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/**
*
* checkbox
*
*/

input[type="checkbox"].form-check-input {
    border-color: var(--primary-color);
    box-shadow: none;
}

input[type="checkbox"]:checked.form-check-input {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
}


/**
*
* radio
*
*/

input[type="radio"].form-check-input {
    border-color: var(--primary-color);
    box-shadow: none;
}

input[type="radio"]:checked.form-check-input {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: none;
}


/**
*
* icons
*
*/

.icon-exclamation-triangle {
    font-size: 5rem;
    color: var(--red-color);
}


/**
*
* text-color
*
*/

.text-pink {
    color: var(--primary-color);
}

.text-red {
    color: var(--red-color);
}

.text-black {
    color: var(--black-color);
}

.text-white {
    color: var(--white-color);
}

/**
*
* contenedor centrado
*
*/

.box {
    min-height: calc(100vh - 143px);
}

@media (min-width: 576px) {
    .box {
        width: 45rem;
    }
  }


/**
*
* recarga resumen
*
*/

.icon-summary {
    font-size: 36px;
}

.title-summary {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--white-color);
}

/**
*
* recarga title
*
*/

.title-recharge {
    font-size: 30px;
    line-height: 34px;
    font-family: "Corporative Sans RD";
    font-weight: 900;
  }

  @media (max-width: 390px) {
    .title-recharge {
      font-size: 24px;
      line-height: 28px;
    }
  }
/**
*
* steps
*
*/

  .steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
  }

    .step-title {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 8rem;
            height: 2rem;
        }
    .step-button {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: none;
            background-color: #EBEBEB;
            transition: .4s;
        }
        .step-button.current {
            width: 16px;
            height: 16px;
            background-color: var(--primary-color);
            color: var(--white-color);
        }

    .step-item {
            z-index: 10;
            text-align: center;
        }

        @media (max-width: 768px) {
            .step-title {
                display: none;
            }
        }

    .done {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

    #progress {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        position: absolute;
        width: 65%;
        z-index: 5;
        height: 2px;
        margin-top: 2.9rem;
    }

    #progress::-webkit-progress-value {
        background-color: var(--primary-color);
        transition: .5s ease;
    }
    #progress::-webkit-progress-bar {
        background-color: #EBEBEB;
    }

    /* Propiedades adicionales */

    .steps-count {
        font-size: 1.2rem;
        margin-bottom: .5rem;
    }
    .step-status {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .step-status.completed {
        color: var(--primary-color);
    }
    .step-status.pending {
        color: var(--white-color);
    }
    .step-status.in-progress {
        color: var(--primary-color);
    }

    @media (max-width: 768px) {
        #progress {
            margin-top: 0rem;
            margin-bottom: 0.1rem;
        }
    }


/**
*
* Loading
*
*/


    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      .spinner-border {
        border-color: var(--primary-color);
        border-right-color: transparent;
      }

/**
*
* Formulario de pago
*
*/

    .secure-fields {
        height: 34px;
    }


/**
*
* Captcha
*
*/
    .captcha {
        max-width: 270px;
        margin: 0 auto;
    }
    .captcha .refresh-captcha {
        font-size: 1.6rem;
        cursor: pointer;
    }
    .captcha-image {
        width: 10rem;
        height: 3rem;
    }

/**
*
* Footer
*
*/

footer {
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    font-size: 13px;
    color: var(--black-color);
}

footer img {
    margin-bottom: 10px;
}

footer p  {
    margin-bottom: 0;
}

footer a {
    color: var(--black-color);
    text-decoration: none;
    color: var(--gray-color);
}

footer a:hover {
    color: var(--black-color);
}

footer .link {
    font-weight: 500;
    color: var(--gray-color);
}





.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
  }

  .colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
  }

  .colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
  }

  .colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
  }

  .colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
  }

  .colored-toast .swal2-title {
    color: white;
  }

  .colored-toast .swal2-close {
    color: white;
  }

  .colored-toast .swal2-html-container {
    color: white;
  }

  .time-out-button {
    color: var(--black-color) !important;
    border: 2px solid var(--black-color) !important;
    box-shadow: none !important;
  }

  .bg-pink {
    background: var(--primary-color);
  }
