:root{
  --bg:#071015;
  --card:#0c1821;
  --muted:#9fb2c2;
  --text:#eaf2f7;
  --brand:#34f5c5;
  --brand2:#7c5cff;
  --ring:rgba(52,245,197,.22);
  --danger:#ff3b6b;
  --ok:#22c55e;
  --warn:#f59e0b;
  --radius:18px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --border: rgba(255,255,255,.08);
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(52,245,197,.18), transparent 60%),
    linear-gradient(180deg, #050b10, var(--bg));
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:24px}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,16,21,.55);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.2px
}
.logo{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 30px rgba(52,245,197,.18);
}
.nav-links{display:flex;gap:10px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px; padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  transition: .18s ease;
  font-weight:650;
}
.btn:hover{transform: translateY(-1px); border-color: var(--ring)}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, rgba(52,245,197,.95), rgba(124,92,255,.88));
  color:#071015;
}
.btn.danger{border-color: rgba(255,59,107,.35); background: rgba(255,59,107,.08); color:#ffd6e1}
.btn.small{padding:8px 10px; border-radius:12px; font-size:14px}

.hero{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:22px;
  padding:36px 0 12px;
}
@media (max-width: 920px){ .hero{grid-template-columns:1fr; padding-top:22px} }

.card{
  background: rgba(12,24,33,.70);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:22px}
.h1{font-size:44px;line-height:1.06;margin:0 0 12px;font-weight:900}
@media (max-width: 520px){ .h1{font-size:34px} }
.p{color:var(--muted);line-height:1.55;margin:0 0 14px}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
@media (max-width: 920px){ .kpis{grid-template-columns:1fr} }
.kpi{
  padding:14px;border-radius:16px;border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.kpi b{font-size:22px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-weight:650;
}
.grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap:14px;
}
@media (max-width: 980px){ .grid{grid-template-columns:1fr} }
.feature{padding:16px}
.feature h3{margin:0 0 8px}
.feature p{margin:0;color:var(--muted);line-height:1.5}

.form{display:grid;gap:12px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width: 760px){ .row{grid-template-columns:1fr} }
label{font-size:13px;color:var(--muted);font-weight:650}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color: var(--ring); box-shadow: 0 0 0 4px rgba(52,245,197,.08)}
.hr{height:1px;background:var(--border);margin:14px 0}
.toast{
  padding:12px 14px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  color:var(--text);
}
.toast.ok{border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08)}
.toast.err{border-color: rgba(255,59,107,.35); background: rgba(255,59,107,.08)}
.small{font-size:13px;color:var(--muted)}
.table{
  width:100%; border-collapse:separate; border-spacing:0 10px;
}
.table th{color:var(--muted); font-size:12px; text-align:left; padding:0 10px}
.table td{
  padding:14px 10px;
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.table td:first-child{border-left:1px solid var(--border); border-radius:14px 0 0 14px}
.table td:last-child{border-right:1px solid var(--border); border-radius:0 14px 14px 0}
.status{font-weight:800}
.status.pending{color:var(--warn)}
.status.approved{color:var(--ok)}
.status.rejected{color:var(--danger)}
.footer{padding:22px 0;color:var(--muted)}
