.wpwl-form {
    width: 100%;
    background-color: #f9f9f9;
    /* Gris claro */
    border-radius: 10px;
    /* Bordes redondeados para la tarjeta */
    padding: 10px;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
    /* Espacio interno dentro de la tarjeta */
    margin: 0 auto;
    /* Centrar la tarjeta horizontalmente */
    box-shadow: 0 4px 10px rgba(86, 86, 86, 0.2);
    /* Sombra sutil alrededor de la tarjeta */
    border: 0.2px solid #d8d8d8;
    /* Borde gris oscuro alrededor de la tarjeta */
    font-family: "Roboto", sans-serif;
    /* Fuente consistente */
}

/* Espaciado uniforme entre campos y etiquetas en móviles */
.wpwl-wrapper,
.customInput,
.wpwl-sup-wrapper {
    margin-bottom: 10px !important;
}

/* Asegura que todas las etiquetas tengan espacio inferior */
.wpwl-label,
.customLabel,
.msiLabel {
    display: block;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.2;
}

/* Inputs accesibles y cómodos para móviles */
.wpwl-control,
input.wpwl-control,
input.wpwl-wrapper-custom,
input.cphone,
input.cemail {
    height: 44px !important;
    font-size: 16px !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
}

/* Selects igual que los inputs */
select {
    height: 44px !important;
    font-size: 16px !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
}

.wpwl-control,
input.wpwl-control,
input.wpwl-wrapper-custom,
input.cphone,
input.cemail,
.wpwl-control-cardNumber {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    color: #333;
    font-size: .97em;
    height: 2.2em !important;
    max-width: 100%;
    padding: 0 .65em;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    vertical-align: middle;
    width: 100%;
}

.wpwl-control-cardNumber {
    height: 2.2em !important;
}

.wpwl-label.wpwl-label-cardNumber {
    margin-top: 50px;
}

.wpwl-wrapper-cardNumber {
    margin-top: 0px !important;
}

.amex-inputs,
.cpostcode,
.cemail,
.cphone {
    width: 100%;
}

.customInput input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #DB2429; /* Usa tu color de marca */
    cursor: pointer;
}

.wpwl-label,
.customlabel {
    font-family: "ff-good-headline-web-pro-con", "Pathway Gothic One", sans-serif;
    text-transform: none;
    color: #66666E;
    /* Gris oscuro */
}

.wpwl-button-pay,
.foo_layout_prosa {
    font-family: "ff-good-headline-web-pro-con", "Pathway Gothic One", sans-serif;

}

.foo_layout_prosa {
    color: #C0ACB4;
    /* Gris claro */
}

.wpwl-label,
.wpwl-label-cvv {
    font-size: 10px;
    color: #66666E;
    /* Gris oscuro */
}



.wpwl-hint {
    font-size: 10px;
    color: #C0ACB4;
    /* Gris claro */
}

.msiLabel {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #666;
}

.customInput {
    margin-bottom: 15px;
}

#bancoCombo,
#promoCombo {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

#bancoCombo select,
#promoCombo select {
    width: 100%;
    padding: 8px;
    border: 1.5px solid #C0ACB4;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    font-family: "Roboto", sans-serif;
}

#bancoCombo label,
#promoCombo label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
}

.billing-summary {
    background: #f9f9f9;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.billing-summary .billing-text {
    flex: 1;
    min-width: 200px;
}

.edit-billing-btn {
    background-color: #f9f9f9;
    color: #DB2429;
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    height: fit-content;
}

.edit-billing-btn .fa-icon {
    width: 16px;
    height: 16px;
    fill: #DB2429;
}


@media screen and (max-width: 480px) {
    .wpwl-label-cvv {
        margin-top: -15px;
    }

    .wpwl-label-cardNumber {
        margin-top: -8px !important;
    }

}

@media (min-width: 480px) {


    .cnpBillingCheckoutWrapper {
        position: relative;
    }

    .cnpBillingCheckoutHeader {
        width: 100%;
        border-bottom: 1px solid #C0ACB4;
        /* Gris claro */
        margin-bottom: 10px;
    }

    .cnpBillingCheckoutLeft {
        width: 240px;
        margin-left: 5px;
        margin-bottom: 10px;
        border: 1px solid #C0ACB4;
        /* Gris claro */
        display: inline-block;
        vertical-align: top;
        padding: 10px;
    }

    .cnpBillingCheckoutRight {
        width: 50%;
        margin-left: 5px;
        border: 1px solid #C0ACB4;
        /* Gris claro */
        display: inline-block;
        vertical-align: top;
        padding: 10px;
    }

    .cnpBillingCheckoutOrange {
        font-size: 110%;
        color: #DB2429;
        /* Rojo vibrante */
        font-weight: bold;
    }

    div.wpwl-wrapper,
    div.wpwl-label,
    div.wpwl-sup-wrapper,
    div.customLabel {
        width: 100%;
    }

    div.wpwl-group-expiry {
        width: 30%;
        float: left;
        height: auto;
    }

    div.wpwl-group-cvv {
        width: 68%;
        float: left;
        margin-left: 2%;
    }

    div.wpwl-group-cardHolder,
    div.wpwl-sup-wrapper-street1,
    div.wpwl-group-expiry {
        clear: both;
    }

    div.wpwl-sup-wrapper-street1 {
        padding-top: 1px;
    }

    /* div.wpwl-wrapper-brand {
        width: auto;
    } */

    div.wpwl-sup-wrapper-state,
    div.wpwl-sup-wrapper-city {
        width: 32%;
        float: left;
        margin-right: 2%;
    }

    div.wpwl-sup-wrapper-postcode {
        width: 32%;
        float: left;
    }

    div.wpwl-sup-wrapper-country {
        width: 66%;
    }

    div.wpwl-group-cardNumber {
        width: 60%;
        float: left;
        font-size: 20px;
        margin-top: -50px !important;
    }


}

.wpwl-button-pay {
    min-width: 100%;
    min-height: 60px;
    background-color: #DB2429; /* Rojo vibrante */
    color: white;
    margin: 0 auto;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra elegante */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.wpwl-button-pay:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3); /* Sombra más profunda al pasar el cursor */
    transform: translateY(-2px); /* Efecto de elevación */
}

.wpwl-button-pay:active {
    transform: translateY(0); /* Vuelve al lugar al hacer clic */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Contenedor del número de tarjeta y marcas */
div.wpwl-group-cardNumber {
    width: 60%;
    float: left;
    font-size: 20px;
    position: relative;
}

/* Oculta los logos por defecto de Prosa */
div.wpwl-wrapper-brand,
div.wpwl-label-brand,
div.wpwl-brand {
    display: none !important;
}

/* Contenedor del número de tarjeta y marcas */
div.wpwl-group-cardNumber {
    width: 100%;
    float: left;
    font-size: 20px;
}

/* Contenedor para insertar logos personalizados */
div.wpwl-group-brand {
    width: 20%;
    float: left;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -100px;
    z-index: 999;
}

/* Imagen individual del logo personalizado */
.wpwl-brand-custom {
    display: none;
    width: 48px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
}
/* === Logos individuales === */
/* /* .wpwl-brand-VISA {
    background-image: url('../images/visa_brand.png');
} */

.wpwl-brand-MASTER {
    background-image: url('../images/mc_brand.png');
}

.wpwl-brand-AMEX {
    background-image: url('../images/amex_brand.png');
}

.wpwl-brand-CARNET {
    background-image: url('../images/carnet_brand.png');
}

.wpwl-brand-DISCOVER {
    background-image: url('../images/discover_brand.png');
}
 
/* Asegura que el logo se alinee bien con los inputs */
@media screen and (max-width: 480px) {
    div.wpwl-group-brand {
        
        margin-top: 5px;
        justify-content: center;
    }

    .wpwl-label-expiry {
        position: relative;
        z-index: 1;
    }

    .wpwl-wrapper-cardNumber {
        position: relative;
        z-index: 12;
    }

    .wpwl-group-cardNumber {
        position: relative;
        z-index: 10;
    }
}

