@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@500;600&family=Ubuntu+Condensed&display=swap");

/* SeeMTA betűtípusok (a játék sGui / sFuel / sJob_raktar mappájából) */
@font-face { font-family: "Ubuntu SM"; src: url("/seemta/fonts/Ubuntu-L.ttf"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Ubuntu SM"; src: url("/seemta/fonts/Ubuntu-R.ttf"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Ubuntu SM"; src: url("/seemta/fonts/Ubuntu-B.ttf"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Bebas SM"; src: url("/seemta/fonts/BebasNeueBold.otf"); font-display: swap; }
@font-face { font-family: "Bebas SM R"; src: url("/seemta/fonts/BebasNeueRegular.otf"); font-display: swap; }
@font-face { font-family: "Thermal SM"; src: url("/seemta/fonts/ThermalPrinter.ttf"); font-display: swap; }
@font-face { font-family: "Sign SM"; src: url("/seemta/fonts/sign.ttf"); font-display: swap; }

/* SeeMTA felület színei (sGui „sight” téma), a kiemelőszín is a SeeMTA zöld.
   --gold: a weboldal saját kiemelőszíne (a neve maradt, ma már zöld); --sm-green: a játékból átvett elemek. */
:root {
  --bg: #1a1b1f;          /* sightgrey1 */
  --surface: #23272a;     /* sightgrey2 */
  --surface-2: #1e2124;   /* sightgrey4 */
  --grey3: #33353d;       /* sightgrey3 */
  --line: #2c2f35;
  --line-2: #33353d;
  --line-3: #54565d;      /* sightmidgrey */
  --text: #ffffff;
  --text-2: #babec4;      /* sightlightgrey */
  --muted: #8a8d94;
  --gold: #3cb882;        /* kiemelőszín: SeeMTA sightgreen */
  --gold-hi: #3cb8aa;
  --gold-ink: #ffffff;    /* szöveg zöld háttéren (mint a játékban) */
  --gold-soft: rgba(60, 184, 130, 0.13);
  --sm-green: #3cb882;    /* sightgreen */
  --sm-green-2: #3cb8aa;  /* sightgreen-second */
  --ok: #3cb882;
  --bad: #f35a5a;         /* sightred */
  --bad-2: #fa785f;       /* sightred-second */
  --hold: #319ad7;        /* sightblue */
  --svc: #943cb8;         /* sightpurple */
  --yellow: #f3d65a;      /* sightyellow */
  --radius: 4px;
  --font: "Ubuntu SM", "Ubuntu", system-ui, sans-serif;
  --display: "Bebas SM", "Bebas Neue", Impact, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--text); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  background: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #111; }
.wrap { width: min(1560px, 100% - 64px); margin-inline: auto; }
.hidden { display: none !important; }

/* ---------- Fejléc ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(9, 9, 11, 0.94); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { width: 34px; height: 34px; object-fit: contain; }
.logo-text { font-weight: 650; font-size: 16px; letter-spacing: -0.01em; }
.logo-text i { font-style: normal; color: var(--gold); }
/* Kapcsolattartók a fejlécben (másolható telefonszám) */
.hcontacts { display: flex; gap: 8px; margin-left: auto; min-width: 0; }
.hc {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 6px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-2); cursor: pointer; text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.hc:hover { border-color: rgba(60, 184, 130, 0.55); }
.hc-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--gold-soft); color: var(--gold); flex: none; }
.hc-icon svg { width: 16px; height: 16px; }
.hc-text { display: grid; line-height: 1.15; }
.hc-text small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.hc-text b { font: 600 13.5px/1.2 var(--mono); letter-spacing: 0.01em; white-space: nowrap; }
.hc-copy { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); transition: color 0.15s, background 0.15s; }
.hc-copy svg { width: 15px; height: 15px; }
.hc:hover .hc-copy { color: var(--text); background: var(--surface-2); }
.hc.copied { border-color: rgba(74, 222, 128, 0.6); }
.hc.copied .hc-copy { color: var(--ok); background: rgba(74, 222, 128, 0.12); }
.who-wrap { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; max-width: 50vw;
}
.who svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-out {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.who-out:hover { color: var(--text); border-color: var(--line-3); }
.who-out.gold { color: var(--text); }
.role-badge { padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 600; font-style: normal; }
.role-kiado { background: rgba(147, 180, 255, 0.14); color: var(--hold); }
.role-vezeto { background: var(--gold-soft); color: var(--gold-hi); }

/* ---------- Gombok, mezők ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2);
  cursor: pointer; font-weight: 600; font-size: 14px; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { border-color: var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }
.btn-danger { color: var(--bad); background: transparent; }
.btn-danger:hover { border-color: rgba(248, 113, 113, 0.5); }
.btn:disabled { opacity: 0.5; pointer-events: none; }

input, select, textarea {
  width: 100%; padding: 10px 13px; border-radius: 10px; background: #0d0d0f;
  border: 1px solid var(--line-2); outline: none; font-size: 14px; transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: #5f5f68; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(60, 184, 130, 0.15); }
textarea { resize: vertical; min-height: 90px; }
select {
  appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8b94' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--gold); }
.error { color: var(--bad); font-size: 13.5px; min-height: 1em; margin: 0; }

/* ---------- Fejrész, kereső, fülek ---------- */
.intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; padding: 52px 0 24px; }
.sec-title { margin: 0; font-size: 34px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; display: flex; align-items: center; gap: 12px; }
.sec-title .count { font-size: 13px; font-weight: 600; letter-spacing: 0; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.sec-title .count:empty { display: none; }
.intro p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 340px; height: 42px; padding-left: 40px; border-radius: 999px; background: var(--surface); }
.tabs {
  display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 28px; max-width: 100%; overflow-x: auto;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
}
.chip {
  padding: 7px 16px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color 0.15s, background 0.15s;
}
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: var(--bg); }

/* ---------- Autókártyák ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 0 0 18px; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s;
  animation: rise 0.45s var(--ease) both;
}
.card > :not(.card-media) { margin-inline: 18px; }
.card:not(.skeleton):hover { transform: translateY(-3px); border-color: var(--line-3); }
.card.featured { border-color: rgba(60, 184, 130, 0.45); }
.card.featured:hover { border-color: var(--gold); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card.off .card-media img { filter: grayscale(1); opacity: 0.55; }
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: #3f3f46; font-size: 12px; }
.ph svg { width: 40px; height: 40px; }
.tag {
  position: absolute; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(9, 9, 11, 0.78); border: 1px solid var(--line-2);
}
.tag.status { left: 12px; }
.tag.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-available { color: var(--ok); }
.st-rented { color: var(--bad); }
.st-reserved { color: var(--hold); }
.st-service { color: var(--svc); }
.card-edit {
  position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
}
.card-edit:hover { background: var(--gold-hi); }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.card-head h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.card-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.price { text-align: right; white-space: nowrap; }
.price b { display: block; font-size: 17px; font-weight: 650; color: var(--gold); letter-spacing: -0.01em; }
.price span { color: var(--muted); font-size: 12px; }

/* Parkjegy és kaució egy sorban */
.fees { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.fees span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.fees b { color: var(--text-2); font-weight: 600; }

/* Adatok a kártyán: rendszám, ID, tulajdonos, telefon */
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 0; margin-bottom: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.meta div { min-width: 0; }
.meta dt { font-size: 11.5px; color: var(--muted); }
.meta dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Egyszerű adatlista (adatlap, kapcsolat) */
.kv { margin: 0; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kv dt { color: var(--muted); flex: none; }
.kv dd { margin: 0; font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.plate {
  display: inline-flex; align-items: center; height: 22px; border-radius: 4px; overflow: hidden; vertical-align: middle;
  background: #fff; color: #111; border: 1px solid #111; padding-right: 7px; font: 600 12px/1 var(--mono); letter-spacing: 0.06em;
}
.plate-band { align-self: stretch; display: grid; place-items: center; padding: 0 4px; margin-right: 6px; background: #1e40af; color: #fff; font: 600 7.5px/1 var(--font); }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.skeleton { aspect-ratio: 16 / 15; cursor: default; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }

/* ---------- Kapcsolat + térkép ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; margin-top: 88px; padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
.contact-info { display: grid; gap: 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.stars { display: none; }
.contact .sec-title { font-size: 28px; }
.contact p { margin: 0; color: var(--text-2); max-width: 460px; white-space: pre-line; }
.contact .kv { margin-top: 8px; }
.contact .kv div:last-child { border-bottom: 1px solid var(--line); }
.map { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 0.5s var(--ease); }
.map:hover img { transform: scale(1.03); }
.map-label, .map-zoom {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  background: rgba(9, 9, 11, 0.8); border: 1px solid var(--line-2); font-size: 12px; font-weight: 500;
}
.map-label { top: 12px; left: 12px; }
.map-pin { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.map-zoom { right: 12px; bottom: 12px; color: var(--text-2); opacity: 0; transition: opacity 0.2s; }
.map:hover .map-zoom { opacity: 1; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 36px 0; color: var(--muted); font-size: 13px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 22px; height: 22px; }

/* ---------- Felugró ablakok ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, 0); transition: background 0.2s; }
.modal.open { background: rgba(0, 0, 0, 0.66); }
.modal-box {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  display: grid; grid-template-columns: 1.25fr 1fr; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(10px); transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-box.single { grid-template-columns: 1fr; width: min(640px, 100%); }
.modal-box.wide { width: min(980px, 100%); }
.close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; font-size: 14px; color: var(--muted);
}
.close:hover { color: var(--text); border-color: var(--line-3); }
.gallery { padding: 14px; display: grid; gap: 10px; align-content: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; }
.thumbs button { flex: none; width: 76px; height: 50px; padding: 0; border-radius: 8px; overflow: hidden; border: 0; cursor: pointer; opacity: 0.45; background: none; transition: opacity 0.15s; }
.thumbs button:hover { opacity: 0.8; }
.thumbs button.active { opacity: 1; box-shadow: 0 0 0 2px var(--text); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail { padding: 30px 26px 26px 12px; display: grid; gap: 18px; align-content: start; }
.detail-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; }
.detail-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.detail h2 { margin: 8px 0 2px; font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.detail .sub { color: var(--muted); font-size: 14px; }
.detail .kv div:last-child { border-bottom: 1px solid var(--line); }
.detail .btn { width: 100%; height: 46px; font-size: 15px; }
.price-card { display: grid; padding: 4px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.price-card > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; }
.price-card > div + div { border-top: 1px solid var(--line); }
.price-card span { color: var(--muted); font-size: 14px; }
.price-card i { font-style: normal; font-size: 12px; margin-left: 4px; }
.price-card b { font-weight: 600; }
.pc-main b { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--gold); }
.pc-hi span { color: var(--text-2); }
.terms { border: 1px solid var(--line-2); border-radius: 12px; }
.terms summary { padding: 13px 16px; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; color: var(--muted); font-size: 18px; line-height: 1; }
.terms[open] summary::after { content: "−"; }
.desc { padding: 0 16px 16px; color: var(--text-2); font-size: 13.5px; line-height: 1.65; }
.desc h4 { margin: 16px 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.desc h4:first-child { margin-top: 0; }
.desc p { margin: 0 0 10px; }
.desc p:last-child { margin-bottom: 0; }
.desc strong { color: var(--text); font-weight: 600; }
.desc ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; }
.desc li::marker { color: var(--gold); }

/* ---------- Jármű adatlap (a játékbeli járműinfó stílusában) ---------- */
.spec-sheet {
  padding: 18px 20px 20px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #1b1c1f, #141517);
  font-family: "Ubuntu Condensed", "Roboto Condensed", var(--font); color: #f2f2f2;
}
.spec-sheet h3 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 34px; font-weight: 400; line-height: 1.05; }
.ss-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.ss-cols.one { grid-template-columns: 1fr; }
.ss-cols > div + div { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.spec-sheet h4 { margin: 12px 0 4px; font-size: 22px; font-weight: 400; line-height: 1.1; }
.spec-sheet h4:first-child { margin-top: 0; }
.spec-sheet ul { margin: 0; padding: 0; list-style: none; }
.spec-sheet li { font-size: 16.5px; line-height: 1.38; }
.sv-green { color: #34c98d; }
.sv-blue { color: #3ea2e6; }
.sv-purple { color: #b75bdb; }
.sv-yellow { color: #e8c547; }
.sv-off { color: #a3a6ab; }

/* Adatlap mezői a szerkesztőben */
.spec-edit { display: grid; gap: 12px; }
.spec-edit-head { font-size: 14px; font-weight: 600; }
.spec-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.spec-edit fieldset { margin: 0; padding: 12px 14px 14px; border: 1px solid var(--line-2); border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
/* Motor/hajtáslánc: kevés mező, egy teljes szélességű sorban */
.spec-edit fieldset:first-of-type { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
.contacts-edit { display: grid; gap: 10px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* Benzines / elektromos kapcsoló a szerkesztőben */
.type-switch { display: inline-flex; gap: 2px; padding: 4px; width: fit-content; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.type-switch button { padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); }
.type-switch button:hover { color: var(--text); }
.type-switch button.active { background: var(--text); color: var(--bg); }
/* Új autó: típusválasztó */
.type-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.type-choice button {
  display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 16px; cursor: pointer; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color 0.15s, transform 0.15s;
}
.type-choice button:hover { border-color: var(--gold); transform: translateY(-2px); }
.type-choice span { font-size: 34px; line-height: 1; }
.type-choice b { font-size: 16px; font-weight: 600; }
.type-choice small { color: var(--muted); font-size: 12.5px; }
.spec-edit legend { padding: 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.spec-edit label { font-size: 12.5px; }
.spec-edit input { padding: 8px 11px; font-size: 13.5px; }

/* ---------- Foglalás ---------- */
.book-form { display: grid; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); }
.book-form h3 { margin: 0; font-size: 16px; font-weight: 600; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-grid .full { grid-column: 1 / -1; }
.book-grid textarea { min-height: 64px; }
.book-grid input::-webkit-calendar-picker-indicator { filter: invert(0.7); }
.book-sum { display: grid; padding: 2px 14px; border-radius: 12px; background: var(--surface-2); }
.book-sum div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 14px; }
.book-sum div + div { border-top: 1px solid var(--line); }
.book-sum span { color: var(--muted); }
.book-sum i { font-style: normal; font-size: 12px; }
.book-sum .total span { color: var(--text); font-weight: 600; }
.book-sum .total b { font-size: 19px; font-weight: 700; color: var(--gold); }
.book-form small { color: var(--muted); font-size: 12px; text-align: center; }
.book-note { padding: 13px 15px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.book-note.ok { border-color: rgba(74, 222, 128, 0.35); color: var(--text); }
.link-btn { border: 0; background: none; padding: 0; color: var(--gold); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Foglalásaim */
.mb { padding: 28px 26px 22px; display: grid; gap: 4px; }
.mb h2 { margin: 0 0 10px; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.mb-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.mb-row h3 { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mb-row p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.mb-side { display: grid; justify-items: end; gap: 8px; flex: none; }
.mb-when { color: var(--text-2) !important; }
.mb-when .late { color: var(--bad); }
.bk-status { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.bk-pending { color: var(--gold); }
.bk-accepted { color: var(--ok); }
.bk-rejected, .bk-late { color: var(--bad); }
.bk-cancelled, .bk-closed { color: var(--muted); }

/* ---------- Bérlési nyugta (a játékbeli blokk mintájára) ---------- */
.receipt-layer {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; overflow-y: auto;
  background: rgba(0, 0, 0, 0.82); animation: rc-fade 0.2s ease both; transition: opacity 0.45s;
  user-select: none; -webkit-user-select: none; /* a nyugta szövegét ne lehessen kijelölni (zöld kijelölés az aláíráson) */
}
.receipt-layer.out { opacity: 0; }
.receipt { position: relative; width: min(390px, 100%); transition: transform 0.45s var(--ease); }
.receipt-layer.out .receipt { transform: translateY(-80px); }
/* A „nyomtató” rése, ahonnan a papír kijön */
.rc-feed { position: relative; margin-top: -5px; clip-path: inset(0 -60px -80px -60px); }
.rc-slot { position: relative; z-index: 2; height: 12px; border-radius: 7px; background: linear-gradient(#2c2c31, #17171a); box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.7), 0 2px 0 rgba(255, 255, 255, 0.05); }
.rc-paper {
  position: relative; margin: 0 12px; padding: 20px 18px 26px; overflow: hidden;
  color: #1c1c1c; font: 13px/1.5 "Thermal SM", ui-monospace, monospace; text-transform: uppercase;
  background-color: #f3f1ea;
  /* Enyhén gyűrött papír: halvány hajtásnyomok és sorok */
  background-image:
    linear-gradient(112deg, transparent 0 32%, rgba(0, 0, 0, 0.045) 32% 32.6%, transparent 32.6%),
    linear-gradient(196deg, transparent 0 58%, rgba(0, 0, 0, 0.04) 58% 58.5%, transparent 58.5%),
    linear-gradient(170deg, rgba(0, 0, 0, 0.035), transparent 40%, rgba(0, 0, 0, 0.03)),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 2px, transparent 2px 4px);
  box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.75);
  /* Fűrészfogas, letépett alsó szél */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat,
    conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 12px 7px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat,
    conic-gradient(from -45deg at bottom, transparent, #000 1deg 89deg, transparent 90deg) bottom / 12px 7px repeat-x;
  animation: rc-print var(--print-ms, 5500ms) steps(40, end) both;
}
.rc-center { text-align: center; }
.rc-big { font-size: 23px; letter-spacing: 0.08em; line-height: 1.2; }
.rc-title { font-size: 17px; margin: 4px 0 6px; letter-spacing: 0.06em; }
.rc-dash { margin: 9px 0; border-top: 1.5px dashed #6b6b6b; }
.rc-item { margin-bottom: 2px; }
.rc-row { display: flex; justify-content: space-between; gap: 12px; }
.rc-row span:last-child { text-align: right; white-space: nowrap; }
.rc-total { font-size: 16.5px; letter-spacing: 0.03em; }
.rc-small { opacity: 0.7; }
.rc-gap { height: 9px; }
.rc-code { margin-top: 4px; letter-spacing: 0.22em; opacity: 0.7; }
.rc-sign { margin-top: 16px; }
/* Folyóírásos aláírás. Csak a név szélességét fedi, így a teljes idő a név „megírására” megy el. */
.rc-signature {
  display: block; width: fit-content; max-width: 100%; margin: 0 auto; padding: 0 6px; height: 44px; overflow: visible;
  text-transform: none; white-space: nowrap; color: #1d3f94;
  font: 400 40px/48px "Sign SM", cursive; transform: rotate(-4deg);
  clip-path: inset(-10px 100% -10px 0); transition: clip-path var(--sign-ms, 3500ms) linear;
}
.rc-signature.done { clip-path: inset(-10px -10px -10px 0); }
.rc-sign-line { margin: 0 14px 4px; border-top: 1px solid #333; }
.rc-stamp {
  position: absolute; top: 46%; left: 50%; padding: 6px 14px; border: 3px solid currentColor; border-radius: 6px;
  font: 22px/1.1 "Thermal SM", monospace; letter-spacing: 0.1em; white-space: nowrap; mix-blend-mode: multiply;
  transform: translate(-50%, -50%) rotate(-12deg); opacity: 0.85; animation: rc-stamp 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
.rc-stamp.ok { color: #1d8a4c; }
.rc-stamp.bad { color: #c0392b; }
.rc-stamp.wait { color: #b07d12; }
.rc-error { margin: 10px 12px 0; text-align: center; color: var(--bad); font-size: 13.5px; }
.rc-error:empty { display: none; }
.rc-actions { display: grid; grid-template-columns: 1fr 1fr; margin: 10px 12px 0; border-radius: 10px; overflow: hidden; animation: rc-in 0.3s calc(var(--print-ms, 5500ms) - 100ms) both; }
.rc-btn { height: 46px; border: 0; cursor: pointer; font: 600 14px var(--font); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; transition: filter 0.15s; }
.rc-btn:hover { filter: brightness(1.12); }
.rc-cancel { background: #c0392b; }
.rc-ok { background: #22a356; }
.rc-close { grid-column: 1 / -1; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; }
.receipt-layer.busy .rc-actions { opacity: 0.45; pointer-events: none; }
/* A papír a nyomtató réséből csúszik ki: előbb az alja jön ki, a fejléc ér ki utoljára (a rés fölötti rész nem látszik) */
@keyframes rc-print { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes rc-stamp { from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.3); } }
@keyframes rc-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes rc-fade { from { opacity: 0; } }

/* ---------- Belépés (név + jelszó) ---------- */
.gate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.8); }
.gate-box {
  width: min(400px, 100%); display: grid; gap: 14px; padding: 32px 28px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  animation: rise 0.35s var(--ease) both;
}
.gate-logo { width: 76px; height: 76px; object-fit: contain; justify-self: center; }
.gate-box h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.gate-box > p { margin: 0; color: var(--muted); font-size: 14px; }
.gate-box label { text-align: left; }
.gate-box .btn { width: 100%; height: 46px; }
.gate-box small { color: var(--muted); font-size: 12px; }
.gate-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.gate-tabs button { padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); }
.gate-tabs button:hover { color: var(--text); }
.gate-tabs button.active { background: var(--text); color: var(--bg); }

/* ---------- Kezelés (kiadó / vezető) ---------- */
.manage-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 20px; padding: 8px;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
}
.mg-role { padding: 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.count-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11.5px; font-weight: 700; }
.count-badge.late { background: var(--bad); color: #fff; }
.mg { padding: 28px 26px 24px; display: grid; gap: 14px; }
.mg h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; padding-right: 40px; }
.mg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-right: 44px; }
.mg-head select, .mg-head input { width: 230px; }
.panel-sub { margin: 0; color: var(--muted); font-size: 13px; max-width: 720px; }
.spacer { flex: 1; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.row-actions select { width: 130px; height: 34px; padding: 0 30px 0 12px; }
.user-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.user-row h3 { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.user-row p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }

/* Foglalások kezelése */
.booking-row { display: grid; gap: 12px; padding: 16px; margin: 6px 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); }
.booking-row p { margin: 0; }
.booking-row.bk-row-pending { border-color: rgba(60, 184, 130, 0.4); }
.booking-row.bk-row-accepted { border-color: rgba(74, 222, 128, 0.3); }
.booking-row.bk-row-late { border-color: rgba(248, 113, 113, 0.55); background: rgba(248, 113, 113, 0.05); }
.booking-row.bk-row-rejected, .booking-row.bk-row-cancelled, .booking-row.bk-row-closed { opacity: 0.65; }
.bk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.bk-top h3 { margin: 0; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 8px; }
.bk-cell { display: grid; gap: 3px; align-content: start; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); min-width: 0; }
.bk-cell small { font-size: 11.5px; color: var(--muted); }
.bk-cell b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.bk-end { background: var(--gold-soft); border: 1px solid rgba(60, 184, 130, 0.35); }
.bk-end small { color: var(--gold); font-weight: 600; }
.bk-end b { font-size: 16px; }
.bk-end span { font-size: 13px; font-weight: 600; color: var(--ok); }
.bk-end.late { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.5); }
.bk-end.late small, .bk-end.late span { color: var(--bad); }
.bk-price { color: var(--text-2); font-size: 13.5px; }
.bk-price .gold { color: var(--gold); }
.bk-note { font-style: italic; color: var(--muted); font-size: 13.5px; }
.bk-meta { color: var(--muted); font-size: 12px; }

/* Autó szerkesztő */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .two { grid-column: span 2; }
.uploader { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; border-radius: 12px; border: 1px dashed var(--line-2); transition: border-color 0.15s, background 0.15s; }
.uploader.drag { border-color: var(--gold); background: var(--gold-soft); }
.paste-hint { margin-left: 8px; font-weight: 400; font-size: 12px; color: var(--muted); }
.img-tile { position: relative; width: 128px; height: 82px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-2); }
.img-tile img { width: 100%; height: 100%; object-fit: cover; }
.img-tile button { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.75); color: #fff; cursor: pointer; line-height: 1; }
.img-tile .cover { position: absolute; left: 5px; bottom: 5px; padding: 2px 7px; border-radius: 5px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 600; }
.add-img { width: 128px; height: 82px; border-radius: 9px; border: 1px dashed var(--line-3); background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.add-img:hover { border-color: var(--gold); color: var(--gold); }
.showroom-opt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; cursor: pointer; font-size: 13px; }
.showroom-opt input { width: auto; margin: 0; accent-color: var(--gold); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  animation: rise 0.25s var(--ease) both;
}

/* ---------- Animációk ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Reszponzív ---------- */
@media (max-width: 1180px) {
  /* Kisebb képernyőn a kapcsolattartók a fejléc alá, külön sorba kerülnek */
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 10px; }
  .hcontacts { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .hcontacts:empty { display: none; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 40px); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 28px); }
  .logo-text { display: none; }
  .intro { padding-top: 32px; }
  .sec-title { font-size: 28px; }
  .search, .search input { width: 100%; }
  .contact { gap: 20px; margin-top: 56px; padding: 22px; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-box { grid-template-columns: 1fr; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .detail { padding: 6px 18px 24px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .mg { padding: 22px 18px; }
  .mg-head select, .mg-head input { width: 100%; }
  .bk-grid { grid-template-columns: 1fr 1fr; }
  .bk-end { grid-column: 1 / -1; }
  .spec-fields, .type-choice { grid-template-columns: 1fr; }
  .spec-edit fieldset:first-of-type { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ss-cols { grid-template-columns: 1fr; }
  .ss-cols > div + div { padding-left: 0; border-left: 0; }
  .spec-sheet h3 { font-size: 28px; }
}
@media (max-width: 580px) {
  .grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .two { grid-column: auto; }
  .who-out { padding: 0 10px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ======================================================================
   SeeMTA felület (a játék sGui scriptje alapján)
   - ablak: sightgrey2 háttér, 36 px-es sightgrey1 címsáv, alatta 1 px sightgrey3 vonal
   - gomb: Bebas Neue Bold, egyszínű zöld; hoverre 100 ms alatt zöld → türkiz színátmenet
   - mező: Ubuntu Light, 38 px magas; szögletes formák mindenhol
   ====================================================================== */
.top { background: var(--bg); border-bottom: 1px solid rgba(60, 184, 130, 0.35); }
.logo-text, .sec-title, .win-title, .mg h2, .mb h2, .detail h2, .gate-box h2, .book-form h3, .contact .sec-title {
  font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase;
}
.logo-text { font-size: 22px; }
.sec-title { font-size: 44px; line-height: 1; }
.contact .sec-title { font-size: 36px; }
.detail h2 { font-size: 36px; line-height: 1; }

/* Gombok */
.btn, .rc-btn {
  font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase;
  border-radius: 0; height: 38px; background: var(--grey3); border: 0; color: #fff;
  transition: background-color 0.1s linear, filter 0.1s linear;
}
.btn-sm { height: 32px; font-size: 15px; border-radius: 0; }
.btn:hover { background: #3d4049; }
.btn-gold { background: var(--gold); background-image: linear-gradient(90deg, var(--gold), var(--gold)); color: var(--gold-ink); }
.btn-gold:hover { background-image: linear-gradient(90deg, #3cb882, #3cb8aa); filter: none; }
.rc-ok { background: var(--sm-green); background-image: linear-gradient(90deg, var(--sm-green), var(--sm-green)); }
.rc-ok:hover { background-image: linear-gradient(90deg, var(--sm-green), var(--sm-green-2)); filter: none; }
.btn-danger, .rc-cancel { background: var(--bad); color: #fff; }
.btn-danger:hover, .rc-cancel:hover { background-image: linear-gradient(90deg, #f35a5a, #fa785f); filter: none; }
.detail .btn, .gate-box .btn { height: 50px; font-size: 22px; }
.rc-actions { border-radius: 0; }
.rc-btn { height: 50px; font-size: 22px; }

/* Mezők */
input, select, textarea { border-radius: 0; background: var(--surface-2); border: 1px solid var(--grey3); font-weight: 300; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: none; }
.search input { border-radius: 0; }

/* Ablakok: szögletes, címsávval */
.modal.open { background: rgba(0, 0, 0, 0.6); }
.modal-box, .gate-box { border-radius: 0; border: 0; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.win-title, .mg h2, .mb h2 {
  display: flex; align-items: center; height: 36px; margin: 0; padding: 0 46px 0 12px;
  background: var(--bg); border-bottom: 1px solid var(--grey3); font-size: 20px; color: #fff;
}
.win-title { grid-column: 1 / -1; position: sticky; top: 0; z-index: 3; }
.mg, .mb { padding: 0 0 22px; gap: 14px; }
.mg > :not(h2), .mb > :not(h2) { margin-inline: 22px; }
.mg h2 + *, .mb h2 + * { margin-top: 8px; }
.mg-head { padding-right: 0; }
.mg-head h2 { margin: 0 -22px; flex: 1 1 100%; padding-right: 46px; }
.close {
  top: 0; right: 0; width: 36px; height: 36px; border-radius: 0; border: 0; background: transparent;
  color: #fff; font-size: 16px; z-index: 4; transition: color 0.1s linear;
}
.close:hover { color: var(--bad); border: 0; }
.gallery { padding-top: 14px; }
.detail { padding-top: 22px; }

/* Kártyák, fülek, címkék */
.card, .contact, .manage-bar, .tabs, .booking-row, .book-form, .book-note, .terms, .price-card, .book-sum, .bk-cell,
.spec-sheet, .spec-edit fieldset, .uploader, .who, .who-out, .hc, .hc-icon, .hc-copy, .map, .gallery-main, .thumbs button,
.tag, .card-edit, .bk-status, .count-badge, .role-badge, .type-switch, .type-switch button, .type-choice button,
.gate-tabs, .gate-tabs button, .chip, .img-tile, .add-img, .empty, .skeleton, .plate {
  border-radius: 0;
}
.card { background: var(--surface); border: 1px solid var(--grey3); transition: transform 0.1s linear, border-color 0.1s linear; }
.card:not(.skeleton):hover { border-color: var(--gold); transform: translateY(-2px); }
.card.featured { border-color: var(--gold); }
.card-head h3 { font-weight: 500; }
.price b, .pc-main b, .book-sum .total b { color: var(--gold); }
.tabs { background: var(--bg); border: 1px solid var(--grey3); padding: 0; gap: 0; }
.chip { padding: 9px 18px; font-family: var(--display); font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; transition: background-color 0.1s linear, color 0.1s linear; }
.chip.active { background: var(--gold); color: var(--gold-ink); }
.manage-bar { background: var(--bg); border: 1px solid var(--grey3); }
.mg-role { font-family: var(--display); font-size: 17px; letter-spacing: 0.05em; }
.contact { background: var(--surface); border: 1px solid var(--grey3); }
.eyebrow { font-family: var(--display); font-size: 17px; font-weight: 400; letter-spacing: 0.06em; }
.who, .who-out, .hc { background: var(--surface); border-color: var(--grey3); }
.hc-icon { background: var(--gold-soft); color: var(--gold); }
.card-edit { background: var(--gold); color: var(--gold-ink); font-family: var(--display); font-size: 15px; letter-spacing: 0.04em; }
.role-vezeto { background: var(--gold); color: var(--gold-ink); }
.role-kiado { background: var(--hold); color: #fff; }
.count-badge { color: var(--gold-ink); }
.gate-tabs button.active, .type-switch button.active { background: var(--gold); color: var(--gold-ink); }
.bk-end { border-color: rgba(60, 184, 130, 0.45); }
.st-available { color: var(--ok); }
.st-rented { color: var(--bad); }
.st-reserved { color: var(--hold); }
.st-service { color: #b56ad6; }
.spec-edit legend { color: var(--gold); font-family: var(--display); font-size: 16px; font-weight: 400; letter-spacing: 0.05em; }

/* Értesítés (toast) a játékbeli értesítés mintájára: felül középen, ikonnal */
.toast {
  top: 78px; bottom: auto; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 0 14px 0 0; height: 40px; border-radius: 0; background: var(--bg); color: #fff; font-weight: 400; font-size: 14px;
  border: 1px solid var(--grey3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); animation: noti-in 0.25s var(--ease) both;
}
.toast::before { content: "✔"; display: grid; place-items: center; width: 40px; height: 100%; background: var(--sm-green); font-size: 15px; }
.toast.error::before { content: "✖"; background: var(--bad); }
.toast.info::before { content: "i"; background: var(--hold); font-family: var(--display); font-size: 20px; }
@keyframes noti-in { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ======================================================================
   Dashboard | Frakció (a SeeMTA dashboard frakció-oldalának mintájára)
   ====================================================================== */
.dash {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; padding: 28px 40px;
  background: rgba(10, 11, 13, 0.86); animation: rc-fade 0.15s ease both;
  font-family: "Ubuntu Condensed", var(--font);
}
.dash-win { width: min(1400px, 100%); margin: 0 auto; }
.dash-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dash-top h1 { margin: 0; font: 400 54px/0.95 var(--display); letter-spacing: 0.01em; color: #fff; }
.dash-top h1 span { font-family: var(--display); color: #babec4; font-size: 0.62em; font-weight: 400; letter-spacing: 0.02em; vertical-align: 2px; }
.dash-x {
  width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: #1a1b1f; cursor: pointer;
  font: 700 26px/26px var(--font); display: grid; place-items: center; padding-bottom: 3px; transition: background-color 0.1s linear;
}
.dash-x:hover { background: var(--bad); color: #fff; }
.dash-body { display: grid; grid-template-columns: 26% 1fr; min-height: 620px; background: #1e2124; }
.dash-side { background: #1e2124; }
.dash-fac { padding: 22px 16px; text-align: center; font-size: 21px; color: #fff; background: #23272a; }
.dash-main { display: flex; flex-direction: column; background: #23272a; min-width: 0; }
.dash-tabs { display: flex; background: #1a1b1f; overflow-x: auto; }
.dash-tabs button {
  flex: 0 0 auto; min-width: 136px; height: 40px; padding: 0 18px; border: 0; background: transparent; cursor: pointer;
  color: #fff; font: 700 18px "Ubuntu Condensed", var(--font); display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background-color 0.1s linear;
}
.dash-tabs button span { font-size: 15px; filter: grayscale(1) brightness(2); }
.dash-tabs button:hover { background: #2a2d33; }
.dash-tabs button.active { background: var(--sm-green); }
.dash-content { padding: 14px 18px 22px; }
.dash-h { margin: 0 0 14px; font: 400 32px/1.1 "Ubuntu Condensed", var(--font); color: #fff; }
.dash-sub { margin: 18px 0 8px; font: 400 23px/1.1 "Ubuntu Condensed", var(--font); color: #fff; }
.dash-name { margin: 0 0 8px; font: 400 27px/1.1 "Ubuntu Condensed", var(--font); color: #fff; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; }
.dash-cols > div + div { padding-left: 18px; border-left: 1px solid #33353d; }
.dl { font-size: 19px; line-height: 1.5; color: #fff; }
.dl b { font-weight: 700; }
.v-green, .rk-1 { color: #3cb882; }
.v-blue, .rk-2 { color: #319ad7; }
.v-red { color: #f35a5a; }
.v-yellow { color: #f3d65a; }
.rk-0 { color: #8a8d94; }
.dash .muted { color: #8a8d94; }

/* Tagok */
.dash-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.m-list { display: grid; gap: 6px; }
.m-search { display: flex; align-items: center; height: 30px; background: #1a1b1f; border: 1px solid #33353d; }
.m-search span { width: 30px; text-align: center; color: #babec4; font-size: 18px; }
.m-search input { height: 28px; border: 0; background: transparent; padding: 0 6px; font: 300 15px var(--font); }
.m-search input:focus { box-shadow: none; }
.m-rows { max-height: 560px; overflow-y: auto; background: #1e2124; }
.m-row {
  display: flex; align-items: center; gap: 9px; width: 100%; height: 33px; padding: 0 10px; border: 0; border-bottom: 1px solid #2c2f35;
  background: #23272a; color: #fff; cursor: pointer; text-align: left; font: 700 18px "Ubuntu Condensed", var(--font);
  transition: background-color 0.1s linear;
}
.m-row:hover { background: #2a2e32; }
.m-row.sel { background: #33353d; }
.m-dot { width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1.5px solid #f35a5a; }
.m-dot.on { border-color: #3cb882; background: #3cb882; }
.m-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-rank { font-weight: 400; white-space: nowrap; }
.m-sep { padding: 10px 10px 6px; font-size: 15px; color: #8a8d94; background: #1e2124; border-bottom: 1px solid #2c2f35; }
.m-empty, .m-note { padding: 10px; color: #8a8d94; font-size: 16px; margin: 0; }
.m-detail { min-height: 420px; }
.perm-box { min-height: 120px; background: #1a1b1f; border-right: 2px solid #33353d; }
.perm { padding: 6px 10px; border-bottom: 1px solid #2c2f35; font-size: 18px; color: #fff; }
.perm.muted { color: #8a8d94; }
.perm-ico { color: #f3d65a; }
.rank-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rank-actions .btn:disabled { opacity: 0.35; }

/* Rangok */
.rank-table { display: grid; gap: 14px; }
.rank-card { background: #1a1b1f; }
.rank-head { display: flex; justify-content: space-between; padding: 8px 12px; background: #1e2124; border-bottom: 1px solid #33353d; font-size: 22px; }

@media (max-width: 900px) {
  .dash { padding: 16px 12px; }
  .dash-top h1 { font-size: 36px; }
  .dash-body, .dash-split, .dash-cols { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-cols > div + div { padding-left: 0; border-left: 0; margin-top: 16px; }
}
/* A dashboard a játékból jön: ott a gombok és a fókusz SeeMTA-zöldek maradnak */
.dash .btn-gold { background: var(--sm-green); background-image: none; color: #fff; }
.dash .btn-gold:hover { background-image: linear-gradient(90deg, var(--sm-green), var(--sm-green-2)); }
.dash input:focus { border-color: var(--sm-green); }
/* Dashboard – Járművek fül */
.m-row.rented .m-name { color: #f35a5a; }
.m-row.dim { cursor: default; }
.m-row.dim .m-name, .m-row.dim .m-rank { color: #6b6e75; font-weight: 400; }
.renters .m-row { cursor: default; }
.renters .m-row:hover { background: #23272a; }
.sub-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 8px; background: #1a1b1f; }
.sub-tabs button {
  height: 28px; border: 0; background: transparent; color: #fff; cursor: pointer;
  font: 700 17px "Ubuntu Condensed", var(--font); transition: background-color 0.1s linear;
}
.sub-tabs button:hover { background: #2a2d33; }
.sub-tabs button.active { background: var(--sm-green); }
.sub-title { margin: 8px 0 2px; }
.car-data { padding: 4px 0; }
.renters { max-height: 420px; }
/* Dashboard – Foglalások fül */
.sub-tabs.four { grid-template-columns: repeat(4, 1fr); margin: 0; }
.m-sub { font-weight: 400; color: #8a8d94; }
.m-row.rented .m-sub { color: #f35a5a; opacity: 0.8; }
.tab-badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px;
  border-radius: 10px; background: #f35a5a; color: #fff; font: 700 13px var(--font); font-style: normal;
}
.bk-due { display: grid; gap: 2px; margin: 8px 0 10px; padding: 10px 12px; background: #1a1b1f; border-left: 3px solid var(--sm-green); }
.bk-due small { font-size: 15px; color: #babec4; }
.bk-due b { font: 400 26px/1.1 "Ubuntu Condensed", var(--font); color: #fff; }
.bk-due span { font-size: 17px; color: #3cb882; }
.bk-due.late { border-left-color: #f35a5a; background: rgba(243, 90, 90, 0.08); }
.bk-due.late span { color: #f35a5a; }

/* Megerősítő panel (a SeeMTA ablakok mintájára: címsáv, szöveg, Mégse / megerősítés gomb) */
.sm-confirm {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, 0.55); animation: rc-fade 0.12s ease both; transition: opacity 0.15s;
}
.sm-confirm.out { opacity: 0; }
.sm-win { width: min(375px, 100%); background: #23272a; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); animation: slide-down 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.sm-title {
  height: 36px; display: flex; align-items: center; padding: 0 12px; background: #1a1b1f; border-bottom: 1px solid #33353d;
  font: 400 20px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; color: #fff;
}
.sm-text { padding: 18px 16px 20px; font: 300 15.5px/1.55 var(--font); color: #fff; }
.sm-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 8px 8px; }
.sm-btn {
  height: 32px; border: 0; cursor: pointer; color: #fff; font: 400 19px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase;
  transition: background-color 0.1s linear;
}
.sm-btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sm-no { background: #f35a5a; }
.sm-no:hover { background-image: linear-gradient(90deg, #f35a5a, #fa785f); }
.sm-yes { background: #3cb882; }
.sm-yes:hover { background-image: linear-gradient(90deg, #3cb882, #3cb8aa); }
.sm-danger { background: #f35a5a; }
.sm-danger:hover { background-image: linear-gradient(90deg, #f35a5a, #fa785f); }
@keyframes noti-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
/* Dashboard Kezdőlap – Elérhetőségek (a játékbeli „Leírás” mintájára) */
.dash-hr { height: 1px; margin: 18px 0 4px; background: #33353d; }
.dash-sub small { font-size: 15px; }
.dash-field { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 18px; font-weight: 700; color: #fff; }
.dash-field input, .dash-pair input, textarea.dash-desc {
  height: 32px; padding: 0 10px; background: #1a1b1f; border: 1px solid #33353d; border-radius: 0; font: 300 15px var(--font); color: #fff;
}
.dash-field input:focus, .dash-pair input:focus, textarea.dash-desc:focus { border-color: var(--sm-green); box-shadow: none; }
.dash-field-head { margin-bottom: 7px; font-size: 18px; font-weight: 700; color: #fff; }
.dash-field-head small { font-weight: 400; font-size: 14px; color: #8a8d94; }
.dash-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px; }
.dash-desc { display: block; width: 100%; min-height: 150px; padding: 8px 10px; background: #1a1b1f; color: #fff; font: 300 15.5px/1.5 var(--font); white-space: pre-line; }
textarea.dash-desc { height: auto; padding: 8px 10px; resize: vertical; }
@media (max-width: 900px) { .dash-field { grid-template-columns: 1fr; gap: 4px; } }

/* ======================================================================
   Dashboard a szerver sDashboard/groupsC.lua kódja alapján:
   betűk: címkék Bebas Neue Bold 14, értékek/címek Bebas Neue Regular 14/16/22 (1080p-n ~1,4×),
   lista: 32 px-es sorok, sightgrey1 háttér, hoverre sightgrey1→sightgrey2 átmenet, kijelölt sor sightgrey3,
   ablakok felülről csúsznak be 250 ms alatt, betöltéskor forgó circle-notch ikon.
   ====================================================================== */
.dash { font-family: "Bebas SM R", "Bebas Neue", sans-serif; letter-spacing: 0.01em; }
.dash-h { font: 400 31px/1.1 "Bebas SM R", sans-serif; }
.dash-sub { font: 400 23px/1.1 "Bebas SM R", sans-serif; }
.dash-name { font: 400 31px/1.1 "Bebas SM R", sans-serif; display: flex; align-items: center; gap: 8px; }
.dash-fac { font: 400 24px "Bebas SM R", sans-serif; }
.dl { font: 400 20px/1.45 "Bebas SM R", sans-serif; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.dl b { font-family: "Bebas SM", sans-serif; font-weight: 400; }
.dash-tabs button { font: 400 19px "Bebas SM", sans-serif; letter-spacing: 0.02em; }
.sub-tabs button { font: 400 18px "Bebas SM", sans-serif; letter-spacing: 0.02em; }
.m-row { height: 32px; font: 400 20px "Bebas SM", sans-serif; background: #1a1b1f; border-bottom: 1px solid #23272a; }
.m-row:hover { background: linear-gradient(90deg, #1a1b1f, #23272a); }
.m-row.sel, .m-row.sel:hover { background: #33353d; }
.m-rank { font-family: "Bebas SM R", sans-serif; }
.m-rows { background: #1a1b1f; border-right: 2px solid #33353d; }
.m-sub { font-family: "Bebas SM R", sans-serif; }
.perm { font: 400 19px "Bebas SM R", sans-serif; }
.m-note, .m-empty { font-family: var(--font); }
.m-lead { display: grid; place-items: center; width: 18px; height: 18px; color: #babec4; margin-left: 2px; }
.m-lead svg { width: 18px; height: 18px; }
.dash-hrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dash-hrow .dash-h { margin: 0; }
.dash-btn {
  height: 32px; padding: 0 16px; border: 0; cursor: pointer; color: #fff; background: #3cb882;
  font: 400 18px "Bebas SM", sans-serif; letter-spacing: 0.02em; transition: background-color 0.1s linear;
}
.dash-btn:hover { background-image: linear-gradient(90deg, #3cb882, #3cb8aa); }
/* Ikonos gombok (kirúgás, rang szerkesztése, felvétel): fehér, hoverre zöld/piros */
.ic-btn { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; transition: color 0.1s linear; }
.ic-btn svg { width: 20px; height: 20px; }
.dash-name .ic-btn { width: 30px; height: 30px; }
.dash-name .ic-btn svg { width: 26px; height: 26px; }
.ic-green:hover { color: #3cb882; }
.ic-red:hover { color: #f35a5a; }

/* Becsúszó ablak a dashboardon belül */
.dash-modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.59); }
.dash-mwin { animation: slide-down 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes slide-down { from { transform: translateY(-60vh); } to { transform: none; } }
.sm-title { position: relative; font-family: "Bebas SM R", sans-serif; }
.sm-x { position: absolute; top: 0; right: 0; width: 36px; height: 36px; border: 0; background: none; color: #fff; cursor: pointer; font-size: 15px; transition: color 0.1s linear; }
.sm-x:hover { color: #f35a5a; }
.sm-text.center { text-align: center; padding: 26px 16px; }
/* Rangválasztó: két oszlop, 32 px-es sorok, jelölőnégyzettel */
.rk-grid { display: grid; grid-template-columns: 1fr 1fr; }
.rk-grid > div + div { border-left: 2px solid #33353d; }
.rk-opt {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 10px 0 2px; border: 0; background: none;
  cursor: pointer; font: 400 20px "Bebas SM", sans-serif; text-align: left; transition: background-color 0.1s linear;
}
.rk-opt:hover:not(:disabled) { background: #2a2e32; }
.rk-opt:disabled { cursor: default; }
.rk-box { display: grid; place-items: center; width: 28px; height: 28px; flex: none; background: #1a1b1f; border: 2px solid #54565d; color: #3cb882; font-size: 15px; }
.rk-opt.on .rk-box { border-color: #3cb882; }
.rk-perm { margin-left: auto; font-family: "Bebas SM R", sans-serif; color: #3cb882; }
/* Tagfelvétel: 5 sor, alul kereső */
.add-list { min-height: 160px; }
.add-row { display: flex; align-items: center; gap: 9px; height: 32px; margin: 0 8px; padding: 0 4px; border-bottom: 2px solid #33353d; font: 400 20px "Bebas SM", sans-serif; color: #fff; }
.add-row .m-name { flex: 1; }
.add-row.m-empty { font: 300 14px var(--font); color: #8a8d94; border: 0; }
.add-search { padding: 8px; }
.add-search input { height: 30px; background: #1a1b1f; border: 1px solid #33353d; border-radius: 0; font: 300 14px var(--font); }
/* Betöltés: forgó ikon (circle-notch) */
.dash-loader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); color: #fff; }
.dash-loader svg { width: 64px; height: 64px; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Rangszínek (a SeeMTA „sight” színei) – szöveg és háttér */
.rk-c-green { color: #3cb882; } .rk-c-blue { color: #319ad7; } .rk-c-yellow { color: #f3d65a; }
.rk-c-orange { color: #ff9514; } .rk-c-red { color: #f35a5a; } .rk-c-purple { color: #b56ad6; } .rk-c-grey { color: #8a8d94; }
.rk-bg-green { background: #3cb882; } .rk-bg-blue { background: #319ad7; } .rk-bg-yellow { background: #f3d65a; }
.rk-bg-orange { background: #ff9514; } .rk-bg-red { background: #f35a5a; } .rk-bg-purple { background: #943cb8; }
.role-badge[class*="rk-bg-"] { color: #fff; }
.role-badge.rk-bg-yellow { color: #1a1b1f; }
/* Rang szerkesztése ablak: név, színnégyzetek, Szerkesztés gomb */
.rk-edit { display: grid; gap: 8px; padding: 8px; }
.rk-edit input { height: 30px; background: #1a1b1f; border: 1px solid #33353d; border-radius: 0; font: 300 15px var(--font); }
.rk-colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.rk-color { aspect-ratio: 1; border: 0; cursor: pointer; opacity: 0.55; transition: opacity 0.1s linear; }
.rk-color:hover { opacity: 0.85; }
.rk-color.on { opacity: 1; outline: 3px solid #fff; outline-offset: -3px; }
/* Jogosultságok szerkesztése: jelölőnégyzetek */
.perm-edit { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.perm-edit input { width: 18px; height: 18px; accent-color: #3cb882; }
.ic-btn:disabled { opacity: 0.3; cursor: default; color: #fff; }
.dash-sub .ic-btn { vertical-align: middle; margin-left: 4px; }
.dash-name .ic-btn + .ic-btn { margin-left: -2px; }

/* Dashboard fix méretű ablakként, mint a játékban (sourceC.lua: dashboardPadding = a képernyő ~15%-a körben):
   a keret a képernyő ~70%-a, a tartalom görgethető benne; a betűk arányosan kisebbek a korábbinál */
.dash { padding: 0; overflow: hidden; }
.dash-win { position: fixed; inset: 11vh 12vw; width: auto; margin: 0; display: flex; flex-direction: column; }
.dash-top { flex: none; }
.dash-top h1 { font-size: clamp(30px, 3.2vw, 46px); }
.dash-body { flex: 1; min-height: 0; grid-template-columns: 22% 1fr; }
.dash-main { min-height: 0; }
.dash-content { flex: 1; min-height: 0; overflow-y: auto; }
.dash-fac { font-size: 20px; padding: 16px 12px; }
.dash-tabs button { min-width: 0; flex: 1 1 0; height: 36px; font-size: 17px; padding: 0 10px; }
.dash-h { font-size: 26px; }
.dash-name { font-size: 26px; }
.dash-sub { font-size: 20px; }
.dl { font-size: 17px; }
.m-row { height: 29px; font-size: 17px; }
.m-rows { max-height: none; }
.perm { font-size: 16px; padding: 5px 10px; }
.dash-field { font-size: 16px; grid-template-columns: 110px 1fr; }
.dash-field input, .dash-pair input { height: 29px; }
.dash-desc { min-height: 110px; }
.dash-btn { height: 29px; font-size: 16px; }
@media (max-width: 900px) {
  .dash { overflow-y: auto; padding: 12px; }
  .dash-win { position: static; }
  .dash-content { overflow: visible; }
}
/* Kézi foglalás ablak */
.mb-form { display: grid; gap: 8px; padding: 10px; }
.mb-form label { display: grid; gap: 4px; font: 400 16px "Bebas SM", sans-serif; color: #fff; letter-spacing: 0.02em; }
.mb-form input, .mb-form select { height: 30px; padding: 0 10px; background: #1a1b1f; border: 1px solid #33353d; border-radius: 0; font: 300 14px var(--font); color: #fff; }
.mb-form input:focus, .mb-form select:focus { border-color: #3cb882; box-shadow: none; }
.mb-form input::-webkit-calendar-picker-indicator { filter: invert(0.7); }
.mb-two { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.mb-form .mb-check { display: flex; align-items: center; gap: 8px; font: 300 14px var(--font); }
.mb-check input { width: 17px; height: 17px; accent-color: #3cb882; }
.mb-sum { padding: 6px 10px; background: #1a1b1f; }
.mb-sum .dl { font-size: 16px; line-height: 1.4; }
.mb-form .sm-btn { width: 100%; margin-top: 2px; }

/* ======================================================================
   Autó adatlap jobb oldala + foglalási űrlap (átdolgozva)
   ====================================================================== */
.detail { gap: 14px; padding: 20px 22px 22px 8px; }
.detail h2 { font-size: 34px; margin: 4px 0 0; }
.detail .sub { font-size: 13px; }
.price-card { padding: 2px 14px; border-radius: 0; background: #1e2124; border: 1px solid #33353d; }
.price-card > div { padding: 8px 0; }
.pc-main b { font-size: 28px; }
/* Adatok kétoszlopos rácsban */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.info-grid div { padding: 8px 10px; background: #1e2124; border-left: 2px solid #33353d; min-width: 0; }
.info-grid dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.info-grid dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Foglalási űrlap */
.book-form { gap: 12px; padding: 0; border: 1px solid #33353d; background: #1e2124; }
.book-form h3 {
  margin: 0; height: 36px; display: flex; align-items: center; padding: 0 12px; background: #1a1b1f; border-bottom: 1px solid #33353d;
  font: 400 19px/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase;
}
.book-form > :not(h3) { margin-inline: 12px; }
.book-form > :last-child { margin-bottom: 12px; }
.bf-block { display: grid; gap: 6px; }
.bf-label { font: 400 15px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: #babec4; }
.bf-label span { text-transform: none; letter-spacing: 0; font: 300 12px var(--font); color: var(--muted); }
.bf-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.bf-chip {
  height: 32px; border: 1px solid #33353d; background: #23272a; color: #fff; cursor: pointer;
  font: 400 15px/1 var(--display); letter-spacing: 0.03em; transition: background-color 0.1s linear, border-color 0.1s linear;
}
.bf-chip:hover { border-color: var(--gold); }
.bf-chip.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.bf-step { display: grid; grid-template-columns: 34px 1fr auto 34px; align-items: center; height: 34px; background: #1a1b1f; border: 1px solid #33353d; }
.bf-step button { height: 100%; border: 0; background: #23272a; color: #fff; font-size: 18px; cursor: pointer; transition: background-color 0.1s linear; }
.bf-step button:hover { background: #33353d; }
.bf-step input {
  height: 100%; border: 0; background: transparent; text-align: right; padding: 0 6px; font: 600 16px var(--font); -moz-appearance: textfield;
}
.bf-step input::-webkit-outer-spin-button, .bf-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bf-step input:focus { box-shadow: none; }
.bf-step span { padding-right: 10px; color: var(--muted); font-size: 14px; }
.bf-two { display: grid; grid-template-columns: 1fr 96px; gap: 4px; }
.bf-two select, .bf-input { height: 34px; padding: 0 10px; border-radius: 0; background-color: #1a1b1f; border: 1px solid #33353d; font: 400 14px var(--font); }
.bf-two select { padding-right: 30px; }
.bf-two select:disabled { opacity: 0.4; cursor: default; }
.bf-two select:focus, .bf-input:focus { border-color: var(--gold); box-shadow: none; }
.bf-end { font-size: 13px; color: var(--muted); }
.bf-end b { color: #fff; font-weight: 600; }
.book-form .book-sum { border-radius: 0; background: #1a1b1f; border-left: 2px solid var(--gold); padding: 2px 12px; }
.book-sum div { padding: 7px 0; font-size: 13.5px; }
.book-form .btn { height: 44px; font-size: 20px; }
.book-form small { margin-top: -4px; }
@media (max-width: 520px) {
  .bf-chips { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}
.book-form > .btn { width: auto; }
.book-form .error:empty { display: none; }

/* ======================================================================
   Díszítés: álló (nem animált) háttér-mintázat, arany kiemelések, rámutatásra induló rövid effektek.
   Nincs folyamatos animáció és elmosás, így nem terheli a gépet.
   ====================================================================== */
/* Háttér: fent arany derengés + nagyon halvány átlós csíkozás, lefelé elhalványulva */
body { position: relative; }
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 380px at 18% -60px, rgba(60, 184, 130, 0.13), transparent 70%),
    radial-gradient(700px 320px at 92% 40px, rgba(60, 184, 130, 0.07), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
/* Fejléc: arany fénycsík alul */
.top { border-bottom: 0; }
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 184, 130, 0.75) 30%, rgba(60, 184, 170, 0.9) 50%, rgba(60, 184, 130, 0.75) 70%, transparent);
}
.logo-img { filter: drop-shadow(0 0 8px rgba(60, 184, 130, 0.35)); }
/* Címek: arany aláhúzás és enyhe arany színátmenet */
.sec-title { position: relative; padding-bottom: 12px; }
.sec-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px;
  background: linear-gradient(90deg, #3cb8aa, #3cb882 60%, transparent);
}
.intro .sec-title { background: linear-gradient(180deg, #fff 40%, #e9d6a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro .sec-title .count { -webkit-text-fill-color: var(--muted); }

/* Autókártyák */
.card { position: relative; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
/* Arany csík a kártya tetején, rámutatásra kirajzolódik */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, #2a8a62, #3cb8aa, #3cb882);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.card:not(.skeleton):hover::before, .card.featured::before { transform: scaleX(1); }
.card:not(.skeleton):hover { box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(60, 184, 130, 0.35), 0 10px 30px -12px rgba(60, 184, 130, 0.25); }
/* Kép alja sötétedik, így jobban kiemelkedik a kártya */
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 18, 21, 0.75));
}
/* Fényvillanás végigfut a képen rámutatáskor (egyszeri, rövid) */
.card-media::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.card:not(.skeleton):hover .card-media::before { animation: shine 0.8s ease forwards; }
@keyframes shine { from { left: -60%; opacity: 1; } to { left: 130%; opacity: 1; } }
/* Kiemelt autó: arany szalag a sarokban */
.card.featured .card-media { box-shadow: inset 0 0 0 1px rgba(60, 184, 130, 0.5); }
.card.featured::after {
  content: "AJÁNLOTT"; position: absolute; top: 14px; right: -34px; z-index: 3; width: 130px; padding: 4px 0; text-align: center;
  transform: rotate(45deg); background: linear-gradient(90deg, #2a8a62, #3cb8aa, #2a8a62); color: #ffffff;
  font: 400 13px/1 var(--display); letter-spacing: 0.12em; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.card.featured .card-edit { right: 54px; }
/* Ár: arany színátmenetes szöveg */
.price b, .pc-main b, .book-sum .total b {
  background: linear-gradient(180deg, #8be6bd, #3cb882 70%, #2a8a62); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Állapotcímke: halvány fénypötty */
.tag.status::before { box-shadow: 0 0 8px currentColor; }

/* Kategória fülek és kereső: finom arany kiemelés */
.chip.active { box-shadow: 0 6px 16px -8px rgba(60, 184, 130, 0.8); }
.search input:focus { box-shadow: 0 0 0 3px rgba(60, 184, 130, 0.15); }

/* Kapcsolat szekció: arany sarokdíszek */
.contact { position: relative; overflow: hidden; }
.contact::before, .contact::after { content: ""; position: absolute; width: 46px; height: 46px; pointer-events: none; }
.contact::before { top: 0; left: 0; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.contact::after { right: 0; bottom: 0; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.contact .eyebrow .stars { display: inline; color: var(--gold); letter-spacing: 0.1em; margin-right: 6px; }

/* Lábléc: arany vonal és nagyobb logó */
.foot { position: relative; margin-top: 40px; padding-top: 28px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(60, 184, 130, 0.5), transparent); }
.foot-brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(60, 184, 130, 0.35)); }

/* Görgetősáv a stílushoz illően */
* { scrollbar-width: thin; scrollbar-color: #3a3c44 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #3a3c44; border: 2px solid #1a1b1f; }
::-webkit-scrollbar-thumb:hover { background: #2a8a62; }

@media (prefers-reduced-motion: reduce) { .card-media::before { display: none; } }

/* ======================================================================
   Hangulat: számlálók, „Miért a Deal & Wheel?”, beúszó elemek
   (csak átlátszóság és eltolás animálódik – ezt a böngésző olcsón számolja)
   ====================================================================== */
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.stat {
  display: grid; gap: 2px; min-width: 130px; padding: 10px 16px; background: rgba(35, 39, 42, 0.85);
  border: 1px solid #33353d; border-left: 3px solid var(--gold);
}
.stat b { font: 400 28px/1 var(--display); letter-spacing: 0.02em; background: linear-gradient(180deg, #8be6bd, #3cb882 70%, #2a8a62); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.why { margin-top: 80px; }
.why .sec-title { margin-bottom: 22px; font-size: 34px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card {
  position: relative; padding: 22px 20px; background: linear-gradient(160deg, #262a2e, #1e2124); border: 1px solid #33353d;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(60, 184, 130, 0.55); box-shadow: 0 14px 30px -14px rgba(60, 184, 130, 0.35); }
.why-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; font-size: 24px;
  background: radial-gradient(circle, rgba(60, 184, 130, 0.28), rgba(60, 184, 130, 0.06) 70%); border: 1px solid rgba(60, 184, 130, 0.45);
}
.why-card h3 { margin: 0 0 6px; font: 400 23px/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.why-card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.why + .contact { margin-top: 60px; }

/* Beúszás görgetéskor */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.why.in .why-card { animation: rise 0.5s ease both; }
.why.in .why-card:nth-child(2) { animation-delay: 0.08s; }
.why.in .why-card:nth-child(3) { animation-delay: 0.16s; }
.why.in .why-card:nth-child(4) { animation-delay: 0.24s; }

@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) {
  .why-grid { grid-template-columns: 1fr; }
  .stat { min-width: 0; flex: 1; padding: 8px 10px; }
  .stat b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ======================================================================
   Háttér: éjszakai városkép. Álló réteg (position: fixed), nincs animáció és elmosás,
   így görgetéskor a böngésző nem rajzolja újra -> nem akaszt.
   ====================================================================== */
body { background: #121316; }
body::before { display: none; }
.page-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* Égbolt: sötét kék-fekete, fent arany és halvány bíbor városfény */
.page-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 15% 0%, rgba(60, 184, 130, 0.16), transparent 70%),
    radial-gradient(900px 500px at 88% 8%, rgba(120, 70, 160, 0.10), transparent 70%),
    radial-gradient(1400px 600px at 50% 100%, rgba(217, 140, 50, 0.20), transparent 70%),
    linear-gradient(180deg, #121419 0%, #15161b 55%, #1a1610 100%);
}
/* Finom karbonszálas minta */
.bg-carbon {
  position: absolute; inset: 0; opacity: 0.55;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 6px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}
/* Városkép alul, a horizonton arany derengéssel */
.bg-city {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42vh; min-height: 240px;
  background: url("/bg-city.svg") center bottom / cover no-repeat;
  opacity: 0.95;
}
.bg-city::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 40%; height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(240, 180, 80, 0.16), transparent 70%);
}
/* Szélek sötétedése, hogy a figyelem középen maradjon */
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
/* A tartalom alatti sávok átlátszóak legyenek, hogy a háttér látszódjon */
.top { background: rgba(14, 15, 18, 0.92); }
/* Erősebb horizont-derengés, hogy a városkép kirajzolódjon */
.bg-city { height: 46vh; }
.bg-city::before { bottom: 30%; height: 90%; background: radial-gradient(70% 100% at 50% 100%, rgba(240, 175, 70, 0.32), rgba(217, 140, 50, 0.08) 55%, transparent 75%); }
.page-bg::before {
  background:
    radial-gradient(1100px 520px at 15% 0%, rgba(60, 184, 130, 0.16), transparent 70%),
    radial-gradient(900px 500px at 88% 8%, rgba(120, 70, 160, 0.12), transparent 70%),
    radial-gradient(1600px 700px at 50% 100%, rgba(225, 150, 60, 0.30), transparent 70%),
    linear-gradient(180deg, #111318 0%, #16161b 50%, #2a1f12 100%);
}

/* Letisztult sötét háttér (a városkép helyett): csak finom arany fény a sarkokban, minta nélkül */
.page-bg::before {
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(60, 184, 130, 0.10), transparent 70%),
    radial-gradient(900px 480px at 100% 100%, rgba(60, 184, 130, 0.07), transparent 70%),
    #141518;
}
.page-bg::after { background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 60%, rgba(0, 0, 0, 0.35) 100%); }

/* Háttér: versenycsíkok (átlós arany csíkok, mint egy sportautó fényezése) karbon alapon.
   Álló réteg, nincs animáció -> nem akaszt. */
.page-bg { background: linear-gradient(160deg, #18191d, #121316); }
.page-bg::before {
  inset: auto; top: -40%; right: -10%; width: 55%; height: 180%; transform: rotate(28deg);
  background: linear-gradient(90deg,
    transparent 0 18%, rgba(60, 184, 130, 0.22) 18% 26%, transparent 26% 30%,
    rgba(60, 184, 130, 0.12) 30% 33%, transparent 33% 37%, rgba(60, 184, 170, 0.30) 37% 38%, transparent 38%);
}
.page-bg::after {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 7px),
    radial-gradient(700px 400px at 10% 100%, rgba(60, 184, 130, 0.10), transparent 70%);
}
@media (max-width: 760px) { .page-bg::before { right: -35%; width: 90%; } }

/* Új verzió sáv (élő frissítés), ha épp kitöltés közben jön frissítés */
.update-bar {
  position: fixed; left: 50%; bottom: 18px; z-index: 99; transform: translateX(-50%); display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; background: #1a1b1f; border: 1px solid rgba(60, 184, 130, 0.6); color: #fff; font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6); animation: rise 0.3s ease both;
}
.update-bar button { height: 30px; padding: 0 12px; border: 0; background: var(--gold); color: var(--gold-ink); font: 400 16px var(--display); letter-spacing: 0.03em; cursor: pointer; }



/* ---- Dashboard: Kiadások fül (melyik autó kinél van és meddig) ---- */
.rt-alert { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 12px; padding: 10px 14px; background: rgba(243, 214, 90, 0.1); border: 0; border-left: 3px solid #f3d65a; font: 400 17px var(--font); color: #f3d65a; text-align: left; cursor: pointer; }
.rt-alert span { margin-left: auto; color: #fff; }
.rt-alert:hover { background: rgba(243, 214, 90, 0.16); }
.rt-head, .rt-row { display: grid; grid-template-columns: 96px minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 1.2fr) 130px; align-items: center; gap: 14px; }
.rt-head { padding: 0 12px 6px; font: 400 15px "Bebas SM", sans-serif; letter-spacing: 0.04em; color: #8a8d94; }
.rt-list { display: grid; gap: 6px; }
.rt-row { padding: 8px 12px; background: #1a1b1f; border-left: 4px solid #3cb882; }
.rt-row.soon { border-left-color: #f3d65a; }
.rt-row.late { border-left-color: #f35a5a; background: rgba(243, 90, 90, 0.08); }
.rt-thumb { width: 96px; height: 56px; overflow: hidden; background: #111214; display: grid; place-items: center; }
.rt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rt-noimg { font-size: 24px; opacity: 0.5; }
.rt-cell { display: grid; gap: 3px; min-width: 0; }
.rt-cell b { font: 400 21px/1.1 "Bebas SM R", sans-serif; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-cell span { font-size: 14px; color: #babec4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-cell i { font-style: normal; color: #3cb882; margin-left: 6px; }
.rt-due span { color: #3cb882; font-size: 15px; }
.rt-row.soon .rt-due span { color: #f3d65a; }
.rt-row.late .rt-due span, .rt-row.late .rt-due b { color: #f35a5a; }
.rt-back { width: 100%; }
.rt-row.late .rt-back { background: #f35a5a; }
.rt-sub { margin: 22px 0 10px; font: 400 24px "Bebas SM R", sans-serif; color: #fff; }
.rt-free { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; }
.rt-fcar { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; background: #1a1b1f; }
.rt-fcar .rt-thumb { width: 72px; height: 44px; }
.rt-fcar .rt-cell b { font-size: 18px; }
.rt-head + .rt-list .m-empty, .rt-free .m-empty { padding: 14px; background: #1a1b1f; }
@media (max-width: 900px) {
  .rt-head { display: none; }
  .rt-row { grid-template-columns: 72px minmax(0, 1fr); }
  .rt-row .rt-thumb { width: 72px; height: 44px; grid-row: span 3; }
  .rt-back { grid-column: 1 / -1; }
}

/* Kiadás ablak: gyors napválasztó */
.mb-lbl { display: grid; gap: 4px; font: 400 16px "Bebas SM", sans-serif; color: #fff; letter-spacing: 0.02em; }
.mb-days { display: flex; gap: 6px; }
.mb-days input { width: 64px; }
.mb-days button { flex: 1; height: 30px; background: #1a1b1f; border: 1px solid #33353d; font: 400 15px "Bebas SM", sans-serif; color: #fff; cursor: pointer; }
.mb-days button:hover { border-color: #3cb882; color: #3cb882; }
.mb-form label small { font: 300 12px var(--font); color: #8a8d94; letter-spacing: 0; }
.mb-days button.on { background: #3cb882; border-color: #3cb882; color: #fff; }

/* ---- Discord összekötés ---- */
.dgate-box { width: min(440px, 100%); }
.gate-box .btn-discord { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #5865f2; border-color: #5865f2; color: #fff; font-weight: 600; text-decoration: none; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; }
.btn-discord svg { width: 22px; height: 22px; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--text); text-decoration: underline; cursor: pointer; }
.who-avatar { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.dgate-box .error { margin: 0; color: #f35a5a; font-size: 13.5px; }
#dgate { z-index: 97; } /* a Discord ablak minden más (dashboard, foglalás, megerősítés) fölé kerül */
/* Discord ticket a foglalás után és a Foglalásaimban */
.book-note .btn-discord { display: inline-flex; margin: 10px 10px 0 0; height: 34px; padding: 0 14px; align-items: center; background: #5865f2; border-color: #5865f2; color: #fff; text-decoration: none; }
.book-note .btn-discord:hover { background: #4752c4; }
.ticket-link { color: #8b95ff; text-decoration: none; }
.ticket-link:hover { text-decoration: underline; }
/* Fejléc logó (a „Deal&Wheel” felirat a képen van) */
.logo-wide { height: 54px; width: auto; display: block; border-radius: 3px; }
@media (max-width: 640px) { .logo-wide { height: 36px; } }
.gate-logo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; justify-self: center; box-shadow: 0 0 0 3px rgba(60, 184, 130, 0.6), 0 0 28px rgba(60, 184, 130, 0.35); }
/* Fejléc logó: kicsi, kerek, halvány zöld körvonallal */
.logo-round { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px rgba(60, 184, 130, 0.55), 0 0 14px rgba(60, 184, 130, 0.25); }

/* Finom, apró karbonszövés a háttérben (álló minta, nem akaszt). A ::after sötétítése tartja visszafogottan. */
.page-bg {
  background:
    linear-gradient(27deg, #0f1012 3px, transparent 3px) 0 3px,
    linear-gradient(207deg, #0f1012 3px, transparent 3px) 6px 0,
    linear-gradient(27deg, #1d1f23 3px, transparent 3px) 0 6px,
    linear-gradient(207deg, #1d1f23 3px, transparent 3px) 6px 3px,
    linear-gradient(90deg, #17181b 6px, transparent 6px),
    linear-gradient(#18191c 25%, #151619 25%, #151619 50%, transparent 50%, transparent 75%, #1f2125 75%, #1f2125);
  background-color: #141518;
  background-size: 12px 12px;
}
.page-bg::after {
  background:
    linear-gradient(180deg, rgba(16, 17, 20, 0.35), rgba(16, 17, 20, 0.6)),
    radial-gradient(700px 400px at 10% 100%, rgba(60, 184, 130, 0.10), transparent 70%);
}

/* Forgalmi érvényesség */
.tag.reg-warn { left: 12px; top: 44px; color: #fff; background: rgba(243, 90, 90, 0.92); border-color: #f35a5a; font-weight: 600; }
.reg-ok { color: var(--ok); }
.reg-soon, .reg-expired { color: var(--bad); font-weight: 600; }
.btn-reg { background: rgba(243, 90, 90, 0.14); border-color: #f35a5a; color: #ff8a8a; }
.btn-reg:hover { background: rgba(243, 90, 90, 0.24); border-color: #f35a5a; }
.m-row.reg-row { box-shadow: inset 3px 0 0 #f35a5a; }
.m-row.reg-row .m-name { color: #f35a5a; }
/* Parkjegy választó a foglalásnál: tőlünk kéri vagy maga veszi meg */
.bf-park { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bf-park .bf-chip { display: grid; gap: 2px; height: auto; padding: 9px 12px; text-align: left; line-height: 1.2; }
.bf-park .bf-chip b { font-weight: 400; font-size: 17px; }
.bf-park .bf-chip small { font: 400 12px var(--font); color: inherit; opacity: 0.85; letter-spacing: 0; text-transform: none; }
/* Forgalmi doboz (Dashboard → Járművek) és a szerkesztőben */
.reg-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 8px 0 10px; padding: 10px 12px; background: #1a1b1f; border-left: 3px solid #3cb882; }
.reg-box.reg-soon, .reg-box.reg-expired { border-left-color: #f35a5a; background: rgba(243, 90, 90, 0.08); }
.reg-box.reg-none { border-left-color: #54565d; }
.reg-info { display: grid; gap: 2px; flex: 1; min-width: 200px; }
.reg-info small { font-size: 15px; color: #babec4; }
.reg-info b { font: 400 24px/1.1 "Bebas SM R", sans-serif; color: #fff; }
.reg-info b span { font-size: 18px; color: #3cb882; }
.reg-box.reg-soon .reg-info b span, .reg-box.reg-expired .reg-info b span { color: #f35a5a; }
.reg-info em { font-style: normal; font-size: 13px; color: #8a8d94; }
.reg-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.reg-btns .reg-undo { background: #33353d; background-image: none; }
.reg-btns .reg-undo:hover { background: #f35a5a; background-image: none; }
.reg-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line-2); background: var(--surface-2); }
.reg-edit-text { flex: 1; min-width: 180px; color: var(--text-2); font-size: 14px; }

/* Showroom előnézet radírral (showroom.js) */
.sr-modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.8); }
.sr-box { width: min(980px, 100%); display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--bg-2, #15181b); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.sr-head { display: grid; gap: 2px; }
.sr-head b { font-size: 16px; }
.sr-head span { color: var(--muted); font-size: 13px; }
.sr-stage { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-2); }
.sr-canvas { display: block; width: 100%; height: auto; cursor: none; touch-action: none; }
.sr-cursor { position: absolute; display: none; pointer-events: none; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7); }
.sr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sr-modes { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.sr-modes button { border: 0; background: transparent; color: var(--muted); padding: 8px 12px; cursor: pointer; font: inherit; font-size: 13px; }
.sr-modes button.on { background: var(--gold); color: var(--gold-ink); }
.sr-size { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sr-size input { width: 120px; accent-color: var(--gold); }
.sr-grow { flex: 1; }
