/*
 * SeelMTA UCP – a referencia UCP felépítését követő sötét téma,
 * a SeelMTA színkészletével (seel_gui "SeelMTA" colorSet).
 */
@font-face { font-family: SeelBebas; src: url("fonts/BebasNeueBold.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  /* seel_gui színek */
  --seelgrey1: #1a1b1f;
  --seelgrey2: #23272a;
  --seelgrey3: #33353d;
  --seelgrey4: #1e2124;
  --seelmidgrey: #54565d;
  --seellightgrey: #babec4;

  --html-bg: var(--seelgrey1);
  --background-color: var(--seelgrey3);
  --box-color: var(--seelgrey2);
  --dark-col: var(--seelgrey3);
  --dark-sec-col: #3e414a;
  --darker-col: var(--seelgrey4);
  --text-color: #ebebeb;
  --greylight: var(--seellightgrey);
  --grey: #8d9097;
  --line: #3d4250;

  --accent: #3cb882;        /* seelgreen */
  --accent-2: #3cb8aa;      /* seelgreen-second */
  --accent-light: #8fdcb9;
  --green: #3cb882;
  --red: #f35a5a;           /* seelred */
  --redlight: #fa9a8a;
  --blue: #319ad7;          /* seelblue */
  --bluelight: #8ccdf0;
  --yellow: #f3d65a;        /* seelyellow */
  --orange: #ff9514;        /* seelorange */
  --purple: #b64ce2;        /* seelpurple-second */
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; position: relative; background: var(--html-bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-color);
  background: var(--background-color);
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 165px; /* lábléc helye */
}
a { color: var(--bluelight); text-decoration: none; }
a:hover { color: #d4eefa; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 500; line-height: 1.25; color: #fff; }
h1 { font-size: 1.9rem; font-weight: 400; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .6em; }
strong { font-weight: 600; }
small, .small { font-size: .8em; }
.muted { color: var(--grey); }
.mono { font-family: ui-monospace, Consolas, monospace; }
.center { text-align: center; }
.right { text-align: right; }
.neg { color: var(--red) !important; }
.mt { margin-top: 1.2rem; }
.accent { color: var(--accent); }
.color-green { color: var(--green) !important; }
.color-red { color: var(--red) !important; }
.color-blue { color: var(--blue) !important; }
.color-yellow { color: var(--yellow) !important; }
.color-orange { color: var(--orange) !important; }
.color-purple { color: var(--purple) !important; }
.color-greylight { color: var(--greylight) !important; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.mtop { margin-top: 10px; }
.main { padding-bottom: 40px; }

/* ---------- Felső csík + menü ---------- */
.line { height: 3px; background: var(--accent); }
.navbar { position: relative; z-index: 30; margin-top: 15px; }
.navbar-inner { display: flex; align-items: center; min-height: 71px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff !important; }
.brand img { width: 40px; height: 40px; }
.brand-text { font-family: Poppins, sans-serif; font-weight: 700; font-style: italic; font-size: 1.65rem; letter-spacing: -.02em; line-height: 1; color: #fff; }
.brand-text span { color: var(--accent); }
.navbar-menu { margin-left: auto; display: flex; align-items: center; font-family: "Bebas Neue", SeelBebas, sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.navbar-item, .navbar-menu .nav-btn { display: flex; align-items: center; gap: 7px; padding: 8px 12px; color: var(--seellightgrey); background: none; border: 0; font: inherit; text-transform: uppercase; cursor: pointer; letter-spacing: .02em; }
.navbar-item:hover, .navbar-menu .nav-btn:hover, .navbar-item.active { color: #fff !important; }
.navbar-item.is-accent { color: var(--accent-light); }
.navbar-item i, .nav-btn i { font-size: .8em; }
.nav-form { margin: 0; }
.navbar-burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 8px; }

/* ---------- Fejléc (főoldal) ---------- */
.top-banner { position: relative; margin-top: -86px; min-height: 40vh; background: url("img/hero.jpg") center center / cover no-repeat; z-index: 0; overflow: hidden; }
.top-banner .shad { position: absolute; inset: 0; background: linear-gradient(0deg, var(--background-color) 0%, rgba(51, 53, 61, 0) 40%), linear-gradient(180deg, rgba(26, 27, 31, .95) 0%, rgba(26, 27, 31, 0) 35%); }
.top-banner .hero-body { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.headerChar { position: absolute; top: 22%; height: 118%; opacity: 0; animation: fadeIn 1.5s ease forwards; pointer-events: none; }
.headerChar.left { left: max(0px, calc(50% - 560px)); }
.headerChar.right { right: max(0px, calc(50% - 560px)); animation-delay: .25s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.welcome { position: relative; z-index: 1; text-align: center; max-width: 760px; padding: 110px 16px 40px; font-size: 16px; font-weight: 400; text-shadow: 2px 2px 5px #000; }
.welcome h1 { font-size: 36px; text-transform: uppercase; margin-bottom: 36px; }

.info-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.social h4 { text-transform: uppercase; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.social .buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.online { margin: 0; font-size: 24px; font-weight: 400; text-transform: uppercase; }
.online em { font-style: normal; color: var(--accent); }

/* ---------- Kártyák ---------- */
.columns { display: grid; gap: 10px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-in { position: relative; background: var(--box-color); margin: 20px 5px; padding: 10px 10px 64px; border-radius: 10px; overflow: hidden; }
.col-in h3 { font-size: 1.35rem; font-weight: 500; text-transform: uppercase; margin: 4px 0 8px; }
.col-in h3 i { margin-right: 6px; }
.col-in .bottom-align { position: absolute; left: 10px; right: 10px; bottom: 14px; }
.box { display: block; background: var(--box-color); box-shadow: 0 0 .5em rgba(0, 0, 0, .25); border-radius: .3em; overflow: hidden; padding: 14px 16px; margin: 0 5px 20px; min-width: 0; }
.box-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.box-title h2, .box h2 { font-size: 1.05rem; font-weight: 500; text-transform: uppercase; margin: 0 0 10px; }
.box-title h2 { margin: 0; }
.box h2 i, .box-title h2 i { color: var(--accent); margin-right: 6px; }
.datacard { background: var(--box-color); border-radius: .3em; padding: 12px 14px; box-shadow: 0 0 .5em rgba(0, 0, 0, .25); margin: 0 5px 20px; min-width: 0; }
.datacard span { display: block; font-size: .78rem; color: var(--grey); text-transform: uppercase; letter-spacing: .03em; }
.datacard strong { display: block; font-size: 1.15rem; font-weight: 500; color: var(--greylight); overflow-wrap: anywhere; }
.datacard i { float: right; color: var(--accent); font-size: 1.3rem; margin-top: 4px; }
.datacard.neg strong { color: var(--red); }
.datacard.warn i { color: var(--orange); }
.empty { color: var(--grey); padding: 16px; text-align: center; }
.empty i { margin-right: 6px; }

/* ---------- Gombok ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 7px 15px; border-radius: 6px; border: 1px solid #3a3d46; background: var(--dark-col); color: #ebecf0; font: 500 15px Poppins, sans-serif; cursor: pointer; box-shadow: 0 1px 2px rgba(51, 51, 51, .05), 0 2px 4px rgba(51, 51, 51, .05); white-space: nowrap; }
.button:hover { background: var(--dark-sec-col); color: #fff !important; }
.button.is-fullwidth { width: 100%; }
.button.is-small { height: 32px; font-size: 13px; padding: 4px 12px; }
.button.bg-accent { background: var(--accent); border-color: var(--accent); color: var(--darker-col); }
.button.bg-accent:hover { background: var(--accent-2); color: var(--darker-col) !important; }
.button.bg-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.bg-red { background: var(--red); border-color: var(--red); color: #fff; }
.button.bg-dark-sec { background: var(--dark-sec-col); }
.button.bg-white { background: #fff; color: #111; border-color: #fff; }
.button.bg-white:hover { color: #111 !important; background: #e9e9e9; }

/* ---------- Tagek (jelvények) ---------- */
.tag, .badge { display: inline-flex; align-items: center; height: 1.6em; padding: 0 .65em; border-radius: 4px; font-size: .74rem; font-weight: 500; line-height: 1; white-space: nowrap; background: var(--dark-sec-col); color: var(--text-color); }
.badge-ok, .badge-green { background: var(--green); color: var(--darker-col); }
.badge-red { background: var(--red); color: #fff; }
.badge-orange, .badge-hotfix { background: var(--orange); color: var(--darker-col); }
.badge-blue, .badge-update { background: var(--blue); color: #fff; }
.badge-cyan { background: var(--accent-2); color: var(--darker-col); }
.badge-purple { background: var(--purple); color: #fff; }
.badge-gold { background: var(--yellow); color: var(--darker-col); }
.badge-muted { background: var(--dark-sec-col); color: var(--greylight); }
.badge-normal { background: var(--text-color); color: #000; }
.tags { display: inline-flex; margin: 0 .3rem .3rem 0; vertical-align: middle; }
.tags .tag:first-child { border-radius: 4px 0 0 4px; background: var(--darker-col); color: var(--greylight); }
.tags .tag:last-child { border-radius: 0 4px 4px 0; }
.tags .tag:only-child { border-radius: 4px; }

/* ---------- Táblázat ---------- */
.table-container { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: none; font-size: .9rem; border-top-left-radius: .8rem; border-top-right-radius: .8rem; }
.table th { text-align: left; color: var(--text-color); font-weight: 600; padding: .45rem .5rem; white-space: nowrap; }
.table td { padding: .45rem .5rem; vertical-align: top; border-top: 2px solid var(--background-color); }
.table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.log-msg { display: inline-block; max-width: 520px; overflow-wrap: anywhere; }
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 14px 0 4px; }
.pagination a, .pagination span { min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid var(--line); color: var(--text-color); font-size: .82rem; }
.pagination a.is-current { background: var(--accent); color: var(--darker-col); border-color: var(--accent); }
.pagination span { border: 0; }

/* ---------- Űrlapok ---------- */
.field { margin-bottom: 14px; }
.field label h6, .field-label { display: block; margin: 0 0 6px; color: var(--greylight); font-size: .9rem; font-weight: 500; text-transform: uppercase; }
.control { position: relative; }
.control .icon-left { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--grey); pointer-events: none; }
.input, select { width: 100%; height: 40px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--box-color); color: var(--text-color); font: 400 15px Poppins, sans-serif; }
.control .icon-left + .input { padding-left: 38px; }
.input:focus, select:focus { outline: none; border-color: gray; }
.help { display: block; margin-top: 4px; font-size: .78rem; color: var(--grey); }
.search { display: flex; gap: 10px; margin: 0 5px 16px; flex-wrap: wrap; }
.search .input { flex: 1 1 260px; width: auto; }
.search select { flex: 0 0 auto; width: auto; }

/* ---------- Modal (bejelentkezés) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 8rem 16px 16px; }
.modal.is-active { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: var(--box-color); opacity: .95; }
.modal-content { position: relative; z-index: 1; width: 100%; max-width: 340px; background: var(--background-color); border-radius: 10px; box-shadow: 0 0 .5em rgba(0, 0, 0, .25); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 2px solid rgba(255, 255, 255, .05); }
.modal-header .brand-text { font-size: 1.45rem; margin: 0; }
.modal-body { padding: 1rem; }
.modal-close { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(10, 10, 10, .3); color: #fff; cursor: pointer; font-size: .8rem; }
.modal-close:hover { background: rgba(10, 10, 10, .5); }
.modal-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: .5rem; }
.login-page { display: flex; justify-content: center; padding: 50px 0; }
.login-page .modal-content { max-width: 360px; }

/* ---------- Üzenetek ---------- */
.notification { position: relative; padding: 12px 16px; border-radius: 6px; margin: 10px 5px 16px; font-weight: 400; }
.alert-ok { background: var(--green); color: var(--darker-col); }
.alert-error { background: var(--red); color: #fff; }
.alert-warn { background: var(--orange); color: var(--darker-col); }
.alert-info { background: var(--dark-sec-col); color: var(--text-color); border-left: 4px solid var(--blue); }
.alert-info a { color: var(--bluelight); }

/* ---------- Hírek / changelog ---------- */
.news { margin: 10px 5px 20px; padding: 1.5rem; border-radius: .25rem; box-shadow: 0 .5em 1em -.125em rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .1); position: relative; background: linear-gradient(130deg, #111114 25%, transparent), var(--news-image, linear-gradient(130deg, var(--box-color), var(--seelgrey3))); background-size: cover; background-position: center; }
.news h1 { font-weight: 700; font-size: 1.35em; margin: 0 0 6px; }
.news .tag { color: #000; background: var(--text-color); font-weight: 700; font-size: .8em; margin: .25em .4em .25em 0; }
.news .tag.badge-update { background: var(--blue); color: #fff; }
.news .tag.badge-hotfix { background: var(--orange); }
.news-meta { font-size: .82rem; color: var(--greylight); margin-bottom: 8px; }
.news-body { color: #dcdcdc; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 26px 5px 18px; }
.page-title h1 { margin: 0; text-transform: uppercase; }
.page-title p { margin: 0; color: var(--greylight); }

/* ---------- Profil ---------- */
.profile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 26px 5px 12px; }
.profile-top .title { margin: 0; font-size: 2rem; font-weight: 400; }
.profile-top .title small { display: block; font-size: .85rem; color: var(--grey); font-weight: 300; }
.seebadges { display: flex; gap: 4px; }
.seebadge { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--box-color); color: var(--greylight); opacity: .55; transition: all .3s ease; font-size: 14px; }
.seebadge:hover { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px 6px rgba(0, 0, 0, .25); }
.seebadge.on { opacity: .95; }
.seebadge.green { color: var(--green); } .seebadge.red { color: var(--red); } .seebadge.blue { color: var(--blue); } .seebadge.yellow { color: var(--yellow); } .seebadge.purple { color: var(--purple); }
.seebadge[data-tip]:hover::after { content: attr(data-tip); position: absolute; top: 110%; right: 0; white-space: nowrap; background: var(--darker-col); color: var(--text-color); font-size: .72rem; padding: 4px 8px; border-radius: 4px; z-index: 5; }
.tabs { margin: 0 5px 20px; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 16px; margin-bottom: -1px; border: 1px solid transparent; border-radius: 6px 6px 0 0; color: var(--bluelight); font-weight: 400; }
.tabs a:hover { background: var(--background-color); border-bottom-color: var(--line); color: #fff !important; }
.tabs a.active { background: var(--box-color); border-color: var(--line); border-bottom-color: var(--box-color); color: #fff; }
.tabs a i { font-size: .9em; }
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 5px 14px; }
.subtabs a { padding: 4px 12px; border-radius: 4px; background: var(--box-color); color: var(--greylight); font-size: .85rem; }
.subtabs a.active { background: var(--accent); color: var(--darker-col); }
.kv { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; overflow-wrap: anywhere; color: var(--greylight); }
.circles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; text-align: center; margin-bottom: 8px; }
.circle { width: 75px; height: 75px; margin: 0 auto 6px; position: relative; }
.circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.circle .bg { fill: none; stroke: #16171a; stroke-width: 3.8; }
.circle .bar { fill: none; stroke-width: 3.8; stroke-linecap: round; }
.circle .val { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: #fff; }
.circles span { font-size: .78rem; color: var(--grey); text-transform: uppercase; }
.skill { margin-bottom: 10px; }
.skill-head { display: flex; justify-content: space-between; font-size: .88rem; }
.skill-head em { font-style: normal; color: var(--grey); }
.progress { height: 6px; border-radius: 999px; background: var(--background-color); overflow: hidden; margin-top: 4px; }
.progress div { height: 100%; background: var(--accent); border-radius: 999px; }
.plateDisplay { display: inline-block; min-width: 82px; padding: 2px 8px; text-align: center; border-radius: .35em; background: #f1f1f1; color: #1b1b1b; font-family: "Bebas Neue", SeelBebas, sans-serif; font-size: 1.1rem; letter-spacing: .05em; line-height: 1.35; border: 2px solid #2d3a8c; box-shadow: inset 6px 0 0 #2d3a8c; padding-left: 12px; white-space: nowrap; }
.swatch { display: inline-block; width: 15px; height: 15px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .25); margin-right: 3px; vertical-align: middle; }
.group-box h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 1rem; }
.motd { margin: 10px 0 0; font-size: .85rem; color: var(--greylight); }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; margin-top: 10px; }
.menu { padding-right: 1.5rem; }
.menu-label { color: var(--grey); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 6px; }
.menu-label:first-child { margin-top: 0; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 4px; color: var(--text-color); font-size: .9rem; }
.menu-list a i { width: 18px; text-align: center; color: var(--grey); }
.menu-list a:hover { background: var(--box-color); color: #fff !important; }
.menu-list a.active { background: var(--accent); color: var(--darker-col); }
.menu-list a.active i { color: var(--darker-col); }
.admin-content { border-left: 1px solid rgba(140, 205, 240, .2); padding-left: 2rem; min-width: 0; }
.admin-content .page-title { margin-top: 0; }

/* ---------- Report chat ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 10px; background: var(--background-color); }
.msg.mine { align-self: flex-end; background: var(--dark-sec-col); border-left: 3px solid var(--accent); }
.msg.system { align-self: center; max-width: 90%; background: none; color: var(--grey); font-size: .82rem; }
.msg-head { font-size: .8rem; margin-bottom: 4px; }
.msg-head small { color: var(--grey); margin-left: 6px; }
.debug { white-space: pre-wrap; background: var(--darker-col); padding: 12px; border-radius: 6px; font-size: .8rem; }

/* ---------- Lábléc ---------- */
.footer { position: absolute; bottom: 0; width: 100%; height: 165px; background: var(--box-color); color: var(--text-color); font-size: 12px; display: flex; align-items: center; }
.footer a { color: var(--bluelight); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 16px; }
.footer h5 { font-size: 12px; text-transform: uppercase; font-weight: 600; margin: 0 0 4px; }
.footer-center { text-align: center; }
.footer-center img { width: 34px; height: 34px; display: block; margin: 0 auto 4px; }
.footer-right { text-align: right; }
.footer p { margin: 0; line-height: 1.7; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
  .headerChar { display: none; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .navbar-burger { display: block; }
  .navbar-menu { display: none; position: absolute; top: 71px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--box-color); padding: 8px 16px 14px; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); }
  .navbar-menu.open { display: flex; }
  .navbar-menu .nav-btn { width: 100%; }
  .cols-3, .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .menu { padding: 0 5px 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .menu-label { width: 100%; margin: 6px 0 2px; }
  .menu-list { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-content { border-left: 0; padding-left: 0; }
  .circles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { padding-bottom: 260px; }
  .footer { height: 260px; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  .welcome { padding-top: 120px; }
  .welcome h1 { font-size: 26px; }
  .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .online { font-size: 19px; }
  .msg { max-width: 100%; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-top: 2px solid var(--background-color); padding: 6px 0; }
  .table td { border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; padding: 3px 4px; }
  .table td::before { content: attr(data-label); color: var(--grey); font-size: .76rem; text-align: left; flex: 0 0 38%; }
  .table td[data-label=""]::before { content: none; }
}
.back { display: inline-block; margin-bottom: 6px; font-size: .85rem; }
.page-title h1 i { color: var(--accent); margin-right: 8px; }
.top-banner .headerChar { z-index: 0; }
.top-banner .shad { z-index: 1; }
.top-banner .hero-body { z-index: 2; }

/* Szerver rang színek (seel_gui SeelMTA colorSet) */
.badge-seelblue { background: #319ad7; color: #fff; }
.badge-seelblue2 { background: #31b4e1; color: var(--darker-col); }
.badge-seelred { background: #f35a5a; color: #fff; }
.badge-seelgreen { background: #3cb882; color: var(--darker-col); }
.badge-seelgreen2 { background: #3cb8aa; color: var(--darker-col); }
.badge-seelorange { background: #ff9514; color: var(--darker-col); }
.badge-seelyellow { background: #f3d65a; color: var(--darker-col); }
.rank-seelblue { color: #319ad7 !important; } .rank-seelred { color: #f35a5a !important; } .rank-seelgreen { color: #3cb882 !important; }
.rank-seelgreen2 { color: #3cb8aa !important; } .rank-seelorange { color: #ff9514 !important; } .rank-seelyellow { color: #f3d65a !important; }

/* Adatmezők tag-buborékokban */
.fields { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.fields .tags { margin: 0 4px 0 0; }
.fields .tag { height: 1.9em; font-size: .8rem; }
.columns { align-items: start; }
.box form.inline { display: inline; }
.req-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.req-actions form { margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.form-row .field { margin: 0; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Report lenyitható nézet */
details.report { border-top: 2px solid var(--background-color); }
details.report:first-of-type { border-top: 0; }
details.report > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 6px; }
details.report > summary::-webkit-details-marker { display: none; }
details.report > summary:hover { background: rgba(255, 255, 255, .03); }
details.report > summary .chev { transition: transform .2s; color: var(--grey); }
details.report[open] > summary .chev { transform: rotate(90deg); }
details.report .report-body { padding: 4px 6px 16px; }
@media (max-width: 640px) { details.report > summary { grid-template-columns: 1fr auto; } }

/* =====================================================================
 *  Profil – a referencia UCP elrendezése:
 *  cím + jelvények, keretes fülsor, Adatok fülön negyed / háromnegyed oszlop,
 *  a többi fülön teljes szélességű dobozok táblázattal.
 * ===================================================================== */
@media (min-width: 1408px) { .container { max-width: 1376px; } }

.profile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.profile-welcome { margin: 10px 10px 10px 2px; font-family: "Bebas Neue", SeelBebas, sans-serif; font-weight: 400; font-size: 31.2px; color: #fff; text-transform: none; letter-spacing: .01em; }
.profile-head .seebadges { margin: 12px 10px 0; }

.ptabs { margin: 0 0 12px; }
.ptabs a { padding: 7px 12px; border-radius: 5.6px 5.6px 0 0; color: var(--greylight); }
.ptabs a i { color: inherit; }
.ptabs a.active { color: var(--bluelight); }

/* Doboz */
.pbox { background: var(--box-color); border-radius: 4.5px; padding: 7.5px 7.5px 12px; box-shadow: 0 0 7.5px rgba(0, 0, 0, .25); margin-bottom: 24px; color: #cdcdcd; font-size: 15px; }
.pbox > h6 { margin: 0 0 16px; font-size: 15.2px; font-weight: 400; color: #9b9b9b; text-transform: none; }
.pbox > h6 i { margin-right: 4px; }
.box-center { display: flex; justify-content: center; margin: 8px 0; }
.mt-s { margin-top: 12px; }

/* Adatok: negyed + háromnegyed oszlop */
.pcols { display: grid; grid-template-columns: calc(25% - 18px) minmax(0, 1fr); gap: 24px; align-items: start; }
.pcol-side, .pcol-main { min-width: 0; }

/* Címke-sorok (felirat + érték) */
.pbox .tags.has-addons { display: flex; flex-wrap: nowrap; margin: 0 0 8px; max-width: 100%; }
.tags.has-addons .tag, .ptable .tag { font-size: 12px; height: 24px; padding: 0 9px; border-radius: 6px; font-weight: 400; display: inline-flex; align-items: center; white-space: nowrap; }
.tags.has-addons .tag:first-child { border-radius: 6px 0 0 6px; }
.tags.has-addons .tag:last-child { border-radius: 0 6px 6px 0; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tags.has-addons .tag:only-child { border-radius: 6px; }
.tag-dark { background: #343a40 !important; color: #ebebeb !important; }
.tag-blue { background: #5db6e5; color: #232629; }
.tag-bluelight { background: #b3dcf2; color: #232629; }
.tag-green { background: #72cc72; color: #232629; }
.tag-greenlight { background: #b9e6b9; color: #232629; }
.tag-red { background: #eb5050; color: #ebebeb; }
.tag-redlight { background: #f5a8a8; color: #232629; }
.tag-orange { background: #ff9514; color: #232629; }
.tag-orangelight { background: #ffcf94; color: #232629; }
.tag-muted, .tag-mutedlight { background: #3e414a; color: var(--greylight); }
.color-bluelight { color: var(--bluelight) !important; }
.button.bg-green { background: #72cc72; border-color: #72cc72; color: #232629; }
.button.bg-green:hover { background: #5fbf5f; color: #232629 !important; }
.button.bg-yellow { background: var(--yellow); border-color: var(--yellow); color: #232629; }
.button.bg-blue { background: #5db6e5; border-color: #5db6e5; color: #232629; }
.pbox .button.is-small { height: 30px; font-size: 12px; padding: 5px 11px; border-radius: 4px; font-weight: 500; }
.button[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* Club tagság doboz */
.club-box { text-align: center; color: #abb1bf; background: radial-gradient(circle at 50% 30%, #2c3a33 0%, var(--box-color) 70%); padding-bottom: 14px; }
.club-box h2 { margin: 6px 0 10px; font-family: "Bebas Neue", SeelBebas, sans-serif; font-size: 26.25px; font-weight: 700; color: #fff; text-transform: none; }
.club-rank { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.club-icon { font-size: 54px; line-height: 75px; width: 75px; height: 75px; display: grid; place-items: center; }
.club-name { display: block; font-size: 15px; padding: 2px 4px; border-radius: 3.75px; color: #232629; }
.club-exp { display: block; font-size: 15px; color: #abb1bf; }

/* Karakter kép (négyzet) */
.char-pic { margin: 0 0 8px; aspect-ratio: 1 / 1; overflow: hidden; background: var(--darker-col); }
.char-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Karakter állapot – 3 kör */
.rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ring-col { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px 0 4px; }
.ring-col h6 { margin: 0 0 8px; font-size: 15px; font-weight: 400; text-transform: uppercase; color: #cdcdcd; }
.ring { width: 75px; height: 75px; }
.ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: #343a40; stroke-width: 3; }
.ring-bar { fill: none; stroke-width: 3; stroke-linecap: round; transform: rotate(0deg); }
.ring text { fill: #ebebeb; font-size: 8px; font-weight: 600; text-anchor: middle; font-family: Poppins, sans-serif; }

/* Térkép */
.pbox .gmap { margin-top: 12px; height: 300px; }

/* Skillek – 2 oszlopos kártyák */
.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: -6px; }
.skill-col { padding: 12px; }
.skill-card { background: #343a40; border-radius: 5px; padding: 8px; text-align: center; color: #ebebeb; }
.skill-title { margin: 0; font-size: 16px; font-weight: 800; color: #ebecf0; }
.skill-card .stars { justify-content: center; font-size: 22px; }
.skill-card .star { color: #aaa; }
.skill-card .star::after { color: #f0c850; }
.skill-now { margin: 0; font-size: 16px; font-weight: 700; }
.skill-next { margin: 0; font-size: 12px; }
.skill-progress { height: 8px; border-radius: 999px; background: #4a4f57; overflow: hidden; margin: 8px 0 2px; }
.skill-progress div { height: 100%; background: #f0c850; border-radius: 999px; }

/* Inventory – középre zárt, 5 oszlopos rács */
.inv-holder { display: flex; justify-content: center; }
.inv { width: 474px; max-width: 100%; background: none; padding: 0; }
.inv-head { margin-bottom: 4px; }
.inv-title { font-size: 30px; color: #fff; }
.inv-title em { font-size: .7em; color: var(--grey); }
.inv-tabs button { background: none; color: #fff; width: 26px; font-size: 1rem; }
.inv-tabs button.active { background: none; color: var(--yellow); }
.inv-grid { grid-template-columns: repeat(5, 90px); gap: 4px; justify-content: center; background: rgba(0, 0, 0, .25); padding: 2px; }
.inv-slot { aspect-ratio: auto; width: 90px; height: 112px; border-radius: 0; background: rgba(255, 255, 255, .2); flex-direction: column; }
.inv-slot img { width: 73px; height: 67px; }
.inv-amount { left: 4px; right: auto; top: 2px; font-size: .72rem; }
.inv-slot.has { justify-content: flex-start; padding-top: 16px; }
.inv-name { display: block; width: 100%; padding: 2px 3px 0; font-size: 12px; line-height: 1.15; text-align: left; color: #cdcdcd; overflow: hidden; max-height: 2.4em; }

/* Táblázat */
.ptable { width: 100%; border-collapse: collapse; color: #ebecf0; font-size: 15px; }
.ptable th { text-align: left; font-weight: 600; color: #fff; padding: 4.8px; border-bottom: 2px solid #353a46; white-space: nowrap; }
.ptable td { padding: 4.8px; border-bottom: 1px solid #353a46; vertical-align: middle; }
.ptable tbody tr:hover { background: rgba(255, 255, 255, .03); }
.ptable tr.noresult td { color: #ebecf0; }
.ptable tr.noresult i { margin: 0 6px 0 2px; }
.ptable td:last-child:has(> a:only-child) { text-align: right; padding-right: 12px; }
.ptable .tags.has-addons { margin: 0; display: inline-flex; }
.vip-table th.current, .vip-table td.current { background: rgba(60, 184, 130, .12); }

/* Rendszámtábla (a szerver plate.png képével) */
.plateDisplay { display: inline-block; width: 82px; height: 41px; line-height: 41px; padding: 0 0 0 6px; border: 0; box-shadow: none; border-radius: 0;
  background: url("img/plate.png") center / 100% 100% no-repeat; color: #131c2d; font-family: "Bebas Neue", SeelBebas, sans-serif; font-size: 1.1rem; text-align: center; letter-spacing: .03em; white-space: nowrap; }

/* Report keresés */
.report-search .checkbox { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; margin-bottom: 10px; color: #cdcdcd; }
.report-search .date-range { margin-bottom: 10px; max-width: 420px; }
.report-search .date-range.hidden { display: none; }
.search-group { display: flex; gap: 12px; }
.search-group .control.has-icon { position: relative; }
.search-group .control.has-icon > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--greylight); pointer-events: none; }
.search-group .control.has-icon .input { padding-left: 36px; }
.search-group .expanded { flex: 1 1 auto; }
.date-range { display: flex; align-items: center; gap: 6px; }

/* Skillek, csillagok (alap) */
.stars { display: flex; gap: 1px; line-height: 1.4; }
.star { position: relative; }
.star::after { content: "\2605"; position: absolute; left: 0; top: 0; width: var(--fill, 0%); overflow: hidden; }

/* Inventory alap */
.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.inv-title { font-family: "Bebas Neue", SeelBebas, sans-serif; letter-spacing: .03em; }
.inv-title em { font-style: normal; }
.inv-tabs { display: flex; gap: 2px; }
.inv-tabs button { border: 0; height: 28px; cursor: pointer; }
.inv-grid { display: grid; }
.inv-grid.hidden { display: none; }
.inv-slot { position: relative; display: flex; align-items: center; justify-content: center; }
.inv-slot img { object-fit: contain; }
.inv-slot > i { color: var(--grey); }
.inv-amount { position: absolute; color: #fff; text-shadow: 0 0 2px #000; }
.inv-slot.has:hover { outline: 1px solid var(--yellow); }

/* Térkép alap */
.gmap { position: relative; overflow: hidden; border-radius: 4px; background: #0e2a3c; cursor: grab; touch-action: none; }
.gmap.dragging { cursor: grabbing; }
.gmap-inner { position: absolute; left: 0; top: 0; width: 1200px; height: 1200px; transform-origin: 0 0; }
.gmap-inner img { width: 100%; height: 100%; display: block; user-select: none; pointer-events: none; }
.gmap-pin { position: absolute; transform: translate(-50%, -100%); color: var(--blue); font-size: 24px; text-shadow: 0 0 4px #000; }
.gmap-zoom { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; z-index: 2; border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; overflow: hidden; }
.gmap-zoom button { width: 30px; height: 30px; border: 0; background: #fff; color: #000; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.gmap-zoom button + button { border-top: 1px solid #ccc; }

/* Igazolványok (seel_license elrendezés) */
.licenses { display: flex; flex-wrap: wrap; gap: 14px; }
.lc-wrap { position: relative; width: 320px; height: 196px; flex: 0 0 auto; }
.lc-wrap.mine { width: 258px; height: 317px; }
.lc { position: absolute; left: 0; top: 0; width: 516px; height: 316px; transform: scale(.62); transform-origin: 0 0; font-family: Poppins, sans-serif; color: #1b1b1b; }
.lc-mine { width: 416px; height: 512px; }
.lc-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-photo { position: absolute; object-fit: cover; }
.lc-d { position: absolute; font-size: 15px; font-weight: 500; white-space: nowrap; }
.lc-top { font-size: 17px; }
.lc-sig { position: absolute; font-family: "Brush Script MT", cursive; font-size: 22px; color: rgb(30, 30, 110); white-space: nowrap; }
.lc-sig-c { transform: translateX(-50%); }
.lc-mine-name, .lc-mine-exp, .lc-mine-id { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; }
.lc-mine-name { top: 340px; font-size: 20px; }
.lc-mine-exp { top: 380px; font-size: 15px; }
.lc-mine-id { top: 410px; font-size: 15px; }

/* Felugró ablakok (adatlapok, kérelmek) */
.ucp-modal { overflow-y: auto; padding-top: 5rem; }
.ucp-modal .modal-content { max-width: 440px; margin-bottom: 3rem; }
.ucp-modal .modal-content.wide { max-width: 760px; }
.ucp-modal .modal-content.xwide { max-width: 980px; }
.ucp-modal .modal-header h5 { margin: 0; font-size: 1.05rem; text-transform: uppercase; }
.vd-head { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.vd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.vd-sec { background: var(--box-color); border-radius: 6px; padding: 10px 12px; }
.vd-sec h6 { margin: 0 0 8px; color: var(--accent); text-transform: uppercase; font-size: .8rem; letter-spacing: .05em; }
.vd-sec .kv { font-size: .84rem; }
.secret { background: var(--darker-col); border-radius: 6px; padding: 10px; text-align: center; font-size: 1.05rem; letter-spacing: .08em; margin: 8px 0; user-select: all; }
.steps { padding-left: 18px; margin: 0 0 6px; font-size: .9rem; }

@media (max-width: 1215px) {
  .skill-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .pcols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .profile-head { justify-content: center; text-align: center; }
  .vd-grid { grid-template-columns: minmax(0, 1fr); }
  .search-group { flex-wrap: wrap; }
  .search-group .control { flex: 1 1 100%; }
  .inv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .inv-slot { width: auto; height: auto; aspect-ratio: 90 / 112; }
  .inv-slot img { width: 70%; height: auto; }
  .lc-wrap { width: 284px; height: 174px; }
  .lc-wrap.mine { width: 229px; height: 282px; }
  .lc { transform: scale(.55); }
}

/* =====================================================================
 *  3. kör: bejelentkező ablak, értesítő, jármű adatlap, játékbeli inventory, tagsági panel
 * ===================================================================== */
html.modal-open, html.modal-open body { overflow: hidden; }

/* Felső töltéscsík (a referencia "line" + progressBar animációja) */
.line.loading { animation: ucpProgress .5s ease-in-out both; }
@keyframes ucpProgress { from { width: 0; } to { width: 100%; } }

/* ---------- Bejelentkező ablak ---------- */
.login-modal { padding: 8rem 4px 16px; }
.modal-dialog { position: relative; z-index: 1; width: 100%; }
.modal-sm { max-width: 340px; margin-left: auto; margin-right: auto; }
.login-modal.is-active .modal-dialog { animation: bounceInTop 1.1s ease both; }
@keyframes bounceInTop {
  0% { transform: translateY(-500px); animation-timing-function: ease-in; opacity: 0; }
  38% { transform: translateY(0); animation-timing-function: ease-out; opacity: 1; }
  55% { transform: translateY(-65px); animation-timing-function: ease-in; }
  72% { transform: translateY(0); animation-timing-function: ease-out; }
  81% { transform: translateY(-28px); animation-timing-function: ease-in; }
  90% { transform: translateY(0); animation-timing-function: ease-out; }
  95% { transform: translateY(-8px); animation-timing-function: ease-in; }
  100% { transform: translateY(0); animation-timing-function: ease-out; }
}
.modal-dialog .modal-content, .login-page .modal-content { max-width: none; margin: 0; display: flex; flex-direction: column; }
.login-step.hidden { display: none; }
.login-step .modal-header { align-items: flex-start; padding: 1rem; border-bottom: 2px solid rgba(255, 255, 255, .05); }
.logoStyle { margin: 0; font-family: Poppins, sans-serif; font-weight: 700; font-style: italic; font-size: 1.5em; color: #fff; text-transform: none; line-height: 1.2; }
.logoStyle span { color: var(--accent); } /* "MTA" a szerver zöldjével */
.delete { appearance: none; border: 0; border-radius: 50%; cursor: pointer; width: 20px; height: 20px; min-width: 20px; background: rgba(10, 10, 10, .5); position: relative; flex: none; }
.delete::before, .delete::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.delete::before { width: 50%; height: 2px; }
.delete::after { width: 2px; height: 50%; }
.delete:hover { background: rgba(10, 10, 10, .7); }
.login-step .modal-body { padding: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group h6 { margin: 0 0 .5rem; font-size: .95rem; font-weight: 500; }
.form-group h6 i { margin-right: 2px; }
.control.has-icons-left { position: relative; margin: 0; }
.control.has-icons-left .input { padding-left: 2.5em; }
.control.has-icons-left .icon { position: absolute; left: 0; top: 0; width: 2.5em; height: 40px; display: grid; place-items: center; color: var(--greylight); pointer-events: none; font-size: .85rem; }
.form-text { display: block; margin-top: .25rem; font-size: 80%; }
.color-grey { color: #9b9b9b !important; }
.formErrorMessage { color: var(--red); font-size: 12px; font-weight: 500; margin: 0 0 10px; }
.login-lost { display: block; text-align: center; margin-top: .5rem; }
.login-step .modal-footer { display: flex; padding: .75rem; border-top: 2px solid rgba(255, 255, 255, .05); }
.button.is-fullwidth { width: 100%; }
.button.bg-yellow { background: var(--yellow); border-color: var(--yellow); color: #232629; }
.button.bg-yellow:hover { background: #e9c94a; color: #232629 !important; }
.button.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.button.is-loading > * { visibility: hidden; }
.button.is-loading::after { content: ""; position: absolute; left: calc(50% - .5em); top: calc(50% - .5em); width: 1em; height: 1em; border: 2px solid #232629; border-right-color: transparent; border-top-color: transparent; border-radius: 50%; animation: spinAround .5s linear infinite; }
@keyframes spinAround { to { transform: rotate(360deg); } }
.login-page .modal-dialog { margin-top: 2rem; }

/* ---------- Értesítő (infobox) ---------- */
.notification-container { position: fixed; bottom: 20px; right: 20px; z-index: 1000; max-width: calc(100vw - 40px); }
.notification-container .notification { margin: 0; padding: .5rem .9rem; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); animation: alertIn .25s ease-out both; }
.notification.is-success { background: #72cc72; color: #232629; }
.notification.is-danger { background: #eb5050; color: #fff; }
.notification.is-warning { background: var(--yellow); color: #232629; }
.notification.is-info { background: #5db6e5; color: #232629; }
.icon-text { display: inline-flex; align-items: center; gap: .4em; }
.icon-text .icon { width: 1.5em; display: inline-grid; place-items: center; }
@keyframes alertIn { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Kártyás felugró ablak (jármű adatlap, tagsági szintek) ---------- */
.vmodal { padding: 20px 16px; align-items: flex-start; overflow: hidden; }
.vmodal .modal-card { position: relative; z-index: 1; width: 880px; max-width: 100%; max-height: calc(100vh - 40px); display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; }
.vmodal .modal-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 32px; background: #343a40; flex: 0 0 auto; }
.vmodal .modal-card-title { margin: 0; font-size: 24px; font-weight: 400; color: #ebecf0; line-height: 1; }
.vmodal .modal-card-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 32px; background: #343a40; }
.vd-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vd-box { background: var(--box-color); padding: 7.5px 7.5px 1px; border-radius: 4.5px; margin-bottom: 24px; box-shadow: 0 0 7.5px rgba(0, 0, 0, .25); }
.vd-box h1 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: #ebecf0; text-transform: none; }
.vd-box .tags.has-addons { display: flex; margin: 0 0 8px; }
.vd-box .tags.has-addons .tag:not(:first-child):not(:last-child) { border-radius: 0; }
.tag-grey { background: #9b9b9b; color: #232629; }
.tag-color { width: 21px; padding: 0 !important; }
.vmodal .inv-holder { margin-top: 4px; }

/* Tagsági szintek */
.rank-modal .modal-card { width: auto; max-width: min(90em, 100%); }
.rank-modal .modal-card-body { text-align: center; }
.rank-compare-holder { display: flex; gap: 16px; align-items: flex-start; }
.rank-compare { overflow-x: auto; flex: 1 1 auto; }
.rank-table { border-collapse: separate; border-spacing: 10px 0; margin: 0 auto; font-size: 13px; color: #ebecf0; }
.rank-table th { text-align: left; font-style: italic; font-weight: 700; padding: 4px 8px; background: var(--darker-col); color: #fff; max-width: 150px; line-height: 1.25; border-bottom: 1px solid #343a40; }
.rank-table tr:first-child th { background: none; border: 0; }
.rank-table td { min-width: 120px; padding: 6px 8px; text-align: center; background: var(--box-color); border-left: 2px solid var(--rankCol); border-right: 2px solid var(--rankCol); }
.rank-table tr:last-child td { border-bottom: 2px solid var(--rankCol); border-radius: 0 0 6px 6px; }
.rank-table td.head { position: relative; padding: 46px 8px 6px; background: var(--rankCol); color: #232629; font-weight: 700; font-size: 14px; border-radius: 6px 6px 0 0; }
.rank-table td.head .rank-ico { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--darker-col); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--box-color); }
.rank-table td.head .rank-ico svg { width: 42px; height: 42px; }
.rank-table tr:first-child td { border-top: 0; }
.rank-table { margin-top: 40px; }
.rank-table td i { display: none; }
.rank-table td b { font-weight: 500; }
.rank-table .color-rank { color: var(--rankCol); }
.rank-table td.active { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .03); }
.rank-note { margin: 14px 0 0; }

/* Club doboz ikonja */
.club-icon svg { width: 60px; height: 60px; }

/* ---------- Játékbeli inventory (seel_items) ---------- */
.inv-holder { display: flex; justify-content: center; }
.ginv { position: relative; width: 415px; max-width: 100%; background: #23272a; font-family: Ubuntu, sans-serif; user-select: none; padding-bottom: 14px; }
.ginv-panel.hidden { display: none; }
.ginv-head { position: relative; height: 32px; border-bottom: 1px solid #33353d; }
.ginv-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; right: 69px; background: #1a1b1f; }
.ginv-head .ginv-notch { position: absolute; right: 0; top: 0; width: 69px; height: 32px; border: solid #1a1b1f; border-width: 5px 5px 5px 0; }
.ginv-title { position: absolute; left: 6px; top: 0; line-height: 32px; z-index: 1; font-family: SeelBebas, "Bebas Neue", sans-serif; font-size: 19px; color: #fff; letter-spacing: .02em; }
.ginv-title em { font-style: normal; font-family: "Bebas Neue", sans-serif; font-weight: 400; color: #3cb882; }
.ginv-title b { font-family: "Bebas Neue", sans-serif; font-weight: 400; color: #babec4; }
.ginv-tabs { position: absolute; right: 74px; top: 4px; display: flex; gap: 10px; z-index: 2; }
.ginv-tabs button { width: 20px; height: 24px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .5); cursor: pointer; font-size: 15px; }
.ginv-tabs button:hover { color: #fff; }
.ginv-tabs button.active { color: #3cb882; }
.ginv-grid { display: grid; grid-template-columns: repeat(10, 36px); gap: 5px; padding: 5px 5px 0; }
.ginv-slot { position: relative; width: 36px; height: 36px; background: #1a1b1f; }
.ginv-slot.has { cursor: pointer; }
.ginv-slot:hover { background: #319ad7; }
.ginv-slot img { width: 36px; height: 36px; display: block; }
.ginv-slot > i { color: #8d9097; display: grid; place-items: center; height: 100%; }
.ginv-amount { position: absolute; right: 1px; bottom: 1px; font-size: 9px; line-height: 1; color: #fff; text-shadow: 0 0 2px #000, 0 0 2px #000; }
.ginv-weight { position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px; background: #babec4; cursor: help; }
.ginv-weight div { height: 100%; background: #3cb882; }

/* Tooltip (seel_items showTooltip): fekete 200/255 alfa, középre igazított szöveg, zöld név */
.game-tooltip { position: fixed; z-index: 2000; pointer-events: none; background: rgba(0, 0, 0, .78); color: #fff; font-family: Ubuntu, sans-serif; font-size: 12px; line-height: 1.35; text-align: center; padding: 6px 8px; max-width: 320px; white-space: normal; }
.game-tooltip[hidden] { display: none; }
.tt-name { color: #3cb882; }
.tt-blue { color: #319ad7; }
.tt-red { color: #f35a5a; }
.tt-grey { color: #8e8e8e; }

@media (max-width: 768px) {
  .vd-cols { grid-template-columns: minmax(0, 1fr); }
  .vmodal .modal-card-head, .vmodal .modal-card-body { padding: 16px; }
  .vmodal .modal-card-title { font-size: 18px; }
  .ginv { transform-origin: top center; }
  .rank-compare-holder { flex-direction: column; }
}
@media (max-width: 440px) {
  .ginv { width: 100%; }
  .ginv-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
  .ginv-slot, .ginv-slot img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* =====================================================================
 *  4. kör: szerver színek (seel_gui "SeelMTA" colorSet) a bejelentkezésnél és az értesítőnél,
 *  inventory fejléc beviteli mező nélkül, elektromos rendszám, kis felugró ablakok
 * ===================================================================== */
/* Bejelentkező panel: a referencia kinézete marad, csak a gomb kapja a szerver zöldjét (seelgreen) */
.button.bg-accent.is-loading::after { border-color: var(--darker-col); border-right-color: transparent; border-top-color: transparent; }


/* Inventory: a jobb felső mennyiség mező (és kivágása) nélkül, teljes szélességű fejléc */
.ginv-head::before { right: 0; }
.ginv-head .ginv-notch { display: none; }
.ginv-tabs { right: 8px; }

/* Elektromos jármű rendszáma (seel_plate plate_2) */
.plateDisplay.electric { background-image: url("img/plate-electric.png"); }

/* Kis felugró ablak (2FA, jelszócsere) */
.small-modal { padding-top: 8rem; }
.small-modal .modal-card { width: 400px; }
.small-modal .modal-card-body { padding: 24px; background: var(--seelgrey2, #23272a); border: 1px solid var(--seelgrey3, #33353d); border-radius: 12px; text-align: left; }
.small-modal form.hidden { display: none; }
.small-modal small { display: block; text-align: center; }
.small-modal .field { margin-bottom: 12px; }
.small-modal .field.is-grouped-centered { display: flex; justify-content: center; margin: 14px 0 0; }
.small-modal .help { color: var(--grey); }
.small-modal .formErrorMessage { text-align: center; }

/* 2FA beállítás: QR kód és kulcs */
.qr-box { display: flex; justify-content: center; margin: 12px auto 8px; padding: 10px; background: #fff; border-radius: 6px; width: max-content; min-height: 40px; }
.qr-box img, .qr-box canvas { display: block; }
.small-modal .secret { font-size: .95rem; }
.small-modal .center { text-align: center; margin: 0 0 10px; }

/* Rendszám a táblán – a seel_plate drawPlate() elhelyezése: vízszintesen középen,
   függőlegesen a 256×128-as tábla 36–112. pixele között (a "Seel City" felirat alatt). */
.plateDisplay { display: inline-block; box-sizing: border-box; width: 84px; height: 42px; margin: 0; padding: calc(42px * 36 / 128) 0 0;
  line-height: calc(42px * 76 / 128); text-align: center; vertical-align: middle; letter-spacing: .04em; font-size: 1.05rem; color: #191919; }

/* =====================================================================
 *  Hírek / Changelog – a referencia .news kártyája (sötét, balról átlátszóba futó átmenet a hír képe fölött)
 * ===================================================================== */
.news-page { max-width: 1100px; padding-top: 1.5rem; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.news-head h1 { margin: 0; font-size: 1.6rem; text-transform: none; }
.news-head h1 i { color: var(--accent); margin-right: 4px; }
.news { position: relative; isolation: isolate; margin: 10px 0 20px; padding: 1.5rem; border-radius: .25rem; box-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
  background: linear-gradient(130deg, #1a1b1f 25%, transparent); text-shadow: 1px 1px 3px rgba(0, 0, 0, .75); color: #fff; }
.news::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: .25rem; background: #1a1b1f; }
.news::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: .25rem; background: var(--news-image, none) center / cover no-repeat; opacity: .55; }
.news h1 { font-size: 1.35rem; margin: 0; font-weight: 700; text-transform: none; }
.news > h3 { font-size: 1.1rem; margin: 6px 0; font-weight: 500; color: #ddd; }
.news .tag { display: inline-flex; height: auto; margin: .25rem 6px .25rem 0; padding: 0 .65em; border-radius: 4px; line-height: 1.7; color: #000 !important; text-shadow: none; font-weight: 700; font-size: .8rem; }
.news-body { margin-top: 1rem; color: #fff; }
.news-body p { margin: 0; padding: .2em 0; }
.news-body h2 { font-size: 1.2rem; margin: 10px 0 6px; }
.news-body h3 { font-size: 1.1rem; margin: 8px 0 6px; }
.news-body h4 { font-size: 1rem; margin: 6px 0; }
.news-body ul { margin: .2em 0 .4em; padding-left: 1.3em; }
.news-body li { padding: .1em 0; }
.news-body hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 1rem 0; }
.news-body a { color: var(--bluelight); word-break: break-word; }
.news-body .news-img img { max-width: 100%; border-radius: 4px; margin: .4rem 0; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.news-edit-link { margin: -14px 0 18px; text-align: right; font-size: .85rem; }

/* Admin szerkesztő */
.news-form-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.news-form-grid.two { grid-template-columns: 1fr 1fr; }
.news-textarea { height: auto; min-height: 320px; padding: 10px 12px; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; line-height: 1.5; resize: vertical; }
.news-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.news-toolbar button { min-width: 32px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--box-color); color: #fff; cursor: pointer; font-size: .85rem; }
.news-toolbar button:hover { border-color: var(--accent); }
.buttons-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.row-actions form { margin: 0; }
.news-preview .news { margin: 0; }
@media (max-width: 768px) { .news-form-grid, .news-form-grid.two { grid-template-columns: minmax(0, 1fr); } }
.news h1, .news h2, .news h3, .news h4, .news-body h2, .news-body h3, .news-body h4 { text-transform: none; }
