:root {
  --bg: #0d1017;
  --panel: #171c26;
  --panel2: #202737;
  --text: #e8edf6;
  --muted: #9aa7b8;
  --line: #2b3446;
  --green: #2ecc71;
  --red: #ef4444;
  --blue: #38bdf8;
  --amber: #f59e0b;
  --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Segoe UI, Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
code { background: #0b0f16; border: 1px solid var(--line); padding: 2px 5px; border-radius: 5px; }
.shell { min-height: 100vh; display: flex; }
.side { width: 250px; background: #111722; border-right: 1px solid var(--line); padding: 18px 12px; }
.brand { color: var(--green); font-size: 22px; font-weight: 800; padding: 8px 10px 18px; }
.side nav { display: grid; gap: 6px; }
.side a { color: var(--muted); padding: 11px 12px; border-radius: var(--radius); }
.side a:hover { background: var(--panel2); color: var(--text); }
.main { flex: 1; min-width: 0; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; background: var(--panel); border-bottom: 1px solid var(--line); }
.top h1 { margin: 0; font-size: 22px; }
.top span, .muted { color: var(--muted); }
.content { padding: 24px; display: grid; gap: 18px; }
.panel, .auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.auth-card { max-width: 420px; margin: 40px auto; }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.two-col { grid-template-columns: minmax(360px, 1.2fr) minmax(320px, .8fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); padding: 16px; display: grid; gap: 6px; }
.card b { font-size: 28px; }
.card span { color: var(--muted); }
.card.danger { border-left-color: var(--red); }
h2 { margin: 0 0 14px; font-size: 18px; }
.form { display: grid; gap: 10px; }
.form.two { grid-template-columns: 180px 1fr; align-items: center; }
label { color: var(--muted); font-weight: 600; font-size: 13px; }
input, select, textarea { width: 100%; background: #0b0f16; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn { border: 0; border-radius: var(--radius); padding: 10px 14px; background: var(--panel2); color: var(--text); font-weight: 700; cursor: pointer; display: inline-block; }
.btn.primary { background: var(--green); color: #06110b; }
.btn.small { padding: 6px 9px; font-size: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); background: #121824; font-size: 12px; text-transform: uppercase; }
tr.hot { background: rgba(239,68,68,.08); }
.empty { color: var(--muted); text-align: center; }
.tag { display: inline-block; border-radius: 5px; padding: 3px 7px; background: var(--panel2); color: var(--muted); font-size: 12px; font-weight: 700; }
.tag.active { background: rgba(46,204,113,.15); color: var(--green); }
.tag.paid { background: rgba(46,204,113,.15); color: var(--green); }
.tag.pending { background: rgba(245,158,11,.15); color: var(--amber); }
.tag.refunded, .tag.cancelled { background: rgba(148,163,184,.15); color: var(--muted); }
.tag.revoked, .tag.banned, .tag.expired { background: rgba(239,68,68,.15); color: var(--red); }
.alert { border-radius: var(--radius); padding: 12px 14px; }
.alert-success { background: rgba(46,204,113,.12); color: var(--green); border: 1px solid rgba(46,204,113,.25); }
.alert-error { background: rgba(239,68,68,.12); color: var(--red); border: 1px solid rgba(239,68,68,.25); }
.server-switch { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; gap: 12px; align-items: center; }
.mapbox { position: relative; height: 360px; background: linear-gradient(135deg, #102b22, #142238 60%, #1e293b); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.mapbox:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; }
.dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--green); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 14px var(--green); z-index: 2; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.hero { background: linear-gradient(135deg, #122033, #17251d); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.hero h2 { font-size: 30px; margin-bottom: 8px; }
.pricing { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.price { font-size: 34px; color: var(--green); font-weight: 900; }
.price-card ul { margin: 0; padding-left: 20px; color: var(--text); }
.checkout { max-width: 760px; }
.pay-box { background: #0b0f16; border: 1px dashed var(--amber); border-radius: var(--radius); padding: 14px; margin: 14px 0; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.danger-btn { background: rgba(239,68,68,.2); color: #fecaca; }
.large-map { height: 620px; }
.dot-label { position: absolute; transform: translate(8px, -18px); background: rgba(0,0,0,.75); color: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; font-size: 11px; z-index: 3; white-space: nowrap; }
@media (max-width: 900px) {
  .shell { display: block; }
  .side { width: 100%; }
  .two-col, .form.two { grid-template-columns: 1fr; }
}
