/* ─── Design tokens (default téma) ────────────────────────────────────────────
   A THEMING_TOKEN_AUDIT.md (2026-08-17) szerinti alap-token-készlet. Az értékek a MAI
   (default) kinézet — a token-BÁZIS csak DEFINIÁL, a komponensek MÉG NEM hivatkoznak rá
   (a nagy inline/komponens-migráció külön, Daniel-scope-olt lépés). Így ez a blokk ADDITÍV
   és NULLA vizuális változást okoz (nem hivatkozott custom property nem renderel semmit).
   Egy alternatív téma = ezen tokenek egy [data-theme="..."] értékkészlete (F2). ─────────── */
:root {
  /* Színek */
  --color-primary:      #4F46E5;  /* indigo -- fő akció */
  --color-primary-soft: #EEF2FF;  /* indigo-50 chip/hover háttér */
  --color-ink:          #0F172A;  /* legsötétebb szöveg/cím + sidebar */
  --color-text:         #1E293B;  /* fő szövegszín */
  --color-text-2:       #475569;  /* másodlagos szöveg */
  --color-muted:        #64748B;  /* halvány szöveg */
  --color-muted-2:      #94A3B8;  /* leghalványabb / placeholder */
  --color-border:       #E2E8F0;  /* keret/elválasztó */
  --color-border-soft:  #F1F5F9;  /* halvány keret/csík */
  --color-surface:      #FFFFFF;  /* kártya/panel háttér */
  --color-bg:           #F1F5F9;  /* app háttér */
  --color-bg-soft:      #F8FAFC;  /* sáv/hover háttér */
  --color-danger:       #EF4444;
  --color-danger-dark:  #991B1B;
  --color-success:      #10B981;
  --color-success-dark: #059669;
  --color-warning:      #F59E0B;
  --color-warning-dark: #D97706;
  --color-brand-accent: #6D5FA8;  /* lila akcent (marketing-oldalak --purple magja) */

  /* Betűk */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  /* --font-heading a JELENLEGI valos heading-fontra van allitva (Inter): a default heading
     ma a body-Inter-t orokli, igy a token-bekotes utan is Inter marad (0 vizualis valtozas).
     A 4 tema sajat --font-heading-je (Montserrat/Poppins) irja felul a temas modban. */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Courier New', monospace;

  /* Betűméret-skála */
  --fs-xs:   11px;
  --fs-sm:   12px;
  --fs-base: 13px;
  --fs-md:   14px;
  --fs-lg:   16px;
  --fs-xl:   18px;

  /* Sarok-lekerekítés */
  --radius-sm:   6px;
  --radius:      8px;
  --radius-md:   10px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  20px;
  --radius-pill: 99px;
  --radius-full: 50%;

  /* Árnyékok (a mai app.css értékei) */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.05);
  --shadow:       0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg:    0 25px 50px rgba(0,0,0,0.3);
  --shadow-focus: 0 0 0 3px rgba(79,70,229,0.1);

  /* Térközök (8px-alapú skála) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); background: var(--color-bg); }

/* ─── Sidebar ─── */
.sidebar { width: 260px; height: 100vh; background: var(--color-ink); position: fixed; left: 0; top: 0; z-index: 100; display: flex; flex-direction: column; overflow: hidden; }
.sidebar-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; min-height: 0; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.28); }
.sidebar-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); flex-shrink: 0; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: var(--color-muted-2); text-decoration: none; font-size: var(--fs-md); font-weight: 500; transition: all 0.15s; cursor: pointer; margin-bottom: 2px; }
.nav-item:hover { background: rgba(255,255,255,0.07); color: var(--color-border); }
.nav-item.active { background: var(--color-primary); color: var(--color-surface); }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-section { font-size: 10px; font-weight: 600; color: var(--color-text-2); text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px 4px; margin-top: var(--space-2); }

/* ─── Main layout ─── */
.main-content { margin-left: 260px; min-height: 100vh; }
.topbar { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.page-content { padding: 28px; }

/* ─── Cards ─── */
.card { background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.card-body { padding: 20px 24px; }
.card-header { padding: 16px 24px 0; border-bottom: 1px solid var(--color-bg); padding-bottom: 14px; }

/* ─── KPI Cards ─── */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.kpi-card { background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); padding: 20px 22px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.kpi-label { font-size: var(--fs-sm); font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi-value { font-size: 28px; font-weight: 700; color: var(--color-ink); margin: 6px 0 4px; line-height: 1; }
.kpi-change { font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: var(--radius-2xl); }
.kpi-change.up { color: var(--color-success-dark); background: #D1FAE5; }
.kpi-change.down { color: #DC2626; background: #FEE2E2; }
.kpi-icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; }

/* ─── Charts ─── */
.chart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-4); }
.chart-wrap { position: relative; }

/* ─── Tables ─── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-size: var(--fs-xs); font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.data-table td { padding: 12px 16px; font-size: var(--fs-base); color: var(--color-text); border-bottom: 1px solid var(--color-bg-soft); }
.data-table tbody tr:hover { background: var(--color-bg-soft); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ─── Badges ─── */
.badge { font-size: var(--fs-xs); font-weight: 600; padding: 3px 9px; border-radius: var(--radius-2xl); display: inline-block; }
.badge-green { background: #D1FAE5; color: #065F46; }
.badge-yellow { background: #FEF3C7; color: #92400E; }
.badge-red { background: #FEE2E2; color: var(--color-danger-dark); }
.badge-gray { background: var(--color-bg); color: var(--color-text-2); }
.badge-blue { background: #DBEAFE; color: #1D4ED8; }

/* ─── Platform badges ─── */
.platform-badge { font-size: var(--fs-xs); font-weight: 600; padding: 3px 9px 3px 6px; border-radius: var(--radius-2xl); display: inline-flex; align-items: center; }
.platform-meta { background: var(--color-primary-soft); color: #3730A3; }
.platform-google { background: #FEF3C7; color: #92400E; }
.platform-tiktok { background: #FCE7F3; color: #831843; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--radius); font-size: var(--fs-base); font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none; }
.btn-primary { background: var(--color-primary); color: var(--color-surface); }
.btn-primary:hover { background: #4338CA; }
.btn-secondary { background: var(--color-bg); color: #334155; border: 1px solid var(--color-border); }
.btn-secondary:hover { background: var(--color-border); }
.btn-danger { background: #FEE2E2; color: #DC2626; }
.btn-danger:hover { background: #FECACA; }
.btn-sm { padding: 6px 12px; font-size: var(--fs-sm); }
.btn-icon { padding: var(--space-2); width: 34px; height: 34px; }

/* ─── Form elements ─── */
.form-input { width: 100%; padding: 9px 12px; border: 1px solid #CBD5E1; border-radius: var(--radius); font-size: var(--fs-md); color: var(--color-ink); background: var(--color-surface); transition: border-color 0.15s; outline: none; }
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-label { font-size: var(--fs-base); font-weight: 600; color: #374151; margin-bottom: 5px; display: block; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: var(--space-8); }

/* ─── Stat row ─── */
.stat-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--color-bg); }
.stat-row:last-child { border-bottom: none; }

/* ─── Login page ─── */
.login-bg { min-height: 100vh; background: linear-gradient(135deg, var(--color-ink) 0%, #1E1B4B 60%, #312E81 100%); display: flex; align-items: center; justify-content: center; }
.login-card { background: var(--color-surface); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }

/* ─── Avatar ─── */
.avatar { width: 34px; height: 34px; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-surface); font-size: var(--fs-sm); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* ─── Connection card ─── */
.conn-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--color-surface); }
.conn-card.connected { border-color: #A7F3D0; background: #F0FDF4; }
.conn-dot { width: 8px; height: 8px; border-radius: var(--radius-full); display: inline-block; }
.conn-dot.online { background: var(--color-success); }
.conn-dot.offline { background: var(--color-muted-2); }

/* ─── Misc ─── */
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }
.text-muted { color: var(--color-muted); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
.page-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--color-ink); }
.page-subtitle { font-size: var(--fs-md); color: var(--color-muted); margin-top: 2px; }
.section-title { font-family: var(--font-heading); font-size: var(--fs-md); font-weight: 700; color: var(--color-text); }
.section-subtitle { font-size: var(--fs-sm); color: var(--color-muted); }
.tag { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--fs-xs); font-weight: 600; padding: 2px 7px; border-radius: 4px; }

/* ─── Upload zone ─── */
.upload-zone { border: 2px dashed #CBD5E1; border-radius: var(--radius-md); padding: 28px; text-align: center; cursor: pointer; transition: all 0.15s; }
.upload-zone:hover { border-color: var(--color-primary); background: #F5F3FF; }

/* ─── Progress bar ─── */
.progress { height: 6px; border-radius: 3px; background: var(--color-border); overflow: hidden; }
.progress-bar { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ─── Mobile hamburger toggle ─── */
.menu-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 200;
  background: var(--color-ink);
  border: none;
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-surface);
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ─── Sidebar overlay ─── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99;
}
.sidebar-overlay.open { display: block; }

/* ─── Responsive grid helpers ─── */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

/* ─── Table scroll wrapper ─── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ════════════════════════════════════════
   TABLET  ≤ 1024px
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-grid { grid-template-columns: 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   MOBILE  ≤ 768px
════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Sidebar drawer */
  .sidebar {
    transform: translateX(-260px);
    transition: transform 0.25s ease;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }
  .menu-toggle { display: flex; }

  /* Main content full width */
  .main-content { margin-left: 0; }

  /* Topbar */
  .topbar {
    padding: 0 16px 0 62px; /* space for hamburger */
    height: 56px;
  }
  .page-title { font-size: var(--fs-lg); }
  .page-subtitle { display: none; }

  /* Page content */
  .page-content { padding: var(--space-4); }

  /* KPI grid */
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kpi-value { font-size: 22px; }
  .kpi-card { padding: 14px 16px; }

  /* Analytics grid (!important to beat per-page inline grid-template-columns) */
  .analytics-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Charts & bottom grid */
  .chart-grid { grid-template-columns: 1fr; }
  .bottom-grid { grid-template-columns: 1fr; }

  /* Cards */
  .card-body { padding: 14px 16px; }
  .card-header { padding: 12px 16px; padding-bottom: 10px; }

  /* Tables */
  .data-table th, .data-table td { padding: 10px 12px; font-size: var(--fs-sm); }

  /* Buttons in topbar */
  .topbar .btn-sm { padding: 5px 10px; font-size: var(--fs-xs); }

  /* Hide less important topbar elements on very small screens */
  #lastSync { display: none; }
}

/* ════════════════════════════════════════
   SMALL MOBILE  ≤ 480px
════════════════════════════════════════ */
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { padding: 0 12px 0 56px; }
  .page-content { padding: var(--space-3); }
  .kpi-value { font-size: 24px; }
}

/* ════════════════════════════════════════
   MOBILE OVERRIDES for inline grids
   Several pages set grid-template-columns inline on #kpiRow /
   #summaryRow, which beats the class-based media queries above by
   specificity. Force these stat rows to collapse on small screens.
   (!important is required to win over the inline style.)
════════════════════════════════════════ */
@media (max-width: 768px) {
  #kpiRow, #summaryRow { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  #kpiRow, #summaryRow { grid-template-columns: 1fr !important; }
}

/* Safety net: never let the page scroll sideways on phones. */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
}

/* Collapse two-column inline form grids on small screens.
   Attribute selector + !important beats the inline style regardless of
   specificity, so per-page modals/forms that hardcode
   `grid-template-columns: 1fr 1fr` stack into one column on phones. */
@media (max-width: 560px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Let inline flex header/toolbar rows wrap instead of overflowing on phones.
   Only affects rows that would otherwise overflow (flex-wrap is a no-op when
   content already fits). Kanban boards use class-based flex, not inline, so
   their horizontal scroll is untouched. */
@media (max-width: 560px) {
  [style*="display:flex"][style*="align-items:center"] { flex-wrap: wrap; }
}

/* Injected/markdown tables (e.g. proposal-view) that are not wrapped
   in .table-scroll: make them horizontally scrollable on mobile. */
@media (max-width: 768px) {
  .proposal-card table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}


/* ===========================================================================
   THEMES (F2) -- BeBrand-palette [data-theme] override blocks. DEFAULT (:root) is the
   BeBrand look, UNCHANGED. These override ONLY the color/font/radius/shadow layer; the
   --fs-* / --space-* scale stays identical on every theme (layout pixel-stable). All 4 use
   the fixed BeBrand palette (navy #1E3A8A / purple #7C3AED / cyan #02B5EC / white / grey);
   the character is in the design language. Source: projects/bebrandsuite-crm/THEMES_DESIGN.md v2.
   Activation: <html data-theme="aura|orbit|presztizs|halo"> (set by js/theme.js).
   NOTE: comments ASCII-only on purpose -- non-ASCII in a charset-less text/css response can
   break the CSS parser and silently drop the following rule (verified 2026-08-17).
   =========================================================================== */

[data-theme="aura"] {
  /* BeBrand paletta -- fix */
  --color-primary:      #1E3A8A;   /* navy -- fo akcio alap */
  --color-primary-soft: #EEF0FB;   /* navy halvany hatter (chip/hover) */
  --color-brand-accent: #7C3AED;   /* lila -- AI/innovacio akcent */
  --color-cta:          #02B5EC;   /* cian -- CTA/energia (kiemelt gomb) */
  --color-ink:          #1F2937;   /* sotetszurke -- legsotetebb cim */
  --color-text:         #29303B;   /* fo szoveg */
  --color-text-2:       #4B5563;   /* masodlagos szoveg */
  --color-muted:        #6B7280;   /* halvany szoveg */
  --color-muted-2:      #9CA3AF;   /* leghalvanyabb / placeholder */
  --color-border:       #E7E9F2;   /* keret (kekre tintelt, nem semleges szurke) */
  --color-border-soft:  #F1F2F9;   /* halvany csik */
  --color-surface:      #FFFFFF;   /* kartya/panel */
  --color-bg:           #FBFBFE;   /* app hatter -- alig-kekes feher */
  --color-bg-soft:      #F4F5FB;   /* sav/hover */
  --color-danger:       #DC2626; --color-success:#059669; --color-warning:#D97706;
  /* BeBrand-gradiensek */
  --grad-brand:  linear-gradient(120deg, #1E3A8A 0%, #7C3AED 55%, #02B5EC 100%);
  --grad-cta:    linear-gradient(120deg, #7C3AED 0%, #02B5EC 100%);
  --grad-ambient: radial-gradient(1200px 600px at 100% -10%, rgba(124,58,237,.08), transparent 60%),
                  radial-gradient(900px 500px at -10% 0%, rgba(2,181,236,.06), transparent 55%);
  /* tipo -- Poppins cim (lagy geometrikus), Inter body (marka-eloirt) */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  /* forma -- lagy, hierarchikus */
  --radius-sm:6px; --radius:10px; --radius-md:12px; --radius-lg:16px; --radius-xl:20px; --radius-2xl:24px; --radius-pill:999px; --radius-full:50%;
  /* melyseg -- lilara/kekre tintelt ambient */
  --shadow-sm: 0 1px 2px rgba(60,50,140,.05);
  --shadow:    0 2px 8px rgba(60,50,140,.07), 0 12px 28px rgba(60,50,140,.06);
  --shadow-lg: 0 8px 24px rgba(60,50,140,.10), 0 28px 56px rgba(60,50,140,.10);
}

[data-theme="orbit"] {
  /* BeBrand paletta -- sotet substrate, navy-bol levezetve */
  --color-primary:      #02B5EC;   /* cian -- fo akcio (soteten a cian a legjobb kontraszt) */
  --color-primary-soft: #10233A;   /* akcent halvany hattere soteten */
  --color-brand-accent: #A78BFA;   /* lila vilagositott (olvashato soteten) */
  --color-cta:          #02B5EC;
  --color-ink:          #F4F7FB;   /* legvilagosabb cim */
  --color-text:         #DBE3EE;   /* fo szoveg -- hideg-feher */
  --color-text-2:       #A7B2C4;   /* masodlagos */
  --color-muted:        #78859A;   /* halvany */
  --color-muted-2:      #55627A;   /* leghalvanyabb / placeholder */
  --color-border:       #1E2A44;   /* keret (navy-vilagos vonal) */
  --color-border-soft:  #172136;   /* halvany csik */
  --color-surface:      #131C30;   /* kartya/panel -- navy-grafit felulet */
  --color-bg:           #0F1729;   /* app hatter -- mely navy-grafit (NEM #000) */
  --color-bg-soft:      #16203A;   /* sav/hover */
  --color-danger:       #F87171; --color-success:#34D399; --color-warning:#FBBF24;
  /* BeBrand-gradiensek -- vilagito el-szerepben */
  --grad-brand:  linear-gradient(120deg, #1E3A8A 0%, #7C3AED 55%, #02B5EC 100%);
  --grad-cta:    linear-gradient(120deg, #7C3AED 0%, #02B5EC 100%);
  --grad-edge:   linear-gradient(120deg, rgba(124,58,237,.6), rgba(2,181,236,.6)); /* hairline glow */
  --grad-ambient: radial-gradient(900px 500px at 90% -20%, rgba(2,181,236,.10), transparent 55%),
                  radial-gradient(700px 400px at 0% 10%, rgba(124,58,237,.10), transparent 50%);
  /* tipo -- Montserrat cim (feszes, technikai), Inter body */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  /* forma -- feszes, mernoki */
  --radius-sm:3px; --radius:4px; --radius-md:6px; --radius-lg:8px; --radius-xl:10px; --radius-2xl:12px; --radius-pill:999px; --radius-full:50%;
  /* melyseg -- forditott: belso highlight + funkcionalis glow */
  --shadow-sm: inset 0 1px 0 rgba(255,255,255,.05);
  --shadow:    0 4px 16px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(2,181,236,.14);
}

[data-theme="presztizs"] {
  /* BeBrand paletta -- nagy blokk-feluletu hasznalat */
  --color-primary:      #1E3A8A;   /* navy -- fo blokk + akcio */
  --color-primary-soft: #E9ECF7;
  --color-brand-accent: #7C3AED;   /* lila -- kiemelt blokk */
  --color-cta:          #02B5EC;   /* cian -- eles CTA */
  --color-ink:          #1F2937;   /* legsotetebb cim */
  --color-text:         #252C38;
  --color-text-2:       #47505E;
  --color-muted:        #6B7280;
  --color-muted-2:      #9CA3AF;
  --color-border:       #DFE3EC;   /* keret (lathato editorial vonal) */
  --color-border-soft:  #ECEEF4;
  --color-surface:      #FFFFFF;
  --color-bg:           #FFFFFF;   /* app hatter -- tiszta feher (max whitespace + szinblokk) */
  --color-bg-soft:      #F5F6FA;
  --color-danger:       #DC2626; --color-success:#059669; --color-warning:#D97706;
  /* gradiens -- MINIMALIS (lapos szinfelulet a lenyeg); csak a CTA-n adagolva */
  --grad-brand:  linear-gradient(120deg, #1E3A8A 0%, #7C3AED 55%, #02B5EC 100%);
  --grad-cta:    linear-gradient(100deg, #7C3AED, #02B5EC);
  --grad-ambient: none;
  /* tipo -- Montserrat Black display a karakter fo hordozoja */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  /* forma -- eles, editorial */
  --radius-sm:2px; --radius:3px; --radius-md:4px; --radius-lg:4px; --radius-xl:6px; --radius-2xl:8px; --radius-pill:3px; --radius-full:50%;
  /* melyseg -- majdnem nulla (tipo+szinblokk hordoz) */
  --shadow-sm: 0 1px 0 rgba(31,41,55,.04);
  --shadow:    0 1px 3px rgba(31,41,55,.05);
  --shadow-lg: 0 4px 14px rgba(31,41,55,.07);
}

[data-theme="halo"] {
  /* BeBrand paletta */
  --color-primary:      #1E3A8A;   /* navy -- struktura + fo akcio */
  --color-primary-soft: #EDF0FC;
  --color-brand-accent: #7C3AED;   /* lila -- chip/badge akcent */
  --color-cta:          #02B5EC;   /* cian -- CTA */
  --color-ink:          #1F2937;
  --color-text:         #2B333F;
  --color-text-2:       #515A67;
  --color-muted:        #757E8B;
  --color-muted-2:      #A2AAB6;
  --color-border:       #E9EBF3;   /* keret (nagyon halvany, kekre tintelt) */
  --color-border-soft:  #F3F4FA;
  --color-surface:      #FFFFFF;
  --color-bg:           #F5F6FB;   /* app hatter -- lagy kekes-szurke kod (kartyak "kiemelkednek") */
  --color-bg-soft:      #EEEFF7;
  --color-danger:       #DC2626; --color-success:#059669; --color-warning:#D97706;
  /* gradiens -- lagyan, csak CTA + chip */
  --grad-brand:  linear-gradient(120deg, #1E3A8A 0%, #7C3AED 55%, #02B5EC 100%);
  --grad-cta:    linear-gradient(125deg, #7C3AED, #02B5EC);
  --grad-ambient: radial-gradient(1000px 500px at 100% 0%, rgba(124,58,237,.04), transparent 60%);
  /* tipo -- Poppins SemiBold cim (lagy), Inter body relaxed */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  /* forma -- lagy, konzekvens soft-hierarchia */
  --radius-sm:8px; --radius:12px; --radius-md:14px; --radius-lg:16px; --radius-xl:20px; --radius-2xl:24px; --radius-pill:999px; --radius-full:50%;
  /* melyseg -- a HOS: kettos diffuz, navy/lilara tintelt */
  --shadow-sm: 0 1px 3px rgba(45,45,110,.06);
  --shadow:    0 4px 10px rgba(45,45,110,.07), 0 14px 34px rgba(45,45,110,.08);
  --shadow-lg: 0 8px 20px rgba(45,45,110,.10), 0 30px 60px rgba(45,45,110,.12);
}
