/* ════════════════════════════════════════════════════════════════════════
   PRÉSENTATIONS EN VISIO — page /presentations, accueil, page d'attente
   ════════════════════════════════════════════════════════════════════════ */

.dm-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .dm-layout { grid-template-columns: 1fr; }
}

.dm-dates { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dm-dates__title { padding: 0; margin: 0 0 4px; font-size: 13px; font-weight: 800; color: #334155; text-transform: uppercase; letter-spacing: .06em; }

.dm-date {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--surface);
  border: 2px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-soft); cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.dm-date:hover { border-color: rgba(245,124,32,.45); }
.dm-date:has(input:checked) { border-color: var(--accent); background: rgba(245,124,32,.05); box-shadow: 0 0 0 3px rgba(245,124,32,.12); }
.dm-date input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); margin: 0; }
.dm-date--full { cursor: not-allowed; opacity: .6; box-shadow: none; }
.dm-date--full:hover { border-color: var(--border); }
.dm-date__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.dm-date__day { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.3; }
.dm-date__meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.dm-date__topic { font-size: 12.5px; color: var(--accent-hover); font-weight: 700; }
.dm-dates.cf-group--error .dm-date { border-color: #fecaca; }

.dm-seats {
  flex-shrink: 0; padding: 4px 10px; border-radius: 999px;
  background: rgba(46,125,50,.10); color: var(--accent-2);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.dm-seats--low { background: rgba(245,124,32,.12); color: var(--accent-hover); }
.dm-seats--full { background: #eef1f5; color: var(--muted); }

.dm-form { display: flex; flex-direction: column; gap: 16px; }
.dm-form__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.dm-form__privacy { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.dm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #334155; line-height: 1.5; cursor: pointer; }
.dm-consent input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.dm-consent a { color: var(--accent); font-weight: 700; }
.dm-consent.cf-group--error span { color: var(--danger); }

.dm-panel {
  max-width: 620px; margin: 0 auto; padding: 32px 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.dm-panel p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.dm-panel--ok { border-color: #a8d5ab; }
.dm-panel__icon { font-size: 42px; line-height: 1; }
.dm-panel__title { margin: 0; font-size: 22px; font-weight: 800; color: var(--text); }
.dm-panel p.dm-panel__when { color: var(--text); font-weight: 800; font-size: 16px; }
.dm-panel p.dm-panel__hint { font-size: 13px; }
.dm-panel .contact-alert { width: 100%; margin: 0; }
.dm-cancel-form { margin: 4px 0; }

.dm-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.dm-list__item {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-soft);
  text-align: left;
}
.dm-list__item--full { opacity: .65; }
.dm-list__date { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 180px; }
.dm-list__date strong { font-size: 15px; font-weight: 800; color: var(--text); }
.dm-list__date span { font-size: 13px; color: var(--muted); font-weight: 600; }
.dm-list__btn { flex-shrink: 0; }
.dm-list__all { margin: 14px 0 0; text-align: center; font-size: 14px; }
.dm-list__all a { color: var(--accent); font-weight: 800; text-decoration: none; }
.dm-list__all a:hover { text-decoration: underline; }

.dm-mnt { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.dm-mnt__head { text-align: center; margin-bottom: 14px; }
.dm-mnt__title { font-size: 17px; font-weight: 800; color: var(--text); }
.dm-mnt__text { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dm-mnt .dm-list__item { box-shadow: none; background: var(--surface-soft); }

@media (max-width: 540px) {
  .dm-panel { padding: 24px 20px; }
  .dm-list__btn { width: 100%; }
}

/* ── Code de validation ──────────────────────────────────────────────── */
.dm-code-form { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 280px; margin: 6px auto 0; }
.dm-code-form .cf-submit { align-self: stretch; }
.dm-code-input { width: 100%; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: .45em; padding-left: calc(14px + .45em); }
.dm-code-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.dm-code-links form { margin: 0; }
.dm-link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.dm-link-btn:hover { text-decoration: underline; }
.dm-alert-ok { width: 100%; margin: 0; background: #f0fdf4; border: 1px solid #a8d5ab; color: var(--accent-2); }
.dm-code-form .otpGroup { margin: .5rem 0; }
.dm-code-plain[hidden] { display: none; }
.dm-code-plain { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
