/* ==========================================================================
   QBYTE HOST — legacy panel skin
   Loaded LAST on admin / game / VPS / checkout surfaces.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #0a0a0b;
  --bg-elevated: #0e0e10;
  --bg-panel: #0e0e10;
  --bg-panel-2: #131316;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #7c7c86;
  --accent: #2563eb;
  --accent-dim: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.22);
  --accent-soft: rgba(37, 99, 235, 0.12);
  --gold: #93c5fd;
  --gold-soft: rgba(37, 99, 235, 0.15);
  --danger: #ff6b5e;
  --ok: #34d399;
  --hg-bg: #0a0a0b;
  --hg-card: #0e0e10;
  --hg-card-2: #131316;
  --hg-line: rgba(255, 255, 255, 0.08);
  --hg-text: #f4f4f5;
  --hg-muted: #a1a1aa;
  --hg-coral: #2563eb;
  --hg-orange: #2563eb;
  --hg-pink: #93c5fd;
  --hg-purple: #3b82f6;
  --hg-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --hg-grad-btn: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --hg-radius: 2px;
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 2px;
  --ck-bg: #0a0a0b;
  --ck-bg-2: #0e0e10;
  --ck-bg-3: #131316;
  --ck-card: #0e0e10;
  --ck-line: rgba(255, 255, 255, 0.08);
  --ck-muted: #a1a1aa;
  --ck-orange: #2563eb;
  --ck-gold: #93c5fd;
  --ck-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --ck-glow: rgba(37, 99, 235, 0.28);
}

html {
  scrollbar-color: rgba(37, 99, 235, 0.55) rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  background: #2c2c33;
  border: 2px solid #0a0a0b;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

body,
body.gp-app,
body.lagom-client,
body.whmcs-admin,
body.whmcs-admin.admin-body {
  font-family: var(--font-body) !important;
  background-color: #0a0a0b !important;
  background-image: none !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body.lagom-client,
body.whmcs-admin,
body.gp-app {
  --ck-bg: #0a0a0b;
  --ck-bg-2: #0e0e10;
  --ck-bg-3: #131316;
  --ck-orange: #2563eb;
  --ck-gold: #93c5fd;
  --ck-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --ck-glow: rgba(37, 99, 235, 0.28);
  --ck-muted: #a1a1aa;
  --ck-line: rgba(255, 255, 255, 0.08);
  --whmcs-navy: #0e0e10;
  --whmcs-navy-deep: #0a0a0b;
  --whmcs-blue: #0e0e10;
  --whmcs-link: #2563eb;
  --whmcs-sidebar: rgba(10, 10, 11, 0.92);
  --whmcs-sidebar-active: #2563eb;
  --whmcs-bg: #0a0a0b;
  --whmcs-panel: #0e0e10;
  --whmcs-border: rgba(255, 255, 255, 0.08);
  --whmcs-border-soft: rgba(255, 255, 255, 0.08);
  --whmcs-warn: #2563eb;
  --whmcs-info: #2563eb;
  --whmcs-gold: #93c5fd;
  --lobby-shell: #0a0a0b;
  --lobby-panel: #0e0e10;
  --lobby-panel-2: #131316;
  --lobby-line: rgba(255, 255, 255, 0.08);
  --lobby-orange: #2563eb;
  --lobby-orange-2: #3b82f6;
  --lobby-cyan: #93c5fd;
  --lagom-bg: #0a0a0b;
  --lagom-panel: #0e0e10;
  --lagom-panel-2: #131316;
  --lagom-line: rgba(255, 255, 255, 0.08);
  --lagom-accent: #2563eb;
  --lagom-accent-2: #3b82f6;
  --gp-bg: #0a0a0b;
  --gp-side: #0a0a0b;
  --gp-card: #0e0e10;
  --gp-card-2: #131316;
  --gp-line: rgba(255, 255, 255, 0.08);
  --gp-muted: #a1a1aa;
  --gp-coral: #2563eb;
  --gp-pink: #93c5fd;
  --gp-purple: #3b82f6;
  --gp-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --gp-grad-btn: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --gp-warn: #2563eb;
  --gp-gold: #93c5fd;
  --gp-radius: 2px;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
}

html.is-ar body,
html.is-ar body.lagom-client,
html.is-ar body.whmcs-admin,
html.is-ar body.gp-app {
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.035em;
}

/* Accent buttons */
.btn--primary,
a.btn--primary,
button.btn--primary,
.gp-btn--primary,
.lobby-btn--primary,
.lagom-btn--primary,
.whmcs-btn--primary,
.login-btn--primary,
.a-primary,
a.a-primary,
button.a-primary {
  background: #2563eb !important;
  background-image: none !important;
  color: #050506 !important;
  border: 1px solid #2563eb !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-family: var(--font-mono) !important;
  font-size: 0.64rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.btn--primary:hover,
a.btn--primary:hover,
button.btn--primary:hover,
.gp-btn--primary:hover,
.lobby-btn--primary:hover,
.lagom-btn--primary:hover,
.whmcs-btn--primary:hover,
.login-btn--primary:hover,
.a-primary:hover {
  background: #3b82f6 !important;
  border-color: #3b82f6 !important;
  color: #050506 !important;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.3) !important;
}

a:hover {
  color: #2563eb;
}

::selection {
  background: rgba(37, 99, 235, 0.55);
  color: #fff;
}

/* Blue ambient layers are out. */
[class*="ambient"],
[class*="glow-orb"] {
  display: none !important;
}

body,
.gp-ambient,
.lobby-ambient,
.gp-ambient__orb,
.lobby-ambient__orb {
  background-image: none !important;
}

/* Hairlines, not shadows. */
body * {
  box-shadow: none !important;
}

body *:not(svg):not(img):not([class*="avatar"]):not([class*="dot"]):not([class*="status"]):not([class*="spinner"]):not([class*="orb"]):not([class*="ring"]):not([class*="badge"]) {
  border-radius: 2px !important;
}

.card,
.auth-box,
.login-shell,
.gp-card,
.lagom-card,
.whmcs-panel,
.lobby-card,
.lobby-top,
.panel,
.modal,
.dialog {
  background: #0e0e10 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

input,
select,
textarea {
  background: #0e0e10 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 2px !important;
  color: #f4f4f5 !important;
  font-family: var(--font-body) !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid #2563eb !important;
  outline-offset: 2px;
  border-color: #2563eb !important;
}

/* Keep brand text visible where the old skin hid it. */
.gp-side__brand-text,
.lobby-brand__text,
.lagom-sidebar__brand,
.logo__text,
.login-brand__copy,
.auth-box__brand {
  display: flex !important;
  color: #f4f4f5 !important;
}

.logo__mark,
.login-brand__logo,
.auth-box__logo,
.lobby-brand img,
.lagom-sidebar__logo img,
.gp-brand img,
.gp-sidebrand img {
  width: auto !important;
  max-height: 38px;
  height: 38px !important;
  object-fit: contain;
}

/* Higher-specificity panel declarations from the legacy skins. */
body.whmcs-admin.admin-body {
  --ck-bg: #0a0a0b;
  --ck-bg-2: #0e0e10;
  --ck-bg-3: #131316;
  --ck-orange: #2563eb;
  --ck-gold: #93c5fd;
  --ck-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --ck-glow: rgba(37, 99, 235, 0.28);
  --ck-muted: #a1a1aa;
  --ck-line: rgba(255, 255, 255, 0.08);
  --whmcs-link: #2563eb;
  --whmcs-sidebar-active: #2563eb;
  --whmcs-border: rgba(255, 255, 255, 0.08);
  --whmcs-border-soft: rgba(255, 255, 255, 0.08);
  --whmcs-panel: #0e0e10;
  --font-body: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  background-color: #0a0a0b !important;
  background-image: none !important;
  color: #f4f4f5;
  font-family: var(--font-body) !important;
}

body.gp-app,
body.lagom-client {
  --gp-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --gp-grad-btn: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --ck-grad: linear-gradient(0deg, #2563eb 0%, #2563eb 100%);
  --ck-orange: #2563eb;
  --ck-gold: #93c5fd;
  background-image: none !important;
}

.logo__mark,
.login-brand__logo,
.auth-box__logo,
.lobby-brand img,
.lagom-sidebar__logo img,
.gp-brand img,
.gp-sidebrand img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.admin-badge,
.user-chip__role,
.lang-switch__btn {
  border-radius: 2px !important;
}

body.whmcs-admin .logo__mark,
body.whmcs-client .logo__mark,
body.gp-app .gp-brand img,
body.gp-app .gp-sidebrand img {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* QByte logo: bare mark, no frame or background behind it. */
img[src="/images/qbyte-mark.png"],
img[src="/images/qbyte-logo.png"] {
  border: 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
