/*
 * Ghost Tech theme: Console
 * Compact and dense, for admins and resellers who handle many accounts. Graphite, one cool blue,
 * colour only for status.
 * Loaded after style.css.
 */
:root {
  --night: #14161a;
  --fog-1: #1b1e23;
  --fog-2: #262a31;
  --line: #353b45;
  --ink: #e6e9ee;
  --mute: #8b93a1;
  --specter: #5aa9ff;
  --specter-ink: #04182c;
  --specter-hi: #82bdff;
  --candle: #e5b454;
  --candle-ink: #2a1f05;
  --ok: #57d18c;
  --bad: #ff6b6b;
  --sans: "Inter", "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --weight: 400;
  --r-card: 4px;
  --r-ctl: 3px;
  --side: #101215;
  --field: #101215;
  --well: #101215;
  --placeholder: #5d6572;
  --ok-bg: #16291f;  --ok-line: #2a5a40;
  --bad-bg: #2e1b1c; --bad-line: #6a3436; --bad-edge: #8f4245;
  --warn-bg: #2a2416; --warn-line: #6b5627; --warn-edge: #8f7430;
  --info-line: #2f5f96;
  --backdrop: rgba(6, 7, 9, 0.78);
}
h1, h2, h3, h4 { font-weight: 600; }
.stat strong, .product-meta strong { font-family: var(--mono); font-weight: 600; }
.badge { border-radius: 3px; font-family: var(--mono); font-size: 0.6875rem; }
.balance, .copy, .chips li { border-radius: 3px; }
:lang(ar) .badge { font-family: var(--sans); font-size: 0.75rem; }
/* codes and logins in plain bright text; a blue bar marks a login code */
.cred code, .feed-code code, .toast code, .token-form input { color: var(--ink); }
.feed-item.is-code .feed-code code { padding-inline-start: 0.6rem; border-inline-start: 2px solid var(--specter); letter-spacing: 0.1em; }
.click-here, .copy:hover, .copy.done { color: var(--specter); }
.copy:hover, .copy.done { border-color: var(--specter); }
.count { background: var(--specter); color: var(--specter-ink); }

/* Compact sizes on computers only: phones keep the larger text and buttons that fingers need. */
@media (min-width: 861px) {
  html { font-size: 87.5%; }
  .app { grid-template-columns: 13.5rem minmax(0, 1fr); }
  .side { padding: 1rem 0.6rem; }
  .nav a { padding: 0.4rem 0.6rem; }
  .top { padding: 0.75rem 1.5rem; }
  .content { max-width: none; padding: 1.25rem 1.5rem 2.5rem; }
  .card { padding: 1rem 1.1rem; margin-bottom: 1rem; }
  .stats { gap: 0.7rem; margin-bottom: 1rem; }
  .stat { padding: 0.65rem 0.85rem; }
  .stat strong { font-size: 1.3rem; }
  th, td { padding: 0.45rem 0.6rem; }
  .products { grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 0.8rem; }
  .product { padding: 0.9rem; }
  .product-img { aspect-ratio: 16 / 9; }
  .feed-item { padding: 0.6rem 0; }
}
