/* L'École de Do — inscription aux cours (liste des cours + agenda) */
.inscription-zone { margin-top: 0.6rem; text-align: center; min-height: 36px; }
.inscription-skeleton { display: inline-block; width: 100px; height: 30px; background: #f0e8dc; border-radius: 6px; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.event-card-collapsed .inscription-form-expanded { display: none; }
.event-card-collapsed .inscription-form-collapsed { display: block; }
.event-card-expanded .inscription-form-collapsed { display: none; }
.event-card-expanded .inscription-form-expanded { display: block; }
.inscription-form { margin-top: 0.6rem; text-align: center; }
.inscription-form-collapsed { margin-top: 0.6rem; text-align: center; }
.inscription-message { margin-top: 0.5rem; font-weight: 600; text-align: center; font-size: 0.85em; }
.inscription-message.inscription-ok::before { content: "\002713"; display: inline-block; color: green; margin-right: 0.4em; }
.inscription-message.inscription-impossible::before { content: "\00274C"; display: inline-block; margin-right: 0.4em; }
.inscription-form select.select-paiement { padding: 8px 10px; background-color: white; border: 1px solid #c8b89a; font-size: 0.88em; margin-bottom: 0.6em; margin-top: 0.2em; border-radius: 6px; max-width: 280px; width: 100%; }
.wp-element-button-invert { background-color: transparent; color: black; }
.wp-element-button-invert:hover { background-color: #eaeaea; }
.wp-element-button:disabled { opacity: 0.7; cursor: not-allowed; }
.inscription-form .wp-element-button, .inscription-form-collapsed .wp-element-button { background-color: #8C2411; color: white; padding: 0.45em 1.2em; font-size: 0.88em; border-radius: 6px; }
.inscription-form .wp-element-button:hover, .inscription-form-collapsed .wp-element-button:hover { background-color: #6d1c0d; }
#event-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); display: flex; justify-content: center; align-items: center; z-index: 2147483600; /* toujours devant la fiche du cours de l'agenda */ max-width: none; padding: 16px; box-sizing: border-box; }
.event-modal-box { background: white; padding: 2em; max-width: 400px; border-radius: 10px; box-shadow: 0 0 30px rgba(0,0,0,0.2); }
.event-modal-actions { margin-top: 1.5em; display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Formulaire d'inscription (places + moyens de paiement) ---------- */
.ldi { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 0.4rem; }
.ldi-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a6a5a; }
.ldi-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ldi .ldi-stepper { display: inline-flex; align-items: center; background: #fff; border: 1px solid #e3d6c4; border-radius: 999px; padding: 3px; }
.ldi .ldi-stepper button { appearance: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f6efe6; color: #553118; font-size: 1.2rem; font-weight: 700; line-height: 1; padding: 0; cursor: pointer; min-height: 0; box-shadow: none; }
.ldi .ldi-stepper button:hover:not(:disabled) { background: #eadfce; }
.ldi .ldi-stepper button:disabled { opacity: .35; cursor: default; }
.ldi .ldi-stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 1.05rem; color: #2b2118; }
.ldi-paiements { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ldi-paiements legend { margin-bottom: 8px; padding: 0; }
.ldi-option { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid #e3d6c4; border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ldi-option:hover { border-color: #c9ae8c; }
.ldi-option input { position: absolute; opacity: 0; pointer-events: none; }
.ldi-option:has(input:checked) { border-color: #8c2411; box-shadow: 0 0 0 3px rgba(140, 36, 17, .12); }
.ldi-option:has(input:focus-visible) { outline: 3px solid #e0a15a; outline-offset: 2px; }
.ldi-option.is-indisponible { opacity: .45; cursor: not-allowed; }
.ldi-option__icone { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: #f6efe6; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.ldi-option__texte { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ldi-option__texte strong { font-size: 0.95rem; color: #2b2118; }
.ldi-option__texte small { font-size: 0.78rem; color: #7a6a5a; }
.ldi-option__prix { font-weight: 800; color: #2b2118; white-space: nowrap; }
.ldi-option:has(input:checked) .ldi-option__prix { color: #8c2411; }
.ldi-note { font-size: 0.8rem; color: #7a6a5a; margin: -4px 0 0; }
.ldi-gratuit { margin: 0; font-weight: 700; color: #2c7a2c; text-align: center; }
.inscription-form.ldi .wp-element-button.ldi-bouton { width: 100%; padding: 0.8em 1.2em; font-size: 1rem; font-weight: 700; border-radius: 999px; margin: 0; }
