/* TimeMind Business Solutions – statikus bejelentkező oldal + jogi aloldalak.
   Világos téma. Nincs külső betűkészlet / CDN: így nem megy ki IP-cím harmadik félnek (GDPR). */

:root {
  --bg: #f5f7fa;
  --bg-elev: #ffffff;
  --bg-brand: #eef2f8;
  --text: #111827;
  --text-strong: #0f172a;
  --text-muted: #4b5563;
  --text-soft: #64748b;
  --border: #e1e6ee;
  --border-input: #cbd2dc;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --navy: #1b2d4f;
  --navy-hover: #13213b;
  --accent-soft: rgba(29, 78, 216, 0.07);
  --focus-ring: rgba(29, 78, 216, 0.15);
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --danger-text: #991b1b;
  --radius: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--bg-elev); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip-link:focus { left: 16px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Márkajel: logó + „TimeMind / Business Solutions” */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--text-strong); }
.brand-lockup:hover { color: var(--text-strong); text-decoration: none; }
.brand-lockup svg { width: 36px; height: 36px; flex: none; }
.brand-lockup span { display: flex; flex-direction: column; line-height: 1.2; }
.brand-lockup strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.brand-lockup small { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; }

/* ---------- Bejelentkező / letöltő oldal – a 2026-11-12-i látványterv (1672×941) arányaiban ----------
   A háttér maga a látványterv, feliratok nélkül (assets/hero.webp: fotó, sötétkék hullám, fehér ívek).
   Méretek vw-ben = terv-px / 16.72, alsó-felső korláttal. */
body.auth {
  font-size: 14px; line-height: 1.5;
  background: #eef2f8 url("hero.webp") no-repeat center / cover;
}

.auth-layout { position: relative; min-height: 100vh; display: flex; }

/* Bal oldal: csak szöveg – a kép a háttérben */
.hero {
  position: relative; flex: 0 0 64.6%; min-width: 0;
  padding: clamp(24px, 2.5vw, 48px) clamp(24px, 3.2vw, 60px) clamp(20px, 2.6vw, 44px);
  display: flex; flex-direction: column;
}

.brand-lockup--rule { gap: clamp(12px, 1.25vw, 22px); }
.brand-lockup--rule svg { width: clamp(44px, 3.95vw, 72px); height: clamp(44px, 3.95vw, 72px); }
.brand-lockup--rule span { padding-left: clamp(12px, 1.25vw, 22px); border-left: 1px solid #aeb9cb; line-height: 1.15; }
.brand-lockup--rule strong { font-size: clamp(20px, 1.8vw, 32px); font-weight: 700; color: var(--navy); }
.brand-lockup--rule small { font-size: clamp(10px, .78vw, 14px); letter-spacing: .14em; color: #2a3a57; margin-top: 2px; }

.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 1.6vw, 28px); padding: 24px 0; }
.hero-body h2 { margin: 0; max-width: 16em; text-wrap: balance; font-size: clamp(28px, 2.75vw, 50px); line-height: 1.17; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); }
.hero-lead { margin: 0; max-width: 24em; text-wrap: balance; font-size: clamp(16px, 1.32vw, 24px); line-height: 1.45; color: #46566f; }
.hero-points { margin: clamp(10px, 1.6vw, 28px) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: clamp(4px, .3vw, 6px); }
.hero-points li { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px); font-size: clamp(14px, 1.14vw, 20px); color: #1d2c46; }
.pt-icon {
  width: clamp(40px, 3.25vw, 58px); height: clamp(40px, 3.25vw, 58px); flex: none; border-radius: 10px;
  background: rgba(255, 255, 255, .55); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.pt-icon svg { width: 52%; height: 52%; }
.hero-trust {
  margin-top: clamp(10px, 1.9vw, 34px); display: flex; align-items: center; gap: clamp(14px, 1.5vw, 26px);
  width: min(100%, 33vw); min-width: 320px;
  padding: clamp(14px, 1.45vw, 26px) clamp(16px, 1.5vw, 26px); border-radius: 12px;
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .6);
  font-size: clamp(13px, .99vw, 18px); line-height: 1.5; color: #1d2c46;
}
.hero-trust svg { width: clamp(30px, 2.5vw, 44px); height: clamp(30px, 2.5vw, 44px); flex: none; }
.hero-trust .fill { fill: var(--navy); stroke: none; }
.hero-trust .tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Lábléc a sötétkék hullámon */
.hero-foot { display: flex; align-items: center; gap: clamp(12px, 1.2vw, 20px); font-size: clamp(11px, .8vw, 14px); color: #e6ecf5; }
.hero-foot .rule { width: clamp(60px, 9.3vw, 170px); height: 1px; background: rgba(230, 236, 245, .45); }
.hero-foot a { color: #e6ecf5; }
.hero-foot a:hover { color: #fff; }
.hero-foot nav { display: flex; gap: clamp(12px, 1.1vw, 20px); }

/* Jobb oldal: a háttér ívei előtt a kártya */
.auth-main {
  position: relative; flex: 1 1 35.4%; min-width: 0;
  padding: 40px clamp(20px, 2.8vw, 48px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(28px, 3.4vw, 60px);
}

.pt-icon svg, .alert svg, .pw-toggle svg, .auth-note svg, .input-icon > svg, .btn-primary svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.auth-card {
  width: clamp(360px, 29.6vw, 560px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid #e3e8f0; border-radius: 18px;
  padding: clamp(28px, 2.7vw, 50px) clamp(26px, 2.7vw, 50px) clamp(22px, 2.2vw, 40px);
  box-shadow: 0 2px 4px rgba(15, 23, 42, .03), 0 18px 48px rgba(27, 45, 79, .08);
  display: flex; flex-direction: column; gap: clamp(16px, 1.3vw, 24px);
  font-size: clamp(14px, .96vw, 17px);
}
.auth-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: clamp(4px, .9vw, 16px); }
.auth-head h1 { margin: 0; font-size: clamp(26px, 2.03vw, 38px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); }
.auth-head p { margin: 0; font-size: clamp(14px, 1.05vw, 19px); color: #5b6b85; }

.alert {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px 12px; border-radius: 8px;
  background: var(--danger-bg); border: 1px solid var(--danger-border); color: var(--danger-text);
}
.alert[hidden] { display: none; }
.alert--info { background: #eef3fb; border-color: #cdd9ec; color: var(--navy); }
.alert svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Mezők: felirat a mező fölött, ikon a mezőben */
.field { display: flex; flex-direction: column; gap: clamp(6px, .6vw, 12px); }
.field label { font-size: clamp(14px, 1.02vw, 18px); font-weight: 600; color: var(--navy); }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: clamp(12px, .95vw, 18px); top: 50%; width: clamp(18px, 1.3vw, 24px); height: clamp(18px, 1.3vw, 24px); transform: translateY(-50%); color: #2a3a57; pointer-events: none; }
.field input {
  width: 100%; height: clamp(42px, 2.87vw, 52px); padding: 0 14px 0 clamp(40px, 3.4vw, 62px);
  border: 1px solid #ccd3de; border-radius: 8px;
  background: #fff; color: var(--text); font: inherit;
}
.field input::placeholder { color: #7d8799; }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 45, 79, .12); }

.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 6px;
  background: transparent; color: #2a3a57; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pw-toggle svg { width: clamp(18px, 1.3vw, 24px); height: clamp(18px, 1.3vw, 24px); }
.pw-toggle .eye { display: none; }
.pw-toggle[aria-pressed="true"] .eye { display: block; }
.pw-toggle[aria-pressed="true"] .eye-off { display: none; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--navy); background: rgba(27, 45, 79, .06); }

/* ALTCHA robotszűrő – az oldal színeihez igazítva */
.captcha {
  --altcha-max-width: 100%;
  --altcha-border-color: #ccd3de;
  --altcha-border-radius: 8px;
  --altcha-padding: 10px 14px;
  --altcha-color-base: #fff;
  --altcha-color-base-content: var(--text);
  --altcha-color-primary: var(--navy);
  --altcha-color-success: #15803d;
  --altcha-checkbox-size: 18px;
  --altcha-checkbox-border-color: #ccd3de;
  display: block;
}

.btn-primary {
  height: clamp(42px, 2.87vw, 52px); border-radius: 8px; font: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; background: var(--navy); color: #fff; font-weight: 600; font-size: clamp(14px, 1.02vw, 18px);
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--navy-hover); }
/* IP-tiltás alatt (login.js): az űrlap látszik, de semmi nem használható */
.auth-card.is-banned .btn-primary, .auth-card.is-banned .input-icon, .auth-card.is-banned .captcha { opacity: .5; cursor: not-allowed; }
.auth-card.is-banned .btn-primary:hover { background: var(--navy); }
.btn-primary svg { width: clamp(16px, 1.15vw, 20px); height: clamp(16px, 1.15vw, 20px); }

/* Google / Microsoft belépés (a jelszavas űrlap alatt) */
.social { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(12px, 1.2vw, 18px); }
.social[hidden], .btn-social[hidden] { display: none; }
.social-or { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 13px; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 16px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border-input); color: var(--text-strong);
  font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s ease, border-color .15s ease;
}
.btn-social:hover { background: #f8fafc; border-color: #b6c0ce; color: var(--text-strong); text-decoration: none; }
.btn-social svg { width: 18px; height: 18px; flex: none; }
.auth-card.is-banned .btn-social { opacity: .5; pointer-events: none; }

.auth-note { margin: clamp(2px, .6vw, 10px) 0 0; padding-top: clamp(16px, 2vw, 34px); border-top: 1px solid #e3e8f0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(13px, .87vw, 15px); color: #1d2c46; }
.auth-note svg { width: 17px; height: 17px; flex: none; }

.legal-consent { margin: 10px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: #5b6b82; }
.legal-consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.auth-legal { display: flex; flex-wrap: wrap; justify-content: center; font-size: clamp(13px, .87vw, 15px); }
.auth-legal a { color: var(--navy); padding: 0 clamp(12px, 1.2vw, 20px); }
.auth-legal a + a { border-left: 1px solid #1d2c46; }
.auth-legal a:hover { color: var(--accent); }

/* Letöltő oldal – személyes, hivatalos átadó kártya (látványterv: claude.ai/artifact/3vcc3ZipSeepjw1dXvyF4N) */
.hero-kicker { font-size: clamp(11px, .78vw, 14px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a6a1f; }
.hero-steps { margin: clamp(8px, 1vw, 18px) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.hero-steps li { display: flex; align-items: center; gap: clamp(14px, 1.1vw, 20px); font-size: clamp(14px, 1.02vw, 18px); color: #1d2c46; }
.step-no { width: clamp(40px, 2.75vw, 50px); height: clamp(40px, 2.75vw, 50px); flex: none; border-radius: 10px; background: rgba(255, 255, 255, .6); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); }
.dl-card { padding: 0; gap: 0; overflow: hidden; }
.dl-firm { display: flex; align-items: center; gap: 16px; padding: clamp(20px, 1.6vw, 28px) clamp(22px, 1.95vw, 34px); background: var(--navy); color: #fff; }
.dl-monogram { width: 52px; height: 52px; flex: none; border-radius: 12px; border: 1px solid rgba(227, 180, 75, .7); color: #e3b44b; display: flex; align-items: center; justify-content: center; font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; }
.dl-firm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-firm-text strong { font-size: clamp(16px, 1.15vw, 20px); overflow-wrap: anywhere; }
.dl-firm-text small { font-size: 13px; color: #c9d3e3; }
.dl-body { display: flex; flex-direction: column; gap: clamp(16px, 1.2vw, 22px); padding: clamp(22px, 1.7vw, 30px) clamp(22px, 1.95vw, 34px) clamp(20px, 1.5vw, 26px); }
.dl-person { display: flex; flex-direction: column; gap: 3px; }
.dl-person small { font-size: 13px; color: #5b6b85; }
.dl-person strong { font-size: clamp(19px, 1.32vw, 24px); color: var(--navy); }
.dl-person span { font-size: 14px; color: #5b6b85; overflow-wrap: anywhere; }
.dl-meta span { font-size: 13px; color: #46566f; }
.dl-signed { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px !important; color: #15803d !important; }
.dl-signed[hidden] { display: none; }
.dl-signed svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-run { height: clamp(46px, 3.1vw, 54px); font-size: clamp(15px, 1.02vw, 18px); }
.dl-run .play { fill: currentColor; stroke: none; }
.dl-hint { margin: -6px 0 0; font-size: 13px; color: #5b6b85; text-align: center; }
.dl-mobile { margin: 0; padding: 14px 16px; border-radius: 12px; background: #eef3fb; border: 1px solid #cdd9ec; font-size: 14px; color: var(--navy); }
.dl-hint[hidden], .dl-mobile[hidden] { display: none; }
.dl-foot { margin: 0; padding-top: 18px; border-top: 1px solid #e3e8f0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #1d2c46; }
a.btn-primary { text-decoration: none; }
a.btn-primary:hover { color: #fff; text-decoration: none; }
.btn-primary[hidden], .dl-file[hidden] { display: none; }
.dl-file { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #e6ebf2; border-radius: 10px; background: #f8fafd; }
.dl-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #fff; border: 1px solid #e1e7f0; color: var(--navy); display: flex; align-items: center; justify-content: center; }
.dl-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dl-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-meta strong { color: var(--navy); }
.dl-meta small { font-size: 12px; color: #5b6b85; font-variant-numeric: tabular-nums; }
.dl-signout { justify-content: space-between; flex-wrap: wrap; }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.link-button:hover { text-decoration: underline; }

@media (max-width: 960px) {
  /* Keskeny ablakban / telefonon: az űrlap elöl, a bal oldalból csak a logó marad, kép nélkül. */
  body.auth { background: linear-gradient(160deg, #f6f8fc 0%, #e9eff8 60%, #dfe7f3 100%); }
  .auth-layout { flex-direction: column; }
  .hero { flex: none; padding: 20px 16px; }
  .hero-body, .hero-foot { display: none; }
  .auth-main { flex: 1 0 auto; justify-content: flex-start; padding: 8px 16px 40px; }
  .auth-card { width: 100%; max-width: 440px; padding: 28px 20px 22px; }
}

/* ---------- Egyszerű középre igazított oldal (404) ---------- */
.center-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 40px 16px; text-align: center; }
.center-page .auth-card { align-items: center; }
.center-page .code { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.center-page h1 { margin: 0; font-size: 22px; color: var(--text-strong); }
.center-page p { margin: 0; color: var(--text-muted); }
.center-page .btn-primary { padding: 0 20px; text-decoration: none; }
.center-page .btn-primary:hover { color: #fff; text-decoration: none; }

/* ---------- Jogi aloldalak ---------- */
.site-header { background: var(--bg-elev); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .brand-lockup svg { width: 30px; height: 30px; }
.site-header .brand-lockup strong { font-size: 15px; }
.site-header .brand-lockup small { font-size: 11px; }
.nav { display: flex; align-items: center; gap: 20px; font-size: 13px; line-height: 20px; }
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .nav-cta { color: #fff; background: var(--navy); padding: 6px 14px; border-radius: 6px; font-weight: 600; }
.nav .nav-cta:hover { color: #fff; background: var(--navy-hover); }

.doc { padding: 56px 0 88px; }
.doc .container { max-width: 780px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--text-strong); }
.doc .meta { color: var(--text-muted); margin: 0 0 40px; font-size: 14px; }
.doc h2 { margin: 44px 0 12px; font-size: 20px; letter-spacing: -0.01em; color: var(--text-strong); }
.doc h3 { margin: 28px 0 8px; font-size: 16px; color: var(--text-strong); }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--text-muted); }
.doc .keypoints { margin: 32px 0; padding: 20px 24px; border: 1px solid var(--border); border-left: 4px solid #1D4ED8; border-radius: 12px; background: var(--bg-elev); }
.doc .keypoints h2 { margin: 0 0 8px; font-size: 17px; }
.doc .keypoints ul { margin: 8px 0 0; }
.doc p > b:first-child { display: inline-block; min-width: 2.6em; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.toc { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-elev); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--bg-brand); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 16px 0; }
dl.facts dt { color: var(--text-muted); }
dl.facts dd { margin: 0; }
/* Kitöltendő adat – élesítés előtt cserélni */
.ph { background: rgba(250, 204, 21, .25); border-radius: 4px; padding: 0 4px; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13px; color: var(--text-muted); background: var(--bg-elev); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .toc ol { columns: 1; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Meghívó elfogadás + 2FA (invite.html / totp.html) ---------- */
[hidden] { display: none !important; }
.inv-card { width: clamp(380px, 33vw, 600px); padding: 0; gap: 0; overflow: hidden; }
.inv-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 1.8vw, 30px) clamp(22px, 2vw, 34px) clamp(20px, 1.6vw, 26px); }
.inv-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6a1f; }
.inv-title { margin: 4px 0 0; font-size: clamp(22px, 1.6vw, 28px); line-height: 1.25; font-weight: 700; color: var(--navy); }
.inv-copy { margin: 0; font-size: 14px; line-height: 1.6; color: #46566f; }
.inv-meta-box { padding: 12px 14px; border-radius: 10px; background: #f8fafd; border: 1px solid var(--border); font-size: 13px; color: #334155; display: flex; flex-direction: column; gap: 2px; }
.inv-meta-box strong { color: var(--navy); font-weight: 600; }
.inv-steps .step-no.is-active { background: var(--navy); color: #fff; box-shadow: 0 0 0 2px rgba(227, 180, 75, .6); }
.inv-steps .step-no.is-done { background: #15803d; color: #fff; }
.inv-step-muted { opacity: .68; }

.code-input {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1px solid #ccd3de; border-radius: 10px; background: #fff; color: var(--navy);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 26px; font-weight: 700; letter-spacing: .38em; text-align: center;
}
.code-input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 45, 79, .14); }
.code-input--recovery { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; }

.btn-secondary {
  height: 40px; padding: 0 16px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 13px;
  cursor: pointer; background: #fff; color: var(--navy); border: 1px solid var(--border-input);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease, border-color .15s ease;
}
.btn-secondary:hover { background: #f8fafc; border-color: #aeb9cb; text-decoration: none; }
.btn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-loading { opacity: .65; pointer-events: none; }

.inv-panel { display: flex; flex-direction: column; gap: 14px; }
.totp-box {
  padding: 16px; border-radius: 12px; background: #f8fafd; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.totp-setup-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.totp-qr-wrap {
  width: 132px; height: 132px; flex: none; padding: 6px; border-radius: 10px;
  background: #fff; border: 1px solid #d5dde9; display: flex; align-items: center; justify-content: center;
}
.totp-qr-wrap img { width: 100%; height: 100%; display: block; }
.totp-key-col { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.totp-key-col small { font-size: 12px; color: #46566f; line-height: 1.45; }
.totp-secret-code {
  display: block; padding: 7px 10px; border-radius: 6px; background: #fff; border: 1px solid #d5dde9;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; color: var(--navy);
  overflow-wrap: anywhere; user-select: all;
}

.recovery-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 14px; border-radius: 10px; background: #f8fafd; border: 1px solid var(--border);
}
.recovery-code {
  padding: 6px 8px; border-radius: 6px; background: #fff; border: 1px solid #e1e6ee; text-align: center;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; font-weight: 600; color: var(--navy);
}
.inv-state-box { display: flex; flex-direction: column; gap: 14px; }
.inv-divider { display: flex; align-items: center; gap: 12px; color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.inv-divider::before, .inv-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.field-hint { font-size: 12px; color: #5b6b85; }
.copy-status { font-size: 12px; color: #15803d; font-weight: 600; }

/* ---------- Letöltési oldal: üdvözlés + eredeti 3 lépéses vizuális útmutató ---------- */
.auth-layout--download { min-height: min(92vh, 760px); }
.dl-welcome-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px; background: #ecfdf5; border: 1px solid #bbf7d0;
  color: #166534; font-size: 12px; font-weight: 600;
}
.dl-welcome-badge svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.dl-guide-toggle { font-size: 12px; text-align: center; color: var(--accent); }

.dl-guide-band {
  background: #ffffff; border-top: 1px solid var(--border);
  padding: 52px 24px 68px;
}
.dl-guide-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

.dl-started {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 12px; background: #f8fafd;
  border: 1px solid #cbd5e1; border-left: 4px solid #e3b44b;
}
.dl-started-left { display: flex; align-items: center; gap: 14px; }
.dl-started-dot {
  width: 12px; height: 12px; border-radius: 999px; flex: none;
  background: #e3b44b; box-shadow: 0 0 0 4px rgba(227, 180, 75, .24);
}
.dl-started strong { display: block; color: var(--navy); font-size: 15px; }
.dl-started span { display: block; font-size: 13px; color: #46566f; }

.guide-head { display: flex; flex-direction: column; gap: 6px; max-width: 680px; }
.guide-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.22; font-weight: 700; color: var(--navy); letter-spacing: -0.015em; }
.guide-head p { margin: 0; font-size: 15px; color: #46566f; }

.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff; border: 1px solid var(--border); border-radius: 16px;
  border-top: 3px solid var(--navy); overflow: hidden;
  box-shadow: 0 8px 24px rgba(27, 45, 79, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-top-color .18s ease;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(27, 45, 79, .09); border-top-color: #e3b44b; }
.guide-card-body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.guide-step-pill {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px; background: #eef2f8; color: var(--navy); border: 1px solid #d5dfee;
}
.guide-card h3 { margin: 2px 0 0; font-size: 19px; line-height: 1.25; color: var(--navy); font-weight: 700; }
.guide-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #46566f; }

.guide-preview {
  padding: 16px 20px 18px; background: #f4f7fc; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.guide-preview svg { width: 100%; height: auto; max-width: 290px; display: block; }

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; }
  .inv-card { width: 100%; max-width: 480px; }
  .dl-guide-band { padding: 36px 16px 48px; }
}
