:root {
  --bg: #090909;
  --panel: #121212;
  --panel-2: #191919;
  --text: #f5f5f5;
  --muted: #b7b7b7;
  --line: rgba(255,255,255,0.08);
  --accent: #d90429;
  --accent-2: #ff355e;
  --success: #31c48d;
  --warning: #f59e0b;
  --danger: #ff4d4f;
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(217, 4, 41, 0.18), transparent 24%),
    linear-gradient(180deg, #050505 0%, #0e0e0e 100%);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 14px; align-items: center; }
.status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  user-select: none;
  font-size: 0.84rem;
  font-weight: 700;
}
.status-toggle .dot { width: 10px; height: 10px; border-radius: 50%; background: #6b7280; }
.status-toggle.onboard { color: #cbffe9; border-color: rgba(49,196,141,0.4); background: rgba(49,196,141,0.12); }
.status-toggle.onboard .dot { background: var(--success); box-shadow: 0 0 8px rgba(49,196,141,0.8); }
.status-toggle.offship { color: #ffd2d4; border-color: rgba(255,77,79,0.4); background: rgba(255,77,79,0.12); }
.status-toggle.offship .dot { background: var(--danger); box-shadow: 0 0 8px rgba(255,77,79,0.8); }
.btn, button {
  border: none; border-radius: 12px; cursor: pointer; font-weight: 700;
  padding: 13px 18px; transition: 0.2s ease;
}
.btn-primary, button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.32);
}
.btn-secondary {
  background: transparent; color: var(--text); border: 1px solid var(--line);
}
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; padding: 36px 0 50px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; margin: 0 0 18px; }
.hero p { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #ffd7df; margin-bottom: 18px;
}
.pill { display:inline-block; padding: 8px 12px; border-radius:999px; background: rgba(217,4,41,0.13); color:#ffd8df; font-size:.82rem; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section { padding: 18px 0 32px; }
.section h2 { font-size: 2rem; margin: 0 0 14px; }
.muted { color: var(--muted); }
.boundary { border-left: 4px solid var(--accent-2); background: rgba(217,4,41,0.09); }
label { display: block; margin-bottom: 8px; font-weight: 600; color: #f0f0f0; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #111; color: white; margin-bottom: 14px;
}
textarea { min-height: 120px; resize: vertical; }
form .grid { gap: 14px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.check-grid label { display: flex; align-items: center; gap: 10px; margin-bottom: 0; font-weight: 500; color: var(--muted); }
input[type='checkbox'] { width: 16px; height: 16px; margin: 0; }
.notice, .result {
  margin-top: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.04);
}
.result pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.stat strong { display:block; font-size: 1.8rem; margin-top: 8px; }
.auth-shell, .dashboard-shell { min-height: 100vh; padding: 20px 0 50px; }
.auth-card { max-width: 640px; margin: 40px auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab-btn { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line); }
.tab-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.badge-red, .badge-amber, .badge-green {
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; font-weight:700; font-size:.85rem;
}
.badge-red { background: rgba(255,77,79,.14); color: #ffd2d4; }
.badge-amber { background: rgba(245,158,11,.16); color: #ffe0ad; }
.badge-green { background: rgba(49,196,141,.14); color: #cbffe9; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align:left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.footer { padding: 30px 0 50px; color: var(--muted); font-size: .92rem; }
@media (max-width: 920px) {
  .hero, .grid-3, .grid-2, .stats, .check-grid { grid-template-columns: 1fr; }
}
