
:root{
  --bg:#050505;
  --panel:#101010;
  --panel2:#161616;
  --text:#ffffff;
  --muted:#9b9b9b;
  --cyan:#21dfff;
  --flo:#dfff00;
  --line:rgba(255,255,255,.1);
}

*{box-sizing:border-box;margin:0;padding:0}

body{
  font-family:Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{text-decoration:none;color:inherit}

.admin-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  min-height:100vh;
}

.sidebar{
  background:#080808;
  border-right:1px solid var(--line);
  padding:25px;
  position:sticky;
  top:0;
  height:100vh;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:35px;
}

.brand img{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:50%;
}

.brand h1{
  font-size:18px;
  line-height:1.05;
  text-transform:uppercase;
}

.nav{
  display:grid;
  gap:10px;
}

.nav a{
  padding:14px 16px;
  border-radius:14px;
  color:#d7d7d7;
  font-weight:800;
  text-transform:uppercase;
  font-size:13px;
}

.nav a:hover,
.nav a.active{
  background:linear-gradient(90deg,rgba(33,223,255,.18),rgba(223,255,0,.08));
  color:white;
  border:1px solid rgba(33,223,255,.25);
}

.main{
  padding:32px;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:30px;
}

.topbar h2{
  font-size:34px;
  text-transform:uppercase;
}

.topbar p{
  color:var(--muted);
  margin-top:6px;
}

.actions{
  display:flex;
  gap:12px;
}

.btn{
  background:var(--cyan);
  color:#050505;
  padding:14px 18px;
  border-radius:12px;
  font-weight:900;
  text-transform:uppercase;
  border:0;
}

.btn.dark{
  background:#171717;
  color:white;
  border:1px solid var(--line);
}

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-bottom:25px;
}

.stat{
  background:linear-gradient(180deg,#151515,#0c0c0c);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  position:relative;
  overflow:hidden;
}

.stat:after{
  content:"";
  position:absolute;
  width:120px;
  height:120px;
  right:-35px;
  top:-35px;
  background:radial-gradient(circle,var(--cyan),transparent 65%);
  opacity:.22;
}

.stat span{
  color:var(--muted);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}

.stat h3{
  font-size:36px;
  margin:12px 0 4px;
}

.stat p{
  color:var(--flo);
  font-weight:800;
}

.grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:22px;
  margin-bottom:22px;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
}

.card h3{
  font-size:22px;
  text-transform:uppercase;
  margin-bottom:18px;
}

.table{
  width:100%;
  border-collapse:collapse;
}

.table th,
.table td{
  padding:15px 10px;
  border-bottom:1px solid var(--line);
  text-align:left;
  font-size:14px;
}

.table th{
  color:var(--muted);
  text-transform:uppercase;
  font-size:12px;
}

.badge{
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  display:inline-block;
}

.badge.green{background:rgba(223,255,0,.16);color:var(--flo)}
.badge.blue{background:rgba(33,223,255,.16);color:var(--cyan)}
.badge.orange{background:rgba(255,130,0,.16);color:#ff9b2f}
.badge.red{background:rgba(255,40,40,.16);color:#ff6464}

.kanban{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.column{
  background:#0b0b0b;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
}

.column h4{
  color:var(--cyan);
  text-transform:uppercase;
  margin-bottom:14px;
}

.task{
  background:#171717;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  margin-bottom:12px;
}

.task b{
  display:block;
  margin-bottom:8px;
}

.task small{
  color:var(--muted);
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}

label{
  display:grid;
  gap:8px;
  font-size:12px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:900;
}

input,select,textarea{
  background:#0b0b0b;
  color:white;
  border:1px solid var(--line);
  padding:14px;
  border-radius:12px;
}

textarea{min-height:120px}

.wide{grid-column:1/-1}

@media(max-width:1000px){
  .admin-layout{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto}
  .stats,.grid,.kanban{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
}
