:root {
  --bg: #0f172a;
  --card: #111827;
  --accent: #22c55e;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --danger: #f87171;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #111827 0, #0b1224 45%, #0a0f1f 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  width: min(420px, 100%);
  background: var(--card);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.04);
}

h1, h2, h3 { margin: 0 0 12px; letter-spacing: -0.02em; }
.subtitle { color: var(--muted); margin-bottom: 16px; }

form { display: grid; gap: 12px; }
label { font-size: 14px; color: var(--muted); }
input, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

button {
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #0b111f;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(34,197,94,0.35); }
button:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; transform: none; }

.link { color: #38bdf8; text-decoration: none; font-weight: 600; }

.card-row { display: flex; gap: 12px; flex-wrap: wrap; }
.card {
  flex: 1 1 180px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.alert { padding: 12px; border-radius: 10px; margin-top: 6px; }
.alert.error { background: rgba(248,113,113,0.12); color: #fecdd3; border: 1px solid rgba(248,113,113,0.4); }
.alert.success { background: rgba(34,197,94,0.12); color: #bbf7d0; border: 1px solid rgba(34,197,94,0.4); }

.table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.table th, .table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  font-size: 14px;
}

@media (max-width: 540px) {
  .container { padding: 18px; border-radius: 14px; }
  body { padding: 12px; align-items: flex-start; }
}
