/* Metin2Fortis - tema proprie. Se incarca dupa bootstrap si stylesab1e.css si le suprascrie. */

:root {
	--ink: #080a16;
	--night: #0e1125;
	--panel: #141832;
	--panel-2: #1a1f42;
	--violet: #2a2463;
	--line: rgba(201, 164, 92, .24);
	--line-soft: rgba(255, 255, 255, .08);
	--gold: #c9a45c;
	--gold-hi: #f1dc9a;
	--gold-lo: #8a6527;
	--ember: #d6482b;
	--text: #e8e3d4;
	--muted: #a19eba;
	--ok: #5fbf8a;
	--radius: 4px;
	--head: "Marcellus", "Trajan Pro", Georgia, serif;
	--body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.fx-body {
	margin: 0;
	background: radial-gradient(1200px 600px at 80% -10%, rgba(42,36,99,.45), transparent 60%), var(--ink);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	min-width: 0;
	-webkit-font-smoothing: antialiased;
}

body.fx-body a { color: var(--gold-hi); text-decoration: none; }
body.fx-body a:hover, body.fx-body a:focus { color: #fff; text-decoration: none; }
body.fx-body :focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

body.fx-body h1, body.fx-body h2, body.fx-body h3, body.fx-body h4 {
	font-family: var(--head);
	font-weight: 400;
	color: var(--text);
	letter-spacing: .01em;
}

.fx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.fx-skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: #000 !important; padding: 8px 14px; }
.fx-skip:focus { left: 8px; top: 8px; }

/* ---------- antet ---------- */
.fx-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(8, 10, 22, .9);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.fx-header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.fx-brand { display: block; line-height: 0; flex: 0 0 auto; }
.fx-brand img { height: 46px; width: auto; }

.fx-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.fx-nav a { padding: 8px 12px; color: var(--text); font-size: 15px; font-weight: 500; border-bottom: 2px solid transparent; }
.fx-nav > a:not(.fx-nav-cta):not(.fx-nav-ghost):hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.fx-nav > a.is-on { color: var(--gold-hi); border-bottom-color: var(--gold); }
.fx-nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
.fx-nav a.fx-nav-cta { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1a1205 !important; border-radius: var(--radius); font-weight: 700; padding: 8px 16px; border: 0; }
.fx-nav a.fx-nav-cta:hover { filter: brightness(1.08); }
.fx-nav a.fx-nav-ghost { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 14px; }
.fx-nav a.fx-nav-ghost:hover { border-color: var(--gold); }

.fx-lang { position: relative; margin-left: 10px; }
.fx-lang-cur { display: inline-block; width: 28px; height: 20px; border-radius: 2px; cursor: pointer; padding: 0 !important; border: 0 !important; }
.fx-lang-list { display: none; position: absolute; right: 0; top: 100%; padding-top: 8px; z-index: 5; }
.fx-lang:hover .fx-lang-list, .fx-lang:focus-within .fx-lang-list { display: block; }
.fx-lang-list a { display: block; width: 28px; height: 20px; margin-bottom: 6px; border-radius: 2px; padding: 0 !important; border: 0 !important; }

.fx-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; }
.fx-burger span { display: block; height: 2px; background: var(--gold-hi); margin: 5px 0; }

/* ---------- hero ---------- */
.fx-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.fx-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; filter: saturate(.85); transform: scale(1.04); }
.fx-hero::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(8,10,22,.97) 0%, rgba(8,10,22,.86) 38%, rgba(8,10,22,.45) 100%),
		linear-gradient(180deg, rgba(8,10,22,.25) 0%, var(--ink) 100%);
}
.fx-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }

.fx-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(8,10,22,.6); font-size: 14px; color: var(--text); }
.fx-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.fx-status.is-up .fx-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(95,191,138,.18); }
.fx-status.is-down .fx-dot { background: var(--ember); }

body.fx-body .fx-h1 {
	margin: 0 0 20px;
	font-size: clamp(2.7rem, 6.2vw, 5.4rem);
	line-height: 1.02;
	letter-spacing: .005em;
	background: linear-gradient(180deg, #fbefc4 0%, var(--gold) 55%, var(--gold-lo) 100%);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
	text-wrap: balance;
}
body.fx-body .fx-h1-sm { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }
.fx-lead { max-width: 34rem; font-size: 1.15rem; color: var(--text); opacity: .92; margin: 0 0 30px; }

.fx-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.fx-btn { display: inline-block; padding: 13px 26px; border-radius: var(--radius); font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; border: 1px solid transparent; transition: filter .15s, border-color .15s, background .15s; text-align: center; }
.fx-btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: #1a1205 !important; }
.fx-btn-gold:hover { filter: brightness(1.1); }
.fx-btn-line { border-color: var(--gold); color: var(--gold-hi) !important; background: rgba(8,10,22,.35); }
.fx-btn-line:hover { background: rgba(201,164,92,.14); }
.fx-btn-block { display: block; width: 100%; }

.fx-rates { display: flex; flex-wrap: wrap; gap: 28px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.fx-rates div { display: block; }
.fx-rates dt { font-size: 13px; color: var(--muted); font-weight: 500; margin: 0; }
.fx-rates dd { margin: 0; font-family: var(--head); font-size: 1.7rem; color: var(--gold-hi); line-height: 1.2; }

/* rama cu capturi - momentul memorabil al paginii */
.fx-frame { position: relative; padding: 10px; background: linear-gradient(145deg, var(--gold-hi), var(--gold) 40%, var(--gold-lo)); clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px)); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.fx-frame-in { position: relative; aspect-ratio: 1600 / 823; background: var(--ink); clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px)); overflow: hidden; }
.fx-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.fx-shot.is-on { opacity: 1; }

/* ---------- sectiuni ---------- */
.fx-section { padding: 84px 0 40px; }
body.fx-body .fx-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 44px; color: var(--gold-hi); }
body.fx-body .fx-h2-news { margin: 0 0 22px; font-size: 1.7rem; }

.fx-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 64px; }
.fx-row.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.fx-row.is-flip .fx-row-img { order: 2; }
.fx-row-img { display: block; border: 1px solid var(--line); padding: 6px; background: var(--panel); line-height: 0; }
.fx-row-img img { width: 100%; height: auto; display: block; }
.fx-row-txt h3 { font-size: 1.85rem; margin: 0 0 12px; color: var(--text); }
.fx-row-txt p { font-size: 1.08rem; color: var(--text); opacity: .86; max-width: 30rem; margin: 0; }

.fx-mini { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fx-mini li { padding: 22px 26px 22px 0; border-bottom: 1px solid var(--line-soft); }
.fx-mini h3 { font-size: 1.2rem; margin: 0 0 6px; color: var(--gold-hi); }
.fx-mini p { margin: 0; color: var(--muted); font-size: .98rem; }
.fx-more { margin: 30px 0 0; color: var(--muted); }

/* ---------- layout principal ---------- */
.fx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 36px; padding-top: 44px; padding-bottom: 72px; align-items: start; }
.fx-pagehead { padding: 40px 0 6px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--night), transparent); }
.fx-pagehead .fx-wrap { padding-bottom: 22px; }

.fx-content { min-width: 0; }
.fx-news-area, body.fx-body .news-area { background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; width: auto !important; float: none !important; color: var(--text); }

/* ---------- panou lateral ---------- */
.fx-side { display: grid; gap: 20px; }
.fx-box { background: var(--panel); border: 1px solid var(--line); padding: 22px; border-radius: var(--radius); }
body.fx-body .fx-box-t { font-size: 1.15rem; margin: 0 0 14px; color: var(--gold-hi); }
.fx-login .form-control { margin-bottom: 12px; }
.fx-box-links { display: flex; justify-content: space-between; margin: 14px 0 0; font-size: 14px; }
.fx-menu { list-style: none; padding: 0; margin: 0; }
.fx-menu li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.fx-menu li:last-child a { border-bottom: 0; }
.fx-menu li a:hover { color: var(--gold-hi); padding-left: 4px; }
.fx-menu .fa { width: 22px; color: var(--gold); }
.fx-pill { display: inline-block; background: var(--ember); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 99px; margin-left: 6px; }

.fx-online { text-align: left; }
.fx-online-n { font-family: var(--head); font-size: 3.2rem; line-height: 1; color: var(--gold-hi); }
.fx-online-l { margin-top: 4px; font-weight: 600; }
.fx-online-s { margin-top: 10px; font-size: 14px; color: var(--muted); }

.fx-toplist { list-style: none; margin: 0; padding: 0; }
.fx-toplist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.fx-toplist li:last-child { border-bottom: 0; }
.fx-pos { width: 26px; height: 26px; line-height: 26px; text-align: center; font-family: var(--head); border: 1px solid var(--gold); color: var(--gold-hi); border-radius: 50%; flex: 0 0 auto; font-size: 14px; }
.fx-toplist li:nth-child(1) .fx-pos { background: var(--gold); color: #1a1205; }
.fx-pname { flex: 1 1 auto; min-width: 0; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.fx-pname small { display: block; color: var(--muted); font-size: 13px; }
.fx-empty { color: var(--muted); font-size: 14px; margin: 0; }
.fx-donate { display: block; text-align: center; font-weight: 700; border-color: var(--gold); color: var(--gold-hi) !important; }
.fx-donate:hover { background: rgba(201,164,92,.12); }

/* ---------- subsol ---------- */
.fx-footer { border-top: 1px solid var(--line); background: var(--night); padding: 40px 0 26px; }
.fx-footer-in { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 30px; align-items: start; }
.fx-foot-brand { display: flex; gap: 14px; align-items: center; }
.fx-foot-brand p { margin: 0; color: var(--muted); line-height: 1.4; }
.fx-foot-brand strong { color: var(--text); font-family: var(--head); font-weight: 400; font-size: 1.2rem; }
.fx-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fx-foot-nav a { color: var(--text); }
.fx-foot-social { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.fx-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.fx-legal p { margin: 0; font-size: 13px; color: var(--muted); }

/* ======================================================================
   Continutul paginilor vechi (formulare, tabele, admin) in tema inchisa
   ====================================================================== */
body.fx-body .page-hd { background: none !important; height: auto !important; min-height: 0 !important; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; }
body.fx-body .page-hd .bd-c { padding: 0 !important; }
body.fx-body .page-hd h2, body.fx-body h2.pre-social { font-family: var(--head); font-size: 1.6rem; color: var(--gold-hi); margin: 0 0 10px; text-transform: none; text-shadow: none; }
body.fx-body .fx-is-home .page-hd { display: none; }
body.fx-body.fx-is-inner:not(.fx-page-admin) .page-hd { display: none !important; }
body.fx-body .mt2cms2-c-l, body.fx-body .padding-container, body.fx-body .bd-c { background: transparent !important; width: auto !important; max-width: none !important; padding-left: 0; padding-right: 0; margin: 0 !important; float: none !important; }
body.fx-body .padding-container { padding: 0 !important; }

body.fx-body p, body.fx-body li, body.fx-body td, body.fx-body th, body.fx-body label, body.fx-body span { color: inherit; }
body.fx-body .text-muted { color: var(--muted) !important; }

body.fx-body .form-control, body.fx-body select, body.fx-body textarea, body.fx-body input[type=text], body.fx-body input[type=password], body.fx-body input[type=email], body.fx-body input[type=number] {
	background: var(--ink) !important; color: var(--text) !important; border: 1px solid rgba(201,164,92,.35) !important; border-radius: var(--radius); box-shadow: none !important; height: auto; padding: 10px 12px; font-family: var(--body);
}
body.fx-body .form-control:focus { border-color: var(--gold-hi) !important; }
body.fx-body .form-control::placeholder { color: #77759a; }
body.fx-body .form-control:disabled { opacity: .5; }

body.fx-body .btn, body.fx-body input[type=submit], body.fx-body button.btn { border-radius: var(--radius); font-weight: 600; text-shadow: none; box-shadow: none; }
body.fx-body .btn-primary, body.fx-body .btn-orange, body.fx-body .btn-success, body.fx-body .btn-info { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)) !important; border: 0 !important; color: #1a1205 !important; }
body.fx-body .btn-primary:hover, body.fx-body .btn-success:hover, body.fx-body .btn-info:hover { filter: brightness(1.1); }
body.fx-body .btn-danger { background: var(--ember) !important; border: 0 !important; color: #fff !important; }
body.fx-body .btn-warning { background: #b8861f !important; border: 0 !important; color: #fff !important; }
body.fx-body .btn-secondary, body.fx-body .btn-default { background: transparent !important; border: 1px solid var(--line) !important; color: var(--text) !important; }

body.fx-body .jumbotron, body.fx-body .card, body.fx-body .panel, body.fx-body .well, body.fx-body .list-group-item, body.fx-body .modal-content {
	background: var(--panel) !important; color: var(--text) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
}
body.fx-body .jumbotron { padding: 24px; margin-bottom: 20px; }
body.fx-body .list-group { margin: 0; }
body.fx-body .list-group-item { margin-bottom: -1px; }
body.fx-body .list-group-item.active { background: var(--violet) !important; color: var(--gold-hi) !important; border-color: var(--line) !important; font-family: var(--head); }
body.fx-body a.list-group-item:hover { background: var(--panel-2) !important; }
body.fx-body .list-group-item-text { color: var(--muted) !important; }
body.fx-body .list-group-item-heading { color: var(--text); font-size: 1.1rem; }
body.fx-body .modal-header, body.fx-body .modal-footer { border-color: var(--line) !important; }
body.fx-body .close { color: var(--text); text-shadow: none; opacity: .8; }

body.fx-body .table { color: var(--text); background: transparent; margin-bottom: 18px; border-collapse: collapse; }
body.fx-body .table th, body.fx-body .table td { border-color: var(--line-soft) !important; background: transparent; padding: 11px 12px; vertical-align: middle; color: var(--text); }
body.fx-body .table thead th, body.fx-body .thead-inverse th { background: var(--violet) !important; color: var(--gold-hi) !important; font-family: var(--head); font-weight: 400; border-color: var(--line) !important; }
body.fx-body .table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,.025); }
body.fx-body .table-hover tbody tr:hover { background: rgba(201,164,92,.09); }
body.fx-body .table a { color: var(--gold-hi); }

body.fx-body .alert { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); color: var(--text); }
body.fx-body .alert-success { border-color: rgba(95,191,138,.5); background: rgba(95,191,138,.12); }
body.fx-body .alert-danger { border-color: rgba(214,72,43,.6); background: rgba(214,72,43,.12); }
body.fx-body .alert-warning { border-color: rgba(201,164,92,.6); background: rgba(201,164,92,.12); }
body.fx-body .alert-info { border-color: rgba(120,130,230,.5); background: rgba(120,130,230,.12); }
body.fx-body .alert a { color: var(--gold-hi); text-decoration: underline; }

body.fx-body .tag, body.fx-body .badge, body.fx-body .label { border-radius: 99px; }
body.fx-body .tag-info, body.fx-body .tag-success { background: var(--gold); color: #1a1205; }
body.fx-body hr { border-color: var(--line); }

body.fx-body .pagination > li > a, body.fx-body .pagination > li > span, body.fx-body .page-link { background: var(--panel); border: 1px solid var(--line); color: var(--text); margin: 0 2px; border-radius: var(--radius); }
body.fx-body .pagination > .active > a, body.fx-body .pagination > li:hover > a, body.fx-body .page-item.active .page-link { background: var(--gold); color: #1a1205; border-color: var(--gold); }

/* articole de stiri */
body.fx-body .news-article, body.fx-body .article, body.fx-body .news-item { background: var(--panel); border: 1px solid var(--line); padding: 22px 24px; margin: 0 0 20px; border-radius: var(--radius); }
body.fx-body .news-area h1, body.fx-body .news-area h2, body.fx-body .news-area h3, body.fx-body .news-area h4 { color: var(--gold-hi); }
body.fx-body .news-area p { color: var(--text); }
body.fx-body .news-area img { max-width: 100%; height: auto; }

body.fx-body .progress { background: var(--ink); border: 1px solid var(--line); }

/* codul de stergere personaje */
.fx-code { display: inline-block; margin-left: 8px; padding: 2px 12px; font-family: var(--head); font-size: 1.35rem; letter-spacing: .18em; color: var(--gold-hi); background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); user-select: all; }

/* ---------- pagini noi: despre / sisteme / galerie ---------- */
.fx-prose { max-width: 46rem; font-size: 1.08rem; }
.fx-prose p { margin: 0 0 1.1em; }
.fx-prose h2 { font-size: 1.6rem; color: var(--gold-hi); margin: 1.6em 0 .5em; }
.fx-prose ul { padding-left: 1.2em; }

.fx-sys { display: grid; gap: 54px; }
.fx-sys .fx-row { margin-bottom: 0; }
.fx-sys .fx-row-txt h3 { margin-bottom: 14px; }

.fx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fx-gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); padding: 6px; }
.fx-gallery a { display: block; line-height: 0; }
.fx-gallery img { width: 100%; height: auto; aspect-ratio: 1600 / 823; object-fit: cover; }
.fx-gallery figcaption { padding: 10px 6px 6px; font-size: 14px; color: var(--muted); line-height: 1.35; }

.fx-lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(4,5,12,.94); padding: 24px; }
.fx-lightbox.is-open { display: flex; }
.fx-lightbox img { max-width: 100%; max-height: 100%; border: 1px solid var(--line); }
.fx-lightbox button { position: absolute; top: 14px; right: 18px; font-size: 34px; line-height: 1; color: var(--gold-hi); background: transparent; border: 0; cursor: pointer; }

.fx-rules ol { padding-left: 1.2em; }

/* ---------- Fortis Control ---------- */
.fxc { display: grid; gap: 22px; }
.fxc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.fxc-kpi { background: var(--panel); border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--radius); }
.fxc-kpi b { display: block; font-family: var(--head); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--gold-hi); }
.fxc-kpi span { color: var(--muted); font-size: 14px; }
.fxc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fxc-card { background: var(--panel); border: 1px solid var(--line); padding: 20px 22px; border-radius: var(--radius); min-width: 0; }
.fxc-card h3 { font-size: 1.15rem; margin: 0 0 14px; color: var(--gold-hi); }
.fxc-card table { width: 100%; font-size: 14px; }
.fxc-card td, .fxc-card th { padding: 7px 6px !important; }
.fxc-card .table { margin-bottom: 0; }
.fxc-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.fxc-tools a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); color: var(--text); }
.fxc-tools a:hover { border-color: var(--gold); color: var(--gold-hi); }
.fxc-tools a .fa { width: 22px; color: var(--gold); }
.fxc-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.fxc-tabs a { padding: 9px 12px; border: 1px solid transparent; border-bottom: 0; color: var(--muted); border-radius: var(--radius) var(--radius) 0 0; }
.fxc-tabs a.is-on, .fxc-tabs a:hover { color: var(--gold-hi); background: var(--panel); border-color: var(--line); }
.fxc-warn { border-left: 3px solid var(--ember); padding: 10px 14px; background: rgba(214,72,43,.1); margin: 0 0 8px; border-radius: 0 var(--radius) var(--radius) 0; }
.fxc-ok { border-left: 3px solid var(--ok); padding: 10px 14px; background: rgba(95,191,138,.1); margin: 0 0 8px; border-radius: 0 var(--radius) var(--radius) 0; }
.fxc-form label { display: block; margin: 12px 0 4px; color: var(--muted); font-size: 14px; }
.fxc-form .fxc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fxc-sql { font-family: ui-monospace, Consolas, monospace; min-height: 120px; }
.fxc-scroll { overflow: auto; max-height: 460px; border: 1px solid var(--line-soft); }
.fxc-scroll table { min-width: 100%; font-size: 13px; }
.fxc-small { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.fx-hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 56px; }
	.fx-frame { max-width: 640px; }
	.fx-layout { grid-template-columns: 1fr; }
	.fx-row, .fx-row.is-flip { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
	.fx-row.is-flip .fx-row-img { order: 0; }
	.fx-footer-in { grid-template-columns: 1fr; }
	.fx-foot-social { justify-content: flex-start; }
}

@media (max-width: 860px) {
	.fx-burger { display: block; }
	.fx-header-in { flex-wrap: wrap; gap: 0; }
	.fx-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 8px 0 16px; border-top: 1px solid var(--line); }
	.fx-nav.is-open { display: flex; }
	.fx-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
	.fx-nav a.fx-nav-cta, .fx-nav a.fx-nav-ghost { margin-top: 8px; text-align: center; }
	.fx-nav-sep { display: none; }
	.fx-lang { margin: 12px 0 0; }
	.fx-lang-list { position: static; display: flex; gap: 8px; padding-top: 8px; }
	.fx-lang-list a { margin: 0; }
}

@media (max-width: 520px) {
	.fx-wrap { padding: 0 16px; }
	.fx-section { padding-top: 56px; }
	.fxc-form .fxc-two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fx-shot { transition: none; }
}

/* stiri (marcajul vechi al CMS-ului) */
body.fx-body .news-element { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 20px; }
body.fx-body .news-element .title-area h3 { font-size: 1.35rem; margin: 0 0 4px; text-transform: none; }
body.fx-body .news-element .title-area h3 a { color: var(--gold-hi); }
body.fx-body .news-element .title-area span { color: var(--muted); font-size: 14px; }
body.fx-body .news-element p, body.fx-body .news-element .brown, body.fx-body .dark-brown { color: var(--text) !important; }
body.fx-body .news-element img { max-width: 100%; height: auto; }
.fx-empty-news { padding: 28px; border: 1px dashed var(--line); color: var(--muted); border-radius: var(--radius); }

/* neutralizeaza reguli din stylesab1e.css (tema veche) */
html { font-size: 16px !important; }
body.fx-body { padding: 0 !important; }
body.fx-body #content { padding: 0 !important; }
body.fx-body .news-element, body.fx-body .news-element:nth-of-type(2n+1) { background-color: var(--panel) !important; padding: 22px 26px; position: relative; }
body.fx-body .news-element .brown:before, body.fx-body .news-element:nth-of-type(2n+1) .brown:before { display: none !important; content: none !important; }
body.fx-body .news-element .title-area { border-bottom: 1px solid var(--line-soft); }
body.fx-body .news-element .title-area h3 a { color: var(--gold-hi); }
body.fx-body .news-element .title-area span { color: var(--muted); }
body.fx-body .news-element p { font-size: 1rem; line-height: 1.65; }
body.fx-body .fx-pagehead { padding-top: 40px; }

.fxc-form .fxc-card { margin-bottom: 18px; }
.fxc-two { margin-bottom: 10px; }
.fxc-two > * { min-width: 0; }
body.fx-body.fx-page-admin .page-hd { display: none !important; }


/* ---- farm offline (accent) ---- */
.fx-kicker { font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; font-weight: 600; }
.fx-off { padding-bottom: 20px; }
.fx-off .fx-wrap { background: linear-gradient(135deg, rgba(42,36,99,.45), rgba(20,24,50,.9)); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 46px 42px; }
.fx-off-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 46px; align-items: center; }
.fx-off-h { text-align: left; margin: 0 0 16px; }
.fx-off-lead { font-size: 1.1rem; opacity: .9; margin: 0 0 18px; }
.fx-ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.fx-ticks li { position: relative; padding: 5px 0 5px 26px; }
.fx-ticks li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.fx-report { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.fx-report-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; text-align: center; }
.fx-report-grid div { background: rgba(8,10,22,.55); border: 1px solid var(--line); padding: 16px 8px; }
.fx-report-grid dd { margin: 0; font-family: 'Marcellus', serif; font-size: 1.6rem; color: var(--gold-hi); }
.fx-report-grid dt { margin: 4px 0 0; font-size: .85rem; opacity: .75; text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }
.fx-report-note { text-align: center; font-size: .85rem; opacity: .6; margin: 12px 0 0; }
.fx-sys .is-hl { border: 1px solid var(--gold); padding: 26px; background: rgba(42,36,99,.28); }
.fx-faq dt { font-family: 'Marcellus', serif; color: var(--gold-hi); font-size: 1.15rem; margin: 1.3em 0 .25em; }
.fx-faq dd { margin: 0; opacity: .9; }
@media (max-width: 860px) {
	.fx-off .fx-wrap { padding: 28px 18px; }
	.fx-off-grid { grid-template-columns: 1fr; gap: 26px; }
	.fx-report-grid { grid-template-columns: repeat(2, 1fr); }
	.fx-sys .is-hl { padding: 16px; }
}

/* ---- tutoriale ---- */
.fx-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.fx-toc a { border: 1px solid var(--line); padding: 7px 14px; font-size: .92rem; color: var(--text); text-decoration: none; background: var(--panel); }
.fx-toc a:hover { border-color: var(--gold); color: var(--gold-hi); }
.fx-tut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.fx-tut:not(:has(.fx-row-img)) { grid-template-columns: 1fr; }
.fx-tut h2 { font-size: 1.6rem; color: var(--gold-hi); margin: 0 0 6px; }
.fx-tut-d { opacity: .75; margin: 0 0 14px; }
.fx-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.fx-steps li { counter-increment: s; position: relative; padding: 8px 0 8px 42px; }
.fx-steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border: 1px solid var(--gold); color: var(--gold-hi); text-align: center; line-height: 26px; font-size: .9rem; font-family: 'Marcellus', serif; }
@media (max-width: 860px) { .fx-tut { grid-template-columns: 1fr; gap: 18px; } }
