:root { --bleu:#1a7569; --bleu-clair:#eef5f3; --or:#9e8a5e; --rouge:#b3261e; --vert:#1e7b3a; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
       background:#f3f5f9; color:#222; line-height:1.5; }
.container { max-width: 640px; margin: 30px auto; background:#fff; border-radius:10px;
             box-shadow:0 2px 12px rgba(0,0,0,.08); padding: 28px 32px; }
.container.large { max-width: 1100px; }
header { text-align:center; margin-bottom: 20px; }
header img { max-height: 140px; max-width: 260px; }
header { border-bottom: 2px solid var(--or); padding-bottom: 14px; }
h1 { color: var(--bleu); font-size: 1.5rem; margin: 12px 0 4px; }
.date { color:#555; font-weight:600; margin:0; }
.notice { background: var(--bleu-clair); border-left: 4px solid var(--bleu); padding: 12px 16px;
          border-radius: 4px; margin: 18px 0; font-size: .95rem; }
label { display:block; font-weight:600; margin: 14px 0 4px; }
.req { color: var(--rouge); }
input[type=text], input[type=email], input[type=tel], input[type=password], select {
  width:100%; padding:10px 12px; border:1px solid #c5ccd6; border-radius:6px; font-size:1rem; }
input:focus, select:focus { outline: 2px solid var(--bleu); border-color: var(--bleu); }
.row { display:flex; gap:16px; }
.row > div { flex:1; }
.personnes { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.personnes select { width:auto; min-width:80px; }
.hint { font-size:.85rem; color:#666; margin-top:4px; }
.check { display:flex; gap:10px; align-items:flex-start; font-weight:normal; margin-top:18px; }
.check input { margin-top:5px; }
button, .btn { display:inline-block; background: var(--bleu); color:#fff; border:0; padding:12px 26px;
  font-size:1rem; border-radius:6px; cursor:pointer; text-decoration:none; }
button:hover, .btn:hover { opacity:.9; }
.btn.secondary { background:#6b7280; }
.btn.small { padding:6px 12px; font-size:.85rem; }
.center { text-align:center; margin-top:24px; }
.errors { background:#fdecea; border-left:4px solid var(--rouge); padding:10px 16px; border-radius:4px; color:#7a1a14; }
.errors ul { margin:0; padding-left:18px; }
.success { background:#e7f5ec; border-left:4px solid var(--vert); padding:22px; border-radius:4px;
           text-align:center; font-size:1.1rem; color:#14532d; }
.rgpd { font-size:.78rem; color:#777; margin-top:22px; }
.hp { position:absolute; left:-9999px; }
/* Admin */
.stats { display:flex; gap:16px; margin: 10px 0 24px; flex-wrap:wrap; }
.stat { flex:1; min-width:150px; background: var(--bleu-clair); border-radius:8px; padding:16px; text-align:center; }
.stat .n { font-size:2.2rem; font-weight:700; color: var(--bleu); display:block; }
.toolbar { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
table { width:100%; border-collapse:collapse; font-size:.9rem; }
th, td { padding:8px 10px; border-bottom:1px solid #e3e7ee; text-align:left; vertical-align:top; }
th { background: var(--bleu); color:#fff; position:sticky; top:0; }
tr:nth-child(even) td { background:#fafbfd; }
td.num { text-align:center; }
.del { background: var(--rouge); }
input[type=search] { padding:8px 12px; border:1px solid #c5ccd6; border-radius:6px; min-width:240px; }
@media (max-width: 600px) { .row { flex-direction:column; gap:0; } .container { margin:0; border-radius:0; padding:20px; } }
@media print { .toolbar, .del-col, form.logout { display:none !important; } body { background:#fff; } .container { box-shadow:none; } }

/* Places limitées / complet */
.badge { display:inline-block; margin-top:10px; background: var(--or); color:#fff; font-weight:600;
         font-size:.85rem; padding:4px 14px; border-radius:20px; letter-spacing:.02em; }
.complet { background:#fdecea; border-left:4px solid var(--rouge); padding:22px; border-radius:4px;
           text-align:center; font-size:1.1rem; color:#7a1a14; }
.etat { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
        padding:12px 16px; border-radius:8px; margin-bottom:18px; }
.etat.ouvert { background:#e7f5ec; border:1px solid #b7dfc4; }
.etat.ferme  { background:#fdecea; border:1px solid #f1b9b4; }
.etat .statut { font-weight:700; white-space:nowrap; }
.etat.ouvert .statut { color: var(--vert); }
.etat.ferme .statut  { color: var(--rouge); }
.etat input[type=checkbox] { width:18px; height:18px; }

/* Infos pratiques */
.infos { background:#faf7f0; border:1px solid #e3d9c0; border-left:4px solid var(--or); border-radius:6px;
         padding:12px 18px; margin:18px 0; }
.infos p { margin:6px 0; }
.tel-insc { text-align:center; margin:18px 0 0; font-size:.95rem; }
.tel-insc a { color: var(--bleu); text-decoration:none; white-space:nowrap; }
