/* The app's own design system (lib/src/theme/design_tokens.dart), as the
   enrolment form and the privacy page use it: the lilac page, ink and slate
   text, white cards on hairline borders, the brand aubergine for the button
   and the focus, the alert pair for a problem. Nothing is fetched from
   elsewhere. */
@font-face { font-family: Plex; src: url(fonts/IBMPlexSansArabic-Regular.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: Plex; src: url(fonts/IBMPlexSansArabic-Bold.ttf); font-weight: 700; font-display: swap; }
:root { --ink: #14121A; --slate: #635C6E; --brand: #582E60; --line: #E8E4EC; --page: #F1E9F4; --card: #FFFFFF; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); font: 16px/1.7 Plex, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; overflow-wrap: anywhere; }
main { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { color: var(--brand); font-size: 24px; line-height: 1.4; margin: 8px 0 4px; }
h2 { font-size: 18px; margin: 0 0 8px; }
.sub { color: var(--slate); margin: 0 0 20px; font-size: 15px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin: 0 0 16px; }
.line { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; }
.line + .line { border-top: 1px solid var(--line); }
.label { color: var(--slate); font-size: 14px; min-width: 64px; }
.whatsapp { color: var(--brand); font-weight: 700; text-decoration: none; }
label { display: block; font-size: 14px; margin: 12px 0 4px; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; background: var(--card); color: var(--ink); }
input[type=file] { padding: 8px; }
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
button { margin-top: 16px; width: 100%; min-height: 52px; padding: 12px; border: 0; border-radius: 14px; background: var(--brand); color: #FFFFFF; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: default; }
.note { color: var(--slate); font-size: 13px; margin: 6px 0 0; }
.note a { color: var(--brand); }
.problem { background: #FDECEA; color: #9B2320; border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; }
.done strong { font-size: 22px; letter-spacing: 1px; color: var(--brand); }
/* The field a person never sees and a robot fills. */
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
