:root{
  --bg:#070A12;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.16);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.70);
  --muted2: rgba(234,240,255,.55);
  --accent:#6EE7FF;
  --accent2:#A78BFA;
  --good:#52FFB4;
  --warn:#FFD36E;
  --bad:#FF5C7A;

  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% 20%, rgba(110,231,255,.10), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(167,139,250,.10), transparent 55%),
              radial-gradient(900px 700px at 80% 90%, rgba(82,255,180,.08), transparent 55%),
              var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	position: relative;
}

/* Glow orbs */
.bg-orb{
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
}
.orb-1{ left:-180px; top:-190px; background: rgba(110,231,255,.20); }
.orb-2{ right:-190px; top:-170px; background: rgba(167,139,250,.18); }
.orb-3{ right:-180px; bottom:-220px; background: rgba(82,255,180,.14); }

/* Layout */
.wrap{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 70px;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(7,10,18,.68);
  backdrop-filter: blur(16px);
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  letter-spacing:.2px;
  color: rgba(0,0,0,.85);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(110,231,255,.20);
}
.brand-text{ display:flex; flex-direction:column; }
.brand-name{ font-weight: 900; letter-spacing: .3px; }
.brand-sub{ font-size: 12px; color: var(--muted2); margin-top: 2px; }

.nav{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.navlink{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.navlink:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.navlink-right{ margin-left:auto; }
.navuser{
  color: var(--muted);
  font-size: 14px;
  padding: 8px 4px;
}

/* Page head */
.pagehead{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  margin: 16px 0 10px;
}
.pagetitle{
  margin:0;
  font-size: 24px;
  letter-spacing: .2px;
}
.pagesub{
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r20);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.card + .card{ margin-top: 12px; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 880px){
  .grid{ grid-template-columns: 1fr; }
  .navlink-right{ margin-left: 0; }
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: 0;
  color: rgba(0,0,0,.85);
}
.btn-warn{
  background: linear-gradient(135deg, var(--warn), rgba(255,92,122,.25));
  border: 0;
  color: rgba(0,0,0,.85);
}

.small{ font-size: 13px; color: var(--muted); }

/* Forms */
label{
  display:block;
  margin: 10px 0 6px;
  color: var(--muted);
  font-size: 13px;
}
input, textarea, select{
  width:100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(110,231,255,.45);
  box-shadow: 0 0 0 4px rgba(110,231,255,.12);
}

hr{
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 14px 0;
}

/* Tables */
.table{
  width:100%;
  border-collapse: collapse;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--r16);
}
.table th{
  text-align:left;
  font-size: 12px;
  letter-spacing: .25px;
  color: var(--muted2);
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.table td{
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: top;
}
.table tr:hover td{
  background: rgba(255,255,255,.03);
}

/* Flash */
.flash{
  border-radius: var(--r16);
  padding: 10px 12px;
  margin: 10px 0 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.flash-ok{ border-color: rgba(82,255,180,.28); background: rgba(82,255,180,.10); }
.flash-warn{ border-color: rgba(255,211,110,.28); background: rgba(255,211,110,.10); }
.flash-err{ border-color: rgba(255,92,122,.30); background: rgba(255,92,122,.10); }

/* Footer */
.footer{
  margin-top: 18px;
  opacity: .9;
}
.foot-inner{
  color: var(--muted2);
  font-size: 12px;
  padding: 12px 2px;
}