:root{
  --bg:#0b1220;
  --card:#0a0f1c;
  --muted:#94a3b8;
  --line:#172554;
  --btn:#2563eb;
  --ok:#16a34a;
  --danger:#dc2626;
  --text:#e5e7eb;
}

*{box-sizing:border-box}
body{
  margin:0;
  padding:20px;
  font-family:system-ui,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg, #050816, var(--bg));
  color:var(--text);
}

a{color:inherit}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.toplinks{display:flex; gap:10px; align-items:center}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
}

.card{
  background:rgba(2,6,23,0.8);
  border:1px solid rgba(30,41,59,0.6);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

h1,h2{margin:0 0 12px 0}
.muted{color:var(--muted); font-size:.95rem}
code{background:#0b1220; padding:2px 6px; border-radius:8px; border:1px solid rgba(30,41,59,.6)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:var(--btn);
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
}
.btn.ghost{background:transparent}
.btn.ok{background:var(--ok)}
.btn.danger{background:var(--danger)}

.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(37,99,235,.15);
  margin:8px 0 12px 0;
}
.badge.ok{background:rgba(22,163,74,.15)}

.form label{display:block; margin:10px 0 6px 0; color:var(--muted)}
.form input,.form textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(30,41,59,.7);
  background:#050816;
  color:var(--text);
  outline:none;
}
.two{display:grid; grid-template-columns:1fr 1fr; gap:12px}

.row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-top:1px solid rgba(30,41,59,.5);
}
.row:first-of-type{border-top:none}
.actions{display:flex; gap:10px; align-items:center}

.status{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  height:fit-content;
  text-transform:capitalize;
}
.status.pending{background:rgba(37,99,235,.15)}
.status.approved{background:rgba(22,163,74,.15)}
.status.rejected{background:rgba(220,38,38,.15)}
