:root {
  --ink: #10181f;
  --muted: #55606e;
  --paper: #f1f4f8;
  --accent: #1d4e89;
  --line: #ccd3dc;
  --error: #b4483d;

  /* Validated categorical palette (dataviz skill, fixed order - never
     cycled/reassigned) - one hue per dimension module, small multiples. */
  --series-1: #2a78d6; /* blue */
  --series-2: #eb6834; /* orange */
  --series-3: #1baf7a; /* aqua */
  --series-4: #eda100; /* yellow */
  --series-5: #e87ba4; /* magenta */
  --series-6: #008300; /* green */
  --series-7: #4a3aa7; /* violet */
  --series-8: #e34948; /* red */
}

/* Lato - SAJAT szerverrol kiszolgalva (public/fonts), nem a Google Fontsrol.
   A Google Fonts-ra hivatkozas a latogato IP-cimet a Google-nek kuldene,
   ami ellentmond az adatvedelmi tajekoztatonk allitasanak (nem kuldunk
   latogatoi adatot harmadik felnek), es EU-s jogeset is volt ra. A Lato
   SIL Open Font License alatt van (public/fonts/LICENSE-Lato-OFL.txt).
   A latin-ext tartalmazza a magyar ő/ű betuket, a cseh/lengyel/roman stb.
   ekezeteket. Cirill/gorog szovegre a Lato nem ad glifet, ott a bohozo
   Arial/sans-serif fallback lep be (ugyanugy, mint a Google-os valtozatnal). */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-latin-ext-400-normal.woff2') format('woff2');
  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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-latin-ext-700-normal.woff2') format('woff2');
  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: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-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: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-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;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, Arial, sans-serif;
  line-height: 1.5;
}

/* =========================================================
   Utilities — small, single-purpose classes, composable in
   markup (Tailwind-style). Only the values actually in use;
   extend this scale as new spacing needs come up rather than
   writing a one-off margin/padding/gap value on a component.
   Colors, fonts and other cosmetic rules stay in the
   component section below.
   ========================================================= */

/* Spacing scale (px) */
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: 4px; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-4  { margin-bottom: 4px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }

.my-32 { margin-top: 32px; margin-bottom: 32px; }

.p-16 { padding: 16px; }
.p-20 { padding: 20px; }
.p-24 { padding: 24px; }

.px-24 { padding-left: 24px; padding-right: 24px; }
.py-18 { padding-top: 18px; padding-bottom: 18px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }

.gap-8  { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

/* Layout primitives */
.flex             { display: flex; }
.grid             { display: grid; }
.flex-wrap        { flex-wrap: wrap; }
.flex-1           { flex: 1; }
.items-center     { align-items: center; }
.justify-between  { justify-content: space-between; }

/* Surface primitives (reused across form / card / dl) */
.bg-white   { background: white; }
.border     { border: 1px solid var(--line); }
.rounded    { border-radius: 4px; }

/* !important szuksges: ez egy univerzalis "rejtsd el, barmi is legyen
   a szelektor-specificitas" utility-osztaly - pl. az admin-menupontok
   (.account-menu__dropdown a { display: block }) enelkul specificitas
   alapjan felulirnak egy sima ".hidden { display: none }"-t, es a
   linkek LATSZODNANAK nem-admin userkent is, holott a JS mar levette
   a hidden-t rajuk kivul (2026-08-24, valos hiba talalva es javitva). */
.hidden { display: none !important; }

.text-muted { color: var(--muted); }
.text-sm    { font-size: 0.9rem; }

/* =========================================================
   Components — cosmetic rules (color, font, borders on their
   own) stay here; spacing/layout comes from the utilities
   above via classes in the markup.
   ========================================================= */

/* Site header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: 920px; margin: 0 auto; }
.site-header__logo {
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.site-header__nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-header__nav a:hover { color: var(--accent); }

/* Nyelvvalaszto legordulo (2026-08-27) - a globalis "select { width:
   100% }" szabaly (ld. lejjebb az urlap-mezoknel) tulzottan szeles
   sávot adna neki a fejlecben, holott csak 3 betunyi tartalmat mutat -
   felhasznaloi keresere kompaktabbra allitva. */
#langSelect { width: auto; padding: 4px 6px; font-size: 0.85rem; }

/* Hamburger toggle - hidden on desktop, only shown/used under the
   mobile breakpoint below. .site-header__links holds the actual nav
   items (separate from .site-header__nav) so it can be hidden/shown
   as a dropdown panel independently of the toggle button itself. */
.nav-toggle {
  display: none; width: auto; background: none; border: none;
  font-size: 1.3rem; line-height: 1; color: var(--ink);
  padding: 4px 6px; margin: 0; cursor: pointer;
}
.nav-toggle:hover { background: none; color: var(--accent); }

@media (max-width: 720px) {
  .site-header { position: relative; }
  .nav-toggle { display: block; }
  .site-header__links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 14px;
    background: white; border-bottom: 1px solid var(--line);
    padding: 16px 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .site-header__links.nav-open { display: flex; }
  .account-menu { width: 100%; }
  .account-menu__trigger { width: 100%; text-align: left; }
  .account-menu__dropdown {
    position: static; margin-top: 8px; box-shadow: none;
    border: none; padding: 0 0 0 12px; width: 100%;
  }
}

/* Account menu (header) - dropdown replaces "Log in" once a token is
   present, ld. header.js. Positioned relative so the dropdown can
   anchor under the trigger button. */
.account-menu { position: relative; }
.account-menu__trigger {
  width: auto; padding: 0; margin: 0; background: none; border: none;
  color: var(--muted); font-size: 0.92rem;
  cursor: pointer;
}
.account-menu__trigger:hover { background: none; color: var(--accent); }
.account-menu__dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 8px; min-width: 160px;
  background: white; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); z-index: 10; padding: 6px 0;
}
.account-menu__dropdown a, .account-menu__dropdown button {
  display: block; width: 100%; padding: 8px 14px; margin: 0;
  background: none; border: none; border-radius: 0; text-align: left;
  color: var(--ink); font-size: 0.88rem;
  text-decoration: none; cursor: pointer;
}
.account-menu__dropdown a:hover, .account-menu__dropdown button:hover { background: var(--paper); }

/* Site footer */
.site-footer { border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.site-footer__inner { max-width: 920px; margin: 0 auto; }

/* Layout wrappers */
.wrap { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.wrap--wide { max-width: 920px; padding: 40px 24px; }
.wrap--narrow { max-width: 720px; padding: 40px 24px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--accent); }
a { color: var(--accent); }
h1 { font-size: 2.1rem; line-height: 1.15; margin: 0 0 16px; }
.wrap--wide h1,
.wrap--narrow h1 { font-size: 1.8rem; margin: 0 0 20px; }
.wrap--narrow h1 { font-size: 1.7rem; margin: 16px 0 4px; }

p.lead { font-size: 1.1rem; color: var(--muted);  }
.subtitle { color: var(--muted); }

/* Homepage hero band - full-bleed, visually distinct from the rest of
   the page (felhasznaloi keres, 2026-08-25): sajat szinu sav, ami
   azonnal elkulonul a --paper hatteru tartalomtol. */
.hero-band { background: var(--accent); }
.hero-band .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero-band h1 { color: white; }
.hero-band p.lead { color: rgba(255, 255, 255, 0.92); }
.hero-band .btn { background: white; color: var(--accent); font-weight: 700; }
.hero-band .btn:hover { background: var(--paper); }

a.back { color: var(--muted); text-decoration: none; font-size: 0.9rem; }

/* Landing page value points */
.points { list-style: none; padding: 0; }
.points li { padding-left: 1.4em; position: relative; }
.points li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* Forms */
form { background: white; border: 1px solid var(--line); border-radius: 4px; max-width: 420px; }
form h2 { font-size: 1.2rem; }

label { display: block; font-size: 0.85rem; color: var(--muted); }

input, select, textarea {
  width: 100%; padding: 10px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 3px;
}
textarea { resize: vertical; }

/* Long forms (e.g. new-listing) - lets a form opt out of the default
   420px cap and lay short fields out two-per-row on wider screens,
   instead of one long single-column stack. .field wraps a label+input
   pair; .fields-grid is the 2-column container for a group of them. */
#listingForm { max-width: 100%; }
.field { margin-top: 12px; }
.field label { margin: 0 0 4px; }

@media (min-width: 640px) {
  .fields-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    column-gap: 20px; align-items: end;
  }
  .fields-grid .field { margin-top: 12px; }
}

/* Danger zone (profile page - account deletion) - unmistakably red,
   deliberately jarring compared to every other section on the site, so
   it reads as "this is different from every other button here". */
.danger-zone {
  background: white; max-width: 420px; border: 2px solid var(--error);
  border-radius: 4px;
}
.danger-zone h2 { font-size: 1.2rem; color: var(--error); }
.danger-btn {
  width: 100%; padding: 12px; background: var(--error); color: white;
  border: none; border-radius: 3px; font-size: 1rem; cursor: pointer;
}
.danger-btn:hover { background: #8f3226; }
#cancelDeleteBtn { background: none; color: var(--muted); text-decoration: underline; }
#cancelDeleteBtn:hover { background: none; color: var(--ink); }

/* Personal-perspective section (listing form) - visually set apart from
   the required/official fields above it, so it reads as a distinct,
   optional add-on rather than part of the core listing data. */
.perception-section { background: var(--paper); border: 1px dashed var(--line); border-radius: 4px; }
.perception-row label { color: var(--ink); font-size: 0.9rem; }
.perception-row select { width: 80px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-option {
  display: flex; align-items: center; gap: 4px; width: auto;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px;
  font-size: 0.95rem; color: var(--ink); cursor: pointer;
}
.radio-option input { width: auto; padding: 0; margin: 0; }
.radio-option:has(input:checked) { border-color: var(--accent); background: var(--paper); }

.checkbox-row { display: flex; align-items: flex-start; gap: 8px; }
.checkbox-row input[type="checkbox"] { width: auto; margin: 4px 0 0; padding: 0; flex-shrink: 0; }
.checkbox-row label { font-size: 0.9rem; }

button {
  width: 100%; padding: 12px;
  background: var(--ink); color: var(--paper);
  border: none; border-radius: 3px; font-size: 1rem; cursor: pointer;
}
button:hover { background: var(--accent); }
button:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }

/* Primary "Search" CTA (listings.ejs) - visually heavier than the
   secondary "Sort by my priorities"/"Apply weights"/"Reset" controls
   around it, so it reads as the main action on the page. */
.search-btn-primary {
  width: auto; padding: 12px 40px;
  background: var(--accent); font-size: 1.05rem; font-weight: 600;
}
.search-btn-primary:hover { background: var(--ink); }

/* Pagination controls (listings search) */
#pagination button { width: auto; padding: 8px 16px; }

/* Anchor OR real button styled the same way - so a nav-style CTA and an
   actual form-submit button get identical visual weight. */
a.btn, button.btn {
  display: inline-block; width: auto; padding: 10px 18px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  border: none; border-radius: 3px; font-size: 0.95rem;
  cursor: pointer;
}
a.btn:hover, button.btn:hover { background: var(--accent); }

#formMessage.error { color: var(--error); }
#formMessage.success { color: var(--accent); }

/* Listing search filters */
.filters select, .filters input {
  width: auto; padding: 8px 10px; font-size: 0.9rem;
  border: 1px solid var(--line); border-radius: 3px;
}
.filters button {
  width: auto; padding: 8px 16px; background: var(--ink); color: var(--paper);
  border: none; border-radius: 3px; cursor: pointer;
}

/* Listing cards */
.card { background: white; border: 1px solid var(--line); border-radius: 4px; }
.card a { color: var(--ink); text-decoration: none; font-weight: 600; }
.card a:hover { color: var(--accent); }
.card .meta { color: var(--muted); font-size: 0.88rem; }
.card .price { font-weight: 600; white-space: nowrap; }

#empty, #notFound { color: var(--muted); }

/* Listing detail */
.price { font-size: 1.4rem; font-weight: 600; }

dl { background: white; border: 1px solid var(--line); border-radius: 4px; grid-template-columns: max-content 1fr; row-gap: 8px; column-gap: 20px; }
dt { color: var(--muted); }
dd { margin: 0; }

/* Data dashboard table */
.table-scroll { overflow-x: auto; }
.data-table { border-collapse: collapse; width: 100%; }
.data-table th, .data-table td { text-align: left; }

/* Dashboard dimension cards - same validated per-dimension color as the
   listing-detail charts (--card-accent set client-side by
   dashboard-colors.js from dimension-colors.js, one fixed hue per key). */
.dim-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Homepage "who this is for" cards - always exactly 2, so auto-fit (not
   auto-fill like .dim-grid above) collapses empty tracks and lets the
   2 cards share the full width side by side, instead of squeezing to
   the left with empty gap on a wide screen. Reuses .dim-card's visual
   style (accent top strip, white background) for consistency. */
.perspective-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dim-card {
  background: white; border: 1px solid var(--line); border-top: 4px solid var(--card-accent, var(--accent));
  border-radius: 4px;
}
.dim-card h2 { font-size: 1rem; }
.dim-card .unit { color: var(--muted); font-size: 0.8rem; }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table th { background: var(--paper); font-size: 0.85rem; }

.region-row { display: flex; align-items: center; }
.region-row .name { width: 70px; flex: none; font-size: 0.85rem; }
.region-row .bar-track { display: block; flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; height: 8px; overflow: hidden; }
.region-row .bar-fill { display: block; height: 100%; background: var(--card-accent, var(--accent)); }
.region-row .raw { width: 90px; flex: none; text-align: right; font-size: 0.8rem; color: var(--muted); }

/* Wide variant: full dimension labels (listing detail region section) */
.region-row--wide .name { width: 220px; white-space: normal; line-height: 1.2; }

/* Flat variant: no bar (cost-of-living cards - intentionally
   score-free, ld. main.css-t hasznalo dashboard.ejs/listing-detail.js) -
   name/raw ket vegen, nincs kozepso bar-track spacer. */
.region-row--flat { justify-content: space-between; }
.region-row--flat .raw { text-align: right; }

/* Listing photo gallery */
.photo-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.photo-tile { position: relative; background: white; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.photo-tile img { display: block; width: 100%; height: 120px; object-fit: cover; }
.photo-tile button {
  position: absolute; top: 6px; right: 6px; width: auto; margin: 0;
  padding: 4px 10px; font-size: 0.78rem;
  background: var(--error); color: white;
}
.photo-tile button:hover { background: #8f3226; }

/* Featured (paid) listing - kiemelt keret + jelveny, sosem szinnel
   egyedul jelolve (a "Featured" szoveg is mindig ott van a jelvenyen). */
.card--featured { border-color: var(--accent); border-width: 2px; }
.card-thumb { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.featured-badge {
  display: inline-block; margin-right: 6px; padding: 1px 6px;
  background: #ede2b8; color: #6b4e00; border-radius: 3px; font-size: 0.74rem;
  font-weight: 600;
}

/* Region score badge (search cards + listing detail) */
.score-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  background: var(--accent); color: white; border-radius: 3px; font-size: 0.76rem;
}
/* Personal (Advanced search) score - visually distinct outline, so it's
   never mistaken for the official filled Region score badge next to it. */
.score-badge--personal {
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
}

/* Advanced search panel (listings.ejs) - weighted personal ranking, based
   only on official dimension data (never community/seller ratings). */
.advanced-panel { background: white; border: 1px solid var(--line); border-radius: 4px; }
.weight-row .weight-label { width: 320px; flex: none; font-size: 0.85rem; }
.weight-row input[type="range"] { flex: 1; max-width: 200px; }
.weight-row .weight-value { width: 20px; text-align: right; }

/* My listings page - status badge per listing + inline action links */
.status-badge {
  display: inline-block; margin-right: 6px; padding: 1px 8px;
  border-radius: 3px; font-size: 0.76rem; font-weight: 600;
}
.status-badge--draft { background: #e8e8e8; color: var(--muted); }
.status-badge--active { background: var(--accent); color: white; }
.status-badge--archived { background: #efe1e1; color: var(--error); }
.status-badge--new { background: var(--accent); color: white; }
.status-badge--read { background: #e8e8e8; color: var(--muted); }
.my-listing-actions { font-size: 0.85rem; }
.my-listing-actions a { color: var(--accent); }
.my-listing-actions button {
  width: auto; padding: 0; margin: 0; background: none; border: none;
  color: var(--accent); font-size: 0.85rem; text-decoration: underline; cursor: pointer;
}

/* Chart.js container (listing detail trend chart) */
.chart-box { position: relative; height: 180px; }
.chart-box--tall { height: 260px; }
/* Foldali orszag-trend grafikon (2026-08-26) - MOST MAR akar 27 orszag
   vonalat is mutathatja (nem csak a top 10-et), ezert tobb fuggoleges
   hely kell, hogy a vonalak jobban szetvaljanak. */
.chart-box--xl { height: 460px; }

/* Approximate-location map (listing detail) - a pre-generated static
   SVG file (mapImage.service.js), never computed client-side. */
.listing-map { display: block; max-width: 320px; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }

/* Listing photo gallery (listing detail) - one large main image plus a
   scrollable thumbnail row below it; clicking a thumbnail swaps the
   main image's src (see listing-detail.js), no external library. */
.listing-gallery-main { display: block; width: 100%; max-height: 480px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.listing-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.listing-gallery-thumb { width: 84px; height: 64px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.listing-gallery-thumb.active { border-color: var(--accent); }

/* Contact-seller CTA (listing detail) - the primary action on the page,
   solid accent border to stand out from the plainer sections below it. */
.contact-seller { background: white; border: 2px solid var(--accent); border-radius: 4px; max-width: 480px; }
.contact-seller form { border: none; padding: 0; max-width: none; background: none; }

/* Seller's personal perspective (listing detail) - deliberately plain/
   dashed, distinct from the .metric-card region-intelligence modules
   above it, so it never reads as official data. */
.seller-perception { background: var(--paper); border: 1px dashed var(--line); border-radius: 4px; }
.perception-row { padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.perception-row:last-child { border-bottom: none; }
.perception-score { color: var(--muted); }
.seller-note { font-style: italic; color: var(--ink); }

/* Official county safety (listing detail) - a genuine, live-ingested
   Eurostat data point (unlike the dashed/crowdsourced boxes above),
   so it gets a solid border like .metric-card, never dashed. */
.official-county-safety { background: white; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 4px; }
.safety-bar-track { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; height: 8px; overflow: hidden; }
.safety-bar-fill { height: 100%; background: var(--accent); }
.safety-bar-labels { display: flex; justify-content: space-between; }

/* Metric module grid (listing detail - one card per dimension, each
   with its own accent color from the --series-* scale). Text stays in
   ink/muted tokens per the dataviz rule - color marks the module via
   the border strip and the chart line/fill, never the label text. */
.metric-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.metric-card {
  background: white; border: 1px solid var(--line); border-top: 4px solid var(--card-accent, var(--accent));
  border-radius: 4px;
}
.metric-card h3 { font-size: 0.92rem; font-weight: 600; }
.metric-card .unit { color: var(--muted); font-size: 0.78rem; }
.metric-card .single-value { font-size: 1.3rem; font-weight: 600; }

/* Egyszeru forgo-spinner egy hosszan futo, szinkron muvelet (pl. CSV
   tomeges import, ami soronkent geokodol, Nominatim-szabalyzat miatt
   1 mp/sor) lathato "folyamatban" jelzesehez - 2026-08-27. */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block; width: 14px; height: 14px; margin-right: 6px;
  border: 2px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  vertical-align: middle;
}
