:root{
  --bg:#0b1020;
  --panel:rgba(255,255,255,.06);
  --panel-2:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --border:rgba(255,255,255,.14);
  --accent:#6ea8fe;
  --good:#44d19d;
  --warn:#ffd166;
  --bad:#ff5d6c;
  --shadow: 0 10px 35px rgba(0,0,0,.35);
  --radius:14px;
  --radius-sm:10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(110,168,254,.25), transparent 60%),
    radial-gradient(900px 600px at 80% 0%, rgba(68,209,157,.18), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(255,209,102,.10), transparent 60%),
    var(--bg);
}

code, pre{font-family:var(--mono)}
code{background:rgba(255,255,255,.08); padding:.15rem .35rem; border-radius:.4rem; border:1px solid rgba(255,255,255,.10)}

.app{max-width:1200px; margin:0 auto; padding:22px}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}

.brand__title{font-weight:700; letter-spacing:.2px}
.brand__subtitle{font-size:.85rem; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:8px; flex-wrap:wrap}
.nav__link{
  text-decoration:none;
  color:var(--text);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  font-weight:600;
  font-size:.95rem;
  opacity:.85;
}
.nav__link:hover{opacity:1; border-color:var(--border); background:rgba(255,255,255,.06)}
.nav__link--active{opacity:1; border-color:rgba(110,168,254,.45); background:rgba(110,168,254,.12)}

.main{padding:18px 4px}

.grid{display:grid; grid-template-columns:repeat(12, 1fr); gap:14px}
.card{
  grid-column: span 12;
  padding:14px 14px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow:var(--shadow);
}
.card h2{margin:4px 0 10px 0; font-size:1.1rem}
.card p{margin:10px 0; color:var(--muted); line-height:1.45}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(110,168,254,.45);
  background:rgba(110,168,254,.18);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
}
.btn:hover{background:rgba(110,168,254,.25)}
.btn[disabled]{opacity:.55; cursor:not-allowed}

.btn--danger{
  border-color: rgba(255,93,108,.45);
  background: rgba(255,93,108,.14);
}
.btn--danger:hover{background: rgba(255,93,108,.22)}

.btn--ghost{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{background: rgba(255,255,255,.10)}

.form{margin:0}
.form__row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.form__hint{margin-top:8px; color:var(--muted); font-size:.85rem}

.input,.select,textarea{
  width: min(520px, 100%);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}
.input:focus,.select:focus,textarea:focus{
  border-color: rgba(110,168,254,.55);
  box-shadow: 0 0 0 4px rgba(110,168,254,.12);
}
.select{min-width:240px}
textarea{
  border-radius: var(--radius-sm);
  min-height: 130px;
  resize: vertical;
  font-family: var(--mono);
}

.tableWrap{
  margin-top:12px;
  overflow:auto;
  border-radius: var(--radius-sm);
  border:1px solid rgba(255,255,255,.14);
}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th,.table td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  vertical-align:top;
}
.table thead th{
  text-align:left;
  font-size:.85rem;
  color:var(--muted);
  background: rgba(255,255,255,.04);
}
.tRight{text-align:right; white-space:nowrap}
.tTitle{font-weight:800}
.tMuted{color:var(--muted); font-size:.85rem}

.pill{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-size:.85rem;
}
.pill--muted{opacity:.7}

.formInline{display:inline; margin:0}

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding:10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--text);
  max-width: 92vw;
}
.toast--error{border-color: rgba(255,93,108,.55)}

.footer{
  margin-top:16px;
  padding:10px 12px;
  color:var(--muted);
  font-size:.85rem;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.10);
}

@media (min-width: 900px){
  .card{padding:16px 18px}
}

