.wi-invitation {
    text-align: center;
    font-family: "Open Sans", Sans-serif;

}

.wi-invitation h2 { 
    font-size: 2rem;
} 

.wi-invitation p { 
    font-size: 1rem;
    font-weight: 300!important;
} 

.wi-btn {
    padding: 12px 20px;
    margin: 20px 10px;
    font-size: 16px;
    cursor: pointer;
}
/* ===============================
   BOTÓN PRINCIPAL
================================= */

.wi-open-popup {
    background: #4A6360;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.wi-open-popup:hover {
    background: #3d5351;
    transform: translateY(-2px);
}


/* ===============================
   POPUP OVERLAY
================================= */

.wi-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(74, 99, 96, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.wi-extra-fields{
    display:none;
}


/* ===============================
   CONTENIDO POPUP
================================= */

.wi-popup-content {
    background: #ffffff;
    max-width: 480px;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 2px solid #C6D7CF;
    animation: popupFade 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popupFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===============================
   TÍTULO
================================= */

.wi-popup-content h3 {
    font-family: "Playfair Display", serif;
    color: #4A6360;
    font-size: 24px;
    margin-bottom: 25px;
}


/* ===============================
   CERRAR
================================= */

.wi-popup-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #4A6360;
    transition: 0.2s;
}

.wi-popup-close:hover {
    opacity: 0.6;
}


/* ===============================
   INPUTS
================================= */

.wi-popup input,
.wi-popup textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 8px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #C6D7CF;
    font-size: 15px;
    background: #f9fbfa;
    transition: all 0.2s ease;
}

.wi-popup input:focus,
.wi-popup textarea:focus {
    border-color: #4A6360;
    background: #ffffff;
    outline: none;
}


/* ===============================
   BOTONES DEL POPUP
================================= */

.wi-submit {
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 8px;
    transition: all 0.3s ease;
}

/* Confirmar */
.wi-submit[data-response="accepted"] {
    background: #4A6360;
    color: #ffffff;
}

.wi-submit[data-response="accepted"]:hover {
    background: #3d5351;
    transform: translateY(-2px);
}

/* Rechazar */
.wi-submit[data-response="declined"] {
    background: #C6D7CF;
    color: #4A6360;
}

.wi-submit[data-response="declined"]:hover {
    background: #b5c9c0;
}


/* ===============================
   MENSAJE POST RESPUESTA
================================= */

.wi-invitation h3 {
    font-family: "Open Sans", Sans-serif;
    color: #4A6360;
    font-size: 22px;
    margin-top: 25px;
}

/* ===============================
   RADIOS ELEGANTES Y FINOS
================================= */

.wi-radio-group {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
}

.wi-radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4A6360;
    cursor: pointer;
}

/* Reset limpio */
.wi-radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #4A6360;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 6px;
    margin-bottom: 7px;
}

/* Punto interno fino */
.wi-radio-group input[type="radio"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #4A6360;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.2s ease;
}

.wi-radio-group input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Hover suave */
.wi-radio-group input[type="radio"]:hover {
    border-color: #3d5351;
}


/* ===============================
   CAMPO ASISTENTES
================================= */

.wi-attending-wrapper {
    display: none;
}


/* ===============================
   BOTÓN ENVIAR
================================= */

.wi-send-form {
    background: #4A6360;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    font-size: 15px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.wi-send-form:hover {
    background: #3d5351;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ===============================
   BLOQUES DE RADIO
================================= */

.wi-radio-block {
    margin-bottom: 20px;
    text-align: center;
}

.wi-radio-block p {
    margin-bottom: 8px;
    font-weight: 500;
    color: #4A6360;
}

/* contenedor radios */
.wi-radio-block label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    cursor: pointer;
    font-size: 15px;
    color: #4A6360;
}

/* radio personalizado */
.wi-radio-block input {
     width: 14px!important;
}

.wi-radio-block input[type="radio"] {
    appearance: none;
    width: 14px!important;
    height: 14px;
    border: 1.5px solid #4A6360;
    border-radius: 50%;
    position: relative;
    padding: 8px!important;
    margin-bottom: 5px!important;
}

/* punto */
.wi-radio-block input[type="radio"]::after {
    content: "";
    width: 6px;
    height: 6px;
    background: #4A6360;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.wi-radio-block input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}


/* ===============================
   MOBILE
================================= */

@media (max-width: 767px) {

    .wi-popup-content {
        padding: 25px;
        margin: 10% 15px;
    }

    .wi-radio-block label {
        display: inline-flex;
    }

    .wi-send-form {
        width: 100%;
    }

    .wi-radio-block input[type="radio"] { 
        padding: 8px!important;
        margin-bottom: 5px!important;
    }

    .fecha:before {
        right: -20%!important;
    }
    .fecha:after {
        left: -20%!important;
    }
    .icono {
    display: flex;
    flex-wrap: wrap;
    max-width: 50px;
    justify-content: center;
    margin: 0 auto;
    }
}

.iban h4 {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none!important;
}