:root{
  --bg0:#070b16;
  --bg1:#061a1f;

  --text:#eaf1ff;
  --muted: rgba(234,241,255,.62);

  --glass1: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.035);
  --line: rgba(255,255,255,.11);

  --shadow: 0 22px 70px rgba(0,0,0,.55);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --green1:#22c55e;
  --green2:#16a34a;

  --blue1:#2fb0ff;
  --blue2:#2f5fff;

  --red1:#ff4d6d;
  --red2:#c9184a;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1000px 700px at 18% 10%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(1200px 750px at 82% 20%, rgba(47,176,255,.18), transparent 62%),
    radial-gradient(900px 700px at 50% 110%, rgba(99,102,241,.12), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

a{color:inherit; text-decoration:none}

.container{max-width:1100px; margin:0 auto; padding:32px 18px}

/* TOPBAR */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 20px;
  border-radius: var(--radius-xl);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  box-shadow: var(--shadow);
}
.brand{display:flex; flex-direction:column; gap:6px}
.brand .title{font-size:18px; font-weight:900; letter-spacing:.2px}
.brand .subtitle{font-size:13px; color:var(--muted)}
.nav{display:flex; gap:10px; flex-wrap:wrap}

/* CARD */
.card{
  margin-top:18px;
  padding:18px;
  border-radius: var(--radius-xl);
  border:1px solid var(--line);
  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  box-shadow: var(--shadow);
}

/* TYPO */
.h1{font-size:22px; margin:0 0 10px; font-weight:900; letter-spacing:.2px}
.p{margin:6px 0 14px; color:var(--muted); font-size:13px}

/* BUTTONS */
.btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:.15s ease;
}
.btn:hover{transform:translateY(-1px); background: rgba(255,255,255,.09)}
.btn.primary{background: linear-gradient(135deg, var(--blue1), var(--blue2)); border-color: transparent}
.btn.ok{background: linear-gradient(135deg, var(--green1), var(--green2)); border-color: transparent; box-shadow:0 10px 30px rgba(34,197,94,.18)}
.btn.danger{background: linear-gradient(135deg, var(--red1), var(--red2)); border-color: transparent}
.btn.small{padding:9px 12px; font-size:12px}
.btn-block{width:100%}

/* FORMS */
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}

.label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color: var(--muted);
}
.label .hint{font-size:12px; opacity:.8}

.input{
  width:100%;
  padding:14px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(9,14,26,.55);
  color: var(--text);
  outline:none;
  transition:.15s ease;
}
.input::placeholder{color: rgba(234,241,255,.38)}
.input:focus{
  border-color: rgba(47,176,255,.55);
  box-shadow: 0 0 0 4px rgba(47,176,255,.16);
}

/* ALERT */
.alert{
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  margin: 12px 0;
  font-size:13px;
}
.alert.error{border-color: rgba(255,77,109,.30); background: rgba(255,77,109,.12)}
.alert.success{border-color: rgba(34,197,94,.30); background: rgba(34,197,94,.12)}

/* FOOTER */
.footer{margin-top:18px; color: rgba(234,241,255,.55); font-size:12px; text-align:center}

/* ===== AUTH (make it look like the screenshot) ===== */
.auth-page{
  min-height: calc(100vh - 140px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 26px 0 40px;
}

.auth-card{
  width:100%;
  max-width: 760px;
  padding: 22px 26px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
  box-shadow: 0 26px 90px rgba(0,0,0,.58);
}

.auth-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom: 1px solid rgba(34,197,94,.32); /* garis hijau tipis */
  margin-bottom: 18px;
}

.auth-title{font-size:26px; font-weight:950; letter-spacing:.2px}
.auth-subtitle{margin-top:6px; color: var(--muted); font-size:13px}

.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.12);
  color: rgba(214,255,230,.92);
  font-weight:850;
  font-size:12px;
}

/* icon circle on green button */
.btn-icon{
  width:26px;
  height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.14);
  flex: 0 0 auto;
}

/* TABLES (for users list) */
.table-wrap{overflow:auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.10)}
table{width:100%; border-collapse:collapse; min-width:760px; background: rgba(9,14,26,.35)}
th,td{padding:12px 12px; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px}
th{
  color: rgba(234,241,255,.78);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  background: rgba(255,255,255,.04);
}
tr:hover td{background: rgba(255,255,255,.03)}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.badge.on{border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.14)}
.badge.off{border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.14)}
/* Login page: hide extra space & match reference size */
.auth-page{
  min-height: calc(100vh - 60px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px 0 34px;
}

.auth-card{
  width:100%;
  max-width: 720px;   /* ukuran mirip contoh */
  border-radius: 30px;
  padding: 22px 26px 24px;
}

