/* =====================================================================
   CSACUP UI v2 – strat de design peste csacup-panel.css / csacup-acp.css
   Mai curat, mai matur: fara neon, text normal in loc de majuscule
   peste tot, carduri si tabele aerisite. Culoarea vine tot din pensula
   (--th-*), deci toate temele de culoare merg in continuare.
   Pentru a reveni la vechiul design: scoate linia cu csacup-ui.css din
   resources/views/layouts/app.blade.php.
   ===================================================================== */
:root {
  --ui-bg: #090c11;
  --ui-bg-2: #0c1016;
  --ui-s1: #10151d;          /* suprafata (carduri) */
  --ui-s2: #141a24;          /* suprafata ridicata */
  --ui-s3: #1a2130;          /* hover */
  --ui-line: rgba(255, 255, 255, .07);
  --ui-line-2: rgba(255, 255, 255, .11);
  --ui-tx: #e7ebf1;
  --ui-tx-2: #aab3c0;
  --ui-mut: #737d8c;
  --ui-a: rgb(var(--th-400c));
  --ui-a-strong: rgb(var(--th-500c));
  --ui-a-soft: rgba(var(--th-500c), .12);
  --ui-a-line: rgba(var(--th-500c), .32);
  --ui-r: 14px;
  --ui-r-sm: 10px;
  --ui-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .35);
  --ui-ok: #34d399;
  --ui-bad: #f87171;
  --ui-warn: #fbbf24;

  --cs-head: 'Barlow', 'Inter', sans-serif;
  --cs-body: 'Inter', system-ui, sans-serif;
  --cs-card: var(--ui-s1);
  --cs-card-2: var(--ui-s2);
  --cs-line: var(--ui-line);
  --cs-muted: var(--ui-mut);
}

/* ---------------------------------------------------------------- baza */
html { background: var(--ui-bg); }
body {
  font-family: var(--cs-body) !important;
  color: var(--ui-tx);
  background:
    radial-gradient(1200px 520px at 70% -180px, rgba(var(--th-500c), .10), transparent 70%),
    var(--ui-bg) !important;
  background-attachment: fixed !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
::selection { background: rgba(var(--th-500c), .35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #2a3240 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #232a36; border-radius: 10px; border: 2px solid var(--ui-bg); }
::-webkit-scrollbar-thumb:hover { background: #2f3846; }
::-webkit-scrollbar-track { background: transparent; }
:focus-visible { outline: 2px solid var(--ui-a); outline-offset: 2px; }
img[alt="logo"] { filter: hue-rotate(var(--th-hue-rotate)); }

/* ---------------------------------------------------------------- bara de sus */
.cs-top {
  height: 64px !important;
  background: rgba(9, 12, 17, .72) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--ui-line) !important;
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.cs-top__inner { padding: 0 12px 0 0; }
.cs-top__title {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  font-size: 13px; color: var(--ui-mut);
}
.cs-top__title b { font-family: var(--cs-head); font-size: 18px; font-weight: 600; color: var(--ui-tx); letter-spacing: .1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-top__title i { width: 4px; height: 4px; border-radius: 50%; background: #3a4352; }
.cs-brush {
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--ui-tx-2);
  background: var(--ui-s1);
  border: 1px solid var(--ui-line-2);
  box-shadow: none;
}
.cs-brush:hover, .cs-brush-wrap.is-open .cs-brush {
  color: #fff; background: var(--ui-s2); border-color: var(--ui-a-line); box-shadow: none;
}
.cs-brush-dot { width: 9px; height: 9px; right: -2px; top: -2px; border-color: var(--ui-bg); background: var(--ui-a); }
.cs-brush-pop {
  border-radius: var(--ui-r);
  border: 1px solid var(--ui-line-2);
  background: var(--ui-s2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.cs-brush-head strong { font-family: var(--cs-head); font-size: 17px; text-transform: none; letter-spacing: 0; }
.cs-brush-head small { letter-spacing: 1.4px; color: var(--ui-mut); }
.cs-user {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 12px 0 5px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ui-tx) !important;
  background: var(--ui-s1); border: 1px solid var(--ui-line-2);
  transition: border-color .15s, background .15s;
}
.cs-user:hover { background: var(--ui-s2); border-color: var(--ui-a-line); }
.cs-user img { width: 28px !important; height: 28px !important; border-radius: 7px !important; }
.cs-user .fe { font-size: 14px; color: var(--ui-mut); }
.cs-user__pro {
  padding: 1px 6px; border-radius: 5px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .6px;
  color: #2a1700; background: linear-gradient(135deg, #f5c542, #e08a1e);
}
.cs-login {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #071016 !important;
  background: var(--ui-a); transition: filter .15s;
}
.cs-login:hover { filter: brightness(1.1); }
.cs-login .fe { font-size: 16px; }
/* meniul utilizatorului */
[x-data] .bg-app-box.rounded-md.shadow-lg,
.cs-top .rounded-md.ring-1 {
  border-radius: 12px !important;
  background: var(--ui-s2) !important;
  border: 1px solid var(--ui-line-2) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55) !important;
}

/* ---------------------------------------------------------------- meniul lateral */
.cs-side {
  background: var(--ui-bg-2) !important;
  border-right: 1px solid var(--ui-line) !important;
  box-shadow: none !important;
  padding: 0 12px !important;
}
.cs-side::after, .cs-side-glow { display: none !important; }
.cs-side-brand {
  align-items: flex-start;
  padding: 18px 8px 16px;
  margin: 0;
  border-bottom: 0;
}
.cs-side-logo img, .cs-side-logo svg { height: 52px !important; width: auto; }
.cs-side-live {
  padding: 3px 9px 3px 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-mut);
  background: transparent; border-color: var(--ui-line);
}
.cs-side-live b { font-weight: 600; color: var(--ui-ok); }
.cs-side-live i { width: 6px; height: 6px; background: var(--ui-ok); }
.cs-side-menu { margin-top: 0; padding-bottom: 8px; }
.cs-side-head {
  margin: 18px 10px 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .9px;
  color: #5a6473;
}
.cs-side-head::before, .cs-side-head::after { display: none; }
.cs-side-link {
  gap: 11px;
  height: 38px; padding: 0 10px;
  margin-bottom: 2px;
  border-radius: 9px;
  border: 0;
  font-family: var(--cs-body); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: #9aa3b1 !important;
  transition: background .15s, color .15s;
}
.cs-side-ico {
  width: 20px; height: 20px; border-radius: 0;
  font-size: 17px; color: #6b7585;
  background: none !important; border: 0 !important; box-shadow: none !important;
}
.cs-side-txt { overflow: visible; white-space: nowrap; }
.cs-side-arrow { display: none; }
.cs-side-link:hover { color: var(--ui-tx) !important; background: rgba(255, 255, 255, .04); padding-left: 10px; }
.cs-side-link:hover .cs-side-ico { color: var(--ui-tx-2); }
.cs-side-link.is-active {
  color: #fff !important;
  background: var(--ui-a-soft);
  border: 0; box-shadow: none;
}
.cs-side-link.is-active::before {
  left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--ui-a); box-shadow: none;
}
.cs-side-link.is-active .cs-side-ico { color: var(--ui-a); background: none; box-shadow: none; }
/* categoriile semnate: AutoMIX + AntiCheat – discret, cu un punct de culoare */
.cs-side-feat {
  margin: 2px 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.cs-side-feat::before { display: none; }
.cs-side-feat.is-active::before { display: block; left: -12px; top: 9px; bottom: 9px; background: var(--feat-a); box-shadow: none; }
.cs-side-feat::after {
  content: ""; margin-left: auto;
  width: 7px; height: 7px; padding: 0; border-radius: 50%;
  background: var(--feat-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--feat-a) 20%, transparent);
}
.cs-side-feat .cs-side-txt { color: inherit !important; font-weight: 600; }
.cs-side-feat .cs-side-ico { color: var(--feat-a) !important; background: none !important; }
.cs-side-feat:hover { padding-left: 10px; border: 0; box-shadow: none; background: rgba(255, 255, 255, .04); }
.cs-side-feat.is-active {
  border: 0; box-shadow: none;
  background: color-mix(in srgb, var(--feat-a) 12%, transparent);
}
.cs-side-card {
  margin: 12px 0 14px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--ui-line);
  background: var(--ui-s1);
  box-shadow: none;
}
.cs-side-card::after { display: none; }
.cs-side-card:hover { transform: none; border-color: var(--ui-line-2); box-shadow: none; background: var(--ui-s2); }
.cs-side-card__ico { width: 34px; height: 34px; border-radius: 9px; box-shadow: none; background: var(--ui-a); color: #071016; }
.cs-side-card__ico svg { width: 20px; height: 20px; }
.cs-side-card__txt small { font-size: 10.5px; letter-spacing: .3px; text-transform: none; }
.cs-side-card__txt strong { font-size: 16px; letter-spacing: .4px; }
.cs-side-card__txt em { font-size: 11px; color: var(--ui-mut); }

/* ---------------------------------------------------------------- titluri comune */
h1, h2, h3, h4 { letter-spacing: -.005em; }

/* ---------------------------------------------------------------- dashboard: hero */
.cs-hero {
  min-height: 0;
  margin: 24px 16px 0;
  border-radius: 20px;
  border: 1px solid var(--ui-line);
}
@media (min-width: 768px) { .cs-hero { margin: 24px 24px 0; } }
.cs-hero__bg { animation: none; transform: none; }
.cs-hero__bg::after { background: linear-gradient(90deg, rgba(9, 12, 17, .92) 0%, rgba(9, 12, 17, .72) 45%, rgba(9, 12, 17, .35) 100%); }
.cs-hero__grid, .cs-hero__radar { display: none; }
.cs-hero__inner {
  align-items: stretch; gap: 26px;
  padding: 44px 36px 32px !important;
  max-width: none !important;
}
.cs-hero__head { text-align: left; max-width: 640px; }
.cs-hero__kicker {
  padding: 4px 10px 4px 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-tx-2);
  background: rgba(9, 12, 17, .55);
  border: 1px solid var(--ui-line-2);
  box-shadow: none;
}
.cs-hero__kicker i { width: 6px; height: 6px; background: var(--ui-ok); box-shadow: none; }
.cs-hero__title {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 56px); font-weight: 700;
  letter-spacing: -.01em; text-transform: none; line-height: 1.02;
  background: none; -webkit-text-fill-color: #fff; color: #fff;
  filter: none;
}
.cs-hero__title em { font-style: normal; color: var(--ui-a); -webkit-text-fill-color: var(--ui-a); }
.cs-hero__sub {
  margin-top: 12px;
  font-family: var(--cs-body); font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none;
  line-height: 1.55; color: var(--ui-tx-2);
}
.cs-hero__sub::before, .cs-hero__sub::after { display: none; }
.cs-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cs-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
  max-width: none;
}
.cs-stat {
  align-items: flex-start; gap: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(16, 21, 29, .78);
  border: 1px solid var(--ui-line);
  box-shadow: none;
}
.cs-stat::before { display: none; }
.cs-stat:hover { transform: none; border-color: var(--ui-line-2); box-shadow: none; }
.cs-stat .fe { position: absolute; right: 14px; top: 14px; font-size: 16px; color: rgb(var(--c)); opacity: .85; }
.cs-stat strong {
  font-family: var(--cs-head); font-size: 28px; font-weight: 700; line-height: 1.1;
  color: #fff; text-shadow: none;
}
.cs-stat span { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ui-mut); }
.cs-stat span::first-letter { text-transform: uppercase; }

/* ---------------------------------------------------------------- dashboard: servere */
.cs-servers { max-width: none; margin: 34px 0 10px; padding: 0 8px; }
@media (min-width: 768px) { .cs-servers { padding: 0 8px; } }
.cs-servers__head { align-items: center; margin-bottom: 14px; }
.cs-servers__kicker { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ui-mut); }
.cs-servers__head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cs-servers__flag { width: 34px; height: 24px; border-radius: 5px; }
.cs-servers__count {
  padding: 5px 12px;
  font-family: var(--cs-body); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-tx-2); background: var(--ui-s1);
}
.cs-servers__count i { width: 7px; height: 7px; }
.cs-live-tag { font-size: 10px; letter-spacing: .8px; border-radius: 5px; }
.cs-servers__grid { gap: 14px; }
@media (min-width: 1500px) { .cs-servers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs-srv {
  border-radius: var(--ui-r);
  border: 1px solid var(--ui-line);
  background: var(--ui-s1);
  box-shadow: none;
}
.cs-srv::before { display: none; }
.cs-srv:hover { transform: none; border-color: var(--ui-line-2); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.cs-srv__map { bottom: 62px; width: 55%; background: none; }
.cs-srv__map img { filter: grayscale(.35) brightness(.5); mix-blend-mode: normal; opacity: .55; }
.cs-srv__top { gap: 12px; padding: 16px 16px 12px; }
.cs-srv__badge { width: 44px; height: 44px; border-radius: 11px; background: var(--ui-s2); border: 1px solid var(--ui-line-2); box-shadow: none; }
.cs-srv__badge img { width: 26px; height: 26px; filter: none; }
.cs-srv__status { font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: none; color: var(--ui-ok); }
.cs-srv__status i { width: 6px; height: 6px; box-shadow: none; }
.cs-srv__name {
  font-family: var(--cs-head); font-size: 17px; font-weight: 600;
  letter-spacing: 0; text-transform: none; text-shadow: none;
}
.cs-srv__dns {
  margin-top: 4px; padding: 3px 8px 3px 7px; border-radius: 7px;
  font-family: var(--cs-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: lowercase;
  color: var(--ui-a); background: var(--ui-a-soft); border: 0; text-shadow: none;
}
.cs-srv__ip { font-size: 12px; color: var(--ui-mut); }
.cs-srv__mapname { padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 500; background: rgba(9, 12, 17, .75); border-color: var(--ui-line-2); }
.cs-srv__body { gap: 18px; padding: 12px 16px; min-height: 62px; background: rgba(255, 255, 255, .015); }
.cs-srv__label { font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ui-mut); }
.cs-srv__label .fe { color: var(--ui-mut); }
.cs-srv__stat p b { font-family: var(--cs-head); font-size: 18px; font-weight: 600; }
.cs-srv__bar { height: 3px; }
.cs-srv__bar i { background: var(--ui-a); box-shadow: none; }
.cs-srv__connect {
  padding: 0 16px; height: 38px; border-radius: 10px;
  font-family: var(--cs-body); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: #071016 !important; background: var(--ui-a); box-shadow: none;
}
.cs-srv__connect:hover { box-shadow: none; filter: brightness(1.1); }
.cs-srv.is-off { opacity: .6; }
.cs-srv.is-off .cs-srv__connect { background: var(--ui-s3); color: var(--ui-tx-2) !important; }

/* ---------------------------------------------------------------- pagini: cutia + header */
.cs-pg {
  margin-top: 4px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.cs-pg::before { display: none; }
.cs-pg-head {
  margin: 8px 0 22px;
  padding: 0 0 20px;
  gap: 16px;
  border: 0; border-bottom: 1px solid var(--ui-line);
  border-radius: 0;
  background: none;
  overflow: visible;
}
.cs-pg-head::after { display: none; }
.cs-pg-head__ico {
  width: 46px; height: 46px; border-radius: 12px;
  font-size: 20px; color: rgb(var(--pg));
  background: rgb(var(--pg) / .12);
  border: 1px solid rgb(var(--pg) / .25);
  box-shadow: none;
}
.cs-pg-head__kicker { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ui-mut); }
.cs-pg-head__kicker i { width: 6px; height: 6px; box-shadow: none; }
.cs-pg-head__title {
  margin: 2px 0 3px;
  font-size: 28px; font-weight: 700; letter-spacing: -.005em; text-transform: none;
  text-shadow: none;
}
.cs-pg-head__title::first-letter { text-transform: uppercase; }
.cs-pg-head__sub { font-size: 14px; color: var(--ui-mut); }
.cs-pg-head__actions button, .cs-pg-head__actions a > button {
  min-height: 40px; padding: 0 16px !important;
  border-radius: 10px !important;
  font-family: var(--cs-body) !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
  color: #071016 !important; background: var(--ui-a) !important; box-shadow: none;
}
.cs-pg-count {
  padding: 6px 12px;
  font-family: var(--cs-body); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-tx-2); background: var(--ui-s1); border-color: var(--ui-line-2);
}
.cs-pg-count b { font-size: 15px; font-weight: 700; color: #fff; }
.cs-pg-count i { width: 7px; height: 7px; box-shadow: none; }

/* ---------------------------------------------------------------- formulare + butoane (peste tot) */
main input[type="text"], main input[type="search"], main input[type="number"], main input[type="email"],
main input[type="password"], main input[type="date"], main input[type="datetime-local"], main input:not([type]),
main select, main textarea {
  font-family: var(--cs-body) !important; font-size: 14px !important;
  color: var(--ui-tx) !important;
  background-color: var(--ui-s1) !important;
  border: 1px solid var(--ui-line-2) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
main input[type="text"], main input[type="search"], main input[type="number"], main input[type="email"],
main input[type="password"], main input[type="date"], main input[type="datetime-local"], main input:not([type]), main select {
  height: 42px !important; min-height: 0 !important;
}
main input:hover, main select:hover, main textarea:hover { border-color: rgba(255, 255, 255, .18) !important; }
main input:focus, main select:focus, main textarea:focus {
  outline: none !important;
  border-color: var(--ui-a) !important;
  box-shadow: 0 0 0 3px rgba(var(--th-500c), .18) !important;
}
main input::placeholder, main textarea::placeholder { color: #5b6574 !important; }
main input[type="checkbox"], main input[type="radio"] { height: auto !important; accent-color: var(--ui-a); }
.cs-pg > form button[type="submit"],
.cs-acp__body form button[type="submit"],
main button.bg-theme-600, main a.bg-theme-600 {
  min-height: 42px !important;
  border-radius: 10px !important;
  font-family: var(--cs-body) !important; font-size: 14px !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-transform: none !important;
  color: #071016 !important;
  background: var(--ui-a) !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: filter .15s !important;
}
.cs-pg > form button[type="submit"]:hover,
.cs-acp__body form button[type="submit"]:hover,
main button.bg-theme-600:hover { filter: brightness(1.1); box-shadow: none !important; }
main label, main .x-label { color: var(--ui-tx-2); }

/* ---------------------------------------------------------------- tabele */
.cs-pg .x-table__container, .cs-acp .x-table__container, .x-table__container {
  padding: 0;
  border-radius: var(--ui-r);
  border: 1px solid var(--ui-line);
  background: var(--ui-s1);
  overflow: auto;
}
.cs-pg .x-table, .cs-acp .x-table, .x-table {
  width: 100%;
  border-collapse: collapse !important; border-spacing: 0 !important; margin: 0 !important;
}
.cs-pg .x-table thead th, .cs-acp .x-table thead th, .x-table thead th {
  padding: 11px 16px !important;
  font-family: var(--cs-body); font-size: 12px !important; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-mut) !important;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--ui-line) !important;
  white-space: nowrap;
}
.x-table thead th::first-letter { text-transform: uppercase; }
.cs-pg .x-table tbody td, .cs-acp .x-table tbody td, .x-table tbody td {
  padding: 12px 16px !important;
  font-size: 14px;
  color: var(--ui-tx-2);
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--ui-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.x-table tbody tr:first-child td { border-top: 0 !important; }
.cs-pg .x-table tbody td:first-child, .cs-acp .x-table tbody td:first-child {
  font-family: var(--cs-body); font-size: 14px; font-weight: 600; color: var(--ui-tx);
  box-shadow: none !important;
}
.cs-pg .x-table tbody tr:hover td, .cs-acp .x-table tbody tr:hover td, .x-table tbody tr:hover td {
  background: rgba(255, 255, 255, .025) !important;
}
.cs-pg .x-table tbody tr:hover td:first-child, .cs-acp .x-table tbody tr:hover td:first-child { box-shadow: none !important; color: #fff; }
.cs-pg .x-table img[alt="avatar"], .cs-acp .x-table img[alt="avatar"] { border-radius: 8px !important; box-shadow: none !important; }
.cs-pg .x-table td img[class*="brightness-50"] { width: 76px !important; height: 44px !important; border-radius: 8px !important; background: var(--ui-s3); }
.cs-pg .x-table td .absolute.inset-0 {
  border-radius: 8px !important; border: 1px solid var(--ui-line-2);
  font-family: var(--cs-body); font-size: 12px !important; font-weight: 600; letter-spacing: 0;
  color: #fff; overflow: hidden;
}
.cs-pg .x-table td span.rounded-lg { font-family: var(--cs-body); font-size: 12px !important; font-weight: 600; letter-spacing: 0; }
.cs-pg .x-table td .fe-eye, .cs-pg .x-table td .fe-eye-off { width: 30px; height: 30px; border-radius: 8px; font-size: 15px !important; }
.cs-pg .x-table td button { font-family: var(--cs-body) !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; border-radius: 8px !important; }

/* ---------------------------------------------------------------- liste (cereri, reclamatii) */
.cs-post {
  border-radius: var(--ui-r) !important;
  border: 1px solid var(--ui-line);
  background: var(--ui-s1) !important;
  box-shadow: none;
}
.cs-post:hover { border-color: var(--ui-line-2); background: var(--ui-s2) !important; }
.cs-post img[alt="avatar"] { border-radius: 10px !important; box-shadow: none; }
.cs-post > .flex.flex-col > a { font-family: var(--cs-head); font-size: 17px; font-weight: 600; letter-spacing: 0; }

/* ---------------------------------------------------------------- gol + paginare */
.cs-pg h2.border-dashed {
  padding: 40px 16px !important;
  border-radius: var(--ui-r);
  border: 1px dashed var(--ui-line-2) !important;
  background: var(--ui-s1);
  font-family: var(--cs-body); font-size: 14px !important; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--ui-mut) !important;
}
.cs-pg h2.border-dashed::before {
  width: 40px; height: 40px; border-radius: 12px; box-shadow: none;
  border-color: var(--ui-line-2); background-color: var(--ui-s2);
}
nav[role="navigation"] { font-family: var(--cs-body); }
nav[role="navigation"] a, nav[role="navigation"] span > span {
  border-radius: 8px !important;
  background: var(--ui-s1) !important;
  border-color: var(--ui-line-2) !important;
  color: var(--ui-tx-2) !important;
}
nav[role="navigation"] a:hover { background: var(--ui-s2) !important; color: #fff !important; }
nav[role="navigation"] span[aria-current] span { background: var(--ui-a) !important; color: #071016 !important; border-color: transparent !important; }
nav[role="navigation"] p { color: var(--ui-mut) !important; }

/* ---------------------------------------------------------------- documente */
.cs-doc { border-radius: 16px; background: var(--ui-s1); border: 1px solid var(--ui-line); box-shadow: none; }
.cs-doc::before { display: none; }
.cs-doc .ck-content h1, .cs-doc .ck-content h2, .cs-doc .ck-content h3, .cs-doc .ck-content h4 {
  padding-left: 0; font-family: var(--cs-head); font-weight: 700; letter-spacing: 0; text-transform: none;
}
.cs-doc .ck-content h1::before, .cs-doc .ck-content h2::before, .cs-doc .ck-content h3::before, .cs-doc .ck-content h4::before { display: none; }
.cs-doc .ck-content table th { font-family: var(--cs-body); letter-spacing: 0; text-transform: none; }
.cs-doc-date strong { font-family: var(--cs-body); font-size: 13px; letter-spacing: 0; }

/* ---------------------------------------------------------------- detalii meci */
.cs-back {
  padding: 0 14px; height: 38px; border-radius: 10px;
  font-family: var(--cs-body); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
  background: var(--ui-s1); border-color: var(--ui-line-2);
}
.cs-score__team, .cs-score__mid, .cs-team { border-radius: var(--ui-r); }
.cs-score__team { background: linear-gradient(90deg, rgb(var(--tc) / .10), transparent 70%), var(--ui-s1); }
.cs-score__team.is-ct { background: linear-gradient(270deg, rgb(var(--tc) / .10), transparent 70%), var(--ui-s1); }
.cs-score__team.is-won { box-shadow: none; }
.cs-score__logo { filter: none; }
.cs-score__name { font-size: 16px; letter-spacing: .5px; }
.cs-score__num { font-size: 56px; text-shadow: none; }
.cs-score__mid, .cs-team { background: var(--ui-s1); border-color: var(--ui-line); }
.cs-score__status, .cs-score__res { font-family: var(--cs-body); font-size: 12px; font-weight: 600; letter-spacing: .2px; text-transform: none; }
.cs-team__head { background: linear-gradient(90deg, rgb(var(--tc) / .10), transparent); }
.cs-team__head h3 { font-size: 16px; letter-spacing: .5px; }
.cs-team th { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ui-mut); }
.cs-team td.is-k, .cs-team td.is-kd { font-family: var(--cs-body); font-size: 14px; font-weight: 700; }

/* ---------------------------------------------------------------- subsol */
.cs-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  margin-top: auto;
  padding: 22px 24px 26px;
  font-size: 13px; color: var(--ui-mut);
  border-top: 1px solid var(--ui-line);
}
.cs-foot a { color: var(--ui-tx-2); transition: color .15s; }
.cs-foot a:hover { color: #fff; }
.cs-foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cs-foot__brand { display: flex; align-items: center; gap: 8px; }
.cs-foot__brand b { color: var(--ui-tx); font-weight: 600; }

/* ---------------------------------------------------------------- notificari (x-notice) */
main [role="alert"], .x-notice {
  border-radius: 12px !important;
}

/* ---------------------------------------------------------------- ACP */
.cs-acp__side {
  border-radius: var(--ui-r) !important;
  border: 1px solid var(--ui-line) !important;
  background: var(--ui-s1) !important;
  box-shadow: none !important;
}
.cs-acp__side::before { display: none !important; }
.cs-acp__brandIcon { box-shadow: none !important; }
.cs-acp__brand small { letter-spacing: .6px !important; }
.cs-acp__brand strong { font-family: var(--cs-head) !important; font-size: 18px !important; letter-spacing: 0 !important; text-transform: none !important; }
.cs-acp__item { border-radius: 10px !important; border: 0 !important; box-shadow: none !important; }
.cs-acp__item:hover { background: rgba(255, 255, 255, .04) !important; }
.cs-acp__item.is-active { background: var(--ui-a-soft) !important; box-shadow: none !important; }
.cs-acp__item.is-active::before { box-shadow: none !important; }
.cs-acp__itemIcon { box-shadow: none !important; }
.cs-acp__itemText h6 { font-family: var(--cs-body) !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.cs-acp__hero {
  border-radius: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--ui-line) !important;
  background: none !important; box-shadow: none !important;
  padding-left: 0 !important; padding-right: 0 !important;
}
.cs-acp__hero::after { display: none !important; }
.cs-acp__kicker { font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ui-mut) !important; }
.cs-acp__kicker i { box-shadow: none !important; }
.cs-acp__title { font-family: var(--cs-head) !important; font-size: 28px !important; letter-spacing: 0 !important; text-transform: none !important; text-shadow: none !important; }
.cs-acp__heroIcon { box-shadow: none !important; }
.cs-acp__body > div[class*="hover:border-theme-500"] {
  border-radius: 12px !important;
  border: 1px dashed var(--ui-line-2) !important;
  background: var(--ui-s1) !important;
  box-shadow: none !important;
}
.cs-acp__body > div[class*="hover:border-theme-500"] a { letter-spacing: 0 !important; text-transform: none !important; font-family: var(--cs-body) !important; font-weight: 600 !important; }
.cs-acp .x-table td h6 { font-family: var(--cs-body) !important; letter-spacing: 0 !important; }
.cs-acp .x-table td .flex > div > p:first-child { letter-spacing: 0 !important; text-transform: none !important; font-size: 11.5px !important; }

/* ---------------------------------------------------------------- mobil */
@media (max-width: 1100px) {
  .cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .cs-top__title { display: none; }
  .cs-hero { margin: 16px 8px 0; border-radius: 16px; }
  .cs-hero__inner { padding: 28px 18px 20px !important; }
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cs-stat { padding: 12px 14px; }
  .cs-stat strong { font-size: 24px; }
  .cs-servers { padding: 0; }
  .cs-pg-head { flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 16px; }
  .cs-pg-head__title { font-size: 23px; }
  .cs-foot { padding: 18px 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* pozitia barei de sus (langa meniul lateral pe desktop) */
.cs-top { left: 0 !important; right: 0 !important; top: 0 !important; }
@media (min-width: 768px) { .cs-top--side { left: 256px !important; } .cs-top__inner { padding-left: 14px; } }
@media (max-width: 767px) { .cs-top__inner { justify-content: flex-end; } }

/* butoane generice CSACUP */
.cs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  font-family: var(--cs-body); font-size: 14px; font-weight: 600; letter-spacing: 0;
  color: var(--ui-tx) !important;
  background: rgba(16, 21, 29, .8); border: 1px solid var(--ui-line-2);
  transition: background .15s, border-color .15s, filter .15s;
}
.cs-btn:hover { background: var(--ui-s2); border-color: rgba(255, 255, 255, .2); }
.cs-btn .fe { font-size: 16px; }
.cs-btn--primary { color: #071016 !important; background: var(--ui-a); border-color: transparent; }
.cs-btn--primary:hover { background: var(--ui-a); filter: brightness(1.1); }
.cs-user__name { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .cs-user__name { display: none; } }
.cs-hero__head { max-width: 760px; }
.cs-hero__title { font-size: clamp(34px, 4.4vw, 52px); }
/* miniatura hartii: ascunde textul alternativ daca imaginea nu se incarca */
.cs-pg .x-table td img[class*="brightness-50"], .cs-pg td img[alt^="de_"] { color: transparent; font-size: 0; }

/* ---------------------------------------------------------------- profil jucator */
.cs-prof-wrap { padding: 28px 0 8px; }
.cs-prof {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--ui-line);
  background: radial-gradient(500px 200px at 0% 0%, rgba(var(--th-500c), .10), transparent 70%), var(--ui-s1);
}
.cs-prof__ava { position: relative; flex: none; }
.cs-prof__ava img { width: 88px !important; height: 88px !important; border-radius: 22px !important; box-shadow: none !important; }
.cs-prof__dot { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: #4b5563; border: 3px solid var(--ui-s1); }
.cs-prof__dot.is-on { background: var(--ui-ok); }
.cs-prof__main { flex: 1; min-width: 0; }
.cs-prof__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cs-prof__name h1 { margin: 0; font-family: var(--cs-head); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.1; }
.cs-prof__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 13px; color: var(--ui-mut); }
.cs-prof__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cs-prof__meta b { color: var(--ui-tx-2); font-weight: 500; }
.cs-prof__st { width: 7px; height: 7px; border-radius: 50%; background: #4b5563; }
.cs-prof__meta .is-on { color: var(--ui-ok); }
.cs-prof__meta .is-on .cs-prof__st { background: var(--ui-ok); }
.cs-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--ui-tx-2);
  background: var(--ui-s2); border: 1px solid var(--ui-line-2);
}
.cs-chip--ok { color: var(--ui-ok); background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .3); }
.cs-prof__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.cs-kpi {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--ui-line); background: var(--ui-s1);
}
.cs-kpi span { font-size: 12.5px; color: var(--ui-mut); }
.cs-kpi b { font-family: var(--cs-head); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.cs-kpi i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--ui-a); }
/* restul paginii de profil (statistici avansate + istoric) */
.cs-prof-wrap .bg-app-bg, .cs-prof-wrap .bg-gray-800 { background: none !important; }
.cs-prof-wrap .bg-gray-900 { background: var(--ui-s1) !important; border: 1px solid var(--ui-line); border-radius: 12px !important; }
.cs-prof-wrap .max-w-5xl > .p-6, .cs-prof-wrap .max-w-5xl > .overflow-x-auto { padding: 24px 0 0 !important; border: 0 !important; box-shadow: none !important; }
.cs-prof-wrap .max-w-5xl > .p-4.border-t { margin-top: 18px; border: 1px dashed var(--ui-line-2) !important; border-radius: 12px; }
.cs-prof-wrap table.x-table {
  border-collapse: separate !important; overflow: hidden;
  border: 1px solid var(--ui-line); border-radius: 14px; background: var(--ui-s1);
}
.cs-prof-wrap .text-xs.uppercase, .cs-prof-wrap span.uppercase { text-transform: none !important; font-size: 12.5px !important; }
@media (max-width: 767px) {
  .cs-prof { flex-wrap: wrap; padding: 18px; }
  .cs-prof__ava img { width: 68px !important; height: 68px !important; border-radius: 18px !important; }
  .cs-prof__name h1 { font-size: 23px; }
  .cs-prof__steam { width: 100%; }
}

/* mobil: butoanele din bara de sus raman in dreapta (stanga e butonul de meniu) */
.cs-topnav { margin-left: auto; }
.cs-servers__count { white-space: nowrap; }
@media (max-width: 640px) {
  .cs-servers__head { flex-wrap: wrap; }
  .cs-servers__head h2 { font-size: 19px; }
  .cs-live-tag { display: none; }
}

/* ACP credite: campuri mici in tabel */
.cs-acp .x-table td form { display: flex; align-items: center; gap: 6px; }
.cs-acp .x-table td input[type="number"] { width: 104px !important; height: 34px !important; font-size: 13px !important; }
.cs-acp .x-table td input[name="note"] { width: 120px !important; height: 34px !important; font-size: 13px !important; }
.cs-acp .x-table td input[name="days"] { width: 130px !important; }
.cs-acp .x-table td form button { min-height: 34px !important; height: 34px; padding: 0 12px !important; }

/* insigna Super Premium */
.cs-user__pro.is-super { color: #fff; background: linear-gradient(135deg, #ff5c7a, #c026d3); }
.cs-side-badge { margin-left: 6px; font-size: 9px; }
.cs-acp .x-table td select[name="tier"] { height: 34px !important; width: 130px; font-size: 13px !important; }
.cs-acp .x-table td input[name="days"] { width: 104px !important; }
.cs-acp .x-table td select[name="tier"] { width: 124px !important; }
.cs-acp .x-table td input[name="note"] { width: 96px !important; }
.cs-acp .x-table td input[name="amount"] { width: 88px !important; }
.cs-user__pro.is-leader { color: #fff; background: linear-gradient(135deg, #818cf8, #6366f1); }
/* casute de bifat: aspect normal */
main input[type="checkbox"] {
  -webkit-appearance: auto !important; appearance: auto !important;
  width: 17px !important; height: 17px !important; min-height: 0 !important; padding: 0 !important;
  border-radius: 4px !important; background: none !important; accent-color: rgb(var(--th-500c));
}

/* ===== Limba RO / EN ===== */
.cs-lang{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:10px;background:var(--ui-s1);border:1px solid var(--ui-line)}
.cs-lang__opt{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:7px;font:600 12px/1 Barlow,system-ui,sans-serif;letter-spacing:.04em;color:var(--ui-tx-2);opacity:.75;transition:background .15s,opacity .15s,color .15s}
.cs-lang__opt img{width:20px;height:14px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.35)}
.cs-lang__opt:hover{opacity:1;color:#fff}
.cs-lang__opt.is-on{opacity:1;color:#fff;background:var(--ui-a-soft);box-shadow:inset 0 0 0 1px var(--ui-a-line)}
@media (max-width:640px){.cs-lang__opt span{display:none}.cs-lang__opt{padding:4px 6px}}

/* ===== Meniu principal pe bara de sus ===== */
.cs-nav { display: none; align-items: center; gap: 2px; min-width: 0; }
.cs-nav-m { display: block; position: relative; }
.cs-nav__a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  font: 600 14px/1 Barlow, system-ui, sans-serif; letter-spacing: .01em; white-space: nowrap;
  color: var(--ui-tx-2); transition: background .15s, color .15s;
}
.cs-nav__a .fe { font-size: 16px; color: var(--ui-mut); transition: color .15s; }
.cs-nav__a:hover { color: var(--ui-tx); background: rgba(255, 255, 255, .05); }
.cs-nav__a:hover .fe { color: var(--ui-tx-2); }
.cs-nav__a.is-active { color: #fff; background: var(--ui-a-soft); }
.cs-nav__a.is-active .fe { color: var(--ui-a); }
.cs-nav__a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; border-radius: 2px; background: var(--ui-a);
}
.cs-nav__a .cs-nav__chev { font-size: 14px; margin-left: -2px; }
.cs-nav__a .cs-user__pro { margin-left: 0; }
.cs-nav__dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.cs-nav__dot--mix { background: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .2); }
.cs-nav__dot--ac  { background: #f5c542; box-shadow: 0 0 0 3px rgba(245, 197, 66, .2); }
.cs-nav__dd { position: relative; }
.cs-nav__pop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 220px; padding: 6px;
  background: var(--ui-s2); border: 1px solid var(--ui-line-2); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.cs-nav__item {
  display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 11px; border-radius: 8px;
  font: 500 14px/1 Barlow, system-ui, sans-serif; color: var(--ui-tx-2); white-space: nowrap;
}
.cs-nav__item .fe { font-size: 16px; color: var(--ui-mut); width: 18px; text-align: center; }
.cs-nav__item .cs-nav__dot { margin-left: auto; }
.cs-nav__item:hover { background: rgba(255, 255, 255, .05); color: var(--ui-tx); }
.cs-nav__item.is-active { background: var(--ui-a-soft); color: #fff; }
.cs-nav__item.is-active .fe { color: var(--ui-a); }
.cs-nav-m__btn {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  background: var(--ui-s1); border: 1px solid var(--ui-line); color: var(--ui-tx);
  font: 600 14px/1 Barlow, system-ui, sans-serif;
}
.cs-nav-m__btn:hover { background: var(--ui-s2); }
.cs-nav-m__pop { min-width: 240px; max-height: calc(100vh - 90px); overflow-y: auto; }

@media (min-width: 1200px) {
  .cs-nav { display: flex; }
  .cs-nav-m { display: none; }
  .cs-nav__a .fe { display: none; }
  .cs-nav__a .cs-nav__chev { display: inline-block; }
  .cs-nav__a { padding: 0 11px; }
  .cs-user__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (min-width: 1560px) {
  .cs-nav__a .fe { display: inline-block; }
  .cs-nav__a { padding: 0 13px; }
  .cs-user__name { max-width: none; }
}
@media (max-width: 767px) {
  .cs-top__inner { justify-content: space-between; }
  .cs-nav-m { margin-left: 34px; }   /* loc pentru butonul de meniu lateral */
}
/* meniul lateral a ramas doar cu documentele */
.cs-side-menu { padding-top: 6px; }
.cs-side-menu .cs-side-head:first-child { margin-top: 14px; }
