:root{
  --bg1:#0b0e1a;
  --bg2:#1b1f3b;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --accent1:#66ccff;
  --accent2:#8b5cf6;
  --danger:#e11d48;
  --border:#e5e7eb;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(circle at top, var(--bg2), var(--bg1));
  color:#fff;
}

.shell{max-width:760px;margin:0 auto;padding:24px 14px 40px}
.brand{display:flex;gap:10px;align-items:center;opacity:.95;margin-bottom:14px}
.dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,var(--accent1),var(--accent2))}
.brand b{letter-spacing:.2px}

.header{margin-bottom:14px}
.header h1{margin:0 0 6px;font-size:28px}
.header p{margin:0;opacity:.9;line-height:1.5}

.card{
  background:var(--card);
  color:var(--text);
  border-radius:18px;
  padding:22px;
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.06);
}

.progress{margin-top:12px;font-size:13px;opacity:.85}
.row{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-top:14px;flex-wrap:wrap}
.btn{
  border:0;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));color:#0b0e1a;
}
.btn.ghost{background:transparent;color:rgb(0, 0, 0);border:1px solid rgb(0, 0, 0)}
.btn:disabled{opacity:.45;cursor:not-allowed}

.qTitle{font-size:18px;font-weight:900;margin:0 0 6px}
.qHelp{color:var(--muted);margin:0 0 12px;line-height:1.45}
.req{color:var(--danger);margin-left:6px}

.input, textarea, select{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 12px;
  font-size:16px;
  outline:none;
}
textarea{min-height:120px;resize:vertical}
.choice{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 10px;border:1px solid var(--border);
  border-radius:12px;margin-bottom:10px;cursor:pointer;
}
.choice input{margin-top:3px}
.err{margin-top:12px;color:var(--danger);font-weight:900}
.footer{margin-top:12px;opacity:.75;font-size:12px}

/* Style spécifique pour le message urgent */
.urgent-blink {
  color: var(--danger);
  font-weight: 900;
  margin-top: 10px;
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to { visibility: hidden; }
}

@media (max-width:520px){
  .header h1{font-size:24px}
  .card{padding:18px}
  .btn{width:100%}
  .row{gap:8px}
}