:root {
  --bg: #0F0F0F;
  --panel: #171717;
  --panel-2: #1f1f1f;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --line: #2c2c2c;
  --orange: #F97316;
  --orange-soft: rgba(249, 115, 22, 0.15);
  --warm: #d6d3d1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(249,115,22,0.16), transparent 35%);
  pointer-events: none;
}
.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}
.header, .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.wordmark {
  font-weight: 800;
  letter-spacing: 0.08em;
}
.wordmark span { color: var(--orange); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero { margin-bottom: 24px; }
.muted { color: var(--muted); }
.actions, .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button, button, .button-link {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  background: var(--orange);
  color: #111;
  text-decoration: none;
}
.button.secondary, .button-link.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.product-card.inactive { opacity: 0.65; }
.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--warm);
  background: var(--orange-soft);
  border: 1px solid rgba(249,115,22,0.28);
}
.section { margin-top: 28px; }
form { display: grid; gap: 14px; max-width: 420px; }
label { display: grid; gap: 8px; font-size: 14px; color: var(--warm); }
.auth-shell { max-width: 720px; }
.auth-card h1 { margin-bottom: 10px; }
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
}
.small { font-size: 14px; }
.error { color: #fca5a5; }
.success { color: #86efac; }
.meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); margin: 14px 0; }
.text-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.text-link:hover { text-decoration: underline; }
.outline-orange {
  border-color: rgba(249, 115, 22, 0.7) !important;
  color: var(--orange) !important;
}
.pill-note, .status-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--warm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 600;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.table-wrap { overflow-x: auto; }
.billing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.billing-table th,
.billing-table td {
  text-align: left;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.billing-table th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hidden { display: none; }
button:disabled,
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .header, .topbar, .meta, .section-heading { flex-direction: column; align-items: flex-start; }
}
