.visa {
    background: url(../images/visa.png) no-repeat;
    background-position: calc(100% - 6px) center;
    background-size: 42px;
}

.mastercard {
    background: url(../images/mastercard.png) no-repeat;
    background-position: calc(100% - 6px) center;
    background-size: 42px;
}

.discover {
    background: url(../images/discover.png) no-repeat;
    background-position: calc(100% - 6px) center;
    background-size: 42px;
}

.amex {
    background: url(../images/amex.png) no-repeat;
    background-position: calc(100% - 6px) center;
    background-size: 42px;
}

.diners {
    background: url(../images/diners.png) no-repeat;
    background-position: calc(100% - 6px) center;
    background-size: 42px;
}

.pciCreditCardCredimatic {
    height: 30px;
    width: 100%;
    margin-top: 8px;
    background: url(../images/tarjetas.png) no-repeat;
    background-position: center;
    background-size: contain;
}

.card-type-warning {
    margin-bottom: 10px;
    color: #b3b3b3;
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 14px;
    margin-top: 8px;
    margin-right: 12px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: -1px;
    bottom: -1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2a6498;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2a6498;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;

}

.slider.round:before {
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
}

.diferido {
    font-size: 12px;
    color: #b3b3ba;
    margin-left: 12px;
}

.btn-pago {
    background-color: #2a6498;
    font-size: 12px;
    color: white;
}

.btn-pago.focus, .btn-pago:focus, .btn:hover {
    color: white;
}

.switch-container {
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.poweredby {
    height: 22px;
    width: 100%;
    margin-top: 24px;
    background: url(../images/powered.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.errorpago {
    color: red;
    text-align: center;
    font-size: 12px;
    padding-top: 16px;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loading {
    position: absolute;
    top: 85px;
    height: 90vh;
    background: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#paybox_modal {
    height: fit-content;
}
.paybox_modal__close.demo-close{
    display: none;
}

/* Espaciado vertical entre campos — SOLO modal PagoPlux API REST */
#pagoplux-api-modal .input-group {
    margin-bottom: 12px;
}