/* AFDIAG Événements — Frontend CSS */
.afdiag-evt-front { font-family: 'Work Sans', 'Segoe UI', Arial, sans-serif; }
.afdiag-evt-front * { box-sizing: border-box; }

.afdiag-evt-notice,
.afdiag-evt-notice-info { background: #f0f6fc; border-left: 4px solid #274C5B; padding: 14px 18px; border-radius: 0 6px 6px 0; margin-bottom: 20px; font-size: 14px; color: #444; }
.afdiag-evt-aucun { text-align: center; padding: 40px; background: #f8fbfc; border-radius: 10px; color: #888; border: 1.5px dashed #d0dde2; }
.afdiag-evt-titre-section { font-size: 20px; font-weight: 700; margin-bottom: 24px; border-bottom: 2px solid #fce6e7; padding-bottom: 10px; color: #274C5B; }

/* Cards événements */
.afdiag-evt-liste { display: flex; flex-direction: column; gap: 16px; }
.afdiag-evt-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 0; background: #fff; border: 1.5px solid #fce6e7; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: box-shadow .2s, border-color .2s; }
.afdiag-evt-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); border-color: #274C5B; }
.afdiag-evt-card.afdiag-evt-inscrit { border-color: #00843D; }
.afdiag-evt-card.afdiag-evt-complet { opacity: .7; }

/* Colonne date */
.afdiag-evt-card-date { background: #274C5B; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; text-align: center; min-width: 72px; }
.afdiag-evt-card-jour { font-size: 26px; font-weight: 900; line-height: 1; }
.afdiag-evt-card-mois { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .5px; margin-top: 2px; }
.afdiag-evt-card-annee { font-size: 10px; opacity: .7; margin-top: 2px; }

/* Corps */
.afdiag-evt-card-body { padding: 16px 18px; flex: 1; }
.afdiag-evt-card-titre { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #274C5B; }
.afdiag-evt-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; color: #666; margin-bottom: 8px; }
.afdiag-evt-card-meta span { display: flex; align-items: center; gap: 4px; }
.afdiag-evt-card-meta .afdiag-badge { padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.afdiag-badge-gratuit { background: #d1fae5; color: #065f46; }
.afdiag-badge-payant { background: #fff3cd; color: #856404; }
.afdiag-badge-complet { background: #fce6e7; color: #E30613; }
.afdiag-badge-places { background: #e8f5e9; color: #1b5e20; }
.afdiag-badge-dept { background: #e8f0fe; color: #274C5B; }
.afdiag-evt-card-desc { font-size: 13px; color: #555; line-height: 1.6; margin-top: 8px; }

/* Action */
.afdiag-evt-card-action { padding: 16px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 150px; border-left: 1px solid #fce6e7; }

/* Boutons */
.afdiag-evt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all .2s; white-space: nowrap; font-family: inherit; }
.afdiag-evt-btn-participer, .afdiag-evt-btn-primary { background: #E30613; color: #fff; }
.afdiag-evt-btn-participer:hover, .afdiag-evt-btn-primary:hover { background: #c00510; color: #fff; }
.afdiag-evt-btn-annuler { background: #fff; color: #E30613; border: 1.5px solid #E30613; }
.afdiag-evt-btn-annuler:hover { background: #fce6e7; }
.afdiag-evt-badge-inscrit { color: #00843D; font-weight: 700; font-size: 12px; background: #d1fae5; padding: 4px 10px; border-radius: 20px; }
.afdiag-evt-badge-complet { color: #E30613; font-weight: 700; font-size: 12px; background: #fce6e7; padding: 4px 10px; border-radius: 20px; }

/* Modal */
.afdiag-evt-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.afdiag-evt-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99998; }
.afdiag-evt-modal-inner { background: #fff; border-radius: 12px; width: 580px; max-width: 95vw; max-height: 90vh; overflow-y: auto; z-index: 99999; position: relative; }
.afdiag-evt-modal-header { background: #274C5B; color: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-radius: 12px 12px 0 0; }
.afdiag-evt-modal-header h2 { margin: 0; color: #fff; font-size: 17px; font-weight: 700; }
/* × dans le header : petit bouton carré blanc */
.afdiag-evt-modal-header .afdiag-evt-modal-close { background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 0; line-height: 1; border-radius: 6px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.afdiag-evt-modal-header .afdiag-evt-modal-close:hover { background: rgba(255,255,255,.25); }
.afdiag-evt-modal-body { padding: 24px; }
.afdiag-evt-modal-body h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; color: #274C5B; }

.afdiag-evt-form-row { margin-bottom: 14px; }
.afdiag-evt-form-row label { display: block; font-size: 13px; font-weight: 600; color: #274C5B; margin-bottom: 4px; }
.afdiag-evt-form-row input { width: 100%; padding: 8px 10px; border: 1.5px solid #d0dde2; border-radius: 7px; font-size: 14px; font-family: inherit; }
.afdiag-evt-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afdiag-evt-readonly { background: #f6f7f7 !important; color: #50575e; cursor: not-allowed; }
.afdiag-evt-prefilled { background: #f8fbfc; border: 1.5px solid #d0dde2; border-radius: 8px; padding: 14px; margin-bottom: 16px; }
.afdiag-evt-prefilled .description { font-size: 12px; color: #888; margin: 8px 0 0; }

/* Accompagnants */
.afdiag-evt-accompagnants-section { margin-bottom: 18px; }
.afdiag-evt-acc-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.afdiag-evt-acc-row input { padding: 8px 10px; border: 1.5px solid #d0dde2; border-radius: 7px; font-family: inherit; font-size: 13px; }
.afdiag-evt-acc-remove { background: #fff; color: #E30613; border: 1.5px solid #E30613; border-radius: 7px; padding: 6px 10px; cursor: pointer; font-size: 16px; line-height: 1; }
.afdiag-evt-acc-remove:hover { background: #fce6e7; }

/* Paiement notice */
.afdiag-evt-paiement-notice { background: #fff3cd; border: 1.5px solid #ffc107; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.afdiag-evt-paiement-notice p { margin: 4px 0; font-size: 14px; color: #856404; }

/* Form actions : Confirmer + Annuler bien séparés */
.afdiag-evt-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.afdiag-evt-form-actions #afdiag-evt-submit-inscr { flex: 1 1 auto; }
.afdiag-evt-btn-fermer { flex: 0 0 auto; min-width: 100px; width: auto !important; height: auto !important; background: #fff !important; color: #E30613 !important; border: 1.5px solid #E30613 !important; font-size: 13px; padding: 10px 18px; border-radius: 8px; opacity: 1 !important; }
.afdiag-evt-btn-fermer:hover { background: #fce6e7 !important; }
#afdiag-evt-inscr-msg { font-size: 13px; color: #E30613; }
#afdiag-evt-inscr-msg.success { color: #00843D; }

/* Mes inscriptions */
.afdiag-evt-liste-inscriptions { display: flex; flex-direction: column; gap: 12px; }
.afdiag-evt-inscr-card { background: #fff; border: 1.5px solid #fce6e7; border-radius: 10px; padding: 16px 20px; }
.afdiag-evt-inscr-card.afdiag-evt-statut-annule { opacity: .6; }
.afdiag-evt-inscr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.afdiag-evt-inscr-header strong { font-size: 15px; color: #274C5B; }
.afdiag-evt-statut-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #d1fae5; color: #065f46; }
.afdiag-evt-inscr-details { font-size: 13px; color: #666; }

/* Bloc désabonnement */
.afdiag-evt-unsub-block { margin-top: 32px; padding-top: 20px; border-top: 1px dashed #ddd; }
.afdiag-evt-unsub-inner { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; background: #f8fbfc; border: 1.5px solid #d0dde2; border-radius: 10px; padding: 14px 18px; }
.afdiag-evt-unsub-icon { font-size: 20px; flex-shrink: 0; padding-top: 2px; }
.afdiag-evt-unsub-text { flex: 1; font-size: 13px; color: #555; line-height: 1.6; min-width: 200px; }
.afdiag-evt-unsub-text strong { color: #274C5B; }
.afdiag-evt-unsub-btn { flex-shrink: 0; font-size: 13px; padding: 7px 14px; border-radius: 7px; border: 1.5px solid; cursor: pointer; font-weight: 600; white-space: nowrap; background: transparent; transition: all .2s; font-family: inherit; }
.afdiag-evt-unsub-btn-unsub { border-color: #c3c4c7; color: #50575e; }
.afdiag-evt-unsub-btn-unsub:hover { background: #f0f0f1; }
.afdiag-evt-unsub-btn-resub { border-color: #00843D; color: #00843D; }
.afdiag-evt-unsub-btn-resub:hover { background: #d1fae5; }
.afdiag-evt-unsub-msg { font-size: 13px; align-self: center; color: #274C5B; font-weight: 600; }

/* Photo carte */
.afdiag-evt-card-photo { border-radius: 10px 10px 0 0; overflow: hidden; grid-column: 1 / -1; }
.afdiag-evt-card-photo img { width: 100%; height: 160px; object-fit: cover; display: block; }

/* Messages de retour paiement CAWL */
.afdiag-evt-retour-success,
.afdiag-evt-retour-pending { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 10px; margin-bottom: 24px; }
.afdiag-evt-retour-success { background: #d1fae5; border: 1.5px solid #00843D; }
.afdiag-evt-retour-pending { background: #fff3cd; border: 1.5px solid #f0a500; }
.afdiag-evt-retour-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.afdiag-evt-retour-texte { font-size: 14px; line-height: 1.6; color: #1d2130; }
.afdiag-evt-retour-success .afdiag-evt-retour-texte strong { color: #00843D; }
.afdiag-evt-retour-pending .afdiag-evt-retour-texte strong { color: #856404; }

/* Historique inscriptions annulées */
.afdiag-evt-historique-toggle { background: none; border: 1.5px dashed #ccc; color: #999; border-radius: 8px; padding: 8px 16px; font-size: 13px; cursor: pointer; font-family: inherit; transition: all .2s; }
.afdiag-evt-historique-toggle:hover { border-color: #999; color: #555; background: #f8f8f8; }
.afdiag-evt-inscr-card-annulee { opacity: .5; border-color: #eee !important; }
.afdiag-evt-badge-annulee { background: #f0f0f0 !important; color: #999 !important; }

/* ── Modale de confirmation annulation ── */
.afdiag-evt-confirm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99998; }
#afdiag-evt-confirm-modal { z-index: 99999; }
.afdiag-evt-confirm-inner { background: #fff; border-radius: 16px; padding: 36px 32px 28px; width: 420px; max-width: 92vw; text-align: center; box-shadow: 0 8px 40px rgba(0,0,0,.18); }
.afdiag-evt-confirm-icon { font-size: 44px; margin-bottom: 12px; line-height: 1; }
.afdiag-evt-confirm-titre { font-size: 18px; font-weight: 700; color: #274C5B; margin: 0 0 10px; }
.afdiag-evt-confirm-msg { font-size: 14px; color: #555; line-height: 1.6; margin: 0 0 24px; }
.afdiag-evt-confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.afdiag-evt-confirm-actions .afdiag-evt-btn { min-width: 140px; }

@media (max-width: 640px) {
    .afdiag-evt-card { grid-template-columns: 1fr; }
    .afdiag-evt-card-date { flex-direction: row; gap: 8px; padding: 12px 16px; }
    .afdiag-evt-card-action { border-left: none; border-top: 1px solid #fce6e7; flex-direction: row; align-items: center; justify-content: flex-start; min-width: unset; }
    .afdiag-evt-2col { grid-template-columns: 1fr; }
    .afdiag-evt-acc-row { grid-template-columns: 1fr 1fr; }
    .afdiag-evt-unsub-inner { flex-direction: column; }
}
.afdiag-evt-front * { box-sizing: border-box; }

.afdiag-evt-notice,
.afdiag-evt-notice-info { background: #f0f6fc; border-left: 4px solid #0073aa; padding: 14px 18px; border-radius: 0 6px 6px 0; margin-bottom: 20px; }
.afdiag-evt-aucun { text-align: center; padding: 40px; background: #f9f9f9; border-radius: 8px; color: #666; }
.afdiag-evt-titre-section { font-size: 22px; font-weight: 700; margin-bottom: 24px; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; }

/* Cards événements */
.afdiag-evt-liste { display: flex; flex-direction: column; gap: 20px; }
.afdiag-evt-card { display: grid; grid-template-columns: 80px 1fr auto; gap: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: box-shadow .2s; }
.afdiag-evt-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.afdiag-evt-card.afdiag-evt-inscrit { border-color: #00a32a; }
.afdiag-evt-card.afdiag-evt-complet { opacity: .75; }

.afdiag-evt-card-date { background: #0073aa; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 10px; text-align: center; min-width: 80px; }
.afdiag-evt-card-jour { font-size: 28px; font-weight: 900; line-height: 1; }
.afdiag-evt-card-mois { font-size: 13px; text-transform: uppercase; font-weight: 600; }
.afdiag-evt-card-annee { font-size: 11px; opacity: .8; }

.afdiag-evt-card-body { padding: 18px 20px; flex: 1; }
.afdiag-evt-card-titre { margin: 0 0 10px; font-size: 18px; font-weight: 700; color: #1d2327; }
.afdiag-evt-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #50575e; margin-bottom: 10px; }
.afdiag-evt-card-meta span { display: flex; align-items: center; gap: 4px; }
.afdiag-evt-card-desc { font-size: 14px; color: #444; line-height: 1.6; margin-top: 8px; }

.afdiag-evt-card-action { padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; min-width: 160px; border-left: 1px solid #f0f0f0; }

/* Boutons */
.afdiag-evt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; white-space: nowrap; }
.afdiag-evt-btn-participer, .afdiag-evt-btn-primary { background: #0073aa; color: #fff; }
.afdiag-evt-btn-participer:hover, .afdiag-evt-btn-primary:hover { background: #005f8d; color: #fff; }
.afdiag-evt-btn-annuler { background: #f0f0f1; color: #50575e; border: 1px solid #c3c4c7; }
.afdiag-evt-btn-annuler:hover { background: #d63638; color: #fff; border-color: #d63638; }
.afdiag-evt-badge-inscrit { color: #00a32a; font-weight: 700; font-size: 13px; }
.afdiag-evt-badge-complet { color: #d63638; font-weight: 700; font-size: 13px; }

/* Modal */
.afdiag-evt-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.afdiag-evt-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99998; }
.afdiag-evt-modal-inner { background: #fff; border-radius: 10px; width: 600px; max-width: 95vw; max-height: 90vh; overflow-y: auto; z-index: 99999; position: relative; }
.afdiag-evt-modal-header { background: #0073aa; color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; border-radius: 10px 10px 0 0; }
.afdiag-evt-modal-header h2 { margin: 0; color: #fff; font-size: 18px; }
/* × dans le header (admin styles) */
.afdiag-evt-modal-header .afdiag-evt-modal-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; padding: 0; line-height: 1; opacity: .8; }
.afdiag-evt-modal-header .afdiag-evt-modal-close:hover { opacity: 1; }
.afdiag-evt-modal-body { padding: 24px; }
.afdiag-evt-modal-body h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }

.afdiag-evt-form-row { margin-bottom: 14px; }
.afdiag-evt-form-row label { display: block; font-size: 13px; font-weight: 600; color: #1d2327; margin-bottom: 4px; }
.afdiag-evt-form-row input { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.afdiag-evt-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afdiag-evt-readonly { background: #f6f7f7 !important; color: #50575e; cursor: not-allowed; }
.afdiag-evt-prefilled { background: #f9f9f9; border: 1px solid #e0e0e0; border-radius: 6px; padding: 14px; margin-bottom: 16px; }
.afdiag-evt-prefilled .description { font-size: 12px; color: #888; margin: 8px 0 0; }

/* Accompagnants */
.afdiag-evt-accompagnants-section { margin-bottom: 18px; }
.afdiag-evt-acc-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.afdiag-evt-acc-row input { padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; }
.afdiag-evt-acc-remove { background: #d63638; color: #fff; border: none; border-radius: 4px; padding: 6px 10px; cursor: pointer; font-size: 16px; }

/* Paiement notice */
.afdiag-evt-paiement-notice { background: #fff8e1; border: 1px solid #f0d000; border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; }
.afdiag-evt-paiement-notice p { margin: 4px 0; }

/* Form actions (admin styles) */
.afdiag-evt-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f0f0; }
#afdiag-evt-inscr-msg { font-size: 13px; color: #d63638; }
#afdiag-evt-inscr-msg.success { color: #00a32a; }

/* Mes inscriptions */
.afdiag-evt-liste-inscriptions { display: flex; flex-direction: column; gap: 12px; }
.afdiag-evt-inscr-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px 20px; }
.afdiag-evt-inscr-card.afdiag-evt-statut-annule { opacity: .6; }
.afdiag-evt-inscr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.afdiag-evt-inscr-header strong { font-size: 16px; }
.afdiag-evt-statut-badge { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #e8f5e9; color: #1b5e20; }
.afdiag-evt-inscr-details { font-size: 13px; color: #50575e; }

/* Bloc désabonnement notifications (intégré sous événements/inscriptions) */
.afdiag-evt-unsub-block { margin-top: 32px; padding-top: 20px; border-top: 1px dashed #ddd; }
.afdiag-evt-unsub-inner { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; background: #f9f9f9; border: 1px solid #e8e8e8; border-radius: 8px; padding: 14px 18px; }
.afdiag-evt-unsub-icon { font-size: 20px; flex-shrink: 0; padding-top: 2px; }
.afdiag-evt-unsub-text { flex: 1; font-size: 13px; color: #555; line-height: 1.6; min-width: 200px; }
.afdiag-evt-unsub-text strong { color: #1d2327; }
.afdiag-evt-unsub-btn { flex-shrink: 0; font-size: 13px; padding: 7px 14px; border-radius: 5px; border: 1px solid; cursor: pointer; font-weight: 600; white-space: nowrap; background: transparent; transition: all .2s; }
.afdiag-evt-unsub-btn-unsub { border-color: #c3c4c7; color: #50575e; }
.afdiag-evt-unsub-btn-unsub:hover { background: #f0f0f1; }
.afdiag-evt-unsub-btn-resub { border-color: #00843D; color: #00843D; }
.afdiag-evt-unsub-btn-resub:hover { background: #e8f5e9; }
.afdiag-evt-unsub-msg { font-size: 13px; align-self: center; }

@media (max-width: 640px) {
    .afdiag-evt-card { grid-template-columns: 1fr; }
    .afdiag-evt-card-date { flex-direction: row; gap: 8px; padding: 12px 16px; }
    .afdiag-evt-card-action { border-left: none; border-top: 1px solid #f0f0f0; flex-direction: row; align-items: center; }
    .afdiag-evt-2col { grid-template-columns: 1fr; }
    .afdiag-evt-acc-row { grid-template-columns: 1fr 1fr; }
    .afdiag-evt-unsub-inner { flex-direction: column; }
}

/* Admin view badge */
.afdiag-evt-admin-view {
    font-size: 11px;
    color: #888;
    font-style: italic;
    display: block;
    padding: 4px 0;
}

/* ── PHOTO MISE EN AVANT (carte événement adhérent) ── */
.afdiag-evt-card-photo {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin: -1px -1px 0;
}
.afdiag-evt-card-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Message de confirmation paiement */
.afdiag-evt-retour-success { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 10px; margin-bottom: 24px; background: #d1fae5; border: 1.5px solid #00843D; }
.afdiag-evt-retour-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.afdiag-evt-retour-texte { font-size: 14px; line-height: 1.6; color: #1d2130; }
.afdiag-evt-retour-texte strong { color: #00843D; }

/* ── Droit à l'image ─────────────────────────────────────────────── */
.afdiag-evt-droit-image-section {
    margin: 18px 0 10px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.afdiag-evt-droit-image-section.afdiag-evt-droit-image-required {
    border-color: #dc2626;
    background: #fff5f5;
}
.afdiag-evt-droit-image-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}
.afdiag-evt-droit-image-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #274C5B;
    cursor: pointer;
}
.afdiag-evt-droit-image-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.afdiag-evt-droit-image-title {
    font-weight: 700;
    font-size: 14px;
    color: #1d2130;
}
.afdiag-evt-droit-image-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.afdiag-evt-droit-image-error {
    margin: 8px 0 0;
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
}
