@font-face {
    font-family: 'Helvetica';
    src: url('/assets/fonts/HelveticaNeue-Condensed.woff') format('woff'),
        url('/assets/fonts/HelveticaNeue-Condensed.ttf') format('ttf');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Androgyne';
    src: url('/assets/fonts/Androgyne_TB.otf') format('woff');
    font-weight: 100;
    font-style: normal;
}


body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffbfb;
    overflow-x: hidden;
}

header {
    background: #ed1c27;
    padding: 20px;
    text-align: left;
    margin-bottom: 50px;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="number"] {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 3px;
    border-radius: 20px;
    width: 80%;
    box-sizing: border-box;
    background: #ccc0;
}

.select-container {
    position: relative;
    width: 100%;
}

select {
    width: 55%;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    background: #ccc0;
    padding: 10px;
}

.cuotas {
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    background: #ccc0;
}

a {
    font-size: 22px;
}

select::-ms-expand {
    display: none;
}

.tipoUso,
.tipoUsoDolares,
.moneda {
    width: 70%;
}

.select-container::after {
    content: '\25BC';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.img-header {
    margin: 5px 100px;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    justify-content: center;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 70%;
}

.section-title {
    font-family: Androgyne !important;
    font-size: 50px;
    margin-bottom: 20px;
    color: #565454;
    text-align: center;
    margin-top: 30px;
}

.section-title,
.section-title2 {
    display: contents;
}

.section-title2 {
    font-family: Androgyne !important;
    font-size: 50px;
    margin-bottom: 20px;
    color: #f01;
    text-align: center;
    margin-top: 30px;
}

.section-text-desktop {
    font-size: 22px;
    margin-bottom: 20px;
    color: #565454;
    text-align: center;
    font-weight: 400;
}


.form-group {
    margin-bottom: 20px;
}

.form-button {
    margin-bottom: 20px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.section-content-form {
    display: flex;
    color: #595959;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 80px 0;
}

.form-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60%;
    width: 80%;
    object-fit: cover;
}

.form-simulator {
    background: #eeeeee;
    width: 80%;
    border-radius: 0px 0px 25px 25px;
}

.form {
    margin: 0 auto;
    width: 50%;
    margin-bottom: 5%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.text-image-container {
    display: flex;
    align-items: center;
}

.text-image-container p {
    margin-right: 10px;
}

.pregunta {
    width: 20px;
    height: auto;

}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip {
    visibility: hidden;
    width: 150px;
    text-align: justify;
    background-color: rgb(37, 37, 37);
    color: #fff;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


.form-select:focus {
    outline: none;
}

.form-select::-ms-expand {
    display: none;
}

.form-group .help-icon {
    position: relative;
    top: -2px;
    right: 10px;
    cursor: pointer;
}

.section-content-tipstc {
    display: flex;
    flex-direction: row;
    margin: 30px 0;
    align-items: center;
}

.img-tipstc {
    width: 80%;
    margin-right: 20px;
}

.content-tipstc {
    flex: 1;
}

.content-tip {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.list_div {
    list-style-type: none;
    padding: 0 4%;
}

.list_div li {
    display: block;
    background-image: url(/tarjetadecredito/assets/img/logos/arrow_icon_li.png);
    background-repeat: no-repeat;
    background-position: left 5px;
    text-align: left;
    background-size: 1.3em;
    padding-left: 2em;
    margin: 1rem 0rem;
    display: flex;
    align-items: center;
}


@media (max-width: 576px) {

    .section-title,
    .section-title2,
    .section-content-tittle {
        font-size: 3rem;
    }

    .info-box a {
        font-size: 0.9em;        
    }

    .container-tips {
        padding: 10px;
    }
}

button {
    background: #ff0011;
    border: 0;
    border-radius: 50px;
    height: 40px;
    font-weight: 600;
    color: #fff;
    width: 20%;
    letter-spacing: 1px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
}

.info-box {
    margin-bottom: 15px;
}

.info-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-box p {
    margin-bottom: 5px;
}

.info-box a {
    background: #ff0011;
    border: 0;
    border-radius: 50px;
    height: 40px;
    font-weight: 600;
    color: #fff;
    width: 20%;
    letter-spacing: 1px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.info-box a:hover {
    text-decoration: underline;
}

.img-fluid {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 110%;
    margin-bottom: 50px;
}

.section-content-tittle {
    margin-bottom: 50px;
    text-align: center;
}

/* Footer */
.footerbg {
    background-color: black;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

.footerbox {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footervigilado,
.footerderechos,
.footerseparator {
    flex: 1;
    text-align: center;
}

.footertext {
    margin: 0;
    color: #fff;
    font-weight: 400;
}

.logofooter img {
    max-width: 300px;
    height: auto;
}

.line {
    width: 100%;
    border-bottom: 2px solid #ccc;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

.card-options {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.card-option {
    text-align: center;
    width: 70px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 30px;
}


.card-option img {
    width: 80px;
    margin-top: -15px;

}


/*RESPONSIVE*/




/* Estilos para móviles */
@media (max-width: 767px) {

    .header {
        text-align: center;
        padding: 10px;
    }

    .img-header {
        max-width: 80%;
        height: auto;
    }

    .slidebanners {
        text-align: center;
    }

    .card-image {
        width: 100%;
        height: auto;
    }

    .section-content {
        padding: 15px;
    }

    .section-text-mobile {
        font-size: 0.9em;
        line-height: 1.5;
        color: #565454;
        text-align: center;
    }

    .section-content-form {
        padding: 15px;
    }

    .form-img {
        display: none;
        /* Oculta la imagen de fondo en móviles */
    }

    .form {
        margin-bottom: 5%;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group p {
        font-size: 0.9em;
    }

    input[type="text"],
    select {
        box-sizing: border-box !important;
        margin-bottom: -20px !important;
    }

    .btnPregunta,
    .btnPregunta2,
    .btnPregunta4 {
        display: none;
        /* Oculta los iconos de ayuda en móviles */
    }

    .card-options {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .card-option img {
        width: 60px;
        height: auto;
    }

    .topBuffer20 {
        margin-top: 0px;
    }

    .cuotas {
        width: 100%;
    }

    .fechaCorte,
    .js-datepicker {
        width: 100%;
    }

    .form-button {
        margin-top: 20px;
    }

    .btnCalcular {
        width: 60%;
        padding: 15px;
        font-size: 1.1em;
    }

    .fuenteMovil {
        font-size: 0.8em;
    }

    .fuenteErrorMovil {
        font-size: 0.8em;
    }

    .section-content-tipstc {
        display: flex;
        flex-direction: column;
        margin: 30px 0;
        align-items: stretch;
        justify-content: center;
    }
}

/* Estilo por defecto (escritorio) */
.form-img-desktop {
    display: block;
}

.form-img-mobile {
    display: none;
}

/* Estilo para dispositivos móviles */
@media (max-width: 767px) {
    .form-img-desktop {
        display: none;
    }

    .form-img-mobile {
        display: block;
    }
}

/* Estilos para tablets (pantallas entre 768px y 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {


    .header {
        padding: 20px;
    }

    .img-header {
        max-width: 60%;
    }

    .slidebanners {
        text-align: center;
    }

    .card-image {
        width: 100%;
        height: auto;
    }

    .section-content {
        padding: 20px;
    }

    .section-title,
    .section-title2 {
        font-size: 2rem;
    }

    .section-text {
        font-size: 1em;
    }

    .section-content-form {
        padding: 20px;
    }

    .form-img {
        display: none;
    }

    .form-group p {
        font-size: 1em;
    }

    .btnPregunta,
    .btnPregunta2,
    .btnPregunta4 {
        display: inline-block;
    }

    .card-options {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
    }



    .topBuffer20 {
        margin-top: 20px;
    }

    .cuotas {
        width: 100%;
    }

    .fechaCorte,
    .js-datepicker {
        width: 100%;
    }

    .form-button {
        margin-top: 20px;
    }

    .btnCalcular {
        width: 100%;
        padding: 15px;
        font-size: 1.1em;
    }

    .fuenteMovil {
        font-size: 1em;
    }

    .fuenteErrorMovil {
        font-size: 1em;
    }

    .section-content-tipstc {
        display: flex;
        flex-direction: column;
        margin: 30px 0;
        align-items: stretch;
        justify-content: center;
    }
}


.form-img:first-child {
    display: block;
}

.form-img:last-child {
    display: none;
}

#banner-superior:first-child {
    display: block;
}

#banner-superior:last-child {
    display: none;
}

.img-tipstc:first-child {
    display: block;
}

.img-tipstc:last-child {
    display: none;
}

.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.section-text-desktop {
    display: block;
}

.section-text-mobile {
    display: none;
}

.modal-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.button-red {
    width: 80%;
    margin: 1rem 0rem;
}

@media (max-width: 1920px) and (min-width: 1366px) {
    .form {
        width: 80%;
    }
}

/* Estilo para pantallas más pequeñas (hasta 10 pulgadas) */
@media (max-width: 1366px) {
    .form {
        width: 80%;
    }
}

/* Estilos para mobile */
@media only screen and (max-width: 768px) {

    input[type="text"] {
        border: 1px solid #ccc;
        border-radius: 50px;
        box-sizing: border-box;
        height: 10px;
        color: #7c7c7c;
        font-size: 10px !important;
    }

    select {
        border: 1px solid #ccc;
        border-radius: 50px;
        box-sizing: border-box;
        height: 22px;
        color: #7c7c7c;
        font-size: 10px !important;
        width: 100%;
        padding: unset;
    }

    #panelCalculadora {
        padding: 0.5rem;
    }

    a {
        color: #7c7c7c;
        text-decoration: none;
        font-size: 0.9em !important;
    }

    .tipoTarjeta .tipoUso,
    .tipoUsoDolares,
    .moneda {
        width: 100%;
    }

    .pregunta {
        width: 15px;
        height: auto;
    }

    .header {
        display: none;
    }

    .container {
        margin: 0 auto;
        width: 100%;
        padding: 0px;
    }

    .section-content {
        margin: 0 auto;
        width: 100%;
    }

    .section-content-form {
        display: flex;
        color: #595959;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin: 0px 0;
    }

    .form {
        margin-bottom: 5%;
        width: 100%;
    }

    h2 {
        text-align: center;
        font-size: 2rem !important;
    }

    p {
        font-size: 0.7em !important;
        font-weight: 600;
        color: #7c7c7c;
        /* min-height: 40px; */
    }

    .tooltip-container {
        /* min-height: 40px; */
    }

    .info-box {
        text-align: center;
    }

    .info-box a {
        font-size: 0.9em;
        width: 100%;
    }

    .card-option img {
        width: 100px;
        max-width: 200% !important;
        height: auto;
        margin-top: 0px;
    }

    .footerbox {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-items: center;
    }

    .footervigilado,
    .footerderechos,
    .footerseparator {
        flex: 1;
        text-align: center;
        margin-bottom: 5px;
    }

    .card-image {
        margin: 0 auto;
    }

    .form-img:first-child {
        display: none;
    }

    .form-img:last-child {
        display: block;
    }

    #banner-superior:first-child {
        display: none;
    }

    #banner-superior:last-child {
        display: block;
    }

    .img-tipstc:first-child {
        display: none;
    }

    .img-tipstc:last-child {
        display: block;
    }

    .img-tipstc {
        width: 95%;
        margin-bottom: 20px;
    }

    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

    .section-text-desktop {
        display: none;
    }

    .section-text-mobile {
        display: block;
    }

    .form-group {
        margin-bottom: -10px;
    }

    .section-title {
        display: flex;
        justify-content: center;
    }
    
    .custom-button-width{
        width: 100%;
    }

    .form-simulator {
        width: 100%;
    }

    .form-img {
        width: 100%;
    }

}