/* Page d'attente temporaire SwissMedFlow : polices système uniquement. */
:root {
  color-scheme: light dark;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --card: #111a2e;
    --text: #e2e8f0;
    --muted: #a5b4c8;
    --border: #1e293b;
    --accent: #60a5fa;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 48px 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 16px;
  text-align: center;
}

.mark {
  display: block;
  margin: 0 auto 20px;
}

h1 {
  margin: 0 0 20px;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.status {
  color: var(--text);
  font-weight: 600;
}

.closing {
  margin: 20px 0 0;
  color: var(--text);
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .card {
    padding: 36px 22px;
  }

  h1 {
    font-size: 1.5rem;
  }
}
