/* Alvás360 közös dizájn (docs/DIZAJN.md): sötét „üveg” stílus, SleepVisio színek.
   Ezt a fájlt a kérdőív-app és az orvosi felület is használja. Színt és méretet csak változóból. */
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: dark;
  --base: #05070d; --navy: #0f2c55; --cyan: #3df9fe; --orange: #f97b4a; --yellow: #f6c445;
  --ink: #eef4ff; --muted: #a9b8cf; --cyan-t: #7ff6ff; --orange-t: #ffb592; --yellow-t: #ffd978;
  --glass: rgba(16, 22, 36, .58); --glass-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .2);
  --danger: #ff8a8a; --gomb-szoveg: #0a2042; --mezo: rgba(255, 255, 255, .07); --cyan-halvany: rgba(61, 249, 254, .14);
  --r: 26px; --r-s: 18px; --r-i: 12px;
  --blur: blur(22px) saturate(150%);
  --cim: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --szoveg: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--szoveg); font-size: 20px; line-height: 1.5;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--base); color: var(--ink); }
body { min-height: 100vh; min-height: 100dvh; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); overscroll-behavior: none; touch-action: manipulation; }
.bg { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(40vmax 40vmax at 12% 18%, rgba(61, 249, 254, .20), transparent 60%),
  radial-gradient(38vmax 38vmax at 88% 82%, rgba(249, 123, 74, .18), transparent 60%),
  radial-gradient(50vmax 40vmax at 60% 10%, rgba(15, 44, 85, .9), transparent 70%),
  var(--base); }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -24px rgba(0, 0, 0, .7); }
h1, h2, h3 { font-family: var(--cim); font-weight: 800; line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1rem; }
p { margin: 8px 0; }
.halvany { color: var(--muted); font-size: .85rem; }
.kicker { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.cimke-figyelmeztet { color: var(--orange-t); font-weight: 600; font-size: .85rem; }
.hiba { color: var(--danger); font-weight: 600; min-height: 1.4em; }
.gomb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 28px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 700 1.1rem var(--szoveg); cursor: pointer; text-align: center; overflow-wrap: anywhere; }
.gomb.fo { background: var(--cyan); border-color: var(--cyan); color: var(--gomb-szoveg); }
.gomb.veszely { background: var(--danger); border-color: var(--danger); color: var(--gomb-szoveg); }
.gomb.kicsi { min-height: 48px; padding: 6px 20px; font-size: 1rem; }
.gomb:disabled { opacity: .55; cursor: not-allowed; }
.gomb:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.mezo { display: block; margin: 12px 0; font-weight: 600; }
.mezo input, .mezo select { display: block; width: 100%; min-height: 52px; margin-top: 6px; padding: 10px 14px; font: 400 1.1rem var(--szoveg);
  color: var(--ink); background: var(--mezo); border: 1px solid var(--line); border-radius: var(--r-i); }
.mezo select option { color: #10212e; }
.mezo.hibas input { border-color: var(--orange); }
.mezo .mezohiba { color: var(--orange-t); font-weight: 400; font-size: .85rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--r-s); margin: 16px 0; padding: 8px 16px 12px; }
legend { color: var(--muted); padding: 0 6px; font-size: .9rem; }
@media (max-width: 600px) { :root { font-size: 18px; } .gomb { min-height: 48px; } h1 { font-size: 1.4rem; } }
@media (prefers-reduced-transparency: reduce) { .glass { background: #101826; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --line: rgba(255, 255, 255, .45); --line-2: rgba(255, 255, 255, .45); --muted: #d3dceb; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
