/* Spoločný vzhľad pre index, login, onboarding a feedback (rovnaké farby ako simulátor) */
:root {
  --primary: #003b72;
  --primary-hover: #00529b;
  --bg: #f9f9fd;
  --text: #191c1e;
  --muted: #424751;
  --card: #ffffff;
  --border: #c2c6d3;
  --field: #edeef1;
  --accent: #ba1a1a;
  --ok: #1b6e3a;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light) { --primary: #a6c8ff; --primary-hover: #d5e3ff; --bg: #111418; --text: #e2e2e6; --muted: #c2c6d3; --card: #1c2026; --border: #2e3440; --field: #262b33; --accent: #ffb4ab; --ok: #7ddc9a; color-scheme: dark; }
}
:root.dark { --primary: #a6c8ff; --primary-hover: #d5e3ff; --bg: #111418; --text: #e2e2e6; --muted: #c2c6d3; --card: #1c2026; --border: #2e3440; --field: #262b33; --accent: #ffb4ab; --ok: #7ddc9a; color-scheme: dark; }

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: 0 20px;
}
header { padding: 20px 0; max-width: 960px; width: 100%; margin: 0 auto; }
.logo { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: var(--primary); text-decoration: none; }
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
footer { text-align: center; font-size: 12px; color: var(--muted); padding: 20px 0; }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; line-height: 1; display: inline-block; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.badge .material-symbols-outlined { font-size: 18px; font-variation-settings: 'FILL' 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--primary);
  color: var(--bg);
  font: inherit; font-size: 16px; font-weight: 700;
  padding: 14px 28px;
  border: 0; border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 3px solid var(--primary-hover); outline-offset: 3px; }
.btn .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
.btn.secondary { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.btn.secondary:hover { background: var(--field); }

.card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.card h1 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 6px; }
.card p.sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.5; }

label.field { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
input, select, textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  color: var(--text);
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { resize: vertical; min-height: 120px; }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 14px; }
.msg-ok { color: var(--ok); font-weight: 700; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
