.besem-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.besem-event-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.besem-event-card h3 {
    margin-top: 0;
}

.besem-event-link {
    display: inline-block;
    margin-top: 12px;
    color: #2563eb;
}

.besem-vote-form {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.besem-vote-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
}

.besem-vote-form input,
.besem-vote-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    margin-bottom: 18px;
}

.besem-vote-form button {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 16px;
    border-radius: 999px;
    background: #D4AF37;
    color: #111827;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* Feda Checkout : conteneur du widget de paiement intégré (iframe hébergé
 * injecté par checkout.js, dont le CSS interne impose .modal__iframe{height:100%}).
 * Hauteur explicite obligatoire, sinon l'iframe s'affiche à 0. */
.besem-feda-checkout {
    display: block;
    width: 100%;
    height: 560px;
    max-height: 72vh;
    margin: 16px 0 4px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 18px;
    background: #fff;
}

.besem-feda-checkout[hidden] {
    display: none;
}

.besem-payment-hint {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.besem-feda-checkout iframe,
.besem-feda-checkout .modal__iframe {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    border: 0;
    background: #fff;
}

@media (max-width: 520px) {
    .besem-feda-checkout {
        height: 520px;
        border-radius: 12px;
    }
}

