@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url('fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Plus Jakarta Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
    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;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F5F5F7; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1:focus { outline: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; opacity: .82; }
:focus-visible { outline: 3px solid #E5484D; outline-offset: 3px; border-radius: 6px; }

.sf-root {
    width: 100%;
    background: #F5F5F7;
    color: #1D1D22;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.55;
    overflow-x: clip;
}

.sf-progress {
    position: fixed; left: 0; top: 0; z-index: 20;
    width: 100%; height: 4px;
    background: #E5484D;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@keyframes sfHero { from { opacity: 0; transform: translateY(28px); } }
@keyframes sfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes sfUp { from { opacity: 0; transform: translateY(70px) scale(.94); } }
@keyframes sfLeft { from { opacity: 0; transform: translateX(-120px); } }
@keyframes sfRight { from { opacity: 0; transform: translateX(120px); } }
@keyframes sfFlip { from { opacity: 0; transform: perspective(900px) rotateX(-32deg) translateY(70px); } }
@keyframes sfPop { from { opacity: 0; transform: scale(.45); } }
@keyframes sfOut { to { opacity: 0; transform: translateY(-70px) scale(.92); } }
@keyframes sfOutHome { to { opacity: 0; transform: translateY(-90px) scale(.9); } }
@keyframes sfGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sf-a1 { animation: sfHero .9s cubic-bezier(.2,.7,.2,1) both; }
.sf-a2 { animation: sfHero .9s .18s cubic-bezier(.2,.7,.2,1) both; }
.sf-a3 { animation: sfHero .9s .36s cubic-bezier(.2,.7,.2,1) both; }
.sf-cue { animation: sfBob 1.8s ease-in-out infinite; }
.sf-cursor { transition: left .45s cubic-bezier(.2,.7,.2,1), top .45s cubic-bezier(.2,.7,.2,1); }
.sf-hero { view-timeline-name: --sfhero; view-timeline-axis: block; }
.sf-lift { transition: translate .2s ease, box-shadow .2s ease; }
.sf-lift:hover { translate: 0 -5px; box-shadow: 0 22px 44px -20px rgba(11,11,15,.4); opacity: 1; }

@supports (animation-timeline: view()) {
    .sf-out { animation: sfOut linear both; animation-timeline: --sfhero; animation-range: exit 0% exit 80%; }
    .sf-progress { animation: sfGrow linear both; animation-timeline: scroll(root block); }
    .sf-r1 { animation: sfUp linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .sf-r2 { animation: sfUp linear both; animation-timeline: view(); animation-range: entry 14% entry 78%; }
    .sf-l { animation: sfLeft linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .sf-rr { animation: sfRight linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .sf-f1 { animation: sfFlip linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .sf-f2 { animation: sfFlip linear both; animation-timeline: view(); animation-range: entry 16% entry 80%; }
    .sf-f3 { animation: sfFlip linear both; animation-timeline: view(); animation-range: entry 32% entry 100%; }
    .sf-p1 { animation: sfPop linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .sf-p2 { animation: sfPop linear both; animation-timeline: view(); animation-range: entry 18% entry 88%; }
    .sf-p3 { animation: sfPop linear both; animation-timeline: view(); animation-range: entry 36% entry 106%; }

    .sf-home .sf-out { animation-name: sfOutHome; animation-range: exit 0% exit 75%; }
    .sf-home .sf-rr { animation-range: entry 10% cover 32%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sf-a1, .sf-a2, .sf-a3, .sf-cue, .sf-out, .sf-progress, .sf-r1, .sf-r2, .sf-l, .sf-rr,
    .sf-f1, .sf-f2, .sf-f3, .sf-p1, .sf-p2, .sf-p3 { animation: none !important; }
    .sf-cursor, .sf-lift { transition: none; }
    .sf-lift:hover { translate: none; }
}

.sf-field {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid #8A8A96;
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
    background: #FFFFFF;
    color: #1D1D22;
}
.sf-field.invalid { border-color: #B4232A; }
.sf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.validation-message { font-size: 14px; font-weight: 600; color: #B4232A; }

#blazor-error-ui {
    display: none;
    position: fixed; left: 0; bottom: 0; z-index: 1000;
    width: 100%;
    padding: 14px 24px;
    background: #FFF4CE;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 18px; top: 10px; }
.blazor-error-boundary { padding: 1rem; background: #B32121; color: #FFFFFF; }
.blazor-error-boundary::after { content: "Hiba történt."; }

.sf-suti {
    position: fixed; z-index: 30;
    left: 16px; right: 16px; bottom: 16px;
    max-width: 880px; margin: 0 auto;
    padding: 22px 26px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
    border-radius: 24px;
    background: #0B0B0F; color: #E9E9EE;
    box-shadow: 0 24px 60px -20px rgba(11,11,15,0.55);
    font-size: 15px; line-height: 1.5;
}
.sf-suti[hidden] { display: none; }
.sf-suti-szoveg { flex: 1 1 380px; display: flex; flex-direction: column; gap: 4px; }
.sf-suti h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #FFFFFF; }
.sf-suti a { color: #FF9A9D; font-weight: 700; text-decoration: underline; }
.sf-suti-gombok { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.sf-suti button {
    min-height: 46px; padding: 0 22px;
    border-radius: 999px; border: 2px solid #FFFFFF;
    background: #FFFFFF; color: #0B0B0F;
    font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.sf-suti button:hover { opacity: .88; }
.sf-link-gomb { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

.sf-jogi { max-width: 860px; margin: 0 auto; padding: 96px 24px 128px; display: flex; flex-direction: column; gap: 18px; color: #2A2A31; font-size: 17px; }
.sf-jogi h2 { margin-top: 36px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; color: #0B0B0F; scroll-margin-top: 24px; }
.sf-jogi h3 { margin-top: 12px; font-size: 19px; font-weight: 800; color: #0B0B0F; }
.sf-jogi ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.sf-jogi a { color: #9B2C31; font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.sf-jogi .sf-tabla { overflow-x: auto; }
.sf-jogi table { width: 100%; border-collapse: collapse; font-size: 15px; background: #FFFFFF; border: 1px solid #E4E4EA; }
.sf-jogi th, .sf-jogi td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #E4E4EA; }
.sf-jogi th { font-weight: 800; color: #0B0B0F; background: #F5F5F7; }
.sf-jogi code { font-size: 14px; overflow-wrap: anywhere; }
.sf-jogi .sf-doboz { padding: 22px 26px; border-radius: 20px; background: #FFFFFF; border: 1px solid #E4E4EA; }

.sf-tema-racs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.sf-tema {
    position: relative;
    display: flex; flex-direction: column; gap: 2px;
    min-height: 76px; padding: 15px 18px 15px 50px;
    border: 1px solid #D9D9E0; border-radius: 18px;
    background: #FFFFFF; color: #0B0B0F;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, color .15s, transform .15s;
}
.sf-tema::before {
    content: ""; position: absolute; left: 18px; top: 18px;
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid #B5B5BE; background: #FFFFFF;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.sf-tema input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sf-tema:hover { border-color: #0B0B0F; }
.sf-tema:active { transform: scale(.985); }
.sf-tema:has(input:focus-visible) { outline: 3px solid #E5484D; outline-offset: 3px; }
.sf-tema:has(input:checked) { border-color: #0B0B0F; background: #0B0B0F; color: #FFFFFF; }
.sf-tema:has(input:checked)::before { border-color: #E5484D; background: #E5484D; box-shadow: inset 0 0 0 4px #0B0B0F; }
.sf-tema-cim { font-size: 16px; line-height: 1.3; font-weight: 800; }
.sf-tema-leiras { font-size: 14px; line-height: 1.4; color: #55555F; }
.sf-tema:has(input:checked) .sf-tema-leiras { color: #C9C9D1; }
@media (prefers-reduced-motion: reduce) { .sf-tema, .sf-tema::before { transition: none; } .sf-tema:active { transform: none; } }

.sf-tartalom { max-width: 860px; margin: 0 auto; padding: 0 24px 128px; display: flex; flex-direction: column; gap: 56px; color: #2A2A31; font-size: 18px; line-height: 1.65; }
.sf-tartalom-blokk { display: flex; flex-direction: column; gap: 16px; }
.sf-tartalom h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.035em; color: #0B0B0F; scroll-margin-top: 24px; }
.sf-tartalom ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.sf-tartalom ul.sf-cimkek { list-style: none; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; font-size: 16px; font-weight: 600; }
.sf-cimkek li { padding: 9px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E4E4EA; color: #1D1D22; }
.sf-gyik { display: flex; flex-direction: column; gap: 10px; }
.sf-gyik details { border-radius: 20px; background: #FFFFFF; border: 1px solid #E4E4EA; }
.sf-gyik details[open] { border-color: #0B0B0F; }
.sf-gyik summary { position: relative; padding: 20px 60px 20px 24px; font-size: 18px; line-height: 1.35; font-weight: 800; color: #0B0B0F; cursor: pointer; list-style: none; }
.sf-gyik summary::-webkit-details-marker { display: none; }
.sf-gyik summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: #F5F5F7; color: #9B2C31; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; transition: transform .15s; }
.sf-gyik details[open] summary::after { content: "−"; background: #9B2C31; color: #FFFFFF; }
.sf-gyik summary:focus-visible { outline: 3px solid #E5484D; outline-offset: 3px; border-radius: 20px; }
.sf-gyik details p { padding: 0 24px 22px; font-size: 17px; color: #55555F; }
