/* ======================================================================
   DREAMZ / SNIPERS LEAGUE - UI RESET (Black + Mint/Tiffany, minimalist)
   Goals: clarity, hierarchy, spacing, consistent tables/forms, demo-ready.
   ====================================================================== */

:root{
  --bg:#050607;
  --bg2:#07090b;
  --panel:rgba(12,16,18,.72);
  --panel2:rgba(16,22,26,.70);
  --text:#eaf2f6;
  --muted:rgba(234,242,246,.65);

  --mint:#4fe3d0;
  --tiffany:#2fd7ff;

  --signal:#ffcc33;
  --signal2:#ff8a3d;

  --border:rgba(255,255,255,.08);
  --border2:rgba(79,227,208,.24);

  --shadow:0 16px 46px rgba(0,0,0,.55);
  --radius:18px;
  --maxw:1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Apple Color Emoji","Segoe UI Emoji";
  line-height:1.45;
  background:
    radial-gradient(1100px 520px at 16% -10%, rgba(47,215,255,.12), transparent 60%),
    radial-gradient(900px 520px at 92% 0%, rgba(79,227,208,.11), transparent 55%),
    radial-gradient(800px 460px at 30% 110%, rgba(47,215,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:var(--mint); text-decoration:none}
a:hover{color:var(--tiffany); text-decoration:underline}

.container{
  width:min(var(--maxw), calc(100% - 52px));
  margin:0 auto;
  padding:26px 0 62px;
}
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 980px){
  .container{width:calc(100% - 28px)}
  .grid{grid-template-columns:1fr}
}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(5,6,7,.78);
  border-bottom:1px solid var(--border);
}
.nav{
  width:min(var(--maxw), calc(100% - 52px));
  margin:0 auto;
  padding:14px 0;
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:900; letter-spacing:.9px;
  text-transform:uppercase;
  font-size:12px;
}
.brand-dot{
  width:10px; height:10px; border-radius:999px;
  background:linear-gradient(135deg, var(--mint), var(--tiffany));
  box-shadow:0 0 22px rgba(79,227,208,.35);
}
.navlinks{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.navright{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(16,22,26,.52);
  color:var(--text);
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{
  border-color:var(--border2);
  background: rgba(16,22,26,.78);
  text-decoration:none;
}
.btn:active{transform:translateY(1px)}
.btn.primary{
  border-color: rgba(79,227,208,.32);
  background: linear-gradient(135deg, rgba(79,227,208,.18), rgba(47,215,255,.12));
}
.btn.ghost{background:transparent}
.btn.active{
  border-color: rgba(47,215,255,.34);
  box-shadow:0 0 0 3px rgba(47,215,255,.10);
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(16,22,26,.45);
  color:var(--muted);
  white-space:nowrap;
}
.badge.ok{border-color: rgba(79,227,208,.25); color: rgba(79,227,208,.95)}
.badge.warn{border-color: rgba(255,204,51,.22); color: rgba(255,204,51,.95)}
.badge.danger{border-color: rgba(255,138,61,.22); color: rgba(255,138,61,.95)}
.badge.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}

.card{
  background: linear-gradient(180deg, rgba(16,22,26,.78), rgba(12,16,18,.78));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.stack > .card{margin-top:14px}
.stack > .card:first-child{margin-top:0}

h1{margin:0 0 8px; font-size:34px; letter-spacing:.2px}
h2{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:800;
}
.small{color:var(--muted); font-size:13px}
.kicker{color:var(--muted); font-size:13px; margin-top:6px}
hr{border:0; border-top:1px solid var(--border); margin:18px 0}

.kpis{display:flex; gap:12px; flex-wrap:wrap; margin-top:12px}
.kpi{
  min-width: 190px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(16,22,26,.50);
}
.kpi .label{font-size:12px; color:var(--muted); letter-spacing:.4px}
.kpi .value{font-size:22px; font-weight:900; margin-top:6px}

input,select,button{font:inherit; color:var(--text)}
input,select{
  min-height:40px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(16,22,26,.68);
  outline:none;
}
input::placeholder{color: rgba(234,242,246,.40)}
input:focus,select:focus{
  border-color: rgba(47,215,255,.35);
  box-shadow:0 0 0 3px rgba(47,215,255,.12);
}
.formrow{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.formrow .grow{flex:1 1 260px}

.tablewrap{
  overflow:auto;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(12,16,18,.64);
}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width: 760px;
}
th,td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:middle;
}
th{
  position:sticky; top:0;
  background: rgba(16,22,26,.56);
  color:var(--muted);
  font-weight:800;
  letter-spacing:.35px;
  font-size:12px;
  text-transform:uppercase;
}
tr:hover td{background: rgba(16,22,26,.22)}
tr:last-child td{border-bottom:none}
.right{text-align:right}
.nowrap{white-space:nowrap}

.mint{color:var(--mint)}
.tiffany{color:var(--tiffany)}
.signal{color:var(--signal)}
.signal2{color:var(--signal2)}
/* ====================================================================== */
