:root {
  --bg0: #02060c;
  --bg1: #0a1624;
  --bg2: #10243a;
  --panel: rgba(10, 18, 28, 0.82);
  --panel2: rgba(6, 12, 18, 0.92);
  --card: rgba(12, 22, 34, 0.88);
  --card2: rgba(14, 26, 40, 0.94);
  --border: rgba(245, 196, 81, 0.28);
  --border-soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #faf8f2;
  --muted: #c5d0dc;
  --cyan: #ffd166;
  --cyan-dim: #d4a017;
  --gold: #ffd166;
  --gold2: #ffe9a8;
  --accent: #ffd166;
  --pink: #34d399;
  --purple: #8a8478;
  --green: #34d399;
  --red: #e05a5a;
  --amber: #fde68a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: "Bricolage Grotesque", "Syne", system-ui, sans-serif;
  --font-body: "Manrope", "Sora", system-ui, sans-serif;
  --display-tracking: -0.03em;
  --glow-a: rgba(245, 196, 81, 0.28);
  --glow-b: rgba(52, 211, 153, 0.16);
  --glow-c: rgba(184, 130, 27, 0.18);
  --scroll-thumb: rgba(245, 196, 81, 0.5);
  --scroll-thumb-hover: rgba(253, 230, 138, 0.7);
  --pattern-line: color-mix(in srgb, var(--gold) 12%, transparent);
}

/* ——— Skins: vivid palettes, clear contrast vs Studio Gold ——— */

/* Magenta + electric cyan */
html[data-skin="neon-void"] {
  --bg0: #09060f;
  --bg1: #160a22;
  --bg2: #241038;
  --panel: rgba(28, 10, 42, 0.88);
  --panel2: rgba(18, 6, 30, 0.94);
  --card: rgba(32, 12, 48, 0.9);
  --card2: rgba(40, 16, 58, 0.95);
  --border: rgba(255, 46, 180, 0.45);
  --line: rgba(255, 120, 220, 0.2);
  --text: #fff5fb;
  --muted: #d4a8c8;
  --cyan: #2ee6ff;
  --cyan-dim: #00b8d4;
  --gold: #ff2eb4;
  --gold2: #ff8ad8;
  --accent: #ff2eb4;
  --pink: #ff5ec8;
  --purple: #b44dff;
  --green: #2ee6ff;
  --amber: #ffe066;
  --glow-a: rgba(255, 46, 180, 0.28);
  --glow-b: rgba(46, 230, 255, 0.22);
  --glow-c: rgba(180, 77, 255, 0.2);
  --scroll-thumb: rgba(255, 46, 180, 0.55);
  --scroll-thumb-hover: rgba(46, 230, 255, 0.65);
  --font-display: "Space Grotesk", "Bricolage Grotesque", sans-serif;
  --display-tracking: -0.02em;
  --radius: 10px;
  --pattern-line: color-mix(in srgb, var(--gold) 16%, transparent);
}

/* Lime / tropical green */
html[data-skin="cyber-mint"] {
  --bg0: #03140a;
  --bg1: #0a2414;
  --bg2: #123820;
  --panel: rgba(8, 36, 20, 0.9);
  --panel2: rgba(4, 24, 12, 0.95);
  --card: rgba(12, 42, 24, 0.92);
  --card2: rgba(16, 52, 30, 0.96);
  --border: rgba(80, 255, 140, 0.42);
  --line: rgba(120, 255, 170, 0.18);
  --text: #f0fff5;
  --muted: #8fd4a8;
  --cyan: #50ff8c;
  --cyan-dim: #22c55e;
  --gold: #a3ff12;
  --gold2: #d4ff70;
  --accent: #a3ff12;
  --pink: #50ff8c;
  --green: #22c55e;
  --amber: #d4ff70;
  --glow-a: rgba(163, 255, 18, 0.26);
  --glow-b: rgba(80, 255, 140, 0.2);
  --glow-c: rgba(34, 197, 94, 0.18);
  --scroll-thumb: rgba(163, 255, 18, 0.5);
  --scroll-thumb-hover: rgba(80, 255, 140, 0.7);
  --font-display: "Outfit", "Bricolage Grotesque", sans-serif;
  --display-tracking: -0.04em;
  --radius: 16px;
  --pattern-line: color-mix(in srgb, var(--gold) 14%, transparent);
}

/* Hot coral / lava orange */
html[data-skin="mars-ember"] {
  --bg0: #140504;
  --bg1: #2a0c08;
  --bg2: #3e140c;
  --panel: rgba(42, 12, 8, 0.9);
  --panel2: rgba(28, 8, 6, 0.95);
  --card: rgba(48, 14, 10, 0.92);
  --card2: rgba(58, 18, 12, 0.96);
  --border: rgba(255, 90, 40, 0.48);
  --line: rgba(255, 140, 70, 0.2);
  --text: #fff4ee;
  --muted: #e0a890;
  --cyan: #ff6b35;
  --cyan-dim: #e03e00;
  --gold: #ff9f1c;
  --gold2: #ffd166;
  --accent: #ff6b35;
  --pink: #ff4d6d;
  --red: #ff3b30;
  --amber: #ffbf00;
  --glow-a: rgba(255, 107, 53, 0.3);
  --glow-b: rgba(255, 159, 28, 0.24);
  --glow-c: rgba(255, 77, 109, 0.18);
  --scroll-thumb: rgba(255, 107, 53, 0.55);
  --scroll-thumb-hover: rgba(255, 159, 28, 0.7);
  --font-display: "Bricolage Grotesque", sans-serif;
  --display-tracking: -0.01em;
  --radius: 8px;
  --pattern-line: color-mix(in srgb, var(--gold) 15%, transparent);
}

/* Ocean electric blue */
html[data-skin="holo-ice"] {
  --bg0: #030b18;
  --bg1: #071a32;
  --bg2: #0c2848;
  --panel: rgba(8, 28, 52, 0.9);
  --panel2: rgba(4, 16, 34, 0.95);
  --card: rgba(10, 34, 60, 0.92);
  --card2: rgba(14, 42, 72, 0.96);
  --border: rgba(56, 189, 255, 0.45);
  --line: rgba(100, 210, 255, 0.2);
  --text: #f0f9ff;
  --muted: #8ab4d4;
  --cyan: #38bdff;
  --cyan-dim: #0ea5e9;
  --gold: #22d3ee;
  --gold2: #a5f3fc;
  --accent: #38bdff;
  --pink: #67e8f9;
  --purple: #818cf8;
  --green: #2dd4bf;
  --amber: #a5f3fc;
  --glow-a: rgba(56, 189, 255, 0.28);
  --glow-b: rgba(34, 211, 238, 0.22);
  --glow-c: rgba(129, 140, 248, 0.18);
  --scroll-thumb: rgba(56, 189, 255, 0.55);
  --scroll-thumb-hover: rgba(34, 211, 238, 0.7);
  --font-display: "Space Grotesk", "Outfit", sans-serif;
  --display-tracking: -0.035em;
  --radius: 14px;
  --pattern-line: color-mix(in srgb, var(--gold) 14%, transparent);
}

/* Royal violet */
html[data-skin="royal-violet"] {
  --bg0: #0c0618;
  --bg1: #1a0c30;
  --bg2: #2a1450;
  --panel: rgba(28, 12, 52, 0.9);
  --panel2: rgba(16, 6, 36, 0.95);
  --card: rgba(36, 16, 64, 0.92);
  --card2: rgba(44, 20, 76, 0.96);
  --border: rgba(168, 85, 247, 0.5);
  --line: rgba(192, 132, 252, 0.22);
  --text: #faf5ff;
  --muted: #c4b0e0;
  --cyan: #c084fc;
  --cyan-dim: #9333ea;
  --gold: #e879f9;
  --gold2: #f5d0fe;
  --accent: #a855f7;
  --pink: #f472b6;
  --purple: #7c3aed;
  --green: #c084fc;
  --amber: #f0abfc;
  --glow-a: rgba(168, 85, 247, 0.3);
  --glow-b: rgba(232, 121, 249, 0.22);
  --glow-c: rgba(244, 114, 182, 0.18);
  --scroll-thumb: rgba(168, 85, 247, 0.55);
  --scroll-thumb-hover: rgba(232, 121, 249, 0.7);
  --font-display: "Outfit", "Bricolage Grotesque", sans-serif;
  --display-tracking: -0.025em;
  --radius: 20px;
  --pattern-line: color-mix(in srgb, var(--gold) 14%, transparent);
}

/* Sunset rose / hot pink */
html[data-skin="sunset-rose"] {
  --bg0: #14060c;
  --bg1: #2a0c18;
  --bg2: #401020;
  --panel: rgba(42, 10, 24, 0.9);
  --panel2: rgba(28, 6, 16, 0.95);
  --card: rgba(50, 12, 28, 0.92);
  --card2: rgba(60, 16, 34, 0.96);
  --border: rgba(251, 113, 133, 0.5);
  --line: rgba(253, 164, 175, 0.22);
  --text: #fff1f5;
  --muted: #e8a8b8;
  --cyan: #fb7185;
  --cyan-dim: #e11d48;
  --gold: #fb7185;
  --gold2: #fda4af;
  --accent: #f43f5e;
  --pink: #fb7185;
  --purple: #e879f9;
  --green: #fb7185;
  --amber: #fda4af;
  --red: #e11d48;
  --glow-a: rgba(244, 63, 94, 0.3);
  --glow-b: rgba(251, 113, 133, 0.24);
  --glow-c: rgba(232, 121, 249, 0.16);
  --scroll-thumb: rgba(244, 63, 94, 0.55);
  --scroll-thumb-hover: rgba(251, 113, 133, 0.7);
  --font-display: "Bricolage Grotesque", sans-serif;
  --display-tracking: -0.02em;
  --radius: 22px;
  --pattern-line: color-mix(in srgb, var(--gold) 14%, transparent);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg0);
  background-image:
    radial-gradient(ellipse 70% 55% at 12% -5%, var(--glow-a), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 8%, var(--glow-b), transparent 52%),
    radial-gradient(ellipse 50% 40% at 70% 100%, var(--glow-c), transparent 55%),
    url("../img/bg-aurvip.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) rgba(255, 255, 255, 0.04);
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}
*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 2px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  background-clip: padding-box;
}

/* Atmosphere layers on top of brand backdrop */
.orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter: none;
  border-radius: 0;
  animation: none;
}
.orb-a {
  inset: 0;
  width: auto;
  height: auto;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(245, 196, 81, 0.018) 14px,
      rgba(245, 196, 81, 0.018) 15px
    );
  opacity: 0.9;
  mix-blend-mode: soft-light;
}
.orb-b {
  width: min(820px, 78vw);
  height: min(820px, 78vw);
  top: -16%;
  right: -10%;
  background:
    radial-gradient(circle at 40% 40%, var(--glow-a), transparent 58%),
    radial-gradient(circle at 70% 60%, var(--glow-b), transparent 62%);
  filter: blur(36px);
  opacity: 0.95;
  animation: bgPulse 12s ease-in-out infinite alternate;
}
.orb-c {
  display: block;
  width: min(600px, 62vw);
  height: min(600px, 62vw);
  bottom: -10%;
  left: -6%;
  background: radial-gradient(circle, var(--glow-c), transparent 70%);
  filter: blur(28px);
  opacity: 0.9;
  animation: bgPulse 16s ease-in-out infinite alternate-reverse;
}

@keyframes bgPulse {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  to { transform: translate3d(-18px, 14px, 0) scale(1.06); opacity: 1; }
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(ellipse 85% 70% at 50% 40%, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  mix-blend-mode: normal;
}

.bg-watermark {
  position: fixed;
  right: 2%;
  bottom: 3%;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: rgba(255, 209, 102, 0.1);
  -webkit-text-stroke: 1.25px rgba(255, 209, 102, 0.28);
  opacity: 0.85;
  transform: rotate(-8deg);
  user-select: none;
  max-width: 48vw;
  text-shadow: none;
  filter: none;
}
.bg-watermark span {
  display: block;
  color: rgba(52, 211, 153, 0.2);
  -webkit-text-stroke: 0;
  font-size: 0.3em;
  letter-spacing: 0.28em;
  margin-top: 0.4em;
  font-weight: 800;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 48px;
}

.page-login {
  justify-content: center;
  min-height: calc(100vh - 100px);
  min-height: calc(100dvh - 100px);
  padding: 28px 16px 48px;
}

.login-shell {
  width: min(1080px, 100%);
  display: grid;
  gap: 28px;
  align-items: center;
  justify-items: stretch;
  margin: 0 auto;
}
@media (min-width: 860px) {
  .login-shell { grid-template-columns: 1fr 1fr; gap: 42px; }
}

.login-hero {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 860px) {
  .login-hero { text-align: left; align-items: flex-start; }
}

.logo-ring {
  width: 56px;
  height: 56px;
  margin: 0 0 22px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--gold);
  box-shadow: none;
  transform: skewX(-6deg);
}
@media (max-width: 859px) {
  .login-hero .logo-ring { margin: 0 auto 22px; }
}
.logo-ring svg {
  width: 26px;
  height: 26px;
  fill: #1a1200;
  filter: none;
  transform: skewX(6deg);
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: unset;
}
.brand-title .brand-accent {
  color: #5ec8ff;
}

.brand-sub {
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.badge-pill {
  display: inline-block;
  margin: 12px 0 0;
  padding: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid var(--gold);
  color: var(--muted);
  padding-bottom: 3px;
}

.hero-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 380px;
}
@media (max-width: 859px) {
  .hero-copy { margin: 18px auto 0; }
}

.hero-features {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  list-style: none;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  opacity: 0.88;
}
.hero-features li::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 0;
  background: var(--gold);
  box-shadow: none;
  flex-shrink: 0;
}

.card {
  width: min(440px, 100%);
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.card-wide { width: 100%; max-width: none; }
.card-wide::before { display: none; }

.card-head {
  text-align: left;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  background: var(--panel2);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.18);
  background: var(--panel2);
}

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: 32px;
  padding: 0 8px;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: #1a1200;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.35), 0 10px 26px rgba(255, 209, 102, 0.2);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-1px) scale(1.015); background: var(--gold2); filter: none; box-shadow: 0 0 0 1px rgba(255, 233, 168, 0.5), 0 14px 32px rgba(255, 209, 102, 0.3); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-ghost, .btn-sm {
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(212,160,23,.35); color: var(--gold2); transform: translateY(-1px); }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-sm:active, .btn-ghost:active, .btn-primary:active { transform: scale(0.98); }
.btn-danger { border-color: rgba(224,90,90,.4); color: var(--red); }
.btn-gold {
  background: var(--gold);
  color: #1a1200;
  border: none;
  font-weight: 700;
  box-shadow: none;
}
.btn-gold-outline {
  border-color: rgba(212, 160, 23, 0.45);
  color: var(--gold2);
  background: rgba(212, 160, 23, 0.08);
}
.btn-gold-outline:hover {
  background: rgba(212, 160, 23, 0.16);
  border-color: rgba(212, 160, 23, 0.65);
}

.error {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 4px;
  background: rgba(224,90,90,.1);
  border: 1px solid rgba(224,90,90,.35);
  color: #f5c0c0;
  font-size: 13px;
  line-height: 1.45;
}

.success {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 4px;
  background: rgba(111,191,138,.1);
  border: 1px solid rgba(111,191,138,.32);
  color: #b8e6c8;
  font-size: 13px;
}

.hidden { display: none !important; }

.hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— App shell + sidebar ——— */
.app-shell {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  /* Reserve space so fixed sidebar never pushes content under it */
  padding-left: 260px;
  overflow: visible;
}

.sidebar {
  width: 260px;
  background:
    linear-gradient(180deg, rgba(12, 22, 34, 0.98) 0%, rgba(4, 10, 16, 0.99) 42%, rgba(3, 8, 14, 1) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  /* Fixed vs sticky — stays put while MAC list / search scrolls */
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  z-index: 40;
}

.sidebar-banner {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050a10;
  max-height: 64px;
  height: 64px;
}
.sidebar-banner img {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: cover;
  object-position: center left;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 18px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.22);
  flex-shrink: 0;
  background:
    linear-gradient(135deg, rgba(212, 160, 23, 0.1) 0%, transparent 58%),
    rgba(4, 10, 16, 0.98);
  position: relative;
}
.sidebar-brand::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(212, 160, 23, 0.15) 70%, transparent 100%);
  border-radius: 1px;
}
.sidebar-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  text-shadow: 0 0 28px rgba(212, 160, 23, 0.28);
}
.sidebar-brand strong .brand-accent {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 160, 23, 0.45);
}
.sidebar-brand span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.sidebar-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(212, 160, 23, 0.45),
    0 0 16px rgba(0, 174, 239, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.35);
}
.sidebar-logo {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
}
.sidebar-logo svg { width: 16px; height: 16px; }

.login-banner {
  display: none;
}
.login-side-banner {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 168px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
@media (max-width: 859px) {
  .login-side-banner {
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
    max-height: 148px;
  }
}

.page-login .card {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 32px 30px 28px;
}
@media (min-width: 860px) {
  .page-login .card { margin: 0; }
}

.page-login .hero-copy {
  margin-top: 16px;
  font-size: 15px;
  max-width: 420px;
}
.page-login .hero-features {
  margin-top: 20px;
  width: 100%;
  max-width: 420px;
}
@media (max-width: 859px) {
  .page-login .hero-copy,
  .page-login .hero-features { margin-left: auto; margin-right: auto; }
}

/* hide old full-width landing banner */
.landing-banner-wrap { display: none !important; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 10px 20px;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  justify-content: flex-start;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-section-label {
  margin: 0 0 2px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 75%, #fff);
  opacity: 0.85;
}
.sidebar-section + .sidebar-section {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #f4f7fb;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
  position: relative;
  white-space: nowrap;
}
.sidebar-link-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.sidebar-ico svg,
.sidebar-link svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar-link:hover {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border-color: color-mix(in srgb, var(--gold) 22%, transparent);
  color: #fff;
  transform: translateX(2px);
}
.sidebar-link:hover .sidebar-ico {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
  color: #ffe9a8;
}
.sidebar-link.active {
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 28%, transparent), color-mix(in srgb, var(--gold) 6%, transparent));
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  color: #fff8e0;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 10%, transparent),
    0 8px 22px rgba(0, 0, 0, 0.22);
}
.sidebar-link.active .sidebar-ico {
  background: color-mix(in srgb, var(--gold) 28%, transparent);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  color: #1a1200;
  box-shadow: 0 0 16px color-mix(in srgb, var(--gold) 35%, transparent);
}
.sidebar-link.active .sidebar-ico svg {
  stroke: #1a1200;
}
.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px color-mix(in srgb, var(--gold) 70%, transparent);
}
.sidebar-link .nav-msg-badge {
  margin-left: auto;
}

.main-area {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 40px;
  overflow: visible;
}

.content-area {
  flex: 1;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.view { display: none; }
.view.active {
  display: block;
  animation: viewIn 320ms ease both;
  min-height: 40vh;
}
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Home dashboard (Dragon style) ——— */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .dash-grid { grid-template-columns: 1fr; }
}

.dash-card {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 12px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    var(--panel);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 18%, transparent),
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  min-height: 112px;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.dash-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.22), transparent 40%, rgba(52, 211, 153, 0.08) 100%);
  opacity: 0.35;
  mix-blend-mode: soft-light;
}
.dash-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent),
    0 18px 36px rgba(0, 0, 0, 0.35),
    0 0 28px color-mix(in srgb, var(--gold) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dash-card-label {
  display: block;
  position: relative;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.dash-card-value {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  text-shadow: 0 0 24px color-mix(in srgb, var(--gold) 18%, transparent);
}
.dash-card-sub {
  display: block;
  position: relative;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.dash-card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.35));
}
.dash-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-expires-card {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.home-section-title {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.home-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.home-page-size,
.home-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-page-size select,
.home-search input {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  background: var(--panel2);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.home-search input { min-width: 180px; }
.home-table { border: none; border-radius: 0; background: transparent; }
.home-table th {
  background: var(--panel2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
}
.home-table td { font-size: 13px; }
.home-table-footer {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.table-footer-meta { flex: 1 1 auto; }
.table-pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.table-pager-label {
  min-width: 5.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.btn-table-page {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.btn-table-page:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-table-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ——— Resellers page (Dragon style) ——— */
.resellers-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.resellers-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.resellers-page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.btn-reseller-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background: #c0392b;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-reseller-add:hover { background: #e74c3c; }

#resellers-table th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
#resellers-table th .sort-arrows {
  opacity: 0.45;
  font-size: 10px;
  margin-left: 4px;
}
#resellers-table th.sorted .sort-arrows { opacity: 1; color: var(--gold); }

.reseller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-reseller-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: none;
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}
.btn-reseller-edit { background: #6b3a2e; }
.btn-reseller-edit:hover { background: #7d4536; }
.btn-reseller-enter { background: #0d9488; }
.btn-reseller-enter:hover { background: #14b8a6; }
.btn-reseller-enter:disabled { opacity: 0.6; cursor: wait; }
.btn-reseller-credits { background: var(--gold); color: #1a1200; }
.btn-reseller-credits:hover { background: var(--gold2); }
.btn-reseller-delete { background: #dc2626; }
.btn-reseller-delete:hover { background: #ef4444; }

.admin-impersonate-banner {
  margin: 0 18px 4px;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.28), rgba(234, 88, 12, 0.14));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.admin-impersonate-banner.hidden {
  display: none !important;
}
.admin-impersonate-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  flex-wrap: wrap;
}
.admin-impersonate-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.admin-impersonate-banner-text strong {
  font-size: 13px;
  color: #fde68a;
}
.admin-impersonate-banner-text span {
  font-size: 13px;
  color: #fff7ed;
}
#admin-impersonate-back {
  font-weight: 700;
  white-space: nowrap;
}

/* ——— Add account page ——— */
.add-account-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.add-account-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.add-account-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.add-account-form {
  padding: 18px;
}
.add-account-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.add-account-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.add-account-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .add-account-grid-3,
  .add-account-grid-2 { grid-template-columns: 1fr; }
}
.add-field label {
  display: block;
  font-size: 13px;
  color: #c5d4ef;
  margin-bottom: 6px;
}
.field-error-msg {
  display: block;
  color: #ff5c5c;
  font-size: 12px;
  margin-bottom: 6px;
}
.field-input-wrap {
  position: relative;
}
.add-field input,
.add-field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel2);
  color: #eef4ff;
  font: inherit;
  font-size: 14px;
}
.add-field input.input-invalid,
.add-field select.input-invalid {
  border-color: #ff5c5c;
  box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.25);
}
.field-error-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff5c5c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.add-field select { appearance: auto; }
.pw-toggle-inline {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #8fa3c7;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}
.add-field input[type="password"],
.add-field input[data-has-toggle="1"] {
  padding-right: 42px;
}
.password-rules {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 13px;
  color: #8fa3c7;
}
.password-rules li { margin: 4px 0; }
.password-rules li::before { content: "- "; }
.password-rules li.ok { color: #34d399; }
/* ——— MAC List page ——— */
.mac-list-page {
  padding: 0;
  overflow: visible;
  background: var(--panel);
  border: 1px solid var(--line);
  width: 100%;
  max-width: none !important;
}
.mac-list-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.mac-list-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
#mac-list-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  max-height: none;
  min-height: 240px;
  border: none;
  border-radius: 0;
  background: transparent;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
#mac-list-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
#mac-list-table th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel2);
}
#mac-list-table th .sort-arrows {
  opacity: 0.45;
  font-size: 10px;
  margin-left: 4px;
}
#mac-list-table th.sorted .sort-arrows { opacity: 1; color: var(--gold); }
#mac-list-table td {
  color: var(--text);
  vertical-align: middle;
  white-space: nowrap;
}
/* Keep Actions stuck to the right edge of the scroll area */
#mac-list-table th:last-child,
#mac-list-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 4;
  background: #0c1218;
  box-shadow: -10px 0 18px rgba(0, 0, 0, 0.45);
  min-width: 168px;
  width: 168px;
  padding: 10px 12px;
}
#mac-list-table th:last-child {
  z-index: 5;
  background: var(--panel2);
  cursor: default;
}
#view-mac-list.view.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
}

.mac-row-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 140px;
}
.btn-mac-action {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  width: 100%;
}
.btn-mac-action span { font-size: 12px; }
.btn-mac-edit {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.btn-mac-edit:hover { background: #3b82f6; }
.btn-mac-playlist,
.btn-mac-details {
  background: transparent;
  color: #93c5fd;
  border-color: #2563eb;
}
.btn-mac-playlist:hover,
.btn-mac-details:hover {
  background: rgba(37, 99, 235, 0.12);
}
.btn-mac-renew {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
}
.btn-mac-renew:hover { background: var(--gold2); }
.btn-mac-delete {
  background: #7f1d1d;
  color: #fecaca;
  border-color: #dc2626;
}
.btn-mac-delete:hover {
  background: #dc2626;
  color: #fff;
}

.mac-details-body {
  display: grid;
  gap: 10px;
}
.mac-details-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mac-details-row span { color: var(--muted); }
.mac-details-row b { word-break: break-word; }
.mac-details-row.mac-details-pin {
  align-items: center;
  padding: 12px 10px;
  margin: 4px 0 8px;
  border: 1px solid color-mix(in srgb, var(--amber, #fde68a) 55%, transparent);
  border-radius: 8px;
  border-bottom-color: color-mix(in srgb, var(--amber, #fde68a) 55%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--amber, #fde68a) 18%, transparent), transparent 70%),
    rgba(0, 0, 0, 0.25);
}
.mac-details-row.mac-details-pin span {
  color: var(--amber, #fde68a);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.mac-details-row.mac-details-pin b,
.mac-details-row .pin-reveal-value {
  color: var(--amber, #fde68a);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 18px color-mix(in srgb, var(--amber, #fde68a) 45%, transparent);
}
.pin-reveal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--amber, #fde68a) 55%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--amber, #fde68a) 20%, transparent), transparent 65%),
    rgba(0, 0, 0, 0.28);
}
.pin-reveal.hidden { display: none !important; }
.pin-reveal-label {
  color: var(--amber, #fde68a);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pin-reveal-value {
  color: var(--amber, #fde68a);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.mac-details-confirm {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.45);
  background: rgba(127, 29, 29, 0.35);
}
.mac-details-confirm p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #fecaca;
}

/* ——— DNS Mass Edit ——— */
.dns-mass-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.dns-mass-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.dns-mass-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.dns-mass-form {
  padding: 18px;
  max-width: 720px;
}
.dns-mass-form .add-field {
  margin-bottom: 16px;
}
.dns-mass-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.btn-dns-check {
  padding: 10px 18px;
  border-radius: 4px;
  border: none;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-dns-check:hover { background: #3b82f6; }
.btn-dns-check:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-dns-apply {
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1200;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-dns-apply:hover { background: var(--gold2); }
.btn-dns-apply:disabled { opacity: 0.55; cursor: not-allowed; }
.dns-mass-results {
  padding: 0 18px 18px;
}
.dns-mass-summary {
  margin: 0 0 12px;
  font-size: 13px;
  color: #c5d4ef;
}
.dns-mass-info {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.08);
  color: #e8eefc;
}
.dns-mass-info-done {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.1);
}
.dns-mass-info-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: #ffe6a8;
}
.dns-mass-info-done .dns-mass-info-title {
  color: #a7f3d0;
}
.dns-mass-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.dns-mass-info-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(8, 14, 28, 0.35);
}
.dns-mass-info-grid strong {
  font-size: 1.35rem;
  line-height: 1.1;
  color: #fff;
}
.dns-mass-info-grid span {
  font-size: 11px;
  color: #9eb0d0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dns-mass-info-detail {
  margin: 0 0 6px;
  font-size: 13px;
  color: #c5d4ef;
  word-break: break-all;
}
.dns-mass-info-detail:last-child {
  margin-bottom: 0;
}
.dns-mass-info-ok {
  margin: 8px 0 0;
  font-size: 13px;
  color: #86efac;
  font-weight: 600;
}
.dns-mass-info-fail {
  margin: 8px 0 0;
  font-size: 13px;
  color: #fca5a5;
  word-break: break-all;
}
@media (max-width: 640px) {
  .dns-mass-info-grid {
    grid-template-columns: 1fr;
  }
}

.dns-url-cell {
  font-size: 12px;
  max-width: 280px;
  word-break: break-all;
  color: #8fa3c7;
}
.dns-url-new { color: #93c5fd; }
.dns-mass-select-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #c5d4ef;
}
.dns-mass-check-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
}
.dns-check-col {
  width: 36px;
  text-align: center;
  vertical-align: middle;
}
.dns-check-col input,
.dns-mass-check-all input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold, #ffd166);
  cursor: pointer;
}

/* ——— News page ——— */
.news-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.news-page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.news-page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-news-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  color: #fff;
}
.btn-news-edit,
.btn-news-delete {
  background: #dc2626;
  border-color: #dc2626;
}
.btn-news-edit:hover,
.btn-news-delete:hover {
  background: #ef4444;
}
.news-modal-body {
  padding: 0 4px;
}
.news-modal-body .add-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel2);
  color: #eef4ff;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 96px;
}

.add-account-actions {
  margin-top: 8px;
}

.sidebar-toggle {
  display: none;
}

.topbar {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  padding: 12px 0 16px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-left h1 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  background: linear-gradient(105deg, #fff8e8 0%, var(--gold2) 45%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 209, 102, 0.22));
}
.topbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(0, 174, 239, 0.35),
    0 0 16px rgba(255, 209, 102, 0.28),
    0 0 10px rgba(0, 174, 239, 0.18);
}
.topbar-meta { font-size: 13.5px; color: #e8eef6; margin-top: 3px; letter-spacing: 0.03em; font-weight: 600; }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.topbar-quicknav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 10px;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  background: color-mix(in srgb, var(--gold) 12%, rgba(0, 0, 0, 0.25));
  color: #fff8e8;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.topbar-pill svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  color: inherit;
}
.topbar-pill:hover {
  border-color: color-mix(in srgb, var(--gold) 70%, transparent);
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 22%, transparent);
}
.topbar-pill.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #1a1200;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent), 0 8px 20px color-mix(in srgb, var(--gold) 28%, transparent);
}
.topbar-pill.is-active svg {
  color: #1a1200;
}
.topbar-pill:active {
  transform: none;
}

/* Landing header (login / upload start pages) */
.landing-top {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 32px));
  margin: 14px auto 0;
}
.landing-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.landing-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.35), 0 0 12px rgba(245, 196, 81, 0.12);
}
.landing-brand strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 0 20px rgba(255, 209, 102, 0.25);
}
.landing-brand strong .brand-accent { color: var(--gold); }
.landing-brand > div > span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1200;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.landing-banner-wrap {
  margin-top: 8px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  background: #050a10;
  max-height: 64px;
  height: 64px;
}
.landing-banner {
  display: block;
  width: 100%;
  height: 64px !important;
  max-height: 64px !important;
  object-fit: cover;
  object-position: center left;
}
.landing-nav {
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 860px) {
  .landing-banner-wrap,
  .landing-banner { height: 52px !important; max-height: 52px !important; }
  .landing-nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .topbar-quicknav {
    display: none;
  }
}

.stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.stat {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--card2);
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.stat b { display: block; font-size: 1.75rem; margin-top: 6px; font-weight: 800; }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

.card-wide { width: 100%; max-width: none; }

.form-card h2, .list-card h2 {
  font-size: 1.02rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all .12s;
}
.tab.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34,211,238,.08);
}

.source-block.hidden { display: none; }

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(0,0,0,.18);
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
th {
  color: var(--muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(255,255,255,.02);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.025); }

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--gold2);
  letter-spacing: .06em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
}
.status.active { color: var(--green); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.1); }
.status.expired { color: var(--amber); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.1); }
.status.suspended { color: var(--red); border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.1); }

.search-row { display: flex; gap: 10px; margin-bottom: 14px; }
.search-row input { flex: 1; }

/* ——— Check MAC ——— */
.check-mac-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.check-mac-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.check-mac-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.check-mac-search {
  padding: 18px 18px 0;
  max-width: 720px;
}
.check-mac-label {
  display: block;
  font-size: 13px;
  color: #c5d4ef;
  margin-bottom: 8px;
}
.check-mac-row {
  margin-bottom: 0;
}
.check-mac-row input {
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel2);
  color: #eef4ff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.btn-check-mac-search {
  padding: 11px 22px;
  border-radius: 4px;
  border: none;
  background: var(--gold2);
  color: #1a1200;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.btn-check-mac-search:hover { background: #f5cc3a; }
.check-mac-hint {
  margin: 14px 18px;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c5d4ef;
  font-size: 14px;
  text-align: center;
}
#check-mac-result {
  padding: 0 18px 18px;
}

/* ——— Credits History ——— */
.credits-history-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.credits-history-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.credits-history-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

/* ——— Orders ——— */
.orders-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.orders-page-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.orders-page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.credit-packs {
  padding: 16px 18px 8px;
  border-bottom: 1px solid var(--line);
}
.credit-packs-head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.credit-packs-head p {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.credit-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.credit-pack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  background: var(--panel2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.credit-pack--best {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.2);
}
.credit-pack-credits {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.credit-pack-credits span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.credit-pack-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold2);
}
.credit-pack-hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  min-height: 2.2em;
}
.btn-credit-pack {
  margin-top: 4px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1200;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.btn-credit-pack:hover { background: var(--gold2); }
.btn-credit-pack:disabled {
  opacity: 0.55;
  cursor: wait;
}
.credit-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.credit-pack-actions .btn-credit-pack {
  margin-top: 0;
  flex: 1 1 auto;
}
.btn-paypal-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0070ba;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.btn-paypal-pack:hover { background: #005ea6; color: #fff !important; }
.credit-pack-admin-note {
  margin-top: 4px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.credit-pack-msg {
  margin: 12px 0 4px;
  font-size: 0.85rem;
}
.credit-pack-msg.ok { color: #34d399; }
.credit-pack-msg.error { color: #f87171; }
.order-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-order-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 4px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  color: #fff;
}
.btn-order-edit {
  background: #2563eb;
  border-color: #2563eb;
}
.btn-order-edit:hover { background: #3b82f6; }
.btn-order-decline {
  background: #dc2626;
  border-color: #dc2626;
}
.btn-order-decline:hover { background: #ef4444; }
.btn-order-accept {
  background: var(--gold);
  color: #1a1200;
  border-color: var(--gold);
}
.btn-order-accept:hover { background: var(--gold2); }
.btn-order-delete {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.btn-order-delete:hover { background: #b91c1c; color: #fff; }
.order-status-pending { color: #fbbf24; }
.order-status-accepted { color: #34d399; }
.order-status-declined { color: #f87171; }
.orders-modal-body { padding: 0 4px; }

/* ——— Orders History ——— */
.orders-history-page {
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.orders-history-header {
  padding: 16px 18px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
}
.orders-history-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
#order-history-table th.order-id-col,
#order-history-table td .order-history-id {
  color: #ef4444;
}
#order-history-table th.order-id-col.sorted .sort-arrows {
  color: #ef4444;
}
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); font-size: 14px; }

.sub-mac {
  font-size: 10px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-top: 4px;
  letter-spacing: .04em;
}

.admin-act-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(135deg, #f0c14b, #d4a017);
  letter-spacing: .02em;
  white-space: nowrap;
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: inherit;
  resize: vertical;
  min-height: 64px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 13px;
  cursor: pointer;
}
.check-row input { width: 18px; height: 18px; accent-color: var(--cyan); }

.input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.input-row input { flex: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal.hidden { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, transparent 38%),
    var(--card2);
  border: 1px solid rgba(255, 209, 102, 0.28);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 48px rgba(255, 209, 102, 0.1);
  animation: modalIn 280ms ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
}
.modal-head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #fff 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.modal-close { font-size: 1.4rem; line-height: 1; padding: 4px 10px; }
.modal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) {
  .modal-grid { grid-template-columns: 1fr; }
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.edit-extend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(255, 209, 102, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.edit-extend-row .btn-sm:disabled,
.edit-extend-row .btn-sm.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.6);
}
.edit-expires {
  margin-left: auto;
  font-size: 12px;
  color: var(--gold2);
  font-weight: 700;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: rgba(3, 7, 17, 0.82);
  backdrop-filter: blur(6px);
}
.loading-box {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid rgba(34,211,238,.18);
  border-top-color: var(--cyan);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.duration-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.duration-presets .btn-sm {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.06);
  min-height: 38px;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.duration-presets .btn-sm:hover {
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.15);
}
.duration-presets .btn-sm.is-active {
  border-color: var(--gold, #fbbf24);
  background: rgba(251, 191, 36, 0.18);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.25), 0 0 22px rgba(255, 209, 102, 0.2);
}

.source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid;
}
.source-badge.source-xtream {
  color: #7df0ff;
  border-color: rgba(34,211,238,.55);
  background: rgba(34,211,238,.18);
  box-shadow: 0 0 0 1px rgba(34,211,238,.12);
}
.source-badge.source-m3u {
  color: #e9d5ff;
  border-color: rgba(167,139,250,.55);
  background: rgba(167,139,250,.2);
  box-shadow: 0 0 0 1px rgba(167,139,250,.12);
}
.source-badge.source-pending {
  color: #cbd5e1;
  border-color: rgba(148,163,184,.4);
  background: rgba(148,163,184,.12);
}

.tabs .tab.tab-m3u.active,
.edit-tabs .tab.tab-m3u.active {
  color: #e9d5ff;
  border-color: rgba(167,139,250,.55);
  background: rgba(167,139,250,.18);
}
.tabs .tab.tab-xtream.active,
.edit-tabs .tab.tab-xtream.active {
  color: #7df0ff;
  border-color: rgba(34,211,238,.55);
  background: rgba(34,211,238,.16);
}

.edit-source-preview {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(8, 14, 28, 0.45);
}
.edit-source-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.edit-source-link {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
  color: #dbe7ff;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 0 8px;
}
.edit-source-preview .field-hint {
  margin: 0;
}

.days-warn { color: var(--amber); font-weight: 700; }

.client-msg-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #0b1220;
  background: #fbbf24;
  vertical-align: middle;
}
.client-msg-item {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  line-height: 1.4;
  white-space: pre-wrap;
}
.client-msg-item.is-unread {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.08);
}
.client-msg-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.client-msg-body {
  white-space: pre-wrap;
  word-break: break-word;
}
.client-msg-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #94a3b8;
}
.client-msg-inbox-list {
  max-height: min(60vh, 520px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.client-msg-inbox-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.client-msg-inbox-who {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 6px;
}
.client-msg-inbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.modal-card-wide {
  max-width: min(720px, 94vw);
}
.client-msg-unread {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fbbf24;
  color: #0b1220;
}
.client-msg-read {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.maintenance-banner {
  margin: 0 18px 8px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.1));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.maintenance-banner.hidden {
  display: none !important;
}
.maintenance-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}
.maintenance-banner-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}
.maintenance-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.maintenance-banner-text strong {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fbbf24;
}
.maintenance-banner-text span {
  font-size: 13px;
  color: var(--text, #faf8f2);
  line-height: 1.35;
}
.home-table-toolbar .btn-sm {
  margin-left: auto;
  align-self: center;
  white-space: nowrap;
}

.client-msg-banner {
  margin: 0 18px 4px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.22), rgba(14, 165, 233, 0.12));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  animation: clientMsgPulse 2.4s ease-in-out infinite;
}
.client-msg-banner.hidden {
  display: none !important;
}
.client-msg-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  flex-wrap: wrap;
}
.client-msg-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fbbf24;
  color: #0b1220;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.client-msg-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.client-msg-banner-text strong {
  color: #fff7ed;
  font-size: 14px;
  font-weight: 700;
}
.client-msg-banner-text span {
  color: #fde68a;
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.client-msg-banner-btn {
  background: #fbbf24 !important;
  color: #0b1220 !important;
  border: none !important;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.client-msg-banner-dismiss {
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.8;
}
@keyframes clientMsgPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); }
  50% { box-shadow: 0 8px 32px rgba(251, 191, 36, 0.35); }
}

.nav-msg-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fbbf24;
  color: #0b1220;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-msg-badge.hidden {
  display: none !important;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34,211,238,.08);
}

.tx-plus { color: var(--green); font-weight: 700; }
.tx-minus { color: var(--red); font-weight: 700; }

.news-list { display: grid; gap: 14px; }
.news-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(0,0,0,.18);
}
.news-item time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.news-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .app-shell {
    padding-left: 0;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: 8px 0 40px rgba(0,0,0,.45);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: inline-flex; }
  .main-area { padding-top: 8px; }
}

@media (max-width: 520px) {
  .card { padding: 24px 20px; }
  .topbar { padding: 12px 14px; }
}

.seen-fresh { color: #34d399; font-weight: 600; font-size: 12px; }
.seen-old { color: #94a3b8; font-size: 12px; }
.online-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.online-on {
  color: #34d399;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.55);
  animation: onlineGlow 1.8s ease-in-out infinite;
}
@keyframes onlineGlow {
  0%, 100% { text-shadow: 0 0 6px rgba(52, 211, 153, 0.35); opacity: 1; }
  50% { text-shadow: 0 0 14px rgba(52, 211, 153, 0.85), 0 0 22px rgba(52, 211, 153, 0.35); opacity: 1; }
}
.online-off { color: #64748b; }
.seen-never { color: #64748b; font-size: 12px; }
.device-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.device-cat-tv { color: #38bdf8; border-color: rgba(56,189,248,.35); }
.device-cat-mobile { color: #a78bfa; border-color: rgba(167,139,250,.35); }
.device-cat-desktop { color: #fbbf24; border-color: rgba(251,191,36,.35); }
.est-hours { color: #94a3b8; font-size: 12px; }

.test-playlist-lead {
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}
.probe-meta {
  margin: 18px 0 12px;
  font-size: 13px;
  color: #94a3b8;
}
.probe-meta b { color: #e2e8f0; }
.probe-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.probe-card {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: 16px 18px;
}
.probe-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
  margin-bottom: 6px;
}
.probe-card-value {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
}
.probe-card-sub {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}
.probe-card-ok { border-color: rgba(52,211,153,.35); background: rgba(16,185,129,.08); }
.probe-card-ok .probe-card-value { color: #34d399; }
.probe-card-fail { border-color: rgba(248,113,113,.35); background: rgba(239,68,68,.08); }
.probe-card-fail .probe-card-value { color: #f87171; }
.probe-card-live { border-color: rgba(56,189,248,.25); }
.probe-card-vod { border-color: rgba(167,139,250,.25); }
.probe-log {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: #070b14;
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  max-height: 280px;
  overflow: auto;
}
.probe-log-title {
  color: #64748b;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.probe-log-line { color: #cbd5e1; padding: 2px 0; }
.probe-log-line.probe-ok { color: #34d399; }
.probe-log-line.probe-fail { color: #f87171; }
@media (max-width: 900px) {
  .probe-cards { grid-template-columns: 1fr; }
}


/* studio-motion-end */
.orders-page-title,
.resellers-page-title,
.orders-history-title,
.check-mac-title,
.add-account-page h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.credit-pack {
  background: var(--panel2);
  border-color: var(--line);
  border-radius: 4px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.credit-pack:hover {
  border-color: rgba(212, 160, 23, 0.4);
  transform: translateY(-2px);
}
.credit-pack--best {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: none;
}
.btn-credit-pack {
  background: var(--gold);
  color: #1a1200;
  border-radius: 3px;
}
.btn-credit-pack:hover { background: var(--gold2); }

/* ——— Health ——— */
.health-page {
  max-width: 960px;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.health-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.18);
}
.health-card header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.health-card header strong {
  flex: 1;
  font-size: 14px;
}
.health-card > p {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #9aa3b2);
  line-height: 1.4;
}
.health-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}
.health-card.status-ok .health-dot { background: #34d399; }
.health-card.status-warn .health-dot { background: #fbbf24; }
.health-card.status-error .health-dot { background: #f87171; }
.health-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted, #9aa3b2);
}
.health-card.status-ok .health-status { color: #6ee7a0; }
.health-card.status-warn .health-status { color: #fcd34d; }
.health-card.status-error .health-status { color: #fca5a5; }
.health-meta {
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.health-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px;
}
.health-meta dt {
  margin: 0;
  color: var(--muted, #9aa3b2);
}
.health-meta dd {
  margin: 0;
  word-break: break-all;
}
.health-meta a {
  color: #e8c96a;
}
.health-latency {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
}
.health-notes {
  margin: 0;
  padding-left: 18px;
  color: var(--muted, #9aa3b2);
  font-size: 12px;
  line-height: 1.45;
}

/* ——— Sesiuni / Audit ——— */
.sessions-page,
.audit-page {
  max-width: 1100px;
}
.sessions-toolbar,
.audit-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}
.audit-search {
  min-width: 220px;
  flex: 1;
  max-width: 320px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
}
.audit-toolbar select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
}
.session-badge {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.session-badge.current {
  background: rgba(212, 175, 55, 0.22);
  color: #e8c96a;
}
.session-badge.on {
  background: rgba(72, 187, 120, 0.18);
  color: #6ee7a0;
}
.session-badge.off {
  background: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
}
.btn-danger-ghost {
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #fca5a5 !important;
}

/* ——— Securitate (admin) ——— */
.security-page {
  max-width: 720px;
  padding: 8px 4px 40px;
}
.security-header h2 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.security-header p,
.security-block > p {
  margin: 0 0 18px;
  color: var(--muted, #9aa3b2);
  font-size: 14px;
  line-height: 1.45;
}
.security-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.security-lockout-config,
.security-alerts-config {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: -2px 0 4px;
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
}
.security-lockout-config.is-disabled,
.security-alerts-config.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.security-alerts-config .field {
  margin: 0;
}
.security-alerts-config .field input,
.security-alerts-config .field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-soft, rgba(255,255,255,0.12));
  background: rgba(0, 0, 0, 0.28);
  color: var(--text, #fff);
  font: inherit;
}
.security-alerts-config .field textarea {
  min-height: 84px;
  resize: vertical;
  line-height: 1.4;
}
.security-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted, #9aa3b2);
  cursor: pointer;
}
.security-alerts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.security-lockout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.security-num {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted, #9aa3b2);
}
.security-num input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-soft, rgba(255,255,255,0.12));
  background: rgba(0, 0, 0, 0.28);
  color: var(--text, #fff);
  font: inherit;
  font-weight: 700;
}
.security-num input:focus {
  outline: none;
  border-color: rgba(255, 209, 102, 0.45);
}
@media (max-width: 520px) {
  .security-lockout-fields { grid-template-columns: 1fr; }
}
.security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--panel2, rgba(255,255,255,0.03));
  border-radius: 4px;
  cursor: pointer;
}
.security-row-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.security-row-text strong {
  font-size: 14px;
}
.security-row-text span {
  font-size: 12px;
  color: var(--muted, #9aa3b2);
  line-height: 1.4;
}
.security-switch {
  width: 42px;
  height: 24px;
  accent-color: var(--gold, #d4a017);
  flex-shrink: 0;
  cursor: pointer;
}
.security-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.security-block h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-family: var(--font-display);
}
.security-badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  color: var(--muted, #9aa3b2);
}
.security-badge.on {
  border-color: rgba(46, 160, 90, 0.45);
  color: #7dcea0;
}
.totp-setup {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  margin-top: 14px;
}
.totp-setup img {
  background: #fff;
  border-radius: 4px;
  padding: 6px;
}
.totp-secret {
  display: block;
  margin: 8px 0 14px;
  padding: 8px 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  word-break: break-all;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* Login / register tabs */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}
.auth-tabs.auth-tabs-single {
  display: none;
}
.auth-tab {
  flex: 1;
  border: none;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: background .12s, color .12s;
}
.auth-tab:hover { color: #fff; background: rgba(255,255,255,0.04); }
.auth-tab.active {
  color: #1a1200;
  background: var(--gold, #ffd166);
}

/* ——— Mobile polish (desktop unchanged above 760px) ——— */
.sidebar-backdrop {
  display: none;
}

@media (max-width: 760px) {
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  .sidebar-backdrop[hidden] {
    display: none !important;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .main-area {
    padding: 8px 12px 28px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .topbar {
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 0 12px;
    align-items: flex-start;
  }

  .topbar-left {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .topbar-left h1 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .topbar-meta {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 58vw;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .topbar-actions label {
    gap: 6px !important;
  }

  .topbar-actions .btn-ghost,
  .topbar-actions select.btn-ghost {
    min-height: 40px;
    font-size: 12px;
  }

  .sidebar-toggle {
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
  }

  .mac-list-header {
    padding: 12px 12px;
    gap: 10px;
  }

  .mac-list-title {
    font-size: 1.15rem;
    flex: 1 1 auto;
  }

  .table-wrap,
  #mac-list-table-wrap,
  .home-table {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  #mac-list-table th:last-child,
  #mac-list-table td:last-child {
    min-width: 132px;
    width: 132px;
    padding: 8px 10px;
  }

  .mac-row-actions .btn-sm {
    min-height: 36px;
    font-size: 11px;
  }

  .modal {
    width: min(100%, calc(100vw - 16px));
    max-height: min(92dvh, 900px);
    padding: 16px 14px 14px;
    margin: 8px;
    border-radius: 14px;
  }

  .modal-actions {
    justify-content: stretch;
  }

  .modal-actions .btn,
  .modal-actions .btn-ghost,
  .modal-actions .btn-sm {
    flex: 1 1 auto;
    min-height: 42px;
    justify-content: center;
  }

  .edit-extend-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .edit-extend-row .btn-sm {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }

  .edit-expires {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  .duration-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .duration-presets .btn-sm {
    width: 100%;
    min-height: 40px;
    justify-content: center;
  }

  .add-field input,
  .add-field select,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px; /* avoid iOS zoom on focus */
    min-height: 44px;
  }

  .filter-btn {
    min-height: 36px;
    padding: 8px 14px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .probe-cards {
    grid-template-columns: 1fr;
  }

  .card-wide,
  .card {
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .topbar-actions label > .topbar-meta {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .duration-presets {
    grid-template-columns: 1fr;
  }

  .topbar-left h1 {
    font-size: 1.1rem;
  }
}

/* ——— Visual upgrade: tables, forms, shell polish ——— */
.home-table tbody tr,
#mac-list-table tbody tr,
.table-wrap tbody tr {
  transition: background 140ms ease;
}
.home-table tbody tr:hover,
#mac-list-table tbody tr:hover,
.table-wrap tbody tr:hover {
  background: rgba(255, 209, 102, 0.07);
}

.home-expires-card,
.mac-list-page,
.resellers-page,
.form-card.card-wide {
  border-radius: 14px;
  border-color: rgba(255, 209, 102, 0.2);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 28%),
    var(--panel);
}

.form-card > h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  background: linear-gradient(105deg, #fff 10%, var(--gold2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-activate-tag {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-activate-tag span {
  color: var(--gold);
}

.home-section-title,
.mac-list-title,
.resellers-page-title {
  letter-spacing: 0.02em;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.add-field input:focus,
.add-field select:focus,
.add-field textarea:focus {
  outline: none;
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 14%, transparent), 0 0 24px rgba(255, 209, 102, 0.08);
}

.topbar-pill {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}
.topbar-pill:hover {
  transform: translateY(-1px);
}

.sidebar {
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.35);
  border-right: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.05) 0%, transparent 18%),
    rgba(4, 10, 16, 0.96);
}

.app-shell {
  position: relative;
  z-index: 1;
}

#view-manage-list .form-card {
  position: relative;
  overflow: hidden;
}
#view-manage-list .form-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.16), transparent 68%);
  filter: blur(8px);
}

.sidebar-backdrop {
  transition: opacity 180ms ease;
}

@media (max-width: 760px) {
  .sidebar {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background:
      linear-gradient(180deg, rgba(255, 209, 102, 0.08) 0%, transparent 20%),
      rgba(6, 12, 18, 0.94);
  }
  .sidebar-backdrop {
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .dash-card {
    border-radius: 14px;
  }
  .modal-card {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view.active,
  .modal-card,
  .orb-b,
  .orb-c,
  .online-on {
    animation: none !important;
  }
  .dash-card:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .topbar-pill:hover {
    transform: none;
  }
}

/* Visible build marker so Chrome cache issues are obvious */
.ui-build-tag {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1200;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold) 45%, transparent);
}
.topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 35%, transparent) !important;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--gold) 8%, transparent);
}
.sidebar-brand span {
  color: var(--gold2) !important;
  letter-spacing: 0.18em !important;
}

/* ========== MOCKUP LOOK (command center) — skin-aware ========== */
body {
  background-color: var(--bg0) !important;
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -8%, color-mix(in srgb, var(--glow-a) 55%, transparent), transparent 58%),
    radial-gradient(ellipse 40% 35% at 94% 12%, color-mix(in srgb, var(--glow-b) 45%, transparent), transparent 55%),
    radial-gradient(ellipse 42% 32% at 6% 92%, color-mix(in srgb, var(--glow-c) 40%, transparent), transparent 55%),
    url("../img/bg-aurvip.jpg") !important;
  background-size: auto, auto, auto, cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  font-family: var(--font-body) !important;
}

.orb-a {
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      var(--pattern-line) 14px,
      var(--pattern-line) 15px
    ) !important;
}
.orb-b {
  width: min(640px, 62vw) !important;
  height: min(640px, 62vw) !important;
  filter: blur(16px) !important;
  opacity: 0.45 !important;
}
.orb-c {
  width: min(520px, 52vw) !important;
  height: min(520px, 52vw) !important;
  filter: blur(14px) !important;
  opacity: 0.4 !important;
}

.panel-hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 168px;
  margin: 0 0 22px;
  padding: 36px 20px 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg1) 40%, transparent) 0%, color-mix(in srgb, var(--bg0) 75%, transparent) 100%),
    radial-gradient(ellipse 70% 80% at 50% 40%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 60px color-mix(in srgb, var(--gold) 8%, transparent);
}
.panel-hero-glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 140%;
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 55%),
    radial-gradient(ellipse at 70% 30%, var(--glow-b), transparent 50%);
  filter: blur(28px);
  pointer-events: none;
  animation: heroPulse 7s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity: 0.65; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}
.panel-hero-brand {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: var(--display-tracking);
  line-height: 0.95;
  color: var(--text);
  text-shadow:
    0 0 40px color-mix(in srgb, var(--gold) 45%, transparent),
    0 0 80px color-mix(in srgb, var(--gold) 20%, transparent);
}
.panel-hero-brand span {
  color: var(--gold);
  text-shadow:
    0 0 30px color-mix(in srgb, var(--gold) 70%, transparent),
    0 0 60px color-mix(in srgb, var(--gold) 35%, transparent);
}
.panel-hero-tag {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-grid {
  gap: 16px !important;
  margin-bottom: 26px !important;
}
.dash-card {
  border-radius: var(--radius) !important;
  min-height: 128px !important;
  padding: 22px 20px 20px !important;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, transparent 45%),
    color-mix(in srgb, var(--card) 92%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 8%, transparent),
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px color-mix(in srgb, var(--gold) 6%, transparent) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dash-card:hover {
  border-color: color-mix(in srgb, var(--gold) 70%, transparent) !important;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 25%, transparent),
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px color-mix(in srgb, var(--gold) 18%, transparent) !important;
}
.dash-card-value {
  font-size: 2.55rem !important;
  font-family: var(--font-display) !important;
  letter-spacing: var(--display-tracking);
  background: linear-gradient(180deg, #ffffff 20%, var(--gold2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--gold) 25%, transparent));
}
.dash-card-label {
  color: var(--gold) !important;
  opacity: 0.85;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.sidebar {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gold) 8%, transparent) 0%, transparent 16%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%) !important;
  border-right: 1px solid color-mix(in srgb, var(--gold) 22%, transparent) !important;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.45) !important;
}
.sidebar-brand strong {
  font-size: 1.55rem !important;
  font-family: var(--font-display) !important;
  letter-spacing: var(--display-tracking);
  text-shadow: 0 0 32px color-mix(in srgb, var(--gold) 40%, transparent) !important;
}

.topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, transparent) !important;
  margin-bottom: 18px !important;
}
.topbar-left h1 {
  font-size: 1.9rem !important;
  font-family: var(--font-display) !important;
  letter-spacing: var(--display-tracking);
  color: #fff !important;
  font-weight: 800 !important;
}
.topbar-pill {
  font-size: 13.5px !important;
  font-weight: 800 !important;
}
.topbar-pill:not(.is-active) {
  color: #fffaf0 !important;
}
.topbar-pill.is-active {
  color: #1a1200 !important;
}

.home-expires-card,
.mac-list-page,
.resellers-page,
.form-card.card-wide {
  border-radius: var(--radius-lg) !important;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 30%),
    color-mix(in srgb, var(--card) 90%, transparent) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.35),
    0 0 40px color-mix(in srgb, var(--gold) 5%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-table th,
#mac-list-table th {
  color: var(--gold) !important;
  letter-spacing: 0.1em !important;
  font-family: var(--font-display);
}
.home-table tbody tr:hover,
#mac-list-table tbody tr:hover {
  background: color-mix(in srgb, var(--gold) 10%, transparent) !important;
}

.btn-mac-renew,
.btn-reseller-credits,
.btn-gold,
.btn-primary.btn-gold {
  box-shadow: 0 0 20px color-mix(in srgb, var(--gold) 28%, transparent) !important;
}
.btn-mac-edit,
.btn-mac-renew,
.btn-mac-playlist,
.btn-mac-details {
  border-radius: calc(var(--radius) - 2px) !important;
}

.modal-card {
  border-radius: var(--radius-lg) !important;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent) !important;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px color-mix(in srgb, var(--gold) 12%, transparent) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, transparent 40%),
    color-mix(in srgb, var(--panel2) 96%, black) !important;
}
.duration-presets .btn-sm,
.edit-extend-row .btn-sm {
  border-radius: calc(var(--radius) - 2px) !important;
  border-color: color-mix(in srgb, var(--gold) 35%, transparent) !important;
}

.ui-build-tag {
  background: linear-gradient(90deg, var(--gold), var(--gold2)) !important;
}

/* Skin picker swatches */
.skin-picker {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.skin-swatch {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 30% 30%, #fff8 0%, transparent 45%),
    linear-gradient(135deg, var(--sw-a, #ffd166), var(--sw-b, #34d399));
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--sw-a, #ffd166) 0%, transparent);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.skin-swatch:hover {
  transform: scale(1.12);
}
.skin-swatch.is-active {
  border-color: #fff;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--sw-a, #ffd166) 55%, transparent),
    0 0 16px color-mix(in srgb, var(--sw-a, #ffd166) 45%, transparent);
  transform: scale(1.08);
}
.skin-picker-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}
.skin-select-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .panel-hero {
    min-height: 120px;
    padding: 28px 16px 24px;
    margin-bottom: 16px;
  }
  .panel-hero-brand {
    font-size: 2.2rem;
  }
  .panel-hero-tag {
    letter-spacing: 0.16em;
    font-size: 10px;
  }
}

/* ========== ACTIVARE MAC modal (mockup) ========== */
#view-manage-list.view.active {
  display: block !important;
}
.activate-stage {
  position: relative;
  min-height: calc(100vh - 120px);
  min-height: calc(100dvh - 120px);
  display: grid;
  place-items: center;
  padding: 12px 8px 40px;
}
.activate-stage-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 20%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
  border: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
}
.activate-mac-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 22px 22px 18px;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    rgba(10, 14, 20, 0.96);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 50px color-mix(in srgb, var(--gold) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: modalIn 280ms ease both;
}
.activate-mac-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.activate-mac-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.activate-mac-kicker span { color: var(--gold); }
.activate-mac-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #fff 10%, #ffe9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.activate-mac-x {
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 10px;
  min-width: 40px;
}
.activate-mac-form .field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.activate-mac-optional {
  margin: 2px 0 14px;
}
.activate-mac-toggle {
  width: 100%;
  justify-content: center;
  border-style: dashed !important;
  opacity: 0.92;
}
.activate-mac-toggle[aria-expanded="true"] {
  border-style: solid !important;
  opacity: 1;
}
.activate-mac-form .field input,
.activate-mac-form .field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
}
.activate-mac-form .field input:focus {
  outline: none;
  border-color: rgba(255, 209, 102, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16), 0 0 24px rgba(255, 209, 102, 0.1);
}
.activate-source-tabs {
  margin: 4px 0 14px;
}
.activate-source-tabs .tab {
  border-radius: 10px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.activate-source-tabs .tab.active {
  border-color: rgba(255, 209, 102, 0.55);
  background: rgba(255, 209, 102, 0.16);
  color: #ffe9a8;
}
.activate-duration {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px !important;
}
.activate-duration .btn-sm {
  min-height: 44px;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 209, 102, 0.35) !important;
  background: rgba(255, 209, 102, 0.06) !important;
  color: #f5f0e6 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.activate-duration .btn-sm.is-active {
  background: rgba(255, 209, 102, 0.22) !important;
  border-color: var(--gold) !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.25) !important;
}
.activate-advanced {
  margin: 8px 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  padding: 10px 12px;
}
.activate-advanced summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.activate-mac-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 209, 102, 0.16);
}
.activate-mac-actions .activate-cancel-btn {
  flex: 0 0 auto;
  min-width: 120px;
  min-height: 52px;
  border-radius: 14px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.activate-mac-actions #create-btn.activate-submit-btn {
  flex: 1 1 auto;
  width: auto;
  margin-top: 0;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold2, #ffe9a8) 0%, var(--gold, #ffd166) 45%, #e8b84a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 233, 168, 0.35),
    0 12px 28px rgba(255, 209, 102, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.activate-mac-actions #create-btn.activate-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.activate-mac-actions #create-btn.activate-submit-btn:hover:not(:disabled)::before {
  transform: translateX(120%);
}
.activate-mac-actions #create-btn.activate-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: none;
  box-shadow:
    0 0 0 1px rgba(255, 233, 168, 0.5),
    0 16px 36px rgba(255, 209, 102, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.activate-submit-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(26, 18, 0, 0.18);
  color: #1a1200;
  box-shadow: inset 0 0 0 1px rgba(26, 18, 0, 0.12);
}
.activate-submit-ico svg {
  width: 15px;
  height: 15px;
}
.activate-submit-text {
  position: relative;
  z-index: 1;
}
#view-manage-list .topbar,
body:has(#view-manage-list.active) .topbar-quicknav {
  /* no-op placeholder */
}

@media (max-width: 560px) {
  .activate-duration { grid-template-columns: 1fr; }
  .activate-mac-actions { flex-direction: column-reverse; }
  .activate-mac-actions .activate-cancel-btn { width: 100%; }
  .activate-mac-card { padding: 18px 14px 14px; }
}

/* ——— Downloads (platform cards, no duplicates) ——— */
.dl-page {
  padding: 0 0 28px;
  overflow: hidden;
}
.dl-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 26px 24px;
  margin-bottom: 8px;
  background:
    radial-gradient(ellipse 55% 90% at 0% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%),
    radial-gradient(ellipse 45% 80% at 100% 20%, color-mix(in srgb, var(--green) 16%, transparent), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 70%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dl-hero-copy h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: var(--display-tracking, -0.03em);
}
.dl-hero-copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.dl-hero-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dl-hero-link:hover { text-decoration: underline; }

.dl-group {
  padding: 18px 26px 6px;
}
.dl-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.dl-group-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.dl-group-head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dl-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 16px 16px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 14, 22, 0.88);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.dl-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent, var(--gold)) 55%, transparent);
  box-shadow:
    0 16px 36px rgba(0,0,0,0.4),
    0 0 0 1px color-mix(in srgb, var(--card-accent, var(--gold)) 25%, transparent);
}
.dl-card-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent, var(--gold)) 35%, transparent), transparent 68%);
  pointer-events: none;
  opacity: 0.85;
}
.dl-card-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--card-accent, var(--gold));
}
.dl-card-icon svg { width: 28px; height: 28px; display: block; }
.dl-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.dl-card-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dl-card-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.dl-card-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  background: var(--card-accent, var(--gold));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--card-accent, var(--gold)) 35%, transparent);
}

.dl-card-android { --card-accent: #3ddc84; }
.dl-card-apple { --card-accent: #f5f5f7; }
.dl-card-apple .dl-card-cta { color: #111; background: #f5f5f7; }
.dl-card-fire { --card-accent: #e8b923; }
.dl-card-samsung { --card-accent: #5b8def; }
.dl-card-lg { --card-accent: #ff4d6d; }
.dl-card-windows { --card-accent: #00a4ef; }
.dl-card-mac { --card-accent: #c7c7cc; }
.dl-card-mac .dl-card-cta { color: #111; background: #e8e8ed; }

@media (max-width: 1100px) {
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dl-hero { padding: 22px 16px 18px; }
  .dl-group { padding: 14px 16px 4px; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card-cta { display: none; }
}

.dl-testflight {
  margin: 18px 20px 8px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12), rgba(15, 23, 42, 0.5));
}
.dl-testflight-head h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.dl-testflight-head p {
  margin: 0 0 14px;
  color: var(--text-muted, #9aa3b2);
  font-size: 13px;
  line-height: 1.45;
}
.dl-testflight-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-muted, #9aa3b2);
}
.dl-testflight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.dl-testflight-row input {
  flex: 1 1 220px;
  min-width: 0;
}
.dl-testflight-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
}
.dl-testflight-status.is-ok { color: #6ee7b7; }
.dl-testflight-status.is-warn { color: #fcd34d; }
.dl-testflight-status.is-err { color: #fca5a5; }

.panel-fallback-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pf-card {
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.35);
}
.pf-card.is-disabled { opacity: 0.55; }
.pf-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}
.pf-meta {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted, #9aa3b2);
}
.pf-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-active-line {
  margin: 10px 0 8px;
  font-size: 13px;
  color: var(--text-muted, #9aa3b2);
}
.pf-active-line code {
  color: #6ee7b7;
  font-size: 13px;
}
.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-chip {
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(8, 145, 178, 0.12);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.pf-chip:hover { border-color: rgba(34, 211, 238, 0.7); }
.pf-chip.is-active {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
}
.pf-chip-custom {
  border-style: dashed;
  opacity: 0.9;
}

/* ——— Home demo carousel (VuPlayer-style) ——— */
.home-demo {
  margin: 0 0 22px;
  padding: 22px 18px 20px;
  overflow: hidden;
}
.home-demo-head {
  text-align: center;
  margin-bottom: 14px;
}
.home-demo-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-demo-head p {
  margin: 0;
  color: var(--text-muted, #9aa3b2);
  font-size: 13px;
}
.home-demo-stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 4px;
  min-height: 380px;
}
.home-demo-viewport {
  position: relative;
  height: 380px;
  perspective: 1200px;
  overflow: visible;
}
.home-demo-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.home-demo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.82);
  transition: opacity .45s ease, transform .45s ease, filter .45s ease;
  filter: blur(1px);
  z-index: 1;
}
.home-demo-slide.is-prev {
  opacity: 0.45;
  transform: translateX(-28%) scale(0.78) rotateY(12deg);
  filter: blur(0.5px);
  z-index: 2;
  pointer-events: none;
}
.home-demo-slide.is-next {
  opacity: 0.45;
  transform: translateX(28%) scale(0.78) rotateY(-12deg);
  filter: blur(0.5px);
  z-index: 2;
  pointer-events: none;
}
.home-demo-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0);
  filter: none;
  z-index: 5;
  pointer-events: auto;
}
.home-demo-tv {
  width: min(640px, 88%);
  aspect-ratio: 3 / 2;
  position: relative;
  border-radius: 16px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2e36 0%, #0b0d12 55%, #1a1d24 100%);
  box-shadow:
    0 24px 50px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.home-demo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.72) 100%),
    var(--demo-bg) center/cover no-repeat;
}
.home-demo-bezel {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 42%;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #15181f;
  box-shadow: 0 8px 16px rgba(0,0,0,.4);
}
.home-demo-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 12px;
  color: #fff;
}
.home-demo-ui-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.home-demo-ui-top img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(232,185,35,.45);
}
.home-demo-ui-top span {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.home-demo-ui-top span span { color: #4fc3ff; }
.home-demo-ui-top em {
  font-style: normal;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8b923;
  color: #111;
  font-size: 10px;
  font-weight: 800;
}
.home-demo-ui-top small {
  margin-left: auto;
  font-size: 11px;
  opacity: .8;
  font-weight: 600;
}
.home-demo-live-pill {
  background: #e11d48 !important;
  color: #fff !important;
  padding: 2px 8px;
  border-radius: 999px;
  opacity: 1 !important;
}
.home-demo-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
  align-content: center;
}
.home-demo-tile {
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.home-demo-tile.is-on {
  background: linear-gradient(180deg, rgba(79,195,255,.35), rgba(79,195,255,.12));
  border-color: rgba(79,195,255,.55);
  box-shadow: 0 0 18px rgba(79,195,255,.25);
}
.home-demo-posters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 1;
  align-content: center;
}
.home-demo-posters-wide { grid-template-columns: repeat(3, 1fr); }
.home-demo-poster {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(0,0,0,.35));
  border: 1px solid rgba(255,255,255,.15);
}
.home-demo-poster.is-on {
  outline: 2px solid #4fc3ff;
  outline-offset: 2px;
  box-shadow: 0 0 20px rgba(79,195,255,.35);
  transform: scale(1.04);
}
.home-demo-sport-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.home-demo-match {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}
.home-demo-match.is-on {
  border-color: rgba(232,185,35,.55);
  box-shadow: 0 0 16px rgba(232,185,35,.2);
}
.home-demo-match b {
  color: #e8b923;
  font-size: 11px;
}
.home-demo-match em {
  font-style: normal;
  color: #4ade80;
  font-weight: 800;
}
.home-demo-radio {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.home-demo-radio-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  margin-bottom: 4px;
}
.home-demo-radio-eq i {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: #4fc3ff;
  animation: demoEq 1s ease-in-out infinite alternate;
}
.home-demo-radio-eq i:nth-child(1) { height: 12px; animation-delay: 0s; }
.home-demo-radio-eq i:nth-child(2) { height: 22px; animation-delay: .1s; }
.home-demo-radio-eq i:nth-child(3) { height: 30px; animation-delay: .2s; }
.home-demo-radio-eq i:nth-child(4) { height: 18px; animation-delay: .15s; }
.home-demo-radio-eq i:nth-child(5) { height: 26px; animation-delay: .05s; }
@keyframes demoEq {
  from { transform: scaleY(.55); }
  to { transform: scaleY(1); }
}
.home-demo-radio strong { font-size: 15px; }
.home-demo-radio span { font-size: 12px; opacity: .8; }
.home-demo-caption {
  margin: 10px 0 0;
  font-size: 11px;
  opacity: .75;
  font-weight: 600;
}
.home-demo-label {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #e8eef8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.home-demo-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 6;
}
.home-demo-nav:hover {
  background: rgba(79,195,255,.2);
  border-color: rgba(79,195,255,.5);
}
.home-demo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.home-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.28);
  cursor: pointer;
}
.home-demo-dot.is-active {
  background: #4fc3ff;
  box-shadow: 0 0 10px rgba(79,195,255,.55);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .home-demo-viewport { height: 300px; }
  .home-demo-stage { min-height: 300px; }
  .home-demo-tv { width: min(520px, 90%); }
  .home-demo-slide.is-prev,
  .home-demo-slide.is-next { opacity: 0; }
}
@media (max-width: 640px) {
  .home-demo-stage { grid-template-columns: 36px 1fr 36px; }
  .home-demo-viewport { height: 240px; }
  .home-demo-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* Real photo slides */
.home-demo-tv-photo {
  padding: 8px;
  overflow: hidden;
  background: #0a0e18;
}
.home-demo-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #0a0e18;
}
.home-demo-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.home-demo-thumb {
  width: 72px;
  height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  opacity: 0.55;
}
.home-demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-demo-thumb.is-active,
.home-demo-thumb:hover {
  opacity: 1;
  border-color: #4fc3ff;
  box-shadow: 0 0 12px rgba(79,195,255,.35);
}

.dl-gallery {
  margin: 22px 26px 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.dl-gallery h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.dl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dl-gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform 160ms ease, border-color 160ms ease;
}
.dl-gallery-grid figure:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}
.dl-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.dl-gallery-grid figcaption {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #cfd8e6;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .dl-gallery { margin-left: 16px; margin-right: 16px; }
  .dl-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dl-gallery-grid { grid-template-columns: 1fr; }
}

/* Bannere promo — fiecare slot în chenar separat, grilă pe pagină */
#view-reseller-banners .card-wide {
  max-width: 100%;
}
#view-reseller-banners .bn-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 16px;
  align-items: start;
}
#view-reseller-banners .bn-slot-card {
  margin: 0;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(8, 10, 16, 0.55);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}
#view-reseller-banners .bn-slot-head h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
#view-reseller-banners .bn-slot-head .field-hint {
  margin: 0;
}
#view-reseller-banners .bn-model-frame {
  margin: 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(232, 212, 139, 0.22);
  background: rgba(0, 0, 0, 0.38);
}
#view-reseller-banners .bn-model-cap {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #e8d48b;
  letter-spacing: 0.02em;
}
#view-reseller-banners .bn-model-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 10px;
  background: #0a0c10;
}
#view-reseller-banners .bn-slot-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#view-reseller-banners .bn-media-preview {
  max-width: 100%;
  max-height: 120px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}
#view-reseller-banners .bn-mac-list-dim {
  opacity: 0.55;
}
#view-reseller-banners .bn-mac-row span {
  line-height: 1.35;
  word-break: break-word;
}
@media (max-width: 1100px) {
  #view-reseller-banners .bn-slots-grid {
    grid-template-columns: 1fr;
  }
}
