/* Trang mời (LOV-207): font hệ thống (không tải font ngoài), chữ ≥ 16 px, vừa màn 320 px, sáng/tối theo máy.
   Màu lấy từ token của app (apps/mobile/theme/colors.ts): primary, surfaceBase, onSurface, onSurfaceVariant. */
:root {
  color-scheme: light dark;
  --bg: #fef8f6;
  --card: #ffffff;
  --text: #1d1b1a;
  --muted: #55433e;
  --primary: #94452c;
  --on-primary: #ffffff;
  --outline: #dbc1ba;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1817;
    --card: #151312;
    --text: #f7f2ec;
    --muted: #cdbfb8;
    --primary: #d87d62;
    --on-primary: #3a0a00;
    --outline: #4f4540;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 16px;
  text-align: center;
}

h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
}

.note {
  font-size: 16px;
  color: var(--muted);
}

.button {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: var(--primary);
  color: var(--on-primary);
}

.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.disabled {
  border: 2px dashed var(--outline);
  color: var(--muted);
}

.button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}
