@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap');

/*
 initialize rotation key frames,  
*/
@keyframes kf_spinner {
    to {
        transform: rotate(360deg)
    }
}/*
The page overlay DIV, you can style it as you like, 
*/
#page-overlay {
    /*
    basic styles
    */
    text-align: center;
    color: #1e73be;
    padding-top: 10px;
    font-size: .7em;
    display: block;
    background-color: #f5f5f5;
    
    /*
    important to work properly
    */
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999999999999;/* highest top level layer */
    
    /*
    required for fade-out/fade-in animation effect
    */
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out
}/*
show our loading layer
*/
#page-overlay.loading {
    opacity: .9;
    visibility: visible
}/*
hide our loading layer
*/
#page-overlay.loaded,
#page-overlay>span {
    opacity: 0
}/*
create the animated spinner
*/
#page-overlay.loading:before {
    /*
    required to work
    */
    content: '';
    box-sizing: border-box;
    position: absolute;/*
    centering the spinner on the page
    */
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;/*
    create the spinner with css, no image required :)
    */
    border-top: 2px solid #1e73be;
    border-right: 2px solid transparent;/*
    animate the spinner
    */
    animation: kf_spinner .6s linear infinite
}

.w-30 {
    width: 30%;
}
.w-50 {
    width: 50%;
}
.w-70 {
    width: 70%;
}
.w-100 {
    width: 100%;
}
.gap-12 {
    gap: 12px;
}
.d-flex {
    display: flex;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.justify-evenly {
    justify-content: space-evenly;
}
.justify-between {
    justify-content: space-between;
}
.align-items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.text-center {
    text-align: center;
}
.form-group {
    gap: 12px;
}
.stripe-form-donaciones * {
    font-weight: 400;
}
.stripe-form-donaciones fieldset {
    margin-bottom: 1rem;
    border-radius: 5px;
}
.stripe-form-donaciones .form-group {
  display: flex;
  margin-bottom: 1rem;
}
.stripe-form-donaciones .form-group input[type="text"] {
    
}
.stripe-form-donaciones .form-group input,
.stripe-form-donaciones .form-group select
 {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: solid 1px #ccc;
}
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

@media only screen and (max-width: 480px) {
    .form-group {
        flex-direction: column;
    }
    .w-30,
    .w-50,
    .w-70 {
        width: 100%;
    }
    
}

#stripe-form-donaciones-fieldset-frecuencia {
    display: none;
}

#stripe-form-donaciones-fieldset-datos-contacto {
    display: none;
}

#stripe-form-donaciones-fieldset-particular-empresa {
    display: none;
}

#stripe-form-donaciones-fieldset-formapago {
    display: none;
}

#stripe-form-donaciones-fieldset-formapago .radio-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


#stripe-form-donaciones-fieldset-formapago .pago-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Por defecto, ocupa todo el ancho */
    max-width: 200px; /* Máximo tamaño */
}

#stripe-form-donaciones-fieldset-formapago .pago-radio input[type="radio"] {
    display: none;
}

#stripe-form-donaciones-fieldset-formapago .pago-radio-active {
    border: 2px solid #1A9EDA;
}

#stripe-form-donaciones-importe-botonera {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

#stripe-form-donaciones-importe-botonera .btn {
    display: inline-block;
    min-width: 130px;
    padding: 10px 10px !important;
}

/* En pantallas más grandes, distribuir en mas columnas */
@media (min-width: 500px) {
    .pago-radio {
        width: 45%;
    }
    .cantidad-boton {
        width: auto;
    }
}