/* =========================================================
   LWR IT - main.css
   FULL STABLE RECODE
   Palette:
   #0D1216 dark
   #5882CE primary blue
   #3E60B3 secondary blue
   #5882CE accent
========================================================= */


/* =========================
   LWR CUSTOM FONTS
   Arabic: Bahij TheSans Arabic Bold
   English: Framd

   Required files:
   frontend/fonts/BAHIJ_THESANSARABIC-BOLD.TTF
   frontend/fonts/FRAMD.TTF
========================= */
@font-face {
  font-family: "LWR Arabic";
  src:
    url("../fonts/BAHIJ_THESANSARABIC-BOLD.TTF") format("truetype"),
    url("../assets/fonts/BAHIJ_THESANSARABIC-BOLD.TTF") format("truetype"),
    url("/fonts/BAHIJ_THESANSARABIC-BOLD.TTF") format("truetype"),
    url("/assets/fonts/BAHIJ_THESANSARABIC-BOLD.TTF") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF,
    U+FB50-FDFF, U+FE70-FEFF, U+064B-065F, U+0660-0669;
}

@font-face {
  font-family: "LWR English";
  src:
    url("../fonts/FRAMD.TTF") format("truetype"),
    url("../assets/fonts/FRAMD.TTF") format("truetype"),
    url("/fonts/FRAMD.TTF") format("truetype"),
    url("/assets/fonts/FRAMD.TTF") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0100-024F, U+1E00-1EFF, U+2000-206F,
    U+20A0-20CF, U+2100-214F, U+2190-21FF, U+2200-22FF;
}



:root {
  --font-arabic: "LWR Arabic", "Bahij TheSans Arabic", "Cairo", "Tajawal", Tahoma, Arial, sans-serif;
  --font-english: "LWR English", "Framd", "Inter", "Segoe UI", Arial, sans-serif;
  --font-ui: "LWR English", "LWR Arabic", "Bahij TheSans Arabic", "Framd", Tahoma, Arial, sans-serif;
  --dark: #0D1216;
  --dark-2: #080C10;
  --dark-3: #121A22;
  --olive: #3E60B3;
  --olive-2: #223A76;
  --olive-3: #162647;
  --beige: #5882CE;
  --beige-2: #AFC8FF;
  --red: #3E60B3;
  --red-2: #5882CE;
  --text: #F5F8FF;
  --text-soft: rgba(245, 248, 255, 0.76);
  --muted: rgba(245, 248, 255, 0.54);
  --border: rgba(88, 130, 206, 0.22);
  --border-soft: rgba(88, 130, 206, 0.12);
  --border-strong: rgba(88, 130, 206, 0.42);
  --success: #61F0A0;
  --danger: #AFC8FF;
  --warning: #AFC8FF;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.32);
  --nav-height: 94px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(88, 130, 206, 0.08), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(62, 96, 179, 0.15), transparent 34%),
    linear-gradient(135deg, var(--dark-2), var(--dark) 48%, var(--dark-3));
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
}

body,
body * {
  font-family: var(--font-ui);
}

input,
textarea,
select,
button,
.btn,
.badge,
[dir="ltr"],
.en,
.english,
code,
pre {
  font-family: var(--font-ui);
}

html[lang="ar"],
body[dir="rtl"],
:lang(ar),
.ar,
.arabic {
  font-family: var(--font-arabic);
}

html[lang="en"],
body[dir="ltr"],
:lang(en),
[dir="ltr"],
.en,
.english,
.latin,
code,
pre,
.kbd,
.mono {
  font-family: var(--font-english);
}

button,
input,
textarea,
select,
.btn,
.nav-link,
.dashboard-nav a,
.status-badge,
.badge {
  font-family: var(--font-ui);
}


a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  outline: none;
}

button { cursor: pointer; }

img,
video {
  max-width: 100%;
}

main { flex: 1 0 auto; }

/* =========================
   LOADER
========================= */

#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  background: var(--dark-2);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#pageLoader.hide,
body.loaded #pageLoader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.loader-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(88, 130, 206, 0.18);
  border-top-color: var(--beige);
  border-right-color: var(--red);
  animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* =========================
   NAVBAR
========================= */

.navbar,
.site-navbar {
  width: 100%;
  height: var(--nav-height);
  min-height: var(--nav-height);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  background: rgba(10, 12, 11, 0.92);
  border-bottom: 1px solid rgba(88, 130, 206, 0.12);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1500px, calc(100% - 72px));
  height: var(--nav-height);
  min-height: var(--nav-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  align-items: center;
  gap: 20px;
  direction: rtl;
}

.brand-logo {
  grid-column: 1;
  justify-self: end;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}

.nav-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}

.logo-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--dark);
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
  font-weight: 1000;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 58px);
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  color: rgba(245, 248, 255, 0.72);
  font-size: 17px;
  font-weight: 1000;
  white-space: nowrap;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--beige);
  transform: translateY(-1px);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 2px;
  left: 21%;
  bottom: -12px;
  border-radius: 999px;
  background: var(--red);
}

/* =========================
   PROFILE MENU
========================= */

.profile-menu {
  position: fixed !important;
  top: 22px !important;
  left: 34px !important;
  z-index: 10000 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.profile-btn {
  height: 50px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(16, 19, 16, 0.94), rgba(62, 96, 179, 0.2)) !important;
  color: var(--text) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.profile-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(88, 130, 206, 0.72) !important;
}

.profile-name {
  max-width: 96px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: ltr !important;
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

.profile-arrow {
  width: 16px !important;
  height: 16px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
}

.profile-arrow img {
  width: 10px !important;
  height: 10px !important;
  object-fit: contain !important;
  filter:
    brightness(0)
    saturate(100%)
    invert(72%)
    sepia(8%)
    saturate(459%)
    hue-rotate(356deg)
    brightness(88%)
    contrast(88%) !important;
  transition: transform 0.18s ease;
}

.profile-menu.open .profile-arrow img {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: 220px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.98)) !important;
  border: 1px solid rgba(88, 130, 206, 0.25) !important;
  box-shadow: var(--shadow) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) scale(0.96) !important;
  transition: 0.2s ease !important;
}

.profile-menu.open .profile-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.profile-dropdown-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(88, 130, 206, 0.06);
  margin-bottom: 8px;
}

.profile-dropdown-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-dropdown-head strong {
  display: block;
  color: var(--text);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: ltr;
}

.profile-dropdown-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.profile-dropdown-link {
  width: 100%;
  min-height: 40px;
  margin-top: 7px;
  border: 0;
  border-radius: 12px;
  background: rgba(88, 130, 206, 0.12);
  color: var(--text) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 1000;
}

.profile-dropdown-link.danger {
  background: rgba(62, 96, 179, 0.48);
  color: #AFC8FF !important;
}

/* =========================
   GENERAL LAYOUT
========================= */

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 145px 0 60px;
}

.content-page {
  width: 100%;
  min-height: 100vh;
  padding: 150px 20px 80px;
  background:
    radial-gradient(circle at 10% 0%, rgba(88, 130, 206, 0.075), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(62, 96, 179, 0.16), transparent 34%),
    linear-gradient(135deg, #080C10 0%, #0D1216 48%, #121A22 100%);
}

.content-hero {
  width: min(1080px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.content-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 22px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
  font-size: 14px;
  font-weight: 1000;
}

.content-hero h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.05;
  font-weight: 1000;
  text-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.content-hero p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.8;
  font-weight: 900;
}

.content-shell {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.card,
.dashboard-pro-card,
.empty-dashboard-box {
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.12), transparent 36%),
    radial-gradient(circle at 0% 0%, rgba(88, 130, 206, 0.06), transparent 34%),
    linear-gradient(145deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.card h1,
.card h2,
.card h3,
.dashboard-pro-card h1,
.dashboard-pro-card h2,
.dashboard-pro-card h3 {
  margin-top: 0;
  color: var(--text);
}

.card p,
.dashboard-pro-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================
   BUTTONS
========================= */

.btn,
button.btn {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1px solid rgba(88, 130, 206, 0.14);
  background: rgba(40, 40, 31, 0.72);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 1000;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(40, 40, 31, 0.95);
}

.btn.primary,
button.btn.primary,
.hero-main-btn,
.hero-btn {
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
  color: var(--dark);
  border-color: transparent;
  box-shadow: 0 18px 35px rgba(88, 130, 206, 0.12);
}

.btn.danger,
button.btn.danger,
button.danger {
  background: rgba(62, 96, 179, 0.52);
  color: #AFC8FF;
  border-color: rgba(126, 42, 48, 0.48);
}

button:disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* =========================
   FORMS
========================= */

.field {
  margin-bottom: 16px;
}

.field label,
.permissions-title {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 1000;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border-radius: 15px;
  border: 1px solid rgba(88, 130, 206, 0.11);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 128px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(88, 130, 206, 0.75);
  background: rgba(0, 0, 0, 0.56);
  box-shadow: 0 0 0 4px rgba(88, 130, 206, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 248, 255, 0.34);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto !important;
  min-width: 18px !important;
  max-width: 22px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  accent-color: var(--beige);
}

/* =========================
   MESSAGES / BADGES
========================= */

.message {
  margin: 16px 0;
  padding: 15px 17px;
  border-radius: 16px;
  background: rgba(88, 130, 206, 0.06);
  border: 1px solid rgba(88, 130, 206, 0.15);
  color: var(--text);
  font-weight: 900;
}

.message.success {
  background: rgba(105, 211, 145, 0.1);
  border-color: rgba(105, 211, 145, 0.3);
  color: #D8FFE9;
}

.message.error {
  background: rgba(62, 96, 179, 0.36);
  border-color: rgba(126, 42, 48, 0.56);
  color: #AFC8FF;
}

.badge,
.activation-status {
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 1000;
}

.badge.open,
.activation-status.accepted,
.badge.accepted {
  color: var(--success);
  background: rgba(97, 240, 160, 0.1);
  border: 1px solid rgba(97, 240, 160, 0.26);
}

.badge.closed,
.badge.rejected,
.activation-status.rejected {
  color: var(--danger);
  background: rgba(62, 96, 179, 0.48);
  border: 1px solid rgba(126, 42, 48, 0.42);
}

.badge.pending,
.activation-status.pending {
  color: var(--warning);
  background: rgba(88, 130, 206, 0.13);
  border: 1px solid rgba(88, 130, 206, 0.24);
}

.small-muted {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.nav-link-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* =========================
   ACTIVATION LANDING
========================= */

.activation-page {
  width: 100%;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 48px) 20px 80px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(88, 130, 206, 0.08), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(62, 96, 179, 0.18), transparent 36%),
    linear-gradient(135deg, #080C10 0%, #0D1216 48%, #121A22 100%);
}

.activation-card {
  width: min(640px, 100%);
  margin: 0 auto;
}

.activation-card-content {
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: rgba(16, 19, 16, 0.88);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  text-align: center;
}

.activation-card-content h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 48px);
}

.activation-card-content p {
  margin: 0 0 22px;
  color: var(--text-soft);
  line-height: 1.7;
}

.activation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

/* =========================
   HOME HERO
========================= */

.home-page {
  min-height: 100vh;
}

.video-hero,
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 0 auto;
}

.hero-bg-video,
.home-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.08) saturate(1.08);
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 12, 11, 0.4), rgba(10, 12, 11, 0.18) 32%, rgba(10, 12, 11, 0.26) 66%, rgba(10, 12, 11, 0.62)),
    radial-gradient(circle at center, rgba(88, 130, 206, 0.05), rgba(10, 12, 11, 0.08) 44%, rgba(10, 12, 11, 0.35)),
    radial-gradient(circle at 78% 25%, rgba(62, 96, 179, 0.1), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 32px));
  padding-top: 90px;
}

.hero-content h1 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(56px, 7vw, 110px);
  line-height: 1.05;
  font-weight: 1000;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  max-width: 1050px;
  margin: 0 auto 32px;
  color: rgba(245, 248, 255, 0.88);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.8;
  font-weight: 900;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.hero-content .hero-main-btn,
.hero-content .hero-btn,
.video-hero .hero-main-btn,
.video-hero .hero-btn,
.hero-section .hero-main-btn,
.hero-section .hero-btn {
  width: auto !important;
  min-width: 150px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 34px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--beige), var(--beige-2)) !important;
  color: var(--dark) !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
}

.hero-content .hero-main-btn:hover,
.hero-content .hero-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* =========================
   AUTH / LOGIN PAGE
========================= */

.auth-page {
  width: 100%;
  min-height: 100vh;
  padding: 170px 20px 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(88, 130, 206, 0.075), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(62, 96, 179, 0.16), transparent 34%),
    linear-gradient(135deg, #080C10 0%, #0D1216 48%, #121A22 100%);
}

.auth-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 42px;
  border-radius: 28px;
  border: 1px solid rgba(88, 130, 206, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.14), transparent 36%),
    radial-gradient(circle at 0% 0%, rgba(88, 130, 206, 0.07), transparent 34%),
    linear-gradient(145deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.auth-card h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.1;
  font-weight: 1000;
}

.auth-card p {
  width: min(620px, 100%);
  margin: 0 auto 28px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 900;
}

.auth-box {
  width: 100%;
  margin-top: 20px;
}

.auth-box .message {
  text-align: center;
}

.auth-box .btn,
.auth-card .btn,
.auth-box button,
.auth-card button {
  min-width: 210px;
  margin-inline: auto;
}

.profile-status-box {
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background: rgba(88, 130, 206, 0.055);
  border: 1px solid rgba(88, 130, 206, 0.14);
}

.profile-status-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.profile-status-user img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88, 130, 206, 0.72);
}

.profile-status-user strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  direction: ltr;
}

.profile-status-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* =========================
   CREATORS / STREAMERS
========================= */

.streamers-section,
.home-creators-section {
  padding: 90px 24px 100px;
  background:#0D1216;
}

.streamers-header,
.section-title {
  text-align: center;
  margin: 0 auto 48px;
}

.streamers-header h2,
.section-title h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 1000;
}

.streamers-header p,
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.streamers-grid {
  width: min(1450px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
}

.streamer-card {
  width: 250px;
  min-height: 380px;
  padding: 28px 20px;
  border-radius: 20px;
  background: rgba(16, 19, 16, 0.92);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.streamer-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: linear-gradient(145deg, rgba(40, 40, 31, 0.78), rgba(62, 96, 179, 0.18));
}

.streamer-avatar {
  width: 150px;
  height: 150px;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--beige), var(--red));
  overflow: hidden;
}

.streamer-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border: 5px solid rgba(10, 12, 11, 0.96);
  border-radius: 50%;
  object-fit: cover;
  background: var(--olive);
}

.streamer-card h3 {
  margin: 0;
  color: var(--text);
  direction: ltr;
  text-align: center;
  font-size: 26px;
  font-weight: 1000;
}

.creator-visit-btn {
  min-width: 124px;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
}

/* =========================
   JOBS
========================= */

.grid,
.jobs-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-head,
.admin-item-head,
.job-manage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.job-apply-shell {
  width: min(980px, 100%);
}

.job-apply-card {
  padding: 32px;
}

.job-apply-title {
  margin-bottom: 24px;
}

.job-apply-title h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 30px;
  font-weight: 1000;
}

.job-apply-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* =========================
   CHOICE QUESTIONS
========================= */

.choice-answer-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.choice-answer {
  position: relative;
  min-height: 68px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(88, 130, 206, 0.18);
  background: linear-gradient(135deg, rgba(40, 40, 31, 0.72), rgba(10, 12, 11, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.choice-answer:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 130, 206, 0.42);
  background: linear-gradient(135deg, rgba(46, 46, 36, 0.9), rgba(10, 12, 11, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 35px rgba(0, 0, 0, 0.34);
}

.choice-answer span {
  color: var(--text);
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.5;
  text-align: right;
  overflow-wrap: anywhere;
}

.choice-answer input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  border: 2px solid var(--beige);
  background: rgba(10, 12, 11, 0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.choice-answer input[type="radio"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark);
  transform: scale(0);
  transition: transform 0.16s ease;
}

.choice-answer input[type="radio"]:checked {
  background: var(--beige);
  border-color: var(--beige);
  box-shadow: 0 0 0 4px rgba(88, 130, 206, 0.18);
}

.choice-answer input[type="radio"]:checked::before {
  transform: scale(1);
}

.choice-answer:has(input[type="radio"]:checked) {
  border-color: rgba(88, 130, 206, 0.78);
  background: linear-gradient(135deg, rgba(88, 130, 206, 0.14), rgba(40, 40, 31, 0.92));
  box-shadow:
    0 0 0 1px rgba(88, 130, 206, 0.18),
    0 16px 35px rgba(0, 0, 0, 0.34);
}

/* =========================
   DASHBOARD CHOICE BUILDER
========================= */

.choice-options-field {
  padding: 16px;
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(88, 130, 206, 0.055);
  border: 1px solid rgba(88, 130, 206, 0.18);
}

.choices-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 10px;
  align-items: center;
}

.choice-row .choice-input {
  min-height: 46px;
  border-radius: 14px;
}

.choice-remove-btn {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(126, 42, 48, 0.5);
  background: rgba(62, 96, 179, 0.45);
  color: #AFC8FF;
  font-weight: 1000;
}

.choice-remove-btn:hover {
  background: rgba(62, 96, 179, 0.65);
}

.choice-add-btn {
  width: 100%;
  margin-top: 4px;
  background: rgba(88, 130, 206, 0.14);
  border-color: rgba(88, 130, 206, 0.25);
}

/* =========================
   RULES
========================= */

.rules-accordion-page {
  width: 100%;
  min-height: 100vh;
  padding: 150px 20px 70px;
}

.rules-hero {
  width: min(940px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.rules-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
  font-size: 13px;
  font-weight: 1000;
}

.rules-hero h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.08;
  font-weight: 1000;
}

.rules-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.rules-shell {
  width: min(940px, 100%);
  margin: 0 auto;
}

.rules-accordion-list {
  display: grid;
  gap: 14px;
}

.rule-accordion-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(88, 130, 206, 0.2);
  background: linear-gradient(135deg, rgba(40, 40, 31, 0.55), rgba(10, 12, 11, 0.92));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.rule-accordion-button {
  width: 100%;
  min-height: 68px;
  padding: 0 26px;
  border: 0;
  background: linear-gradient(135deg, rgba(88, 130, 206, 0.2), rgba(40, 40, 31, 0.72));
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rule-title {
  flex: 1;
  color: var(--text);
  font-size: 19px;
  font-weight: 1000;
  text-align: right;
}

.rule-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 11, 0.36);
  border: 1px solid rgba(88, 130, 206, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rule-arrow img {
  width: 14px;
  height: 14px;
  filter:
    brightness(0)
    saturate(100%)
    invert(72%)
    sepia(8%)
    saturate(459%)
    hue-rotate(356deg)
    brightness(88%)
    contrast(88%);
}

.rule-accordion-item.open .rule-arrow {
  transform: rotate(180deg);
  background: var(--beige);
}

.rule-accordion-content {
  max-height: 0;
  overflow: hidden;
  background: rgba(6, 7, 6, 0.58);
  transition: max-height 0.32s ease;
}

.rule-accordion-item.open .rule-accordion-content {
  max-height: 900px;
}

.rule-content-inner {
  padding: 28px 36px 30px;
  border-top: 1px solid rgba(88, 130, 206, 0.14);
}

.rule-content-inner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 2.05;
  text-align: center;
}

.rules-empty {
  min-height: 80px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(88, 130, 206, 0.22);
  background: rgba(88, 130, 206, 0.06);
  display: grid;
  place-items: center;
  font-weight: 1000;
}

/* =========================
   DASHBOARD
========================= */

body.dashboard-pro-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(88, 130, 206, 0.08), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(62, 96, 179, 0.18), transparent 32%),
    linear-gradient(135deg, var(--dark-2), var(--dark) 45%, var(--dark-3));
}

.dashboard-pro-layout {
  width: min(1650px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 22px;
  direction: rtl;
}

.dashboard-pro-sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(88, 130, 206, 0.08), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(62, 96, 179, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.dashboard-pro-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(88, 130, 206, 0.055);
  border: 1px solid var(--border);
}

.dashboard-pro-profile img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.dashboard-pro-profile strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 1000;
}

.dashboard-pro-profile span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-pro-menu,
.dash-tabs {
  display: grid;
  gap: 10px;
}

.dashboard-pro-menu button,
.dash-tabs button {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: rgba(245, 248, 255, 0.72);
  font-size: 15px;
  font-weight: 1000;
  text-align: right;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.dashboard-pro-menu button:hover,
.dash-tabs button:hover {
  color: var(--text);
  background: rgba(88, 130, 206, 0.06);
  border-color: var(--border);
}

.dashboard-pro-menu button.active,
.dash-tabs button.active {
  color: var(--dark);
  background: linear-gradient(135deg, var(--beige), var(--beige-2));
}

.dashboard-pro-main {
  min-width: 0;
  overflow: hidden;
}

.dashboard-pro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 130, 206, 0.06), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(16, 19, 16, 0.98), rgba(10, 12, 11, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.dashboard-pro-header h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 1000;
}

.dashboard-pro-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-pro-back {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(40, 40, 31, 0.76);
  border: 1px solid rgba(88, 130, 206, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
}

.dash-section {
  display: none;
}

.dash-section.active {
  display: block;
}

.dashboard-pro-card-head {
  margin-bottom: 20px;
}

.dashboard-pro-card-head h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 25px;
  font-weight: 1000;
}

.dashboard-pro-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-pro-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dashboard-pro-grid > *,
.dashboard-pro-card,
.dashboard-pro-list,
.admin-list {
  min-width: 0;
}

.dashboard-pro-list,
.admin-list,
.jobs-admin-list {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.dashboard-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 16px;
  color: var(--text);
  font-weight: 1000;
}

.dashboard-check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  accent-color: var(--beige);
}

/* =========================
   PERMISSIONS
========================= */

.permission-list,
#rolePermissions {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(88, 130, 206, 0.12);
}

.permission-list label,
#rolePermissions label {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(88, 130, 206, 0.055);
  border: 1px solid rgba(88, 130, 206, 0.12);
  color: var(--text);
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  direction: ltr;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.permission-list label:hover,
#rolePermissions label:hover {
  background: rgba(88, 130, 206, 0.095);
  border-color: rgba(88, 130, 206, 0.28);
}

.permission-list input[type="checkbox"],
#rolePermissions input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  border-radius: 6px;
  border: 2px solid rgba(88, 130, 206, 0.72);
  background: rgba(10, 12, 11, 0.95);
  display: grid;
  place-items: center;
}

.permission-list input[type="checkbox"]::before,
#rolePermissions input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--dark);
  transform: scale(0);
  transition: transform 0.14s ease;
}

.permission-list input[type="checkbox"]:checked,
#rolePermissions input[type="checkbox"]:checked {
  background: var(--beige);
  border-color: var(--beige);
  box-shadow: 0 0 0 4px rgba(88, 130, 206, 0.12);
}

.permission-list input[type="checkbox"]:checked::before,
#rolePermissions input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* =========================
   ACTIVATION / JOB REQUESTS DASHBOARD
========================= */

.activation-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.activation-admin-main {
  min-width: 0;
}

.activation-requests-sidebar {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 26px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.activation-requests-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.activation-requests-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
}

.activation-requests-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.activation-requests-list,
#activationApps {
  max-height: calc(100vh - 165px);
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding-left: 4px;
  align-items: start;
}

.activation-request-item,
.activation-app-item,
.request-item,
.application-item,
#activationApps > * {
  width: 100% !important;
  min-height: 86px;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(16, 19, 16, 0.98), rgba(6, 7, 6, 0.96)) !important;
  color: var(--text) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  text-align: right !important;
  display: grid !important;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
}

.activation-request-item:hover,
.activation-app-item:hover,
.request-item:hover,
.application-item:hover,
#activationApps > *:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 130, 206, 0.35) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(28, 29, 22, 0.98), rgba(8, 9, 8, 0.98)) !important;
}

#activationApps > * *,
.activation-requests-list > * * {
  color: inherit !important;
  background: transparent;
  overflow-wrap: anywhere;
}

.activation-detail-user,
.activation-answer-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(88, 130, 206, 0.045);
  border: 1px solid rgba(88, 130, 206, 0.11);
}

.activation-answer-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 8px;
}

.activation-answer-card p {
  margin: 0;
  color: var(--text-soft);
  white-space: pre-wrap;
  line-height: 1.8;
}

#activationRequestDetails,
.activation-request-details {
  min-width: 0;
}

#activationRequestDetails .empty-dashboard-box,
.activation-request-details .empty-dashboard-box {
  min-height: 90px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 1000;
  text-align: center;
}

/* =========================
   ADMIN ITEMS
========================= */

.admin-item,
.role-item,
.creator-item,
.rule-item,
.job-item,
#jobAppsList > * {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(88, 130, 206, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(16, 19, 16, 0.96), rgba(6, 7, 6, 0.96));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  color: var(--text);
}

.admin-item h3,
.role-item h3,
.creator-item h3,
.rule-item h3,
.job-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--text);
}

.admin-item p,
.role-item p,
.creator-item p,
.rule-item p,
.job-item p {
  max-width: 100%;
  color: var(--text-soft);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-actions,
.dashboard-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-actions .btn,
.dashboard-actions .btn,
.admin-actions button,
.dashboard-actions button {
  width: auto;
}

.admin-list button:not(.btn),
.dashboard-pro-list button:not(.btn),
#activationApps button:not(.btn),
#jobAppsList button:not(.btn) {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(88, 130, 206, 0.16);
  background: rgba(40, 40, 31, 0.72);
  color: var(--text);
  font-weight: 900;
}

/* =========================
   FOOTER / SCROLLBAR
========================= */

.footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--beige), var(--red));
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1150px) {
  .dashboard-pro-layout,
  .dashboard-pro-grid,
  .activation-admin-layout {
    grid-template-columns: 1fr !important;
  }

  .dashboard-pro-sidebar,
  .activation-requests-sidebar {
    position: relative;
    top: 0;
    height: auto;
    max-height: none;
  }

  .activation-requests-list,
  #activationApps {
    max-height: 420px;
  }
}

@media (max-width: 920px) {
  :root {
    --nav-height: auto;
  }

  .navbar,
  .site-navbar {
    position: relative;
    height: auto;
    min-height: auto;
  }

  .nav-inner {
    width: calc(100% - 24px);
    height: auto;
    min-height: auto;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .brand-logo {
    justify-self: center;
  }

  .nav-links {
    width: 100%;
    gap: 14px;
  }

  .profile-menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 10px auto;
    display: flex !important;
    justify-content: center;
  }

  .profile-dropdown {
    right: 0 !important;
    left: auto !important;
  }

  .content-page,
  .container,
  .rules-accordion-page {
    padding-top: 42px;
  }

  .auth-page {
    padding: 42px 14px;
  }

  .auth-card {
    padding: 24px;
    border-radius: 20px;
  }

  .auth-card h1 {
    font-size: 38px;
  }

  .auth-card p {
    font-size: 15px;
  }

  .grid,
  .jobs-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 0;
  }

  .streamer-card {
    width: 170px;
    min-height: 285px;
  }

  .streamer-avatar {
    width: 112px;
    height: 112px;
  }

  .streamer-card h3 {
    font-size: 19px;
  }

  .content-hero h1 {
    font-size: clamp(42px, 12vw, 70px);
  }

  .choice-answer {
    min-height: 60px;
    padding: 15px 16px;
    border-radius: 16px;
  }

  .choice-answer span {
    font-size: 15px;
  }

  .choice-answer input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
  }
}

@media (max-width: 700px) {
  .dashboard-pro-layout {
    width: calc(100% - 20px);
    padding: 12px 0;
  }

  .dashboard-pro-card,
  .dashboard-pro-header,
  .dashboard-pro-sidebar,
  .activation-requests-sidebar,
  .card {
    padding: 16px;
    border-radius: 18px;
  }

  .dashboard-pro-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .choice-remove-btn {
    width: 100%;
  }

  .admin-actions .btn,
  .dashboard-actions .btn,
  .admin-actions button,
  .dashboard-actions button,
  .btn,
  button.btn {
    width: 100%;
  }

  .permission-list label,
  #rolePermissions label {
    font-size: 13px;
  }

  .profile-status-actions {
    flex-direction: column;
  }
}

/* =========================================================
   LAWRENCE REALISM - Profile Menu + Navbar + Hero Button Fix
   Add this at the END of frontend/css/main.css
========================================================= */

/* Navbar fixed sizing */
.navbar,
.site-navbar {
  height: 94px !important;
  min-height: 94px !important;
  background: rgba(10, 12, 11, 0.92) !important;
}

.nav-inner {
  width: min(1500px, calc(100% - 72px)) !important;
  height: 94px !important;
  min-height: 94px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 140px minmax(0, 1fr) 140px !important;
  align-items: center !important;
  direction: rtl !important;
}

.brand-logo {
  grid-column: 1 !important;
  justify-self: end !important;
  width: 78px !important;
  height: 78px !important;
}

.nav-logo {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
}

.nav-links {
  grid-column: 2 !important;
  justify-self: center !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(28px, 4vw, 58px) !important;
  flex-wrap: wrap !important;
}

.nav-links a {
  font-size: 17px !important;
  font-weight: 1000 !important;
  color: rgba(245, 248, 255, 0.72) !important;
}

.nav-links a.active {
  color: var(--beige) !important;
}

.nav-links a.active::after {
  bottom: -12px !important;
  background: var(--red) !important;
}

/* Account pill */
.profile-menu {
  position: fixed !important;
  top: 22px !important;
  left: 34px !important;
  z-index: 10000 !important;
  display: inline-flex !important;
  align-items: center !important;
  direction: ltr !important;
}

.profile-btn {
  height: 52px !important;
  min-height: 52px !important;
  padding: 5px 10px 5px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.32) !important;
  background:
    radial-gradient(circle at 100% 50%, rgba(62, 96, 179, 0.28), transparent 56%),
    linear-gradient(135deg, rgba(16, 19, 16, 0.96), rgba(10, 12, 11, 0.96)) !important;
  color: #F5F8FF !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(14px) !important;
  cursor: pointer !important;
}

.profile-avatar {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(88, 130, 206, 0.78) !important;
  background: #0D1216 !important;
}

.profile-name {
  max-width: 105px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: ltr !important;
  color: #F5F8FF !important;
  font-size: 16px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

.profile-arrow {
  width: 18px !important;
  height: 18px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #5882CE !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform 0.18s ease !important;
}

.profile-menu.open .profile-arrow {
  transform: rotate(180deg) !important;
}

/* Dropdown like your screenshot */
.profile-dropdown {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  left: 0 !important;
  width: 300px !important;
  padding: 16px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(15, 17, 14, 0.98), rgba(6, 7, 6, 0.98)) !important;
  border: 1px solid rgba(88, 130, 206, 0.26) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) scale(0.96) !important;
  transition: 0.2s ease !important;
  direction: rtl !important;
}

.profile-menu.open .profile-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.profile-dropdown-head {
  min-height: 82px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  background: rgba(88, 130, 206, 0.055) !important;
  border: 0 !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-bottom: 12px !important;
}

.profile-dropdown-head img {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #0D1216 !important;
}

.profile-dropdown-head strong {
  display: block !important;
  max-width: 150px !important;
  color: #F5F8FF !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: ltr !important;
  text-align: center !important;
}

.profile-dropdown-head span {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(245, 248, 255, 0.55) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.profile-dropdown-link {
  width: 100% !important;
  min-height: 56px !important;
  margin-top: 10px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: rgba(88, 130, 206, 0.075) !important;
  color: #F5F8FF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 21px !important;
  font-weight: 1000 !important;
}

.profile-dropdown-link:hover {
  background: rgba(88, 130, 206, 0.13) !important;
}

.profile-dropdown-link.danger {
  background: rgba(62, 96, 179, 0.62) !important;
  color: #AFC8FF !important;
}

/* Hero button */
.hero-content .hero-main-btn,
.hero-content .hero-btn,
.video-hero .hero-main-btn,
.video-hero .hero-btn,
.hero-section .hero-main-btn,
.hero-section .hero-btn {
  width: auto !important;
  min-width: 150px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 34px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--beige), var(--beige-2)) !important;
  color: var(--dark) !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 920px) {
  .navbar,
  .site-navbar {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
  }

  .nav-inner {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: auto !important;
    padding: 14px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .profile-menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 10px auto !important;
    display: flex !important;
    justify-content: center !important;
  }

  .profile-dropdown {
    left: 50% !important;
    transform: translate(-50%, 10px) scale(0.96) !important;
  }

  .profile-menu.open .profile-dropdown {
    transform: translate(-50%, 0) scale(1) !important;
  }
}


/* =========================================================
   FINAL FIX: Public account menu exactly like requested
   Compact account pill + real arrow icon.
========================================================= */
.profile-menu {
  position: fixed !important;
  top: 16px !important;
  left: 48px !important;
  z-index: 10050 !important;
  display: inline-flex !important;
  align-items: center !important;
  direction: ltr !important;
}

.profile-btn {
  width: 164px !important;
  min-width: 164px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 4px 7px 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.34) !important;
  background:
    radial-gradient(circle at 100% 50%, rgba(62, 96, 179, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(15, 17, 14, 0.98), rgba(9, 11, 10, 0.98)) !important;
  color: #F5F8FF !important;
  display: grid !important;
  grid-template-columns: 14px minmax(0, 1fr) 40px !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38) !important;
  backdrop-filter: blur(16px) !important;
  cursor: pointer !important;
}

.profile-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid rgba(88, 130, 206, 0.78) !important;
  background: #080C10 !important;
  justify-self: end !important;
}

.profile-name {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: ltr !important;
  color: #F5F8FF !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  text-align: center !important;
  justify-self: center !important;
}

.profile-arrow {
  width: 14px !important;
  min-width: 14px !important;
  height: 14px !important;
  display: inline-grid !important;
  place-items: center !important;
  justify-self: start !important;
}

.profile-arrow img {
  width: 10px !important;
  height: 10px !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0) invert(1) opacity(0.82) !important;
  transition: transform 0.18s ease !important;
}

.profile-menu.open .profile-arrow img {
  transform: rotate(180deg) !important;
}

.profile-dropdown {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: 285px !important;
  padding: 15px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 96, 179, 0.20), transparent 42%),
    linear-gradient(145deg, rgba(15, 17, 14, 0.985), rgba(6, 7, 6, 0.985)) !important;
  border: 1px solid rgba(88, 130, 206, 0.28) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.56) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(0.96) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  direction: rtl !important;
}

.profile-menu.open .profile-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.profile-dropdown-head {
  min-height: 78px !important;
  padding: 13px 15px !important;
  border-radius: 18px !important;
  background: rgba(88, 130, 206, 0.060) !important;
  border: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  direction: ltr !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px !important;
  margin-bottom: 10px !important;
}

.profile-dropdown-head img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #080C10 !important;
}

.profile-dropdown-head strong {
  display: block !important;
  max-width: 150px !important;
  color: #F5F8FF !important;
  font-size: 21px !important;
  font-weight: 1000 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  direction: ltr !important;
  text-align: left !important;
}

.profile-dropdown-head span {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(245, 248, 255, 0.56) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-align: left !important;
}

.profile-dropdown-link {
  width: 100% !important;
  min-height: 56px !important;
  margin-top: 10px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: rgba(88, 130, 206, 0.085) !important;
  color: #F5F8FF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 21px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
}

button.profile-dropdown-link {
  appearance: none !important;
}

.profile-dropdown-link:hover {
  background: rgba(88, 130, 206, 0.14) !important;
}

.profile-dropdown-link.danger {
  background: rgba(62, 96, 179, 0.62) !important;
  color: #AFC8FF !important;
}

@media (max-width: 920px) {
  .profile-menu {
    top: 12px !important;
    left: 12px !important;
  }

  .profile-btn {
    width: 154px !important;
    min-width: 154px !important;
    height: 46px !important;
    min-height: 46px !important;
    grid-template-columns: 12px minmax(0, 1fr) 36px !important;
  }

  .profile-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .profile-name {
    font-size: 14px !important;
    max-width: 100% !important;
  }

  .profile-dropdown {
    width: min(300px, calc(100vw - 24px)) !important;
  }
}


/* Job application review modal */
.job-review-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.job-review-modal.open {
  display: block;
}

.job-review-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.job-review-box {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  margin: 40px auto;
  padding: 24px;
  border-radius: 24px;
  background: #0D1216;
  border: 1px solid rgba(88, 130, 206, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

.job-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.job-review-head h2 {
  margin: 0;
  color: #F5F8FF;
}

.job-review-head p {
  margin: 6px 0 0;
  color: rgba(245, 248, 255, 0.6);
}

.job-answer-card {
  padding: 16px;
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(88, 130, 206, 0.07);
  border: 1px solid rgba(88, 130, 206, 0.18);
}

.job-answer-card strong {
  display: block;
  color: #F5F8FF;
  margin-bottom: 8px;
}

.job-answer-card p {
  margin: 0;
  color: rgba(245, 248, 255, 0.75);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Smaller account dropdown */
.profile-dropdown {
  width: 255px !important;
  padding: 12px !important;
  border-radius: 20px !important;
}

.profile-dropdown-head {
  min-height: 62px !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  gap: 12px !important;
  margin-bottom: 8px !important;
}

.profile-dropdown-head img {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
}

.profile-dropdown-head strong {
  font-size: 18px !important;
  max-width: 120px !important;
}

.profile-dropdown-head span {
  font-size: 12px !important;
  margin-top: 4px !important;
}

.profile-dropdown-link {
  min-height: 48px !important;
  margin-top: 8px !important;
  border-radius: 14px !important;
  font-size: 18px !important;
}
/* =========================================
   LWR IT same-style sections
   Website colors + clean blended background
========================================= */

/* Intro / title area */
.lwr-community-intro {
  position: relative !important;
  padding: 90px 20px 45px !important;
  margin-bottom: 0 !important;
  text-align: center;
  overflow: hidden;
  z-index: 2 !important;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(62, 96, 179, 0.22), transparent 42%),
    radial-gradient(circle at 50% 0%, rgba(88, 130, 206, 0.04), transparent 35%),
    linear-gradient(180deg, #080C10 0%, #080C10 55%, #0D1216 100%) !important;
}

.lwr-community-intro::after {
  display: none !important;
  content: none !important;
}

.lwr-community-intro-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.lwr-community-intro h2 {
  margin: 0 0 20px;
  color: #F5F8FF !important;
  font-size: clamp(42px, 4vw, 72px);
  font-weight: 1000;
  line-height: 1.1;
}

.lwr-community-intro p {
  margin: 0 auto;
  max-width: 1180px;
  color: rgba(245, 248, 255, 0.68) !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 2;
}

/* Main section blocks */
.lwr-section-block {
  position: relative;
  margin-top: 0 !important;
  padding: 55px 20px 90px !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(62, 96, 179, 0.20), transparent 38%),
    radial-gradient(circle at 70% 45%, rgba(62, 96, 179, 0.12), transparent 30%),
    linear-gradient(180deg, #0D1216 0%, #0D1216 40%, #0D1216 100%) !important;
  overflow: hidden;
}

/* First section after the intro */
.lwr-community-intro + .lwr-section-block {
  padding-top: 35px !important;
}

/* Remove horizontal separator line */
.lwr-section-block::before {
  display: none !important;
  content: none !important;
}

/* Layout */
.lwr-section-inner {
  width: min(1450px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: center;
  gap: 95px;
}

.lwr-section-even .lwr-section-inner {
  grid-template-columns: 1fr 560px;
}

/* Images */
.lwr-section-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lwr-section-media img {
  width: 460px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Text content */
.lwr-section-content {
  position: relative;
  text-align: right;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lwr-section-number {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 220px;
  font-weight: 1000;
  line-height: 0.8;
  color: rgba(62, 96, 179, 0.22) !important;
  user-select: none;
  pointer-events: none;
}

.lwr-section-content h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: #F5F8FF !important;
  font-size: clamp(42px, 4vw, 70px);
  font-weight: 1000;
  line-height: 1.1;
}

.lwr-section-content p {
  position: relative;
  z-index: 1;
  margin: 0 0 34px auto;
  max-width: 900px;
  color: rgba(245, 248, 255, 0.68) !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 2;
}

/* Buttons */
.lwr-section-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 245px;
  height: 66px;
  padding: 0 26px;
  border: 1px solid rgba(88, 130, 206, 0.42) !important;
  background: transparent !important;
  color: #AFC8FF !important;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  transition: 0.2s ease;
}

.lwr-section-btn:hover {
  background: rgba(88, 130, 206, 0.08) !important;
  color: #F5F8FF !important;
  border-color: rgba(88, 130, 206, 0.7) !important;
}

/* Contact preview */
.lwr-contact-block {
  padding-bottom: 140px !important;
}

.lwr-floating-preview {
  position: absolute;
  right: 60px;
  bottom: 35px;
  width: 470px;
  max-width: 28vw;
  z-index: 2;
}

.lwr-floating-preview img {
  width: 100%;
  display: block;
}

/* Optional community stats panel */
.lwr-community-panel {
  background:
    radial-gradient(circle at bottom left, rgba(62, 96, 179, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(88, 130, 206, 0.09), transparent 24%),
    #0D1216 !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
}

.lwr-community-panel::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 130, 206, 0.20) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 35%, rgba(88, 130, 206, 0.18) 0 1.2px, transparent 2px),
    radial-gradient(circle at 60% 80%, rgba(88, 130, 206, 0.18) 0 1.2px, transparent 2px) !important;
}

.lwr-community-stat {
  background: rgba(88, 130, 206, 0.06) !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
}

.lwr-community-stat strong {
  color: #F5F8FF !important;
}

.lwr-community-stat span {
  color: rgba(245, 248, 255, 0.62) !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .lwr-section-inner,
  .lwr-section-even .lwr-section-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .lwr-section-media {
    order: 2;
  }

  .lwr-section-content {
    order: 1;
    min-height: auto;
  }

  .lwr-section-number {
    font-size: 140px;
    top: -10px;
  }

  .lwr-floating-preview {
    position: static;
    width: min(420px, 100%);
    max-width: 100%;
    margin: 30px auto 0;
  }

  .lwr-section-btn {
    align-self: flex-start;
  }
}

@media (max-width: 768px) {
  .lwr-community-intro {
    padding: 60px 16px 34px !important;
    margin-bottom: 0 !important;
  }

  .lwr-community-intro h2 {
    font-size: 40px;
  }

  .lwr-community-intro p {
    font-size: 17px;
    line-height: 1.9;
  }

  .lwr-section-block {
    padding: 45px 16px 70px !important;
  }

  .lwr-community-intro + .lwr-section-block {
    padding-top: 30px !important;
  }

  .lwr-section-content h3 {
    font-size: 38px;
  }

  .lwr-section-content p {
    font-size: 17px;
    line-height: 1.9;
  }

  .lwr-section-number {
    font-size: 95px;
  }

  .lwr-section-btn {
    min-width: 180px;
    height: 54px;
    font-size: 17px;
  }
}
/* =========================================================
   Remove effects from section 02 / lwr-section-even
========================================================= */

.lwr-section-block.lwr-section-even {
  background: #0D1216 !important;
  background-image: none !important;
}

.lwr-section-block.lwr-section-even::before,
.lwr-section-block.lwr-section-even::after {
  display: none !important;
  content: none !important;
}

/* If the image/card inside has weird glow/shadow */
.lwr-section-block.lwr-section-even .lwr-section-media,
.lwr-section-block.lwr-section-even .lwr-section-media img {
  box-shadow: none !important;
  filter: none !important;
}
/* Force section 02 background color */
.lwr-section-block.lwr-section-even {
  background: #0D1216 !important;
  background-color: #0D1216 !important;
  background-image: none !important;
}

.lwr-section-block.lwr-section-even * {
  background-color: transparent;
}

.lwr-section-block.lwr-section-even::before,
.lwr-section-block.lwr-section-even::after {
  display: none !important;
  content: none !important;
}
/* =========================================================
   Remove red glow/background effects from LWR IT sections
========================================================= */

.lwr-community-intro,
.lwr-section-block,
.lwr-section-block.lwr-section-odd,
.lwr-section-block.lwr-section-even,
.lwr-contact-block {
  background: #0D1216 !important;
  background-color: #0D1216 !important;
  background-image: none !important;
}

.lwr-community-intro::before,
.lwr-community-intro::after,
.lwr-section-block::before,
.lwr-section-block::after,
.lwr-section-block.lwr-section-odd::before,
.lwr-section-block.lwr-section-odd::after,
.lwr-section-block.lwr-section-even::before,
.lwr-section-block.lwr-section-even::after,
.lwr-contact-block::before,
.lwr-contact-block::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* Remove red glow behind the big numbers */
.lwr-section-number {
  color: rgba(245, 248, 255, 0.04) !important;
}
/* LWR public content pages */
.lwr-public-page { padding: 140px 6vw 70px; max-width: 1180px; margin: 0 auto; width: 100%; }
.lwr-hero-card { border: 1px solid var(--border); background: rgba(13,18,22,.74); border-radius: var(--radius-xl); padding: 42px; box-shadow: var(--shadow); margin-bottom: 26px; position: relative; overflow: hidden; }
.lwr-hero-card::before { content:""; position:absolute; inset:-60px auto auto -60px; width:240px; height:240px; border-radius:50%; background: rgba(88,130,206,.18); filter: blur(8px); }
.lwr-kicker { color: var(--beige); letter-spacing: 2px; font-size: 13px; }
.lwr-hero-card h1 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 64px); }
.lwr-hero-card p { color: var(--text-soft); line-height: 2; max-width: 860px; }
.lwr-card-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap:18px; }
.lwr-card { border: 1px solid var(--border-soft); background: rgba(18,26,34,.68); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-soft); }
.lwr-card h2, .lwr-card h3 { margin-top:0; color: var(--text); }
.lwr-card p, .lwr-card li { color: var(--text-soft); line-height: 1.9; }
.lwr-card ul { padding-inline-start: 22px; }
.lwr-button-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.lwr-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border-radius: 999px; color:#fff; text-decoration:none; background: linear-gradient(135deg, #5882CE, #3E60B3); border:1px solid rgba(175,200,255,.32); }
.lwr-muted { color: var(--muted); }
.lwr-table { width:100%; border-collapse: collapse; overflow:hidden; border-radius:18px; }
.lwr-table th,.lwr-table td { border:1px solid var(--border-soft); padding:14px; text-align:right; color:var(--text-soft); }
.lwr-table th { color:var(--text); background:rgba(88,130,206,.12); }
.lwr-faq details,.lwr-rules details { border:1px solid var(--border-soft); background:rgba(18,26,34,.66); border-radius:18px; padding:18px 20px; margin-bottom:12px; }
.lwr-faq summary,.lwr-rules summary { cursor:pointer; color:var(--text); font-size:18px; }
.lwr-search { width:100%; border:1px solid var(--border); background:rgba(8,12,16,.8); color:var(--text); border-radius:999px; padding:16px 20px; margin:0 0 18px; outline:none; }

/* =========================================================
   LWR IT - NON-HOME FULL PAGE REDESIGN
   Scope: every page except الصفحة الرئيسية / main.home-page
   Colors: keeps the exact current palette through existing variables.
========================================================= */

/* ---------- Shared non-home page canvas ---------- */
body > main.lwr-public-page,
body > main.content-page,
body > main.container,
body > main.activation-page,
body > main.auth-page {
  position: relative !important;
  isolation: isolate;
}

body > main.lwr-public-page::before,
body > main.content-page::before,
body > main.container::before,
body > main.activation-page::before,
body > main.auth-page::before {
  content: "";
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(88, 130, 206, 0.14), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(62, 96, 179, 0.18), transparent 34%),
    linear-gradient(135deg, var(--dark-2), var(--dark) 48%, var(--dark-3));
}

body > main.lwr-public-page::after,
body > main.content-page::after,
body > main.container::after,
body > main.activation-page::after,
body > main.auth-page::after {
  content: "";
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(88, 130, 206, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 130, 206, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.08));
}

/* ---------- Public information pages: about, rules, store, support, team, updates, faq ---------- */
body > main.lwr-public-page {
  width: min(1240px, calc(100% - 44px)) !important;
  max-width: 1240px !important;
  padding: calc(var(--nav-height) + 58px) 0 86px !important;
  margin: 0 auto !important;
}

body > main.lwr-public-page .lwr-hero-card {
  min-height: 310px;
  margin: 0 0 28px !important;
  padding: clamp(30px, 5vw, 62px) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(135deg, rgba(13, 18, 22, 0.92), rgba(18, 26, 34, 0.72)),
    radial-gradient(circle at 20% 8%, rgba(88, 130, 206, 0.18), transparent 36%) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  display: grid;
  align-content: end;
}

body > main.lwr-public-page .lwr-hero-card::before {
  inset: auto auto -95px -80px !important;
  width: 340px !important;
  height: 340px !important;
  background: rgba(88, 130, 206, 0.2) !important;
  filter: blur(16px) !important;
}

body > main.lwr-public-page .lwr-hero-card::after {
  content: "";
  position: absolute;
  inset: 22px auto 22px 22px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--beige), var(--olive));
  box-shadow: 0 0 28px rgba(88, 130, 206, 0.34);
}

body > main.lwr-public-page .lwr-kicker,
body > main.content-page .content-kicker,
body > main.auth-page .content-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(88, 130, 206, 0.08);
  color: var(--beige-2) !important;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 1000;
}

body > main.lwr-public-page .lwr-hero-card h1,
body > main.content-page .content-hero h1,
body > main.container .page-title h1,
body > main.activation-page .activation-card h1,
body > main.auth-page .auth-card h1 {
  margin: 16px 0 13px !important;
  color: var(--text) !important;
  font-size: clamp(38px, 5vw, 72px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1px;
}

body > main.lwr-public-page .lwr-hero-card p,
body > main.content-page .content-hero p,
body > main.container .page-title p,
body > main.activation-page .activation-card p,
body > main.auth-page .auth-card p {
  max-width: 880px;
  margin: 0;
  color: var(--text-soft) !important;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 2.05 !important;
}

body > main.lwr-public-page .lwr-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)) !important;
  gap: 18px !important;
  counter-reset: lwrCards;
}

body > main.lwr-public-page .lwr-card {
  position: relative;
  min-height: 215px;
  padding: 28px 26px 30px !important;
  border: 1px solid var(--border) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(18, 26, 34, 0.86), rgba(13, 18, 22, 0.74)) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body > main.lwr-public-page .lwr-card::before {
  counter-increment: lwrCards;
  content: "0" counter(lwrCards);
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(175, 200, 255, 0.12);
  font-size: 54px;
  font-weight: 1000;
  line-height: 1;
}

body > main.lwr-public-page .lwr-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--beige), transparent);
  opacity: 0.8;
}

body > main.lwr-public-page .lwr-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44) !important;
}

body > main.lwr-public-page .lwr-card h2,
body > main.lwr-public-page .lwr-card h3 {
  position: relative;
  margin: 0 0 12px !important;
  color: var(--text) !important;
  font-size: 23px;
  line-height: 1.35;
}

body > main.lwr-public-page .lwr-card p,
body > main.lwr-public-page .lwr-card li,
body > main.lwr-public-page .lwr-muted {
  position: relative;
  color: var(--text-soft) !important;
  line-height: 2 !important;
}

body > main.lwr-public-page .lwr-btn,
body > main.lwr-public-page .lwr-button-row a {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 17px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--beige), var(--olive));
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  box-shadow: 0 16px 38px rgba(88, 130, 206, 0.24);
}

/* FAQ and rules */
body > main.lwr-public-page .lwr-faq,
body > main.lwr-public-page .lwr-rules {
  display: grid;
  gap: 14px;
}

body > main.lwr-public-page details {
  border: 1px solid var(--border) !important;
  border-radius: 24px !important;
  background: rgba(18, 26, 34, 0.76) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

body > main.lwr-public-page summary {
  position: relative;
  padding: 20px 26px !important;
  color: var(--text) !important;
  font-size: 18px;
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}

body > main.lwr-public-page summary::-webkit-details-marker { display: none; }

body > main.lwr-public-page summary::after {
  content: "+";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--beige-2);
  background: rgba(88, 130, 206, 0.08);
}

body > main.lwr-public-page details[open] summary::after { content: "−"; }

body > main.lwr-public-page details p,
body > main.lwr-public-page details ul,
body > main.lwr-public-page details table {
  margin: 0 26px 22px !important;
  color: var(--text-soft);
  line-height: 1.95;
}

body > main.lwr-public-page .lwr-search {
  width: 100% !important;
  min-height: 58px;
  margin: 0 0 18px;
  padding: 0 20px !important;
  border-radius: 18px !important;
  border: 1px solid var(--border-strong) !important;
  background: rgba(8, 12, 16, 0.78) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

body > main.lwr-public-page .lwr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(13, 18, 22, 0.72);
}

body > main.lwr-public-page .lwr-table th,
body > main.lwr-public-page .lwr-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
}

body > main.lwr-public-page .lwr-table th {
  color: var(--text);
  background: rgba(88, 130, 206, 0.08);
}

/* ---------- Content pages: jobs, creators, job application ---------- */
body > main.content-page {
  min-height: 100vh !important;
  padding: calc(var(--nav-height) + 54px) 22px 88px !important;
}

body > main.content-page .content-hero {
  width: min(1180px, 100%) !important;
  min-height: 300px;
  margin: 0 auto 24px !important;
  padding: clamp(30px, 5vw, 60px) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(135deg, rgba(13, 18, 22, 0.94), rgba(18, 26, 34, 0.78)),
    radial-gradient(circle at 14% 20%, rgba(88, 130, 206, 0.2), transparent 38%) !important;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.48) !important;
  overflow: hidden;
  position: relative;
}

body > main.content-page .content-hero::after {
  content: "";
  position: absolute;
  inset: auto 34px 28px 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

body > main.content-page .content-shell {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
  padding: 24px !important;
  border: 1px solid var(--border) !important;
  border-radius: 30px !important;
  background: rgba(13, 18, 22, 0.6) !important;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

body > main.content-page .jobs-page-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 18px !important;
}

body > main.content-page .card,
body > main.content-page .job-card,
body > main.content-page .job-apply-card,
body > main.content-page .streamer-card {
  border: 1px solid var(--border) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(18, 26, 34, 0.9), rgba(13, 18, 22, 0.78)) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32) !important;
  overflow: hidden;
}

body > main.content-page .job-card {
  min-height: 260px !important;
  padding: 26px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body > main.content-page .job-card:hover,
body > main.content-page .streamer-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong) !important;
}

body > main.content-page .job-card h3,
body > main.content-page .streamer-card h3,
body > main.content-page .job-apply-card h3 {
  color: var(--text) !important;
  font-size: 23px;
}

body > main.content-page .job-card p,
body > main.content-page .streamer-card p,
body > main.content-page .job-apply-card p {
  color: var(--text-soft) !important;
  line-height: 1.9;
}

body > main.content-page .streamers-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 20px !important;
}

body > main.content-page .streamer-card {
  min-height: 320px !important;
  padding: 26px !important;
  text-align: center;
}

body > main.content-page .streamer-avatar {
  width: 118px !important;
  height: 118px !important;
  margin: 0 auto 18px !important;
  padding: 5px;
  border-radius: 34px !important;
  border: 1px solid var(--border-strong);
  background: rgba(88, 130, 206, 0.08);
}

body > main.content-page .streamer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

body > main.content-page .creator-visit-btn {
  margin-top: 14px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(88, 130, 206, 0.1);
  color: var(--beige-2) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
}

/* ---------- Activation landing and login ---------- */
body > main.activation-page,
body > main.auth-page {
  padding: calc(var(--nav-height) + 52px) 22px 88px !important;
  place-items: center !important;
  align-items: center !important;
}

body > main.activation-page .activation-card,
body > main.auth-page .auth-card {
  width: min(980px, 100%) !important;
  min-height: 420px;
  padding: clamp(30px, 5vw, 62px) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 36px !important;
  background:
    linear-gradient(135deg, rgba(13, 18, 22, 0.95), rgba(18, 26, 34, 0.78)),
    radial-gradient(circle at 18% 14%, rgba(88, 130, 206, 0.2), transparent 36%) !important;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52) !important;
  overflow: hidden;
  position: relative;
}

body > main.activation-page .activation-card::after,
body > main.auth-page .auth-card::after {
  content: "";
  position: absolute;
  inset: 24px auto 24px 24px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--beige), var(--olive));
}

body > main.activation-page .activation-card-content,
body > main.auth-page .auth-box {
  position: relative;
  z-index: 1;
}

body > main.activation-page .activation-actions,
body > main.auth-page .auth-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Question/application pages ---------- */
body > main.container {
  width: min(1080px, calc(100% - 42px)) !important;
  padding: calc(var(--nav-height) + 54px) 0 88px !important;
}

body > main.container .page-title {
  margin: 0 0 22px !important;
  padding: clamp(28px, 4vw, 48px) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 32px !important;
  background:
    linear-gradient(135deg, rgba(13, 18, 22, 0.94), rgba(18, 26, 34, 0.76)),
    radial-gradient(circle at 16% 20%, rgba(88, 130, 206, 0.18), transparent 36%) !important;
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.42);
}

body > main.container .card,
body > main.container .questions-card,
body > main.container .activation-questions-card {
  padding: clamp(22px, 4vw, 36px) !important;
  border: 1px solid var(--border) !important;
  border-radius: 30px !important;
  background: rgba(13, 18, 22, 0.72) !important;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.38) !important;
}

body > main.container form {
  display: grid;
  gap: 16px;
}

body > main.container .question-card,
body > main.container .question-box,
body > main.container .activation-question-item,
body > main.container #jobQuestionsBox > div,
body > main.container #activationQuestionsList > div:not(.message) {
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: rgba(18, 26, 34, 0.68);
}

/* ---------- Non-home forms and controls ---------- */
body > main.content-page input,
body > main.content-page textarea,
body > main.content-page select,
body > main.container input,
body > main.container textarea,
body > main.container select,
body > main.activation-page input,
body > main.activation-page textarea,
body > main.activation-page select,
body > main.auth-page input,
body > main.auth-page textarea,
body > main.auth-page select,
body.dashboard-pro-page input,
body.dashboard-pro-page textarea,
body.dashboard-pro-page select,
.dashboard-layout input,
.dashboard-layout textarea,
.dashboard-layout select {
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  background: rgba(8, 12, 16, 0.78) !important;
  color: var(--text) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body > main.content-page input:focus,
body > main.content-page textarea:focus,
body > main.content-page select:focus,
body > main.container input:focus,
body > main.container textarea:focus,
body > main.container select:focus,
body > main.activation-page input:focus,
body > main.activation-page textarea:focus,
body > main.activation-page select:focus,
body > main.auth-page input:focus,
body > main.auth-page textarea:focus,
body > main.auth-page select:focus,
body.dashboard-pro-page input:focus,
body.dashboard-pro-page textarea:focus,
body.dashboard-pro-page select:focus,
.dashboard-layout input:focus,
.dashboard-layout textarea:focus,
.dashboard-layout select:focus {
  border-color: var(--border-strong) !important;
  box-shadow: 0 0 0 4px rgba(88, 130, 206, 0.12) !important;
  background: rgba(13, 18, 22, 0.94) !important;
}

body > main.content-page .btn,
body > main.container .btn,
body > main.activation-page .btn,
body > main.auth-page .btn,
body.dashboard-pro-page .btn,
.dashboard-layout .btn {
  min-height: 52px !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  border: 1px solid var(--border-strong) !important;
  background: rgba(88, 130, 206, 0.09) !important;
  color: var(--text) !important;
  font-weight: 1000 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body > main.content-page .btn:hover,
body > main.container .btn:hover,
body > main.activation-page .btn:hover,
body > main.auth-page .btn:hover,
body.dashboard-pro-page .btn:hover,
.dashboard-layout .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
}

body > main.content-page .btn.primary,
body > main.container .btn.primary,
body > main.activation-page .btn.primary,
body > main.auth-page .btn.primary,
body.dashboard-pro-page .btn.primary,
.dashboard-layout .btn.primary {
  background: linear-gradient(135deg, var(--beige), var(--olive)) !important;
  color: var(--text) !important;
}

body > main.content-page .btn.danger,
body > main.container .btn.danger,
body.dashboard-pro-page .btn.danger,
.dashboard-layout .btn.danger {
  background: rgba(62, 96, 179, 0.18) !important;
  color: var(--beige-2) !important;
}

/* ---------- Messages and choice answers on non-home pages ---------- */
body > main.content-page .message,
body > main.container .message,
body > main.activation-page .message,
body > main.auth-page .message,
body.dashboard-pro-page .message,
.dashboard-layout .message {
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  background: rgba(88, 130, 206, 0.08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body > main.container .choice-answer,
body > main.content-page .choice-answer,
body > main.activation-page .choice-answer {
  border-radius: 18px !important;
  border: 1px solid var(--border) !important;
  background: rgba(8, 12, 16, 0.62) !important;
}

body > main.container .choice-answer:hover,
body > main.content-page .choice-answer:hover,
body > main.activation-page .choice-answer:hover {
  border-color: var(--border-strong) !important;
  background: rgba(88, 130, 206, 0.08) !important;
}

/* ---------- Modern dashboard redesign ---------- */
body.dashboard-pro-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(88, 130, 206, 0.14), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(62, 96, 179, 0.18), transparent 36%),
    linear-gradient(135deg, var(--dark-2), var(--dark) 46%, var(--dark-3)) !important;
}

body.dashboard-pro-page .dashboard-pro-layout {
  width: min(1680px, calc(100% - 34px)) !important;
  padding: 24px 0 !important;
  gap: 20px !important;
}

body.dashboard-pro-page .dashboard-pro-sidebar,
body.dashboard-pro-page .dashboard-pro-card,
body.dashboard-pro-page .activation-details-card,
body.dashboard-pro-page .activation-requests-sidebar,
body.dashboard-pro-page .jobs-admin-list,
body.dashboard-pro-page .jobs-question-box,
body.dashboard-pro-page .activation-requests-list,
body.dashboard-pro-page .activation-request-details {
  border: 1px solid var(--border) !important;
  border-radius: 28px !important;
  background: rgba(13, 18, 22, 0.74) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(14px);
}

body.dashboard-pro-page .dashboard-pro-sidebar {
  top: 24px !important;
  padding: 20px !important;
  overflow: hidden;
}

body.dashboard-pro-page .dashboard-pro-profile {
  padding: 18px !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 22px !important;
  background: rgba(88, 130, 206, 0.07) !important;
}

body.dashboard-pro-page .dashboard-pro-profile h2,
body.dashboard-pro-page .dashboard-pro-header h1,
body.dashboard-pro-page .dashboard-pro-card h2,
body.dashboard-pro-page .dashboard-pro-card h3 {
  color: var(--text) !important;
}

body.dashboard-pro-page .dashboard-pro-profile p,
body.dashboard-pro-page .dashboard-pro-header p,
body.dashboard-pro-page .small-muted,
body.dashboard-pro-page .dashboard-pro-card p {
  color: var(--text-soft) !important;
}

body.dashboard-pro-page .dashboard-pro-menu {
  gap: 10px !important;
}

body.dashboard-pro-page .dashboard-pro-menu a,
body.dashboard-pro-page .dashboard-pro-back {
  min-height: 48px;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: var(--text-soft) !important;
  display: flex;
  align-items: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.dashboard-pro-page .dashboard-pro-menu a:hover,
body.dashboard-pro-page .dashboard-pro-menu a.active,
body.dashboard-pro-page .dashboard-pro-back:hover {
  transform: translateX(-2px);
  border-color: var(--border) !important;
  background: rgba(88, 130, 206, 0.09) !important;
  color: var(--text) !important;
}

body.dashboard-pro-page .dashboard-pro-header {
  min-height: 128px;
  margin-bottom: 20px !important;
  padding: 28px !important;
  border: 1px solid var(--border) !important;
  border-radius: 30px !important;
  background:
    linear-gradient(135deg, rgba(13, 18, 22, 0.88), rgba(18, 26, 34, 0.7)),
    radial-gradient(circle at 14% 20%, rgba(88, 130, 206, 0.16), transparent 36%) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.32);
}

body.dashboard-pro-page .dashboard-pro-grid,
body.dashboard-pro-page .activation-admin-layout,
body.dashboard-pro-page .jobs-admin-layout {
  gap: 20px !important;
}

body.dashboard-pro-page .dashboard-pro-card {
  padding: 24px !important;
}

body.dashboard-pro-page .dashboard-pro-card-head,
body.dashboard-pro-page .activation-requests-head {
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid var(--border-soft) !important;
}

body.dashboard-pro-page .admin-item,
body.dashboard-pro-page .role-item,
body.dashboard-pro-page .creator-item,
body.dashboard-pro-page .rule-item,
body.dashboard-pro-page .job-item,
body.dashboard-pro-page .question-item,
body.dashboard-pro-page #jobAppsList > *,
body.dashboard-pro-page #activationApps > * {
  border: 1px solid var(--border-soft) !important;
  border-radius: 22px !important;
  background: rgba(18, 26, 34, 0.66) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.dashboard-pro-page .admin-item:hover,
body.dashboard-pro-page .role-item:hover,
body.dashboard-pro-page .creator-item:hover,
body.dashboard-pro-page .rule-item:hover,
body.dashboard-pro-page .job-item:hover,
body.dashboard-pro-page .question-item:hover,
body.dashboard-pro-page #jobAppsList > *:hover,
body.dashboard-pro-page #activationApps > *:hover {
  transform: translateY(-3px);
  border-color: var(--border) !important;
  background: rgba(18, 26, 34, 0.82) !important;
}

body.dashboard-pro-page .dash-tabs {
  padding: 8px !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  background: rgba(8, 12, 16, 0.56) !important;
}

body.dashboard-pro-page .dash-tabs button,
body.dashboard-pro-page .dashboard-actions .btn {
  border-radius: 14px !important;
}

body.dashboard-pro-page .dash-tabs button.active {
  background: linear-gradient(135deg, var(--beige), var(--olive)) !important;
  color: var(--text) !important;
}

body.dashboard-pro-page .permission-list,
body.dashboard-pro-page #rolePermissions,
body.dashboard-pro-page .choices-list {
  border: 1px solid var(--border-soft) !important;
  background: rgba(8, 12, 16, 0.55) !important;
}

body.dashboard-pro-page .badge,
.dashboard-layout .badge {
  border: 1px solid var(--border) !important;
  border-radius: 999px !important;
  background: rgba(88, 130, 206, 0.1) !important;
  color: var(--beige-2) !important;
}

/* ---------- Older dashboard pages ---------- */
.dashboard-layout {
  min-height: 100vh;
  display: grid !important;
  grid-template-columns: 290px minmax(0, 1fr) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(88, 130, 206, 0.14), transparent 30%),
    linear-gradient(135deg, var(--dark-2), var(--dark) 48%, var(--dark-3));
}

.dashboard-layout .sidebar {
  min-height: 100vh;
  padding: 24px !important;
  border-left: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.72) !important;
  backdrop-filter: blur(14px);
}

.dashboard-layout .dashboard-main {
  padding: 34px !important;
}

.dashboard-layout .card,
.dashboard-layout .dashboard-main > section,
.dashboard-layout .dashboard-main > div:not(.message) {
  border: 1px solid var(--border) !important;
  border-radius: 28px !important;
  background: rgba(13, 18, 22, 0.72) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34) !important;
}

.dashboard-layout .dashboard-nav-links a,
.dashboard-layout .sidebar a {
  border-radius: 15px !important;
  color: var(--text-soft) !important;
}

.dashboard-layout .dashboard-nav-links a:hover,
.dashboard-layout .dashboard-nav-links a.active,
.dashboard-layout .sidebar a:hover,
.dashboard-layout .sidebar a.active {
  background: rgba(88, 130, 206, 0.09) !important;
  color: var(--text) !important;
}

/* ---------- Responsive redesign ---------- */
@media (max-width: 980px) {
  body > main.lwr-public-page,
  body > main.content-page,
  body > main.container,
  body > main.activation-page,
  body > main.auth-page {
    padding-top: calc(var(--nav-height) + 34px) !important;
  }

  body > main.lwr-public-page,
  body > main.container {
    width: min(100% - 28px, 100%) !important;
  }

  body > main.lwr-public-page .lwr-hero-card,
  body > main.content-page .content-hero,
  body > main.container .page-title,
  body > main.activation-page .activation-card,
  body > main.auth-page .auth-card {
    border-radius: 26px !important;
  }

  body.dashboard-pro-page .dashboard-pro-layout,
  .dashboard-layout {
    grid-template-columns: 1fr !important;
  }

  .dashboard-layout .sidebar {
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .dashboard-layout .dashboard-main {
    padding: 22px !important;
  }
}

@media (max-width: 620px) {
  body > main.lwr-public-page .lwr-hero-card,
  body > main.content-page .content-hero,
  body > main.content-page .content-shell,
  body > main.container .page-title,
  body > main.container .card,
  body > main.activation-page .activation-card,
  body > main.auth-page .auth-card,
  body.dashboard-pro-page .dashboard-pro-card,
  body.dashboard-pro-page .dashboard-pro-header {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  body > main.lwr-public-page .lwr-hero-card h1,
  body > main.content-page .content-hero h1,
  body > main.container .page-title h1,
  body > main.activation-page .activation-card h1,
  body > main.auth-page .auth-card h1 {
    font-size: 36px !important;
  }

  body > main.content-page .jobs-page-grid,
  body > main.content-page .streamers-grid,
  body > main.lwr-public-page .lwr-card-grid {
    grid-template-columns: 1fr !important;
  }

  body > main.activation-page .activation-actions,
  body > main.auth-page .auth-box,
  .dashboard-actions {
    flex-direction: column;
  }

  body > main.activation-page .activation-actions .btn,
  body > main.auth-page .auth-box .btn,
  .dashboard-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   Activation V2 + compact profile card
   Keeps original LWR blue/dark palette.
========================================================= */

.activation-intro-page,
.activation-flow-page {
  padding-top: calc(var(--nav-height) + 58px) !important;
}

.activation-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--beige-2);
  border: 1px solid var(--border);
  background: rgba(88, 130, 206, 0.08);
  font-size: 13px;
  margin-bottom: 14px;
}

.activation-intro-card {
  max-width: 1120px !important;
  margin-inline: auto;
}

.activation-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.activation-rule-box,
.activation-status-box,
.activation-flow-section,
.quiz-question-card,
.pledge-box,
.voice-recorder-box,
.final-review-box,
.review-story-box,
.profile-mini-card {
  border: 1px solid var(--border);
  background: rgba(13, 18, 22, 0.66);
  box-shadow: var(--shadow-soft);
}

.activation-rule-box {
  min-height: 118px;
  padding: 18px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.activation-rule-box strong {
  color: var(--text);
  font-size: 16px;
}

.activation-rule-box span {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 14px;
}

.activation-flow-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.activation-flow-title {
  text-align: right !important;
}

.activation-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.activation-stepper span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  background: rgba(8, 12, 16, 0.54);
  font-size: 13px;
}

.activation-stepper span.active {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(88, 130, 206, 0.16);
}

.activation-stepper span.done {
  color: var(--beige-2);
  border-color: rgba(88, 130, 206, 0.34);
}

.activation-status-box {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.activation-status-box b,
.activation-status-box strong {
  color: var(--text);
}

.activation-flow-section {
  padding: 26px;
  border-radius: var(--radius-xl);
  margin-bottom: 18px;
}

.activation-section-head {
  margin-bottom: 22px;
}

.activation-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.activation-section-head p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.9;
}

.activation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.activation-full-row {
  grid-column: 1 / -1;
}

.activation-quiz-start {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.quiz-topbar {
  position: sticky;
  top: calc(var(--nav-height) + 12px);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 16, 0.92);
  backdrop-filter: blur(12px);
}

.quiz-question-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 14px;
}

.quiz-question-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.8;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 16, 0.38);
  color: var(--text-soft);
  cursor: pointer;
}

.quiz-option:hover,
.quiz-option:has(input:checked) {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(88, 130, 206, 0.1);
}

.pledge-box {
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 18px;
}

.voice-recorder-box {
  border-radius: var(--radius-lg);
  padding: 20px;
}

.voice-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.voice-recorder-box audio,
.final-review-box audio,
.activation-answer-card audio {
  width: 100%;
  margin-top: 12px;
}

.final-review-box,
.review-story-box {
  border-radius: var(--radius-lg);
  padding: 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.review-grid > div {
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: rgba(8, 12, 16, 0.38);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.review-grid strong,
.review-story-box strong {
  color: var(--beige-2);
  font-size: 13px;
}

.review-grid span,
.review-story-box p {
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

.profile-card-dropdown {
  min-width: 300px;
}

.profile-mini-card {
  padding: 14px;
  border-radius: 18px;
  margin: 12px 0;
  display: grid;
  gap: 10px;
}

.profile-mini-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-soft);
  font-size: 13px;
}

.profile-mini-card strong {
  color: var(--text);
  text-align: left;
}

.activation-request-item .activation-status,
.activation-status {
  text-transform: none !important;
}

.activation-status.SUBMITTED,
.activation-status.ACCEPTED,
.activation-status.VOICE_COMPLETE,
.activation-status.CHARACTER_COMPLETE,
.activation-status.QUIZ_PASSED {
  color: var(--success);
}

.activation-status.REJECTED,
.activation-status.AGE_RESTRICTED {
  color: var(--danger);
}

.activation-answer-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 12px 0;
  background: rgba(8, 12, 16, 0.38);
}

.activation-answer-card strong {
  color: var(--beige-2);
}

.activation-answer-card p {
  color: var(--text-soft);
  line-height: 1.8;
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .activation-rules-grid,
  .activation-form-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .activation-stepper {
    grid-template-columns: 1fr;
  }

  .quiz-topbar,
  .activation-status-box {
    align-items: stretch;
    flex-direction: column;
  }
}

/* =========================================================
   LWR FIX PACK: navbar cleanup + dashboard player files
   Keeps the same dark/blue/beige palette.
========================================================= */

/* Remove the duplicated login item inside the center navbar.
   The only login entry should be the account pill on the left. */
.nav-links a[data-auth-link="true"],
.nav-links a[href="login.html"],
.nav-links a[href="../login.html"] {
  display: none !important;
}

.site-navbar,
.navbar {
  overflow: visible !important;
}

.site-navbar .nav-inner,
.navbar .nav-inner {
  grid-template-columns: 120px minmax(0, 1fr) 190px !important;
  gap: 18px !important;
}

.site-navbar .nav-links,
.navbar .nav-links {
  flex-wrap: nowrap !important;
  gap: clamp(22px, 3.2vw, 52px) !important;
  min-width: 0 !important;
}

.site-navbar .nav-links a,
.navbar .nav-links a {
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.profile-menu {
  top: 16px !important;
  left: 48px !important;
  z-index: 10050 !important;
}

.profile-btn.profile-login-btn,
.profile-btn {
  isolation: isolate !important;
}

/* Dashboard sidebar buttons were mixed with old anchor styles. */
body.dashboard-pro-page .dashboard-pro-menu button {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: var(--text-soft) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: right !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

body.dashboard-pro-page .dashboard-pro-menu button:hover,
body.dashboard-pro-page .dashboard-pro-menu button.active {
  transform: translateX(-2px) !important;
  border-color: var(--border) !important;
  background: rgba(88, 130, 206, 0.09) !important;
  color: var(--text) !important;
}

body.dashboard-pro-page .dashboard-pro-menu button.active {
  background:
    linear-gradient(135deg, rgba(88, 130, 206, 0.22), rgba(62, 96, 179, 0.11)) !important;
  box-shadow: inset 0 0 0 1px rgba(88, 130, 206, 0.16) !important;
}

/* Player files dashboard */
.user-files-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.user-files-sidebar,
.user-files-main {
  min-width: 0;
}

.user-files-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.user-files-list {
  display: grid;
  gap: 10px;
  max-height: calc(100vh - 345px);
  overflow: auto;
  padding-inline-end: 4px;
}

.user-file-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 18px !important;
  background: rgba(8, 12, 16, 0.42) !important;
  color: var(--text) !important;
  cursor: pointer;
  text-align: right;
}

.user-file-item:hover,
.user-file-item.active {
  border-color: var(--border-strong) !important;
  background: rgba(88, 130, 206, 0.1) !important;
  transform: translateY(-1px);
}

.user-file-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88, 130, 206, 0.5);
  background: rgba(8, 12, 16, 0.7);
}

.user-file-main,
.user-file-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.user-file-main strong,
.user-file-main small,
.user-file-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-file-main strong {
  color: var(--text);
  font-size: 15px;
}

.user-file-main small,
.user-file-meta small {
  color: var(--muted);
  font-size: 12px;
}

.user-file-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(88, 130, 206, 0.08);
  color: var(--text-soft);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.user-file-status.good {
  color: var(--success);
  border-color: rgba(72, 187, 120, 0.28);
  background: rgba(72, 187, 120, 0.08);
}

.user-file-status.bad {
  color: var(--danger);
  border-color: rgba(255, 93, 108, 0.28);
  background: rgba(255, 93, 108, 0.08);
}

.user-file-status.warn {
  color: var(--beige-2);
  border-color: rgba(179, 169, 139, 0.28);
  background: rgba(179, 169, 139, 0.08);
}

.user-file-status.muted {
  color: var(--muted);
}

.user-file-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(88, 130, 206, 0.14), transparent 36%),
    rgba(8, 12, 16, 0.46);
}

.user-file-profile-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88, 130, 206, 0.56);
  background: rgba(8, 12, 16, 0.75);
}

.user-file-profile-card h2 {
  margin: 0 0 5px;
  color: var(--text);
}

.user-file-profile-card p {
  margin: 0 0 10px;
  color: var(--text-soft);
  direction: ltr;
  text-align: right;
}

.user-file-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.user-file-metric {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(8, 12, 16, 0.42);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.user-file-metric span {
  color: var(--muted);
  font-size: 12px;
}

.user-file-metric strong {
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.user-file-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.user-file-section h3 {
  margin: 0 0 14px;
  color: var(--text);
}

.user-file-history-card {
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: rgba(8, 12, 16, 0.38);
}

.user-file-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.user-file-history-head strong {
  color: var(--beige-2);
}

.user-file-review-grid {
  margin-bottom: 0 !important;
}

.user-file-story,
.user-file-note {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.9;
}

.user-file-story strong,
.user-file-note strong {
  color: var(--beige-2);
}

.user-file-compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(8, 12, 16, 0.36);
  color: var(--text-soft);
}

.user-file-compact-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-file-compact-row strong {
  color: var(--text);
  white-space: nowrap;
}

.user-file-compact-row small {
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .user-file-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-navbar .nav-inner,
  .navbar .nav-inner {
    grid-template-columns: 86px minmax(0, 1fr) 170px !important;
    width: min(100% - 28px, 100%) !important;
  }

  .site-navbar .nav-links,
  .navbar .nav-links {
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 6px;
  }

  .user-files-layout {
    grid-template-columns: 1fr;
  }

  .user-files-list {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .profile-menu {
    left: 14px !important;
  }

  .user-file-item,
  .user-file-compact-row {
    grid-template-columns: 1fr;
  }

  .user-file-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .user-file-metrics-grid,
  .user-file-review-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   HOME PAGE HERO VIDEO BACKGROUND FIX
   Keeps the existing colors, but places hero.mov under the overlay.
========================================================= */
.video-hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 40%, rgba(88, 130, 206, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.92), rgba(5, 8, 10, 1));
}

.video-hero .hero-bg-video,
.video-hero .home-hero-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  opacity: 1 !important;
  filter: brightness(0.72) contrast(1.08) saturate(1.08);
  transform: scale(1.02);
  pointer-events: none;
}

.video-hero .hero-overlay {
  z-index: 1 !important;
  background:
    linear-gradient(to bottom, rgba(5, 8, 10, 0.64) 0%, rgba(5, 8, 10, 0.32) 35%, rgba(5, 8, 10, 0.42) 65%, rgba(5, 8, 10, 0.82) 100%),
    radial-gradient(circle at center, rgba(88, 130, 206, 0.06), rgba(5, 8, 10, 0.16) 46%, rgba(5, 8, 10, 0.48) 100%);
}

.video-hero .hero-content {
  z-index: 2 !important;
}

@media (max-width: 700px) {
  .video-hero .hero-bg-video,
  .video-hero .home-hero-video {
    object-position: center center !important;
    filter: brightness(0.64) contrast(1.08) saturate(1.02);
  }
}

/* =========================================================
   HERO VIDEO AUTOLOAD FIX
   Supports hero.mp4, hero.mov, hero.MOV, and hero.webm.
   Put the video in frontend/assets/videos/.
========================================================= */
.video-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(88, 130, 206, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.92), rgba(5, 8, 10, 1)) !important;
}

.video-hero .hero-bg-video,
.video-hero .home-hero-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  opacity: 0 !important;
  filter: brightness(0.72) contrast(1.08) saturate(1.08) !important;
  transform: scale(1.02) !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
}

.video-hero .hero-bg-video.is-loaded,
.video-hero .home-hero-video.is-loaded {
  opacity: 1 !important;
}

.video-hero .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(to bottom, rgba(5, 8, 10, 0.66) 0%, rgba(5, 8, 10, 0.34) 34%, rgba(5, 8, 10, 0.43) 66%, rgba(5, 8, 10, 0.84) 100%),
    radial-gradient(circle at center, rgba(88, 130, 206, 0.05), rgba(5, 8, 10, 0.16) 46%, rgba(5, 8, 10, 0.50) 100%) !important;
}

.video-hero .hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* =========================================================
   LWR FIX PACK: login page button alignment polish
   Keeps the same dark/blue palette; only fixes spacing/layout.
========================================================= */
body > main.auth-page {
  min-height: calc(100vh - var(--nav-height)) !important;
  padding: calc(var(--nav-height) + 44px) 20px 72px !important;
  display: grid !important;
  place-items: center !important;
}

body > main.auth-page .auth-card {
  width: min(920px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 5vw, 58px) !important;
  text-align: center !important;
}

body > main.auth-page .auth-card .content-kicker {
  margin-inline: auto !important;
}

body > main.auth-page .auth-card h1 {
  margin-top: 22px !important;
  margin-bottom: 14px !important;
}

body > main.auth-page .auth-card p {
  margin: 0 auto !important;
  max-width: 620px !important;
}

body > main.auth-page .auth-box {
  width: min(600px, 100%) !important;
  margin: 30px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
  justify-content: center !important;
  direction: rtl !important;
}

body > main.auth-page .auth-box > .message,
body > main.auth-page .auth-box > .btn,
body > main.auth-page .auth-box > button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 66px !important;
  margin: 0 !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

body > main.auth-page .auth-box > .message {
  background: rgba(8, 12, 16, 0.62) !important;
  color: var(--text-soft) !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 14px 34px rgba(0,0,0,0.24) !important;
  cursor: default !important;
}

body > main.auth-page .auth-box > .discord-login-btn,
body > main.auth-page .auth-box > .btn.primary {
  background: linear-gradient(135deg, var(--beige), var(--olive)) !important;
  color: var(--dark) !important;
  border-color: rgba(175, 200, 255, 0.32) !important;
  box-shadow: 0 18px 45px rgba(88, 130, 206, 0.23) !important;
}

body > main.auth-page .auth-box > .discord-login-btn:hover,
body > main.auth-page .auth-box > .btn.primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 54px rgba(88, 130, 206, 0.3) !important;
  filter: brightness(1.04) !important;
}

body > main.auth-page .profile-status-box {
  grid-column: 1 / -1 !important;
  margin: 0 auto !important;
}

body > main.auth-page .profile-status-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  justify-content: center !important;
  align-items: center !important;
}

body > main.auth-page .profile-status-actions .btn,
body > main.auth-page .profile-status-actions button {
  min-width: 190px !important;
}

@media (max-width: 700px) {
  body > main.auth-page {
    padding-inline: 14px !important;
  }

  body > main.auth-page .auth-card::after {
    inset: 18px auto 18px 18px !important;
    width: 5px !important;
  }

  body > main.auth-page .auth-box {
    grid-template-columns: 1fr !important;
    width: min(390px, 100%) !important;
  }

  body > main.auth-page .auth-box > .message,
  body > main.auth-page .auth-box > .btn,
  body > main.auth-page .auth-box > button {
    min-height: 58px !important;
  }
}

/* =========================================================
   LWR FIX PACK: subpages unified homepage-style redesign
   Scope: rules, updates, FAQ, team, activation pages only.
   Home page / الصفحة الرئيسية is intentionally untouched.
========================================================= */

body.lwr-subpage {
  --subpage-card-bg: rgba(12, 17, 23, 0.78);
  --subpage-card-bg-strong: rgba(14, 21, 30, 0.92);
  --subpage-soft-bg: rgba(8, 12, 16, 0.62);
  --subpage-border: rgba(88, 130, 206, 0.23);
  --subpage-border-strong: rgba(88, 130, 206, 0.42);
  --subpage-glow: rgba(88, 130, 206, 0.22);
  background:
    radial-gradient(circle at 50% -10%, rgba(88, 130, 206, 0.18), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(88, 130, 206, 0.10), transparent 28%),
    radial-gradient(circle at 88% 40%, rgba(62, 96, 179, 0.13), transparent 34%),
    linear-gradient(180deg, #081018 0%, #070B0F 58%, #05080B 100%) !important;
  color: var(--text) !important;
}

body.lwr-subpage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 6, 9, 0.20), rgba(3, 6, 9, 0.78)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 78px);
}

body.lwr-subpage::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 14%, rgba(175, 200, 255, 0.07), transparent 36%);
  opacity: 0.9;
}

/* Subpage navbar polish without touching the homepage navbar */
body.lwr-subpage .navbar,
body.lwr-subpage .site-navbar {
  background: rgba(5, 8, 11, 0.84) !important;
  border-bottom: 1px solid rgba(88, 130, 206, 0.14) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
}

body.lwr-subpage .nav-links a {
  color: rgba(245, 248, 255, 0.64) !important;
}

body.lwr-subpage .nav-links a:hover,
body.lwr-subpage .nav-links a.active {
  color: #AFC8FF !important;
}

body.lwr-subpage .nav-links a::after {
  background: linear-gradient(90deg, transparent, #5882CE, transparent) !important;
  box-shadow: 0 0 18px rgba(88, 130, 206, 0.55) !important;
}

body.lwr-subpage .login-trigger,
body.lwr-subpage .nav-auth-button,
body.lwr-subpage .profile-trigger {
  border-color: rgba(88, 130, 206, 0.22) !important;
  background: rgba(8, 12, 16, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 36px rgba(0,0,0,0.25) !important;
}

/* Public pages: القوانين / التحديثات / FAQ / الطاقم */
body.lwr-subpage > main.lwr-public-page {
  width: min(1040px, calc(100% - 42px)) !important;
  max-width: 1040px !important;
  padding: calc(var(--nav-height) + 64px) 0 96px !important;
  margin: 0 auto !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-hero-card {
  position: relative !important;
  min-height: 292px !important;
  margin: 0 auto 30px !important;
  padding: clamp(34px, 5vw, 62px) clamp(24px, 5vw, 58px) !important;
  border: 1px solid var(--subpage-border-strong) !important;
  border-radius: 32px !important;
  background:
    linear-gradient(180deg, rgba(13, 18, 22, 0.84), rgba(8, 12, 16, 0.74)),
    radial-gradient(circle at 50% 0%, rgba(88, 130, 206, 0.16), transparent 42%) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255,255,255,0.035) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  isolation: isolate;
}

body.lwr-subpage > main.lwr-public-page .lwr-hero-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 24px auto 24px 24px !important;
  width: 7px !important;
  height: auto !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7FA4F6, #5882CE, #3E60B3) !important;
  box-shadow: 0 0 32px rgba(88, 130, 206, 0.42) !important;
  filter: none !important;
  z-index: 1 !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-hero-card::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -120px -170px auto !important;
  width: 360px !important;
  height: 360px !important;
  border-radius: 50% !important;
  background: rgba(88, 130, 206, 0.12) !important;
  filter: blur(22px) !important;
  z-index: -1 !important;
}

body.lwr-subpage .lwr-kicker,
body.lwr-subpage .activation-kicker,
body.lwr-subpage .content-kicker {
  display: inline-flex !important;
  width: fit-content !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 16px !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.28) !important;
  background: rgba(88, 130, 206, 0.10) !important;
  color: #BFD2FF !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035) !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: 1.8px !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-hero-card h1,
body.lwr-subpage > main.activation-page .activation-card h1,
body.lwr-subpage > main.activation-flow-page .page-title h1,
body.lwr-subpage > main.container.activation-flow-page .page-title h1 {
  margin: 0 0 14px !important;
  color: #F5F8FF !important;
  font-size: clamp(46px, 7vw, 88px) !important;
  line-height: 1.02 !important;
  font-weight: 1000 !important;
  letter-spacing: -1.4px !important;
  text-shadow: 0 20px 55px rgba(0,0,0,0.55) !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-hero-card p,
body.lwr-subpage > main.activation-page .activation-card p,
body.lwr-subpage > main.activation-flow-page .page-title p,
body.lwr-subpage > main.container.activation-flow-page .page-title p {
  max-width: 820px !important;
  margin: 0 auto !important;
  color: rgba(245, 248, 255, 0.72) !important;
  font-size: clamp(16px, 1.8vw, 21px) !important;
  line-height: 2.05 !important;
  font-weight: 800 !important;
}

body.lwr-subpage .lwr-search {
  width: 100% !important;
  min-height: 64px !important;
  margin: 0 0 18px !important;
  padding: 0 22px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(88, 130, 206, 0.24) !important;
  background: rgba(6, 10, 14, 0.76) !important;
  color: #F5F8FF !important;
  box-shadow: 0 20px 46px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.035) !important;
}

body.lwr-subpage .lwr-search::placeholder {
  color: rgba(245, 248, 255, 0.44) !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-faq,
body.lwr-subpage > main.lwr-public-page .lwr-rules {
  display: grid !important;
  gap: 14px !important;
}

body.lwr-subpage > main.lwr-public-page details {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(18, 26, 34, 0.78), rgba(8, 12, 16, 0.66)) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.03) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

body.lwr-subpage > main.lwr-public-page details:hover,
body.lwr-subpage > main.lwr-public-page details[open] {
  border-color: rgba(88, 130, 206, 0.42) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(88,130,206,0.04) inset !important;
}

body.lwr-subpage > main.lwr-public-page details:hover {
  transform: translateY(-2px) !important;
}

body.lwr-subpage > main.lwr-public-page summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 72px !important;
  padding: 18px 28px 18px 72px !important;
  list-style: none !important;
  cursor: pointer !important;
  color: #F5F8FF !important;
  font-size: clamp(17px, 2vw, 20px) !important;
  font-weight: 1000 !important;
  line-height: 1.5 !important;
}

body.lwr-subpage > main.lwr-public-page summary::-webkit-details-marker { display: none !important; }

body.lwr-subpage > main.lwr-public-page summary::after {
  content: "⌄" !important;
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  width: 36px !important;
  height: 36px !important;
  transform: translateY(-50%) rotate(0deg) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.22) !important;
  background: rgba(6, 10, 14, 0.72) !important;
  color: #AFC8FF !important;
  display: grid !important;
  place-items: center !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
}

body.lwr-subpage > main.lwr-public-page details[open] summary::after {
  transform: translateY(-50%) rotate(180deg) !important;
  background: rgba(88, 130, 206, 0.16) !important;
}

body.lwr-subpage > main.lwr-public-page details p,
body.lwr-subpage > main.lwr-public-page details ul,
body.lwr-subpage > main.lwr-public-page details table {
  margin: 0 28px 24px !important;
  padding-top: 4px !important;
  color: rgba(245, 248, 255, 0.74) !important;
  font-size: 15px !important;
  line-height: 2 !important;
}

body.lwr-subpage > main.lwr-public-page details strong {
  color: #BFD2FF !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 18px !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card {
  position: relative !important;
  min-height: 220px !important;
  padding: 30px 26px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(18, 26, 34, 0.78), rgba(8, 12, 16, 0.68)) !important;
  box-shadow: 0 20px 54px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.03) !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  width: auto !important;
  height: 4px !important;
  background: linear-gradient(90deg, transparent, #5882CE, transparent) !important;
  color: transparent !important;
  opacity: 0.95 !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -60px -90px auto !important;
  width: 180px !important;
  height: 180px !important;
  border-radius: 50% !important;
  background: rgba(88, 130, 206, 0.09) !important;
  filter: blur(12px) !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(88, 130, 206, 0.42) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.40) !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card h2,
body.lwr-subpage > main.lwr-public-page .lwr-card h3 {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 0 12px !important;
  color: #F5F8FF !important;
  font-size: 23px !important;
  line-height: 1.35 !important;
}

body.lwr-subpage > main.lwr-public-page .lwr-card p,
body.lwr-subpage > main.lwr-public-page .lwr-card li,
body.lwr-subpage > main.lwr-public-page .lwr-muted {
  position: relative !important;
  z-index: 1 !important;
  color: rgba(245, 248, 255, 0.70) !important;
  line-height: 2 !important;
}

body.lwr-subpage .lwr-table {
  border-color: rgba(88, 130, 206, 0.20) !important;
  background: rgba(6, 10, 14, 0.70) !important;
}

body.lwr-subpage .lwr-table th {
  color: #F5F8FF !important;
  background: rgba(88, 130, 206, 0.13) !important;
}

body.lwr-subpage .lwr-table td {
  color: rgba(245, 248, 255, 0.72) !important;
}

/* Activation pages */
body.lwr-subpage.activation-style-page > main.activation-page,
body.lwr-subpage.activation-style-page > main.container.activation-flow-page {
  width: min(1120px, calc(100% - 42px)) !important;
  max-width: 1120px !important;
  min-height: calc(100vh - var(--nav-height)) !important;
  margin: 0 auto !important;
  padding: calc(var(--nav-height) + 64px) 0 96px !important;
}

body.lwr-subpage.activation-style-page > main.activation-page .activation-card,
body.lwr-subpage.activation-style-page .activation-flow-shell {
  position: relative !important;
  width: 100% !important;
  border: 1px solid rgba(88, 130, 206, 0.32) !important;
  border-radius: 32px !important;
  background:
    linear-gradient(180deg, rgba(13, 18, 22, 0.86), rgba(8, 12, 16, 0.76)),
    radial-gradient(circle at 50% 0%, rgba(88, 130, 206, 0.14), transparent 42%) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.035) !important;
  overflow: hidden !important;
}

body.lwr-subpage.activation-style-page > main.activation-page .activation-card::after,
body.lwr-subpage.activation-style-page .activation-flow-shell::after {
  content: "" !important;
  position: absolute !important;
  inset: 24px auto 24px 24px !important;
  width: 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7FA4F6, #5882CE, #3E60B3) !important;
  box-shadow: 0 0 32px rgba(88, 130, 206, 0.42) !important;
  z-index: 0 !important;
}

body.lwr-subpage.activation-style-page .activation-card-content,
body.lwr-subpage.activation-style-page .activation-flow-shell > * {
  position: relative !important;
  z-index: 1 !important;
}

body.lwr-subpage.activation-style-page .activation-card-content {
  padding: clamp(34px, 5vw, 58px) !important;
  text-align: center !important;
}

body.lwr-subpage.activation-style-page .activation-rules-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 30px 0 !important;
  text-align: right !important;
}

body.lwr-subpage.activation-style-page .activation-rule-box,
body.lwr-subpage.activation-style-page .activation-status-box,
body.lwr-subpage.activation-style-page .activation-flow-section,
body.lwr-subpage.activation-style-page .quiz-question-card,
body.lwr-subpage.activation-style-page .pledge-box,
body.lwr-subpage.activation-style-page .voice-recorder-box,
body.lwr-subpage.activation-style-page .final-review-box,
body.lwr-subpage.activation-style-page .review-story-box {
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  background: rgba(8, 12, 16, 0.60) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.025) !important;
}

body.lwr-subpage.activation-style-page .activation-rule-box {
  border-radius: 22px !important;
  padding: 20px !important;
}

body.lwr-subpage.activation-style-page .activation-rule-box strong,
body.lwr-subpage.activation-style-page .activation-section-head h2,
body.lwr-subpage.activation-style-page .quiz-question-card h3 {
  color: #F5F8FF !important;
}

body.lwr-subpage.activation-style-page .activation-rule-box span,
body.lwr-subpage.activation-style-page .activation-section-head p,
body.lwr-subpage.activation-style-page .small-muted,
body.lwr-subpage.activation-style-page .activation-status-box,
body.lwr-subpage.activation-style-page .pledge-box,
body.lwr-subpage.activation-style-page .final-review-box {
  color: rgba(245, 248, 255, 0.72) !important;
}

body.lwr-subpage.activation-style-page .activation-actions,
body.lwr-subpage.activation-style-page .dashboard-actions,
body.lwr-subpage.activation-style-page .voice-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

body.lwr-subpage .btn,
body.lwr-subpage button.btn,
body.lwr-subpage a.btn {
  min-height: 56px !important;
  min-width: 190px !important;
  padding: 0 24px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(88, 130, 206, 0.24) !important;
  background: rgba(8, 12, 16, 0.64) !important;
  color: #F5F8FF !important;
  font-weight: 1000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 16px 38px rgba(0,0,0,0.24) !important;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease !important;
}

body.lwr-subpage .btn.primary,
body.lwr-subpage .discord-login-btn {
  background: linear-gradient(135deg, #8DB0FF, #5882CE 56%, #3E60B3) !important;
  color: #061018 !important;
  border-color: rgba(175, 200, 255, 0.42) !important;
  box-shadow: 0 20px 52px rgba(88, 130, 206, 0.28) !important;
}

body.lwr-subpage .btn:hover,
body.lwr-subpage button.btn:hover,
body.lwr-subpage a.btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.04) !important;
}

body.lwr-subpage input,
body.lwr-subpage textarea,
body.lwr-subpage select {
  border: 1px solid rgba(88, 130, 206, 0.20) !important;
  background: rgba(6, 10, 14, 0.72) !important;
  color: #F5F8FF !important;
  border-radius: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

body.lwr-subpage input:focus,
body.lwr-subpage textarea:focus,
body.lwr-subpage select:focus {
  border-color: rgba(88, 130, 206, 0.54) !important;
  box-shadow: 0 0 0 4px rgba(88, 130, 206, 0.12), inset 0 1px 0 rgba(255,255,255,0.03) !important;
}

body.lwr-subpage.activation-style-page .activation-flow-title {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto 24px !important;
  text-align: center !important;
}

body.lwr-subpage.activation-style-page .activation-flow-shell {
  padding: clamp(22px, 4vw, 34px) !important;
}

body.lwr-subpage.activation-style-page .activation-stepper {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 18px !important;
}

body.lwr-subpage.activation-style-page .activation-stepper span {
  min-height: 50px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  background: rgba(6, 10, 14, 0.62) !important;
  color: rgba(245, 248, 255, 0.54) !important;
  font-weight: 900 !important;
}

body.lwr-subpage.activation-style-page .activation-stepper span.active,
body.lwr-subpage.activation-style-page .activation-stepper span.done {
  border-color: rgba(88, 130, 206, 0.42) !important;
  background: rgba(88, 130, 206, 0.14) !important;
  color: #BFD2FF !important;
}

body.lwr-subpage.activation-style-page .activation-form-grid,
body.lwr-subpage.activation-style-page .review-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body.lwr-subpage.activation-style-page .field label,
body.lwr-subpage.activation-style-page .dashboard-check {
  color: #F5F8FF !important;
  font-weight: 1000 !important;
}

body.lwr-subpage .message {
  border-radius: 18px !important;
  border: 1px solid rgba(88, 130, 206, 0.20) !important;
  background: rgba(88, 130, 206, 0.10) !important;
  color: #DCE7FF !important;
}

body.lwr-subpage .footer {
  border-top-color: rgba(88, 130, 206, 0.12) !important;
  color: rgba(245, 248, 255, 0.46) !important;
}

@media (max-width: 900px) {
  body.lwr-subpage > main.lwr-public-page,
  body.lwr-subpage.activation-style-page > main.activation-page,
  body.lwr-subpage.activation-style-page > main.container.activation-flow-page {
    width: min(100% - 28px, 720px) !important;
    padding-top: calc(var(--nav-height) + 34px) !important;
  }

  body.lwr-subpage.activation-style-page .activation-rules-grid,
  body.lwr-subpage.activation-style-page .activation-form-grid,
  body.lwr-subpage.activation-style-page .review-grid,
  body.lwr-subpage.activation-style-page .activation-stepper {
    grid-template-columns: 1fr !important;
  }

  body.lwr-subpage > main.lwr-public-page .lwr-hero-card,
  body.lwr-subpage.activation-style-page > main.activation-page .activation-card {
    border-radius: 26px !important;
  }

  body.lwr-subpage .btn,
  body.lwr-subpage button.btn,
  body.lwr-subpage a.btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 620px) {
  body.lwr-subpage > main.lwr-public-page .lwr-hero-card h1,
  body.lwr-subpage > main.activation-page .activation-card h1,
  body.lwr-subpage > main.activation-flow-page .page-title h1,
  body.lwr-subpage > main.container.activation-flow-page .page-title h1 {
    font-size: clamp(38px, 14vw, 58px) !important;
  }

  body.lwr-subpage > main.lwr-public-page summary {
    min-height: 64px !important;
    padding-inline: 20px 62px !important;
  }

  body.lwr-subpage > main.lwr-public-page summary::after {
    right: 20px !important;
    left: auto !important;
  }

  body.lwr-subpage > main.lwr-public-page .lwr-hero-card::before,
  body.lwr-subpage.activation-style-page > main.activation-page .activation-card::after,
  body.lwr-subpage.activation-style-page .activation-flow-shell::after {
    inset: 18px auto 18px 18px !important;
    width: 5px !important;
  }
}

/* =========================
   FAST LOADER FAILSAFE
   Prevents a broken/slow API request from visually locking the page.
========================= */
#pageLoader {
  animation: lwrLoaderFailsafe 3.2s ease forwards;
}

body.loaded #pageLoader,
#pageLoader.hide {
  animation: none !important;
}

@keyframes lwrLoaderFailsafe {
  0%, 78% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* =========================================================
   Activation exam progress line + updates dashboard/page
   ========================================================= */

.quiz-progress-shell {
  margin: 16px 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(88, 130, 206, 0.24);
  border-radius: 18px;
  background: rgba(13, 18, 22, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.quiz-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: rgba(245, 247, 255, 0.82);
  font-weight: 800;
}

.quiz-progress-meta b {
  color: #dce8ff;
  direction: ltr;
}

.quiz-progress-track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.quiz-progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3E60B3, #5882CE);
  box-shadow: 0 0 18px rgba(88, 130, 206, 0.4);
  transition: width 0.25s ease;
}

.lwr-updates-toolbar {
  width: min(1080px, calc(100% - 28px));
  margin: 26px auto 18px;
  padding: 22px;
  border: 1px solid rgba(88, 130, 206, 0.2);
  border-radius: 24px;
  background: rgba(13, 18, 22, 0.64);
}

.lwr-updates-toolbar h2 {
  margin: 0 0 14px;
  color: #f4f7ff;
}

.lwr-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lwr-filter-pills button {
  border: 1px solid rgba(88, 130, 206, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 247, 255, 0.78);
  padding: 10px 15px;
  font-weight: 800;
  cursor: pointer;
}

.lwr-filter-pills button.active,
.lwr-filter-pills button:hover {
  background: linear-gradient(135deg, #3E60B3, #5882CE);
  color: #071019;
  border-color: rgba(88, 130, 206, 0.55);
}

.lwr-updates-grid {
  align-items: stretch;
}

.lwr-update-card {
  position: relative;
  overflow: hidden;
}

.lwr-update-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(220, 232, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 900;
}

.lwr-update-topline span {
  border: 1px solid rgba(88, 130, 206, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(88, 130, 206, 0.1);
}

.lwr-update-media {
  margin: -2px -2px 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(88, 130, 206, 0.18);
  background: rgba(0, 0, 0, 0.24);
}

.lwr-update-media img,
.lwr-update-media video {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.lwr-update-details {
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.lwr-update-details summary {
  cursor: pointer;
  color: #dce8ff;
  font-weight: 900;
}

.lwr-update-details div {
  margin-top: 12px;
  color: rgba(245, 247, 255, 0.78);
  line-height: 1.9;
}

.update-admin-item .small-muted {
  word-break: break-word;
}

@media (max-width: 700px) {
  .quiz-progress-meta,
  .lwr-update-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .lwr-updates-toolbar {
    padding: 18px;
  }
}

/* ============================= */
/* Support / complaints future page */
/* ============================= */

body.support-public-page .support-hero-card {
  min-height: 340px;
}

.support-notice-card,
.support-future-card {
  margin: 0 0 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 16%, rgba(88, 130, 206, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(18, 26, 34, 0.82), rgba(8, 12, 16, 0.72));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.36);
}

.support-notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.support-notice-card strong,
.support-future-card h2 {
  display: block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 1000;
}

.support-notice-card p,
.support-future-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 2;
}

.support-state-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 205, 110, 0.22);
  background: rgba(255, 205, 110, 0.08);
  color: #ffe2a6;
  font-weight: 1000;
  white-space: nowrap;
}

.support-state-pill.enabled {
  border-color: rgba(99, 255, 176, 0.28);
  background: rgba(99, 255, 176, 0.08);
  color: #b8ffd7;
}

.support-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

body > main.lwr-public-page .support-category-card {
  min-height: 230px;
  padding-top: 70px !important;
}

.support-category-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(88, 130, 206, 0.12);
  color: var(--beige-2);
  font-weight: 1000;
}

.support-category-card span {
  position: absolute;
  bottom: 22px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.48);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 900;
}

.support-discord-link.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}

.support-admin-item h3 {
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .support-notice-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-state-pill {
    width: 100%;
  }
}

/* ============================= */
/* PLAYER DASHBOARD / MY STATUS */
/* ============================= */

.my-dashboard-page .player-dashboard-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 22px 70px;
}

.compact-hero {
  min-height: auto !important;
  padding: 70px 22px 40px !important;
  text-align: center;
}

.player-dashboard-shell,
.player-dashboard-content {
  width: 100%;
}

.player-profile-hero-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(88, 130, 206, 0.14), rgba(7, 10, 14, 0.82)),
    rgba(10, 14, 20, 0.72);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.player-profile-hero-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.player-profile-hero-card h2 {
  margin: 10px 0 6px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  color: var(--text);
}

.player-profile-hero-card p {
  margin: 0;
  color: var(--text-soft);
  font-weight: 800;
}

.player-metrics-row,
.player-mini-grid,
.user-file-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 12px;
}

.player-metrics-row {
  margin-bottom: 20px;
}

.player-metric,
.user-file-metric {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.58);
}

.player-metric span,
.user-file-metric span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.player-metric strong,
.user-file-metric strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 1000;
}

.player-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.player-panel,
.user-file-section,
.player-admin-tools {
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(88, 130, 206, 0.08), transparent 42%),
    rgba(8, 12, 16, 0.68);
  box-shadow: var(--shadow-card);
}

.player-panel h2,
.user-file-section h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 24px;
}

.player-panel h3 {
  margin: 16px 0 10px;
  color: var(--text);
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.user-file-status,
.activation-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}

.user-file-status.good,
.activation-status.good {
  border-color: rgba(99, 255, 176, 0.25);
  background: rgba(99, 255, 176, 0.08);
  color: #b8ffd7;
}

.user-file-status.warn,
.activation-status.warn {
  border-color: rgba(255, 205, 110, 0.28);
  background: rgba(255, 205, 110, 0.09);
  color: #ffe2a6;
}

.user-file-status.bad,
.activation-status.bad {
  border-color: rgba(255, 91, 91, 0.3);
  background: rgba(255, 91, 91, 0.09);
  color: #ffb4b4;
}

.user-file-status.muted,
.activation-status.muted {
  opacity: 0.8;
}

.player-note,
.player-active-ban,
.player-character-card,
.player-alert-row,
.player-history-row {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  margin-top: 10px;
}

.player-note.warn {
  border-color: rgba(255, 205, 110, 0.24);
  background: rgba(255, 205, 110, 0.08);
}

.player-active-ban {
  border-color: rgba(255, 91, 91, 0.3);
  background: rgba(255, 91, 91, 0.08);
}

.player-active-ban strong,
.player-note strong {
  color: var(--text);
}

.player-active-ban p,
.player-note p,
.player-character-card p,
.player-alert-row p,
.player-history-row p {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.player-history-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.player-history-row,
.user-file-compact-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.player-history-row p {
  grid-column: 1 / -1;
}

.player-alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player-alert-row.unread {
  border-color: rgba(88, 130, 206, 0.35);
  background: rgba(88, 130, 206, 0.09);
}

.player-inline-form,
.player-admin-grid {
  display: grid;
  gap: 12px;
}

.player-admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: end;
}

.player-admin-grid textarea,
.player-inline-form textarea {
  min-height: 110px;
  resize: vertical;
}

.player-admin-tools {
  margin-top: 18px;
}

.player-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 820px) {
  .player-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .player-profile-hero-card,
  .player-alert-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-history-row,
  .user-file-compact-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LWR IT - PREMIUM UI REBUILD V4
   Purpose: polished roleplay activation/admin/player portal
   Notes: keeps existing HTML/JS logic and brand palette.
========================================================= */

:root {
  --brand-primary: var(--beige, #5882CE);
  --brand-secondary: var(--olive, #3E60B3);
  --brand-soft: var(--beige-2, #AFC8FF);
  --bg-0: #070A0E;
  --bg-1: #0B1118;
  --bg-2: #0E1721;
  --panel-0: rgba(10, 16, 23, 0.78);
  --panel-1: rgba(14, 24, 35, 0.82);
  --panel-2: rgba(18, 29, 43, 0.72);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(88, 130, 206, 0.18);
  --line-strong: rgba(88, 130, 206, 0.38);
  --line-white: rgba(255, 255, 255, 0.09);
  --txt: var(--text, #F5F8FF);
  --txt-2: rgba(245, 248, 255, 0.76);
  --txt-3: rgba(245, 248, 255, 0.55);
  --good: #61F0A0;
  --good-bg: rgba(97, 240, 160, 0.105);
  --warn: #FFD36E;
  --warn-bg: rgba(255, 211, 110, 0.105);
  --bad: #FF6B7A;
  --bad-bg: rgba(255, 107, 122, 0.105);
  --radius-2xl: 34px;
  --radius-xl2: 28px;
  --radius-lg2: 22px;
  --radius-md2: 16px;
  --blur: 18px;
  --shadow-deep: 0 30px 90px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 22px 58px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(88, 130, 206, 0.22), 0 22px 60px rgba(88, 130, 206, 0.10);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  color-scheme: dark;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(circle at 9% 8%, rgba(88, 130, 206, 0.18), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(62, 96, 179, 0.24), transparent 33%),
    radial-gradient(circle at 50% 110%, rgba(88, 130, 206, 0.11), transparent 45%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 46%, #111B28 100%) !important;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,10,14,.30), transparent 24%, rgba(7,10,14,.38)),
    radial-gradient(circle at 50% 5%, transparent 0 38%, rgba(0,0,0,.18) 75%);
}

::selection {
  color: #fff;
  background: rgba(88, 130, 206, 0.55);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
  border: 2px solid rgba(7,10,14,.9);
}

/* ---------- universal containers ---------- */
.container,
.subpage-main,
.player-dashboard-main,
.dashboard-pro-main,
.activation-flow-page,
.content-page,
.lwr-public-page {
  position: relative;
}

.container,
.subpage-main,
.content-page,
.lwr-public-page,
.activation-flow-page {
  width: min(1240px, calc(100% - 44px));
  margin-inline: auto;
}

main.container,
main.subpage-main,
main.content-page,
main.lwr-public-page,
main.activation-flow-page {
  padding-top: calc(var(--nav-height, 94px) + 42px) !important;
  padding-bottom: 72px !important;
}

/* ---------- loader ---------- */
#pageLoader {
  background:
    radial-gradient(circle at 50% 40%, rgba(88,130,206,.16), transparent 38%),
    var(--bg-0) !important;
}

.loader-circle {
  width: 58px !important;
  height: 58px !important;
  border-width: 3px !important;
  border-color: rgba(88, 130, 206, .14) !important;
  border-top-color: var(--brand-primary) !important;
  border-right-color: var(--brand-soft) !important;
  box-shadow: 0 0 38px rgba(88, 130, 206, .20);
}

/* ---------- navbar premium ---------- */
.navbar,
.site-navbar {
  background: linear-gradient(180deg, rgba(7,10,14,.94), rgba(9,14,20,.78)) !important;
  border-bottom: 1px solid rgba(88, 130, 206, .18) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(22px) saturate(130%) !important;
}

.nav-inner {
  width: min(1480px, calc(100% - 54px)) !important;
  grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) minmax(120px, 190px) !important;
}

.brand-logo,
.nav-logo,
.logo-badge,
.profile-btn,
.profile-dropdown,
.nav-links a,
.dashboard-pro-back,
.btn {
  -webkit-tap-highlight-color: transparent;
}

.brand-logo {
  position: relative;
  border-radius: 26px;
  transition: transform .22s var(--ease), filter .22s var(--ease);
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(88,130,206,.26), transparent 62%);
  filter: blur(12px);
  opacity: .75;
  z-index: -1;
}

.brand-logo:hover { transform: translateY(-2px) scale(1.02); }

.nav-logo {
  width: 72px !important;
  height: 72px !important;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .50)) drop-shadow(0 0 14px rgba(88,130,206,.16));
}

.nav-links {
  gap: clamp(16px, 2.5vw, 46px) !important;
  padding: 0 10px;
}

.nav-links a {
  isolation: isolate;
  padding: 13px 4px;
  color: rgba(245, 248, 255, .72) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: -.15px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 8px -12px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(88, 130, 206, .09);
  border: 1px solid rgba(88, 130, 206, .0);
  opacity: 0;
  transform: scale(.88);
  transition: opacity .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .22s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(88,130,206,.16);
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.profile-menu { justify-self: start !important; }

.profile-btn {
  min-height: 50px !important;
  padding: 7px 8px 7px 15px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88, 130, 206, .24) !important;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06) !important;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease) !important;
}

.profile-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 130, 206, .46) !important;
  background: linear-gradient(135deg, rgba(88,130,206,.18), rgba(255,255,255,.05)) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.32), 0 0 0 4px rgba(88,130,206,.08) !important;
}

.profile-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(175,200,255,.28) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.32);
}

.profile-name {
  color: #fff !important;
  font-weight: 900 !important;
  max-width: 116px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown {
  top: calc(100% + 16px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(88, 130, 206, .24) !important;
  background:
    linear-gradient(180deg, rgba(14, 22, 32, .98), rgba(9, 14, 21, .98)) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.52), 0 0 0 1px rgba(255,255,255,.035) inset !important;
  backdrop-filter: blur(22px) saturate(130%);
}

.profile-dropdown-head,
.profile-mini-card {
  border-radius: 18px;
  background: rgba(88, 130, 206, .07);
  border: 1px solid rgba(88, 130, 206, .13);
}

.profile-dropdown-link {
  min-height: 46px;
  border-radius: 15px !important;
  transition: background .18s var(--ease), transform .18s var(--ease), color .18s var(--ease) !important;
}

.profile-dropdown-link:hover {
  background: rgba(88,130,206,.12) !important;
  color: #fff !important;
  transform: translateX(-3px);
}

/* ---------- hero/subpage titles ---------- */
.page-title,
.subpage-hero,
.compact-hero,
.activation-flow-title {
  position: relative;
  margin: 0 auto 28px !important;
  text-align: center;
  padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 46px) !important;
  border-radius: var(--radius-2xl) !important;
  border: 1px solid rgba(88, 130, 206, .18) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(88,130,206,.20), transparent 38%),
    radial-gradient(circle at 80% 10%, rgba(175,200,255,.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.032)) !important;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.06) !important;
  overflow: hidden;
}

.page-title::before,
.subpage-hero::before,
.compact-hero::before,
.activation-flow-title::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(88,130,206,.13), transparent),
    linear-gradient(180deg, rgba(255,255,255,.045), transparent 35%);
  opacity: .9;
}

.page-title > *,
.subpage-hero > *,
.compact-hero > *,
.activation-flow-title > * {
  position: relative;
}

.section-pill,
.activation-kicker,
.page-title span:first-child,
.subpage-hero .section-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px !important;
  border-radius: 999px !important;
  color: var(--brand-soft) !important;
  background: rgba(88,130,206,.13) !important;
  border: 1px solid rgba(88,130,206,.25) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .4px;
}

.page-title h1,
.subpage-hero h1,
.activation-flow-title h1,
.activation-card h1 {
  margin: 14px 0 10px !important;
  color: #fff !important;
  font-size: clamp(34px, 5vw, 68px) !important;
  line-height: 1.08 !important;
  font-weight: 1000 !important;
  letter-spacing: -1.3px;
  text-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.page-title p,
.subpage-hero p,
.activation-flow-title p,
.activation-card p {
  max-width: 820px;
  margin-inline: auto !important;
  color: rgba(245,248,255,.72) !important;
  font-size: clamp(15px, 1.6vw, 18px) !important;
  line-height: 1.95 !important;
}

/* ---------- premium cards and panels ---------- */
.card,
.dashboard-pro-card,
.dashboard-pro-list,
.admin-list,
.empty-dashboard-box,
.activation-card,
.activation-flow-shell,
.activation-flow-section,
.profile-status-box,
.player-dashboard-shell,
.player-profile-hero-card,
.player-panel,
.player-metric,
.player-character-card,
.player-active-ban,
.player-note,
.player-alert-row,
.player-history-row,
.final-review-box,
.pledge-box,
.voice-recorder-box,
.activation-status-box,
.quiz-question-card,
.question-manage-card,
.job-application-card,
.job-public-card,
.creator-page-card,
.streamer-card,
.admin-item,
.user-file-card,
.user-file-detail-card,
.activation-detail-user,
.activation-answer-card,
.job-review-modal > div,
.modal-card,
.lwr-panel,
.lwr-card {
  border: 1px solid rgba(88, 130, 206, .18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.064), rgba(255,255,255,.028)),
    rgba(10, 16, 23, .74) !important;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter: blur(var(--blur)) saturate(125%);
}

.card,
.dashboard-pro-card,
.activation-flow-section,
.player-panel,
.player-dashboard-shell,
.activation-flow-shell,
.profile-status-box,
.final-review-box,
.voice-recorder-box,
.activation-card {
  border-radius: var(--radius-2xl) !important;
}

.card:hover,
.dashboard-pro-card:hover,
.player-panel:hover,
.quiz-question-card:hover,
.admin-item:hover,
.player-metric:hover,
.player-history-row:hover,
.player-alert-row:hover {
  border-color: rgba(88, 130, 206, .34) !important;
  box-shadow: var(--shadow-card), 0 0 0 4px rgba(88,130,206,.045), inset 0 1px 0 rgba(255,255,255,.075) !important;
}

.card-head,
.dashboard-pro-card-head,
.activation-section-head {
  margin-bottom: 18px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(88,130,206,.13);
}

.card-head h2,
.dashboard-pro-card-head h2,
.activation-section-head h2,
.player-panel h2 {
  color: #fff !important;
  font-size: clamp(20px, 2.1vw, 28px) !important;
  font-weight: 1000 !important;
  letter-spacing: -.45px;
  margin: 0 0 6px !important;
}

.card-head p,
.dashboard-pro-card-head p,
.activation-section-head p,
.small-muted,
.player-panel p {
  color: rgba(245,248,255,.66) !important;
  line-height: 1.85;
}

.empty-dashboard-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 22px !important;
  border-style: dashed !important;
  color: rgba(245,248,255,.62) !important;
  text-align: center;
}

/* ---------- buttons ---------- */
.btn,
button.btn,
a.btn,
.hero-main-btn,
.hero-btn,
.dashboard-pro-back,
.lwr-btn,
.creator-visit-btn,
.choice-add-btn,
.admin-list button:not(.btn),
.dashboard-pro-list button:not(.btn),
#activationApps button:not(.btn),
#jobAppsList button:not(.btn) {
  position: relative;
  isolation: isolate;
  min-height: 48px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88,130,206,.28) !important;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.08) !important;
  font-weight: 1000 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), opacity .22s var(--ease) !important;
  overflow: hidden;
}

.btn::before,
button.btn::before,
a.btn::before,
.hero-main-btn::before,
.hero-btn::before,
.dashboard-pro-back::before,
.lwr-btn::before,
.creator-visit-btn::before,
.choice-add-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0 28%, rgba(255,255,255,.20) 46%, transparent 62% 100%);
  transform: translateX(115%);
  transition: transform .55s var(--ease);
}

.btn:hover,
button.btn:hover,
a.btn:hover,
.hero-main-btn:hover,
.hero-btn:hover,
.dashboard-pro-back:hover,
.lwr-btn:hover,
.creator-visit-btn:hover,
.choice-add-btn:hover,
.admin-list button:not(.btn):hover,
.dashboard-pro-list button:not(.btn):hover,
#activationApps button:not(.btn):hover,
#jobAppsList button:not(.btn):hover {
  transform: translateY(-2px) !important;
  border-color: rgba(88,130,206,.48) !important;
  box-shadow: 0 22px 48px rgba(0,0,0,.34), 0 0 0 4px rgba(88,130,206,.08), inset 0 1px 0 rgba(255,255,255,.11) !important;
}

.btn:hover::before,
button.btn:hover::before,
a.btn:hover::before,
.hero-main-btn:hover::before,
.hero-btn:hover::before,
.dashboard-pro-back:hover::before,
.lwr-btn:hover::before,
.creator-visit-btn:hover::before,
.choice-add-btn:hover::before { transform: translateX(-115%); }

.btn.primary,
button.btn.primary,
a.btn.primary,
.hero-main-btn,
.hero-btn,
.lwr-btn,
.discord-login-btn,
.choose-job-btn {
  border-color: rgba(175,200,255,.36) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.20), transparent 38%),
    linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)) !important;
  color: #fff !important;
  box-shadow: 0 20px 48px rgba(88,130,206,.26), 0 12px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.18) !important;
}

.btn.primary:hover,
button.btn.primary:hover,
a.btn.primary:hover,
.hero-main-btn:hover,
.hero-btn:hover,
.lwr-btn:hover,
.discord-login-btn:hover,
.choose-job-btn:hover {
  box-shadow: 0 24px 58px rgba(88,130,206,.35), 0 0 0 5px rgba(88,130,206,.12), inset 0 1px 0 rgba(255,255,255,.20) !important;
}

.btn.danger,
button.btn.danger,
a.btn.danger,
.choice-remove-btn {
  border-color: rgba(255,107,122,.38) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.15), transparent 38%),
    linear-gradient(135deg, #8D2634, #D94A5E) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(217,74,94,.22), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.btn.warn,
button.btn.warn,
a.btn.warn,
[data-action="interview"],
[data-action="temp-reject"] {
  border-color: rgba(255,211,110,.36) !important;
  background: linear-gradient(135deg, #806329, #C79A38) !important;
  color: #fff !important;
}

.btn:disabled,
button:disabled,
.btn.disabled,
[aria-disabled="true"] {
  cursor: not-allowed !important;
  opacity: .50 !important;
  filter: grayscale(.35);
  transform: none !important;
  box-shadow: none !important;
}

.dashboard-actions,
.admin-actions,
.player-review-actions,
.activation-actions,
.voice-controls,
.profile-status-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

/* ---------- forms ---------- */
.field,
.form-field,
.activation-form-grid .field,
.dashboard-pro-card .field {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.field label,
.form-field label,
.dashboard-check,
label {
  color: rgba(245,248,255,.86) !important;
  font-weight: 900 !important;
}

input,
textarea,
select,
.input,
.form-control {
  width: 100%;
  min-height: 50px;
  border-radius: 17px !important;
  border: 1px solid rgba(88, 130, 206, .20) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.032)),
    rgba(5, 9, 13, .55) !important;
  color: #fff !important;
  padding: 14px 15px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 28px rgba(0,0,0,.14) !important;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), transform .2s var(--ease) !important;
}

textarea {
  min-height: 126px !important;
  resize: vertical;
  line-height: 1.85 !important;
}

select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(175,200,255,.85) 50%),
    linear-gradient(135deg, rgba(175,200,255,.85) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.032)) !important;
  background-position: left 18px top 23px, left 12px top 23px, 0 0 !important;
  background-size: 6px 6px, 6px 6px, 100% 100% !important;
  background-repeat: no-repeat !important;
  padding-left: 42px !important;
}

input::placeholder,
textarea::placeholder { color: rgba(245,248,255,.35) !important; }

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(88, 130, 206, .62) !important;
  background: rgba(10, 16, 23, .82) !important;
  box-shadow: 0 0 0 4px rgba(88,130,206,.12), 0 18px 42px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.07) !important;
  transform: translateY(-1px);
}

input[readonly],
textarea[readonly] {
  opacity: .8;
  background: rgba(88,130,206,.075) !important;
}

.dashboard-check {
  min-height: 52px;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(88,130,206,.15);
  background: rgba(255,255,255,.042);
}

.dashboard-check input[type="checkbox"],
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-primary);
}

.activation-form-grid,
.player-admin-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;
}

.activation-full-row,
.activation-form-grid .activation-full-row,
.activation-form-grid .field.activation-full-row {
  grid-column: 1 / -1;
}

/* ---------- messages / alerts ---------- */
.message,
.alert,
.notice,
.toast,
#message > div,
#myDashboardMessage > div,
#loginStatus > div {
  position: relative;
  padding: 16px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(88, 130, 206, .19) !important;
  color: rgba(245,248,255,.82) !important;
  background: rgba(88, 130, 206, .085) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.055) !important;
  line-height: 1.75;
}

.message::before,
.alert::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 12px;
  width: 4px;
  border-radius: 99px;
  background: var(--brand-primary);
  opacity: .85;
}

.message.success,
.alert.success,
.success.message {
  border-color: rgba(97,240,160,.26) !important;
  background: var(--good-bg) !important;
  color: #DDFCEB !important;
}

.message.success::before,
.alert.success::before { background: var(--good); }

.message.error,
.alert.error,
.error.message {
  border-color: rgba(255,107,122,.26) !important;
  background: var(--bad-bg) !important;
  color: #FFDCE1 !important;
}

.message.error::before,
.alert.error::before { background: var(--bad); }

.message.warning,
.message.warn,
.alert.warning,
.alert.warn {
  border-color: rgba(255,211,110,.28) !important;
  background: var(--warn-bg) !important;
  color: #FFF1C8 !important;
}

.message.warning::before,
.message.warn::before,
.alert.warning::before,
.alert.warn::before { background: var(--warn); }

/* ---------- badges / statuses ---------- */
.badge,
.activation-status,
.user-file-status,
.status-badge,
.status-pill,
.player-metric.good strong,
.player-metric.bad strong,
.player-metric.warn strong,
.player-metric.muted strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: fit-content;
  min-height: 30px;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(88,130,206,.22) !important;
  background: rgba(88,130,206,.105) !important;
  color: var(--brand-soft) !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .2px;
  white-space: nowrap;
}

.badge::before,
.activation-status::before,
.user-file-status::before,
.status-badge::before,
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.badge.open,
.badge.accepted,
.activation-status.accepted,
.user-file-status.good,
.status-accepted,
.status-passed,
.player-metric.good strong {
  border-color: rgba(97,240,160,.30) !important;
  background: rgba(97,240,160,.105) !important;
  color: var(--good) !important;
}

.badge.pending,
.activation-status.pending,
.user-file-status.warn,
.status-submitted,
.status-under-review,
.status-interview,
.status-temp-rejected,
.player-metric.warn strong {
  border-color: rgba(255,211,110,.34) !important;
  background: rgba(255,211,110,.105) !important;
  color: var(--warn) !important;
}

.badge.closed,
.badge.rejected,
.activation-status.rejected,
.user-file-status.bad,
.status-banned,
.status-blacklisted,
.status-rejected,
.status-failed,
.player-metric.bad strong {
  border-color: rgba(255,107,122,.30) !important;
  background: rgba(255,107,122,.105) !important;
  color: var(--bad) !important;
}

.user-file-status.muted,
.status-new,
.status-draft,
.player-metric.muted strong {
  border-color: rgba(175,200,255,.20) !important;
  background: rgba(175,200,255,.07) !important;
  color: rgba(245,248,255,.70) !important;
}

/* ---------- activation system ---------- */
.activation-flow-page {
  max-width: 1220px;
}

.activation-flow-shell {
  position: relative;
  padding: clamp(18px, 3.4vw, 34px) !important;
  overflow: hidden;
}

.activation-flow-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 0%, rgba(88,130,206,.16), transparent 36%);
}

.activation-flow-shell > * { position: relative; }

.activation-stepper {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 0 24px !important;
  padding: 10px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(88,130,206,.16);
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.activation-stepper::before {
  content: "";
  position: absolute;
  inset: 50% 24px auto 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88,130,206,.28), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.activation-stepper span {
  position: relative;
  z-index: 1;
  min-height: 50px;
  padding: 0 12px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(245,248,255,.58) !important;
  background: rgba(8,13,18,.74);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 1000;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}

.activation-stepper span.done {
  color: var(--good) !important;
  background: rgba(97,240,160,.09);
  border-color: rgba(97,240,160,.26);
}

.activation-stepper span.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(88,130,206,.34), rgba(62,96,179,.20));
  border-color: rgba(175,200,255,.38);
  box-shadow: 0 18px 36px rgba(88,130,206,.14), 0 0 0 4px rgba(88,130,206,.08);
  transform: translateY(-2px);
}

.activation-status-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 22px;
  padding: 16px 18px !important;
  border-radius: 22px !important;
  color: rgba(245,248,255,.75) !important;
}

.activation-status-box strong { color: #fff; }
.activation-status-box span b { color: var(--brand-soft); }

.activation-flow-section {
  padding: clamp(18px, 3vw, 30px) !important;
  margin-top: 18px;
}

.activation-rule-box {
  border-radius: 24px !important;
  border: 1px solid rgba(88,130,206,.17) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05) !important;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.activation-rule-box:hover {
  transform: translateY(-3px);
  border-color: rgba(88,130,206,.35) !important;
  background: rgba(88,130,206,.075) !important;
}

.activation-rule-box strong { color: #fff !important; }
.activation-rule-box span { color: rgba(245,248,255,.68) !important; line-height: 1.8; }

.activation-quiz-start {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 26px;
  border: 1px dashed rgba(88,130,206,.26);
  background:
    radial-gradient(circle at center, rgba(88,130,206,.13), transparent 52%),
    rgba(255,255,255,.032);
}

.quiz-topbar {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(88,130,206,.18);
  background: rgba(255,255,255,.045);
}

.quiz-topbar strong {
  color: #fff;
  font-size: 15px;
}

#quizTimer {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  margin-inline-start: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--warn);
  background: rgba(255,211,110,.09);
  border: 1px solid rgba(255,211,110,.22);
  font-weight: 1000;
}

#quizProgressText {
  color: var(--brand-soft);
  font-weight: 1000;
}

.quiz-progress-shell {
  padding: 16px !important;
  margin-bottom: 20px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(88,130,206,.18);
  background: rgba(255,255,255,.04);
}

.quiz-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: rgba(245,248,255,.74);
  font-weight: 900;
}

#quizProgressPercent {
  color: var(--brand-soft);
}

.quiz-progress-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.06);
}

#quizProgressFill,
.quiz-progress-track > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-primary), var(--brand-soft));
  box-shadow: 0 0 26px rgba(88,130,206,.42);
  transition: width .30s var(--ease);
}

.quiz-question-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px) !important;
  margin-bottom: 16px !important;
  border-radius: 26px !important;
  overflow: hidden;
}

.quiz-question-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-primary), transparent);
  opacity: .85;
}

.quiz-question-card h3 {
  margin: 0 0 15px !important;
  color: #fff !important;
  font-size: clamp(17px, 1.8vw, 22px) !important;
  line-height: 1.65 !important;
  font-weight: 1000 !important;
}

.quiz-options,
.choice-answer-group {
  display: grid !important;
  gap: 10px !important;
}

.quiz-option,
.choice-answer {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 15px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(88,130,206,.16) !important;
  background: rgba(255,255,255,.038) !important;
  color: rgba(245,248,255,.78) !important;
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}

.quiz-option:hover,
.choice-answer:hover {
  transform: translateY(-2px);
  border-color: rgba(88,130,206,.42) !important;
  background: rgba(88,130,206,.095) !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
}

.quiz-option:has(input:checked),
.choice-answer:has(input:checked) {
  border-color: rgba(175,200,255,.42) !important;
  background: linear-gradient(135deg, rgba(88,130,206,.22), rgba(62,96,179,.10)) !important;
  color: #fff !important;
  box-shadow: 0 0 0 4px rgba(88,130,206,.10), 0 16px 38px rgba(88,130,206,.12);
}

.quiz-option input,
.choice-answer input {
  width: 18px !important;
  min-height: 18px !important;
  height: 18px;
  flex: 0 0 auto;
  box-shadow: none !important;
}

/* cooldown */
#quizCooldownBox .message,
.cooldown-box,
.cooldown-card {
  border-color: rgba(255,211,110,.32) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,211,110,.16), transparent 34%),
    rgba(255,211,110,.08) !important;
  color: #FFF1C8 !important;
}

#quizCooldownBox .message.error,
.cooldown-card.locked {
  border-color: rgba(255,107,122,.32) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,107,122,.16), transparent 34%),
    rgba(255,107,122,.08) !important;
  color: #FFDCE1 !important;
}

/* character / review / voice */
.pledge-box {
  position: relative;
  padding: 20px 22px !important;
  color: #fff !important;
  line-height: 2 !important;
  font-weight: 900;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0 0, rgba(88,130,206,.18), transparent 38%),
    rgba(255,255,255,.045) !important;
}

.pledge-box::before {
  content: "تعهد";
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(88,130,206,.14);
  border: 1px solid rgba(88,130,206,.22);
  color: var(--brand-soft);
  font-size: 12px;
}

.voice-recorder-box {
  padding: 22px !important;
  border-radius: 28px !important;
}

.voice-controls {
  justify-content: center !important;
  margin-bottom: 18px;
}

#startRecordingBtn::after,
#stopRecordingBtn::after,
#approveRecordingBtn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

#stopRecordingBtn:not(:disabled) {
  animation: lwrPulseDanger 1.35s ease-in-out infinite;
}

@keyframes lwrPulseDanger {
  0%,100% { box-shadow: 0 18px 42px rgba(217,74,94,.22), 0 0 0 0 rgba(255,107,122,.0) !important; }
  50% { box-shadow: 0 18px 42px rgba(217,74,94,.25), 0 0 0 7px rgba(255,107,122,.10) !important; }
}

audio,
#voicePreview {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(88,130,206,.16);
  padding: 8px;
}

.review-grid,
.player-mini-grid,
.player-metrics-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px !important;
}

.review-grid > div,
.player-mini-grid > div,
.player-metric {
  padding: 15px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(88,130,206,.15) !important;
  background: rgba(255,255,255,.04) !important;
}

.review-grid strong,
.player-metric span {
  display: block;
  margin-bottom: 7px;
  color: rgba(245,248,255,.55) !important;
  font-size: 12px;
  font-weight: 1000;
}

.review-grid span,
.player-metric strong {
  color: #fff !important;
  font-size: 16px;
  font-weight: 1000;
}

.review-story-box {
  margin-top: 14px;
  padding: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(88,130,206,.16) !important;
  background: rgba(255,255,255,.04) !important;
}

.review-story-box strong { color: #fff; }
.review-story-box p { color: rgba(245,248,255,.72); line-height: 1.95; }

/* ---------- player dashboard / profile page ---------- */
.player-dashboard-shell {
  padding: clamp(18px, 3vw, 32px) !important;
}

.player-dashboard-content {
  display: grid;
  gap: 18px;
}

.player-profile-hero-card {
  position: relative;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3.5vw, 34px) !important;
  border-radius: var(--radius-2xl) !important;
  overflow: hidden;
}

.player-profile-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(88,130,206,.24), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(175,200,255,.10), transparent 32%);
}

.player-profile-hero-card > * { position: relative; }

.player-profile-hero-card img {
  width: clamp(84px, 12vw, 124px) !important;
  height: clamp(84px, 12vw, 124px) !important;
  border-radius: 30px !important;
  object-fit: cover;
  border: 1px solid rgba(175,200,255,.34) !important;
  box-shadow: 0 24px 55px rgba(0,0,0,.38), 0 0 0 6px rgba(88,130,206,.10);
}

.player-profile-hero-card h2 {
  margin: 10px 0 7px !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 1000;
  letter-spacing: -.9px;
}

.player-profile-hero-card p {
  margin: 0 !important;
  color: rgba(245,248,255,.62) !important;
  font-weight: 800;
}

.player-metrics-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
}

.player-metric {
  min-height: 94px;
  align-content: center;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease) !important;
}

.player-metric:hover { transform: translateY(-3px); }

.player-dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px !important;
}

.player-dashboard-grid .player-panel {
  grid-column: span 6;
}

.player-dashboard-grid .player-panel:nth-child(1),
.player-dashboard-grid .player-panel:nth-child(3),
.player-dashboard-grid .player-panel:last-child {
  grid-column: span 12;
}

.player-panel {
  padding: clamp(18px, 2.7vw, 28px) !important;
  border-radius: var(--radius-2xl) !important;
}

.status-line {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(88,130,206,.12);
}

.status-line small,
.player-history-row small { color: rgba(245,248,255,.50) !important; }

.player-character-card,
.player-active-ban,
.player-note,
.player-alert-row,
.player-history-row {
  border-radius: 22px !important;
  padding: 16px !important;
}

.player-character-card h3 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: 24px;
}

.player-active-ban {
  border-color: rgba(255,107,122,.36) !important;
  background:
    radial-gradient(circle at 0 0, rgba(255,107,122,.17), transparent 36%),
    rgba(255,107,122,.08) !important;
}

.player-active-ban strong {
  display: inline-flex;
  min-height: 32px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  color: #FFDCE1 !important;
  background: rgba(255,107,122,.12);
  border: 1px solid rgba(255,107,122,.25);
}

.player-alert-row {
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease) !important;
}

.player-alert-row.unread {
  border-color: rgba(88,130,206,.38) !important;
  background:
    radial-gradient(circle at 0 0, rgba(88,130,206,.16), transparent 35%),
    rgba(88,130,206,.075) !important;
}

.player-alert-row strong,
.player-history-row strong { color: #fff; }

.player-inline-form textarea {
  min-height: 130px !important;
}

/* ---------- dashboard admin ---------- */
body.dashboard-pro-page {
  background:
    radial-gradient(circle at 0% 0%, rgba(88,130,206,.18), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(62,96,179,.22), transparent 32%),
    linear-gradient(135deg, #070A0E, #0C131D 55%, #101A27) !important;
}

.dashboard-pro-layout {
  width: min(1540px, calc(100% - 34px)) !important;
  margin: 18px auto !important;
  gap: 18px !important;
}

.dashboard-pro-sidebar {
  top: 18px !important;
  min-height: calc(100vh - 36px) !important;
  border-radius: 30px !important;
  border: 1px solid rgba(88,130,206,.19) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.066), rgba(255,255,255,.027)),
    rgba(8,13,19,.80) !important;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter: blur(22px) saturate(125%);
}

.dashboard-pro-profile {
  padding: 14px !important;
  border-radius: 24px !important;
  background: rgba(88,130,206,.075) !important;
  border: 1px solid rgba(88,130,206,.16);
}

.dashboard-pro-profile img {
  border-radius: 19px !important;
  border: 1px solid rgba(175,200,255,.26);
  background: rgba(255,255,255,.04);
}

.dashboard-pro-profile strong { color: #fff !important; letter-spacing: -.2px; }
.dashboard-pro-profile span { color: rgba(245,248,255,.56) !important; }

.dashboard-pro-menu,
.dash-tabs {
  gap: 8px !important;
}

.dashboard-pro-menu button,
.dash-tabs button {
  position: relative;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 17px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(245,248,255,.62) !important;
  font-weight: 900 !important;
  text-align: right;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease) !important;
}

.dashboard-pro-menu button::before,
.dash-tabs button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245,248,255,.34);
  box-shadow: 0 0 0 transparent;
  margin-inline-end: 9px;
  display: inline-block;
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}

.dashboard-pro-menu button:hover,
.dash-tabs button:hover {
  transform: translateX(-2px);
  color: #fff !important;
  background: rgba(88,130,206,.075) !important;
  border-color: rgba(88,130,206,.12) !important;
}

.dashboard-pro-menu button.active,
.dash-tabs button.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(88,130,206,.26), rgba(62,96,179,.12)) !important;
  border-color: rgba(88,130,206,.28) !important;
  box-shadow: 0 14px 34px rgba(88,130,206,.11), inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.dashboard-pro-menu button.active::before,
.dash-tabs button.active::before {
  background: var(--brand-soft);
  box-shadow: 0 0 18px var(--brand-primary);
}

.dashboard-pro-header {
  border-radius: 30px !important;
  border: 1px solid rgba(88,130,206,.19) !important;
  background:
    radial-gradient(circle at 0 0, rgba(88,130,206,.16), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.028)) !important;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.06) !important;
  padding: clamp(18px, 2.4vw, 30px) !important;
}

.dashboard-pro-header h1 {
  color: #fff !important;
  font-size: clamp(28px, 3.6vw, 46px) !important;
  font-weight: 1000 !important;
  letter-spacing: -.9px;
}

.dashboard-pro-header p { color: rgba(245,248,255,.64) !important; }

.dashboard-pro-grid {
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.25fr) !important;
  gap: 18px !important;
}

.dash-section { animation: lwrFadeUp .24s var(--ease); }

@keyframes lwrFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-list,
.dashboard-pro-list,
.jobs-admin-list {
  gap: 12px !important;
}

.admin-item,
.user-file-card,
.activation-request-item,
.activation-app-item,
#activationApps > *,
#jobAppsList > * {
  border-radius: 24px !important;
  padding: 16px !important;
  transition: transform .20s var(--ease), border-color .20s var(--ease), background .20s var(--ease), box-shadow .20s var(--ease) !important;
}

.admin-item:hover,
.user-file-card:hover,
.activation-request-item:hover,
.activation-app-item:hover,
#activationApps > *:hover,
#jobAppsList > *:hover {
  transform: translateY(-3px);
}

.activation-admin-layout {
  gap: 18px !important;
}

.activation-requests-sidebar {
  border-radius: 30px !important;
}

.activation-request-details,
#activationRequestDetails {
  min-height: 420px;
}

.player-review-actions .btn,
.admin-actions .btn,
.dashboard-actions .btn {
  min-width: 116px;
}

/* tables */
table,
.lwr-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  border-radius: 22px !important;
  border: 1px solid rgba(88,130,206,.16) !important;
  background: rgba(255,255,255,.035) !important;
}

th,
td,
.lwr-table th,
.lwr-table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(88,130,206,.11) !important;
  color: rgba(245,248,255,.70) !important;
  text-align: right !important;
}

th,
.lwr-table th {
  color: #fff !important;
  font-weight: 1000 !important;
  background: rgba(88,130,206,.11) !important;
}

tr:last-child td { border-bottom: 0 !important; }
tr:hover td { background: rgba(88,130,206,.045); color: #fff !important; }

/* modals */
.job-review-modal,
.modal,
.dialog-backdrop {
  backdrop-filter: blur(14px) saturate(130%);
  background: rgba(0,0,0,.58) !important;
}

.job-review-modal > div,
.modal-card,
.dialog-card {
  border-radius: 30px !important;
  max-width: min(760px, calc(100% - 28px));
}

/* ---------- public content pages ---------- */
.lwr-public-page .lwr-page-grid,
.content-grid,
.grid,
.rules-grid,
.updates-grid,
.faq-grid,
.team-grid,
.jobs-page-grid,
.creators-grid {
  gap: 18px !important;
}

.lwr-public-page details,
.content-page details,
.faq-item,
.rule-item,
.update-card,
.team-card,
.creator-card {
  border-radius: 24px !important;
  border: 1px solid rgba(88,130,206,.16) !important;
  background: rgba(255,255,255,.043) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

.lwr-public-page details summary,
.content-page details summary {
  cursor: pointer;
  padding: 18px !important;
  color: #fff !important;
  font-weight: 1000;
}

.lwr-public-page details[open],
.content-page details[open] {
  border-color: rgba(88,130,206,.32) !important;
  background: rgba(88,130,206,.06) !important;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .dashboard-pro-layout {
    grid-template-columns: 1fr !important;
  }

  .dashboard-pro-sidebar {
    position: relative !important;
    top: 0 !important;
    min-height: unset !important;
  }

  .dashboard-pro-menu,
  .dash-tabs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .dashboard-pro-grid,
  .activation-admin-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 920px) {
  .nav-inner {
    width: min(100% - 22px, 100%) !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 10px !important;
  }

  .nav-links {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    padding: 0 2px 8px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a { font-size: 13px !important; padding-inline: 6px; }

  .brand-logo { width: 58px !important; }
  .nav-logo { width: 52px !important; height: 52px !important; }
  .profile-name { display: none !important; }
  .profile-btn { padding: 7px !important; }

  .activation-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activation-form-grid,
  .player-admin-grid {
    grid-template-columns: 1fr !important;
  }

  .player-dashboard-grid .player-panel,
  .player-dashboard-grid .player-panel:nth-child(1),
  .player-dashboard-grid .player-panel:nth-child(3),
  .player-dashboard-grid .player-panel:last-child {
    grid-column: span 12;
  }

  .player-profile-hero-card {
    grid-template-columns: 1fr !important;
    text-align: center;
    justify-items: center;
  }

  .status-line,
  .player-alert-row,
  .quiz-topbar {
    flex-direction: column;
    align-items: stretch !important;
  }
}

@media (max-width: 640px) {
  :root { --nav-height: 82px; }

  .container,
  .subpage-main,
  .content-page,
  .lwr-public-page,
  .activation-flow-page {
    width: min(100% - 24px, 100%) !important;
  }

  main.container,
  main.subpage-main,
  main.content-page,
  main.lwr-public-page,
  main.activation-flow-page {
    padding-top: calc(var(--nav-height, 82px) + 22px) !important;
  }

  .page-title,
  .subpage-hero,
  .activation-flow-title,
  .activation-flow-shell,
  .activation-flow-section,
  .player-dashboard-shell,
  .dashboard-pro-card,
  .dashboard-pro-header,
  .dashboard-pro-sidebar,
  .player-panel {
    border-radius: 24px !important;
  }

  .page-title h1,
  .subpage-hero h1,
  .activation-flow-title h1,
  .activation-card h1 {
    font-size: clamp(30px, 11vw, 42px) !important;
  }

  .activation-stepper {
    grid-template-columns: 1fr !important;
  }

  .dashboard-actions,
  .admin-actions,
  .player-review-actions,
  .activation-actions,
  .voice-controls,
  .profile-status-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .btn,
  button.btn,
  a.btn,
  .dashboard-pro-back,
  .lwr-btn,
  .creator-visit-btn {
    width: 100%;
    min-height: 50px !important;
  }

  .review-grid,
  .player-mini-grid,
  .player-metrics-row {
    grid-template-columns: 1fr !important;
  }

  .player-history-row,
  .user-file-compact-row {
    grid-template-columns: 1fr !important;
  }

  table,
  .lwr-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================
   LWR DASHBOARD STYLE MATCH - imported from uploaded LWR-WEB.zip
   Scope: admin dashboard + player files only
   Goal: bank/gaming dashboard from reference without changing homepage
========================================================= */

body.dashboard-pro-page {
  --lwr-ref-bg: #020406;
  --lwr-ref-panel: rgba(6, 10, 18, 0.86);
  --lwr-ref-panel-solid: #05080e;
  --lwr-ref-panel-2: #090e1a;
  --lwr-ref-panel-3: #0c1324;
  --lwr-ref-line: #121c33;
  --lwr-ref-line-2: #182543;
  --lwr-ref-blue: var(--beige, #5882CE);
  --lwr-ref-blue-2: var(--olive, #3E60B3);
  --lwr-ref-blue-soft: rgba(88, 130, 206, 0.16);
  --lwr-ref-glow: rgba(88, 130, 206, 0.45);
  --lwr-ref-muted: #64748b;
  --lwr-ref-soft: #94a3b8;
  --lwr-ref-success: #10b981;
  --lwr-ref-warning: #eab308;
  --lwr-ref-danger: #ef4444;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 5%, rgba(88, 130, 206, .18), transparent 27%),
    radial-gradient(circle at 82% 14%, rgba(62, 96, 179, .20), transparent 32%),
    radial-gradient(ellipse at 50% 100%, rgba(88, 130, 206, .10), transparent 47%),
    linear-gradient(180deg, #020406 0%, #060913 48%, #020406 100%) !important;
}

body.dashboard-pro-page::before,
body.dashboard-pro-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.dashboard-pro-page::before {
  background:
    linear-gradient(rgba(88, 130, 206, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 130, 206, .022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%);
}

body.dashboard-pro-page::after {
  background: linear-gradient(180deg, rgba(2,4,6,.58) 0%, rgba(2,4,6,.96) 100%);
}

body.dashboard-pro-page .dashboard-pro-layout {
  width: min(1760px, calc(100% - 34px)) !important;
  min-height: 100vh;
  margin: 0 auto !important;
  padding: 22px 0 !important;
  display: grid !important;
  grid-template-columns: 292px minmax(0, 1fr) !important;
  gap: 22px !important;
  direction: rtl;
}

body.dashboard-pro-page .dashboard-pro-sidebar {
  position: sticky !important;
  top: 22px !important;
  height: calc(100vh - 44px) !important;
  padding: 15px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #090e1a, #060913) !important;
  border: 1px solid var(--lwr-ref-line) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255,255,255,.025) !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: var(--lwr-ref-line-2) transparent;
}

body.dashboard-pro-page .dashboard-pro-sidebar::-webkit-scrollbar,
body.dashboard-pro-page .activation-requests-list::-webkit-scrollbar,
body.dashboard-pro-page #activationApps::-webkit-scrollbar,
body.dashboard-pro-page .user-files-list::-webkit-scrollbar,
body.dashboard-pro-page .dashboard-pro-main::-webkit-scrollbar {
  width: 5px;
}

body.dashboard-pro-page .dashboard-pro-sidebar::-webkit-scrollbar-thumb,
body.dashboard-pro-page .activation-requests-list::-webkit-scrollbar-thumb,
body.dashboard-pro-page #activationApps::-webkit-scrollbar-thumb,
body.dashboard-pro-page .user-files-list::-webkit-scrollbar-thumb,
body.dashboard-pro-page .dashboard-pro-main::-webkit-scrollbar-thumb {
  background: var(--lwr-ref-line-2);
  border-radius: 999px;
}

body.dashboard-pro-page .dashboard-pro-profile {
  min-height: 74px;
  margin: 0 0 15px !important;
  padding: 14px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  box-shadow: inset 0 0 34px rgba(88,130,206,.035) !important;
}

body.dashboard-pro-page .dashboard-pro-profile img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 12px !important;
  padding: 5px;
  background: rgba(88,130,206,.07);
  border: 1px solid rgba(88,130,206,.22);
  filter: drop-shadow(0 0 13px rgba(88,130,206,.22));
}

body.dashboard-pro-page .dashboard-pro-profile strong {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: .3px;
  line-height: 1.3;
}

body.dashboard-pro-page .dashboard-pro-profile span {
  color: var(--lwr-ref-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  margin-top: 4px !important;
}

body.dashboard-pro-page .dashboard-pro-profile::after {
  content: "ONLINE";
  margin-right: auto;
  align-self: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--lwr-ref-success);
  font-size: 10px;
  font-weight: 1000;
  background: rgba(16,185,129,.055);
  border: 1px solid rgba(16,185,129,.18);
}

body.dashboard-pro-page .dashboard-pro-menu,
body.dashboard-pro-page .dash-tabs {
  display: grid !important;
  gap: 7px !important;
}

body.dashboard-pro-page .dashboard-pro-menu::before {
  content: "ADMIN NAVIGATION";
  display: block;
  margin: 2px 8px 5px;
  color: #475569;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .9px;
  text-transform: uppercase;
}

body.dashboard-pro-page .dashboard-pro-menu button,
body.dashboard-pro-page .dash-tabs button {
  position: relative;
  min-height: 45px !important;
  width: 100% !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  color: #94a3b8 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  text-align: right !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease !important;
  overflow: hidden;
}

body.dashboard-pro-page .dashboard-pro-menu button::before,
body.dashboard-pro-page .dash-tabs button::before {
  width: 27px;
  height: 27px;
  min-width: 27px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: #475569;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 1000;
  transition: inherit;
}

body.dashboard-pro-page button[data-tab="home"]::before { content: "⌂"; }
body.dashboard-pro-page button[data-tab="creators"]::before { content: "★"; }
body.dashboard-pro-page button[data-tab="rules"]::before { content: "§"; }
body.dashboard-pro-page button[data-tab="updates"]::before { content: "↻"; }
body.dashboard-pro-page button[data-tab="support"]::before { content: "?"; }
body.dashboard-pro-page button[data-tab="jobs"]::before { content: "✦"; }
body.dashboard-pro-page button[data-tab="job-requests"]::before { content: "▣"; }
body.dashboard-pro-page button[data-tab="activation"]::before { content: "✓"; }
body.dashboard-pro-page button[data-tab="activation-requests"]::before { content: "◈"; }
body.dashboard-pro-page button[data-tab="user-files"]::before { content: "ID"; font-size: 10px; }
body.dashboard-pro-page button[data-tab="roles"]::before { content: "♛"; }

body.dashboard-pro-page .dashboard-pro-menu button:hover,
body.dashboard-pro-page .dash-tabs button:hover {
  color: #fff !important;
  background: rgba(255,255,255,.024) !important;
  border-color: rgba(88,130,206,.13) !important;
  transform: translateX(-2px);
}

body.dashboard-pro-page .dashboard-pro-menu button:hover::before,
body.dashboard-pro-page .dash-tabs button:hover::before {
  color: var(--lwr-ref-blue);
  border-color: rgba(88,130,206,.24);
  background: rgba(88,130,206,.08);
}

body.dashboard-pro-page .dashboard-pro-menu button.active,
body.dashboard-pro-page .dash-tabs button.active {
  color: #fff !important;
  background: #141f38 !important;
  border-color: #1f3562 !important;
  box-shadow: inset 3px 0 0 var(--lwr-ref-blue), 0 0 22px rgba(88,130,206,.10) !important;
}

body.dashboard-pro-page .dashboard-pro-menu button.active::before,
body.dashboard-pro-page .dash-tabs button.active::before {
  color: #fff;
  background: linear-gradient(135deg, var(--lwr-ref-blue), var(--lwr-ref-blue-2));
  border-color: rgba(175,200,255,.30);
  box-shadow: 0 0 16px rgba(88,130,206,.32);
}

body.dashboard-pro-page .dashboard-pro-main {
  min-width: 0 !important;
  overflow: visible !important;
}

body.dashboard-pro-page .dashboard-pro-header {
  position: relative;
  min-height: 126px;
  margin-bottom: 18px !important;
  padding: 24px 28px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(88,130,206,.15), transparent 38%),
    linear-gradient(135deg, #090e1a 0%, #060913 100%) !important;
  border: 1px solid var(--lwr-ref-line) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.025) !important;
  overflow: hidden;
}

body.dashboard-pro-page .dashboard-pro-header::before {
  content: "Institutional Control Center";
  position: absolute;
  top: 18px;
  right: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #60a5fa;
  background: rgba(88,130,206,.055);
  border: 1px solid rgba(88,130,206,.18);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .7px;
}

body.dashboard-pro-page .dashboard-pro-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,130,206,.55), transparent);
}

body.dashboard-pro-page .dashboard-pro-header h1 {
  margin: 28px 0 8px !important;
  color: #fff !important;
  font-size: clamp(30px, 3.5vw, 52px) !important;
  font-weight: 1000 !important;
  letter-spacing: -.5px;
  text-shadow: 0 0 26px rgba(88,130,206,.18);
}

body.dashboard-pro-page .dashboard-pro-header p {
  margin: 0 !important;
  max-width: 850px;
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
}

body.dashboard-pro-page .dashboard-pro-back {
  min-height: 46px !important;
  padding: 0 20px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #060913 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.35) !important;
  font-size: 12.5px !important;
  font-weight: 1000 !important;
  transition: transform .20s ease, background .20s ease, box-shadow .20s ease !important;
}

body.dashboard-pro-page .dashboard-pro-back:hover {
  background: #cbd5e1 !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.46) !important;
}

body.dashboard-pro-page #message.message,
body.dashboard-pro-page .message {
  padding: 13px 16px !important;
  margin-bottom: 14px;
  border-radius: 8px !important;
  border: 1px solid #182543 !important;
  background: #0c1324 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.34) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

body.dashboard-pro-page .message.success,
body.dashboard-pro-page #message.success { border-color: rgba(16,185,129,.28) !important; color: #a7f3d0 !important; background: rgba(16,185,129,.05) !important; }
body.dashboard-pro-page .message.error,
body.dashboard-pro-page #message.error { border-color: rgba(239,68,68,.28) !important; color: #fecaca !important; background: rgba(239,68,68,.055) !important; }

body.dashboard-pro-page .dash-section { animation: lwrBankFade .28s cubic-bezier(.2,.8,.2,1); }
@keyframes lwrBankFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

body.dashboard-pro-page .dashboard-pro-grid {
  display: grid !important;
  grid-template-columns: minmax(380px, 430px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

body.dashboard-pro-page .dashboard-pro-card,
body.dashboard-pro-page .dashboard-pro-list,
body.dashboard-pro-page .admin-list,
body.dashboard-pro-page .activation-requests-sidebar,
body.dashboard-pro-page .activation-request-details,
body.dashboard-pro-page #activationRequestDetails,
body.dashboard-pro-page .user-files-sidebar,
body.dashboard-pro-page .user-files-main,
body.dashboard-pro-page .job-review-box,
body.dashboard-pro-page .modal-card,
body.dashboard-pro-page .dialog-card {
  border-radius: 8px !important;
  border: 1px solid var(--lwr-ref-line) !important;
  background: #090e1a !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.02) !important;
  backdrop-filter: none !important;
}

body.dashboard-pro-page .dashboard-pro-card,
body.dashboard-pro-page .user-files-main,
body.dashboard-pro-page .activation-request-details,
body.dashboard-pro-page #activationRequestDetails {
  padding: 22px !important;
}

body.dashboard-pro-page .dashboard-pro-card-head,
body.dashboard-pro-page .activation-requests-head {
  position: relative;
  margin-bottom: 18px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lwr-ref-line);
}

body.dashboard-pro-page .dashboard-pro-card-head h2,
body.dashboard-pro-page .activation-requests-head h2,
body.dashboard-pro-page .user-files-sidebar h2,
body.dashboard-pro-page .user-files-main h2,
body.dashboard-pro-page .user-file-section h3,
body.dashboard-pro-page .player-admin-tools h3 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 1000 !important;
  letter-spacing: -.2px;
}

body.dashboard-pro-page .dashboard-pro-card-head p,
body.dashboard-pro-page .activation-requests-head p,
body.dashboard-pro-page .user-files-sidebar p,
body.dashboard-pro-page .user-files-main p,
body.dashboard-pro-page .small-muted {
  margin: 0 !important;
  color: var(--lwr-ref-muted) !important;
  line-height: 1.75 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

body.dashboard-pro-page .field {
  display: grid !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

body.dashboard-pro-page .field label,
body.dashboard-pro-page label {
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .2px;
}

body.dashboard-pro-page input,
body.dashboard-pro-page textarea,
body.dashboard-pro-page select {
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 14px !important;
  border-radius: 6px !important;
  color: #fff !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: border-color .20s ease, background .20s ease, box-shadow .20s ease !important;
}

body.dashboard-pro-page textarea {
  min-height: 126px !important;
  resize: vertical;
  line-height: 1.85 !important;
}

body.dashboard-pro-page input::placeholder,
body.dashboard-pro-page textarea::placeholder {
  color: #475569 !important;
}

body.dashboard-pro-page input:focus,
body.dashboard-pro-page textarea:focus,
body.dashboard-pro-page select:focus {
  border-color: #2b508b !important;
  background: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(88,130,206,.13), 0 0 18px rgba(88,130,206,.12) !important;
}

body.dashboard-pro-page .dashboard-check {
  min-height: 44px;
  margin: 6px 0 15px !important;
  padding: 10px 12px;
  border-radius: 6px;
  background: #0c1324;
  border: 1px solid #182543;
}

body.dashboard-pro-page .dashboard-check input[type="checkbox"],
body.dashboard-pro-page input[type="checkbox"] {
  accent-color: var(--lwr-ref-blue);
}

body.dashboard-pro-page .dashboard-actions,
body.dashboard-pro-page .admin-actions,
body.dashboard-pro-page .player-review-actions,
body.dashboard-pro-page .activation-review-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 16px !important;
}

body.dashboard-pro-page .btn,
body.dashboard-pro-page button.btn,
body.dashboard-pro-page .admin-list button:not(.btn),
body.dashboard-pro-page .dashboard-pro-list button:not(.btn),
body.dashboard-pro-page #activationApps button:not(.btn),
body.dashboard-pro-page #jobAppsList button:not(.btn),
body.dashboard-pro-page .bank-action-execute-btn {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 6px !important;
  border: 1px solid #1e325c !important;
  color: #fff !important;
  background: #14213d !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .1px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease !important;
}

body.dashboard-pro-page .btn:hover,
body.dashboard-pro-page button.btn:hover,
body.dashboard-pro-page .admin-list button:not(.btn):hover,
body.dashboard-pro-page .dashboard-pro-list button:not(.btn):hover,
body.dashboard-pro-page #activationApps button:not(.btn):hover,
body.dashboard-pro-page #jobAppsList button:not(.btn):hover,
body.dashboard-pro-page .bank-action-execute-btn:hover {
  transform: translateY(-2px) !important;
  background: var(--lwr-ref-blue) !important;
  border-color: var(--lwr-ref-blue) !important;
  box-shadow: 0 0 18px rgba(88,130,206,.35) !important;
}

body.dashboard-pro-page .btn.primary,
body.dashboard-pro-page button.btn.primary,
body.dashboard-pro-page .activation-review-actions button:nth-child(1) {
  border-color: rgba(88,130,206,.72) !important;
  background: linear-gradient(135deg, var(--lwr-ref-blue), var(--lwr-ref-blue-2)) !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(88,130,206,.22) !important;
}

body.dashboard-pro-page .btn.danger,
body.dashboard-pro-page button.btn.danger,
body.dashboard-pro-page .activation-review-actions button:nth-child(3),
body.dashboard-pro-page .activation-review-actions button:nth-child(4) {
  border-color: rgba(239,68,68,.28) !important;
  background: rgba(239,68,68,.10) !important;
  color: #fecaca !important;
}

body.dashboard-pro-page .btn.danger:hover,
body.dashboard-pro-page button.btn.danger:hover,
body.dashboard-pro-page .activation-review-actions button:nth-child(3):hover,
body.dashboard-pro-page .activation-review-actions button:nth-child(4):hover {
  background: rgba(239,68,68,.25) !important;
  border-color: rgba(239,68,68,.62) !important;
  box-shadow: 0 0 20px rgba(239,68,68,.18) !important;
}

body.dashboard-pro-page .btn:disabled,
body.dashboard-pro-page button:disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

body.dashboard-pro-page .admin-item,
body.dashboard-pro-page .role-item,
body.dashboard-pro-page .creator-item,
body.dashboard-pro-page .rule-item,
body.dashboard-pro-page .job-item,
body.dashboard-pro-page .support-admin-item,
body.dashboard-pro-page .update-admin-item,
body.dashboard-pro-page #jobAppsList > *,
body.dashboard-pro-page .card.admin-item {
  position: relative;
  padding: 16px 18px !important;
  border-radius: 8px !important;
  background: #090e1a !important;
  border: 1px solid var(--lwr-ref-line) !important;
  box-shadow: none !important;
  transition: background .20s ease, border-color .20s ease, transform .20s ease, box-shadow .20s ease !important;
}

body.dashboard-pro-page .admin-item::before,
body.dashboard-pro-page .role-item::before,
body.dashboard-pro-page .creator-item::before,
body.dashboard-pro-page .rule-item::before,
body.dashboard-pro-page .job-item::before,
body.dashboard-pro-page .support-admin-item::before,
body.dashboard-pro-page .update-admin-item::before,
body.dashboard-pro-page #jobAppsList > *::before,
body.dashboard-pro-page .card.admin-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: rgba(88,130,206,.42);
  opacity: .5;
}

body.dashboard-pro-page .admin-item:hover,
body.dashboard-pro-page .role-item:hover,
body.dashboard-pro-page .creator-item:hover,
body.dashboard-pro-page .rule-item:hover,
body.dashboard-pro-page .job-item:hover,
body.dashboard-pro-page .support-admin-item:hover,
body.dashboard-pro-page .update-admin-item:hover,
body.dashboard-pro-page #jobAppsList > *:hover,
body.dashboard-pro-page .card.admin-item:hover {
  transform: translateY(-2px) !important;
  border-color: #1e325c !important;
  background: #0c1324 !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.32) !important;
}

body.dashboard-pro-page .admin-item-head,
body.dashboard-pro-page .card-head,
body.dashboard-pro-page .job-manage-top,
body.dashboard-pro-page .user-file-history-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 10px !important;
}

body.dashboard-pro-page .admin-item h3,
body.dashboard-pro-page .role-item h3,
body.dashboard-pro-page .creator-item h3,
body.dashboard-pro-page .rule-item h3,
body.dashboard-pro-page .job-item h3,
body.dashboard-pro-page .support-admin-item h3,
body.dashboard-pro-page .update-admin-item h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 1000 !important;
}

body.dashboard-pro-page .admin-item p,
body.dashboard-pro-page .role-item p,
body.dashboard-pro-page .creator-item p,
body.dashboard-pro-page .rule-item p,
body.dashboard-pro-page .job-item p,
body.dashboard-pro-page .support-admin-item p,
body.dashboard-pro-page .update-admin-item p {
  color: #94a3b8 !important;
  line-height: 1.8 !important;
  font-size: 12.5px !important;
}

body.dashboard-pro-page .badge,
body.dashboard-pro-page .status-badge,
body.dashboard-pro-page .user-file-status,
body.dashboard-pro-page .activation-status,
body.dashboard-pro-page .status-badge-bank {
  min-height: 25px;
  padding: 4px 11px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 1px solid rgba(88,130,206,.17) !important;
  background: rgba(88,130,206,.07) !important;
  color: #60a5fa !important;
  font-size: 10.5px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

body.dashboard-pro-page .badge::before,
body.dashboard-pro-page .user-file-status::before,
body.dashboard-pro-page .activation-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

body.dashboard-pro-page .badge.open,
body.dashboard-pro-page .badge.accepted,
body.dashboard-pro-page .user-file-status.accepted,
body.dashboard-pro-page .user-file-status.active,
body.dashboard-pro-page .activation-status.accepted,
body.dashboard-pro-page .status-badge.accepted,
body.dashboard-pro-page .status-badge.active-char,
body.dashboard-pro-page [class*="ACCEPTED"] {
  background: rgba(16,185,129,.08) !important;
  color: #10b981 !important;
  border-color: rgba(16,185,129,.22) !important;
}

body.dashboard-pro-page .badge.pending,
body.dashboard-pro-page .user-file-status.pending,
body.dashboard-pro-page .user-file-status.submitted,
body.dashboard-pro-page .user-file-status.under-review,
body.dashboard-pro-page .activation-status.pending,
body.dashboard-pro-page .activation-status.submitted,
body.dashboard-pro-page .activation-status.under-review,
body.dashboard-pro-page .status-badge.reviewing {
  background: rgba(234,179,8,.08) !important;
  color: #eab308 !important;
  border-color: rgba(234,179,8,.22) !important;
}

body.dashboard-pro-page .badge.closed,
body.dashboard-pro-page .badge.rejected,
body.dashboard-pro-page .user-file-status.rejected,
body.dashboard-pro-page .user-file-status.banned,
body.dashboard-pro-page .user-file-status.blacklisted,
body.dashboard-pro-page .activation-status.rejected,
body.dashboard-pro-page .activation-status.banned,
body.dashboard-pro-page .status-badge.banned,
body.dashboard-pro-page .status-badge.rejected-perm {
  background: rgba(239,68,68,.08) !important;
  color: #ef4444 !important;
  border-color: rgba(239,68,68,.22) !important;
}

body.dashboard-pro-page table,
body.dashboard-pro-page .lwr-table,
body.dashboard-pro-page .bank-premium-table {
  width: 100%;
  border-collapse: collapse !important;
  text-align: right !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #090e1a !important;
  border: 1px solid var(--lwr-ref-line) !important;
  box-shadow: none !important;
}

body.dashboard-pro-page th,
body.dashboard-pro-page .lwr-table th,
body.dashboard-pro-page .bank-premium-table th {
  padding: 14px 18px !important;
  background: #0c1324 !important;
  border-bottom: 1px solid var(--lwr-ref-line) !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  font-weight: 1000 !important;
  text-align: right !important;
  text-transform: uppercase;
}

body.dashboard-pro-page td,
body.dashboard-pro-page .lwr-table td,
body.dashboard-pro-page .bank-premium-table td {
  padding: 15px 18px !important;
  border-bottom: 1px solid var(--lwr-ref-line) !important;
  color: #cbd5e1 !important;
  font-size: 12.8px !important;
  text-align: right !important;
}

body.dashboard-pro-page tbody tr:hover td {
  background: rgba(88,130,206,.035) !important;
  color: #fff !important;
}

/* Activation review split like uploaded reference law/admin interface */
body.dashboard-pro-page .activation-admin-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 18px !important;
  align-items: start !important;
}

body.dashboard-pro-page .activation-requests-sidebar {
  position: sticky !important;
  top: 22px !important;
  max-height: calc(100vh - 44px) !important;
  padding: 16px !important;
  overflow: hidden !important;
}

body.dashboard-pro-page .activation-requests-list,
body.dashboard-pro-page #activationApps {
  display: grid !important;
  gap: 9px !important;
  max-height: calc(100vh - 165px) !important;
  overflow-y: auto !important;
  padding-left: 3px !important;
}

body.dashboard-pro-page .activation-request-item,
body.dashboard-pro-page .activation-app-item,
body.dashboard-pro-page .request-item,
body.dashboard-pro-page .application-item,
body.dashboard-pro-page #activationApps > * {
  min-height: 78px !important;
  padding: 13px 14px !important;
  border-radius: 7px !important;
  border: 1px solid transparent !important;
  background: #0c1324 !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
  transition: transform .20s ease, border-color .20s ease, background .20s ease, box-shadow .20s ease !important;
}

body.dashboard-pro-page .activation-request-item:hover,
body.dashboard-pro-page .activation-app-item:hover,
body.dashboard-pro-page .request-item:hover,
body.dashboard-pro-page .application-item:hover,
body.dashboard-pro-page #activationApps > *:hover {
  transform: translateY(-2px) !important;
  background: #101a30 !important;
  border-color: #1e325c !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.26) !important;
}

body.dashboard-pro-page .activation-detail-user,
body.dashboard-pro-page .activation-answer-card,
body.dashboard-pro-page .job-answer-card,
body.dashboard-pro-page .review-card,
body.dashboard-pro-page .empty-dashboard-box {
  padding: 16px !important;
  border-radius: 8px !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  color: #cbd5e1 !important;
}

body.dashboard-pro-page .activation-answer-card strong,
body.dashboard-pro-page .job-answer-card strong {
  color: #fff !important;
  font-size: 13px;
  margin-bottom: 8px;
}

body.dashboard-pro-page .activation-answer-card p,
body.dashboard-pro-page .job-answer-card p {
  color: #94a3b8 !important;
  font-size: 13px;
  line-height: 1.85 !important;
}

/* Player files / FiveM tools: same bank table system from reference */
body.dashboard-pro-page .user-files-layout {
  display: grid !important;
  grid-template-columns: 330px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

body.dashboard-pro-page .user-files-sidebar {
  position: sticky !important;
  top: 22px !important;
  max-height: calc(100vh - 44px) !important;
  padding: 16px !important;
  overflow: hidden !important;
}

body.dashboard-pro-page .user-files-tools {
  display: grid !important;
  gap: 10px !important;
  margin: 14px 0 !important;
}

body.dashboard-pro-page .user-files-tools input,
body.dashboard-pro-page .user-files-tools select {
  min-height: 40px !important;
}

body.dashboard-pro-page .user-files-list,
body.dashboard-pro-page #dashboardUsersList {
  display: grid !important;
  gap: 8px !important;
  max-height: calc(100vh - 245px) !important;
  overflow-y: auto !important;
  padding-left: 3px !important;
}

body.dashboard-pro-page .user-file-item {
  width: 100% !important;
  min-height: 66px !important;
  padding: 11px 12px !important;
  border-radius: 7px !important;
  border: 1px solid transparent !important;
  background: #0c1324 !important;
  color: #cbd5e1 !important;
  display: grid !important;
  gap: 5px !important;
  text-align: right !important;
  transition: transform .20s ease, border-color .20s ease, background .20s ease, box-shadow .20s ease !important;
}

body.dashboard-pro-page .user-file-item:hover,
body.dashboard-pro-page .user-file-item.active {
  transform: translateY(-2px) !important;
  background: #101a30 !important;
  border-color: #1e325c !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.26) !important;
}

body.dashboard-pro-page .user-file-item.active {
  box-shadow: inset 3px 0 0 var(--lwr-ref-blue), 0 14px 30px rgba(0,0,0,.26) !important;
}

body.dashboard-pro-page .user-file-main {
  color: #fff !important;
  font-size: 13.5px !important;
  font-weight: 1000 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.dashboard-pro-page .user-file-meta {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

body.dashboard-pro-page .user-file-profile-card {
  position: relative;
  padding: 20px !important;
  margin-bottom: 16px !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 15% 0%, rgba(88,130,206,.13), transparent 35%),
    #0c1324 !important;
  border: 1px solid #182543 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  overflow: hidden;
}

body.dashboard-pro-page .user-file-profile-card::after {
  content: "PLAYER FILE";
  position: absolute;
  top: 16px;
  left: 16px;
  color: #475569;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 1px;
}

body.dashboard-pro-page .user-file-profile-card h2,
body.dashboard-pro-page .user-file-profile-card h3,
body.dashboard-pro-page .user-file-profile-card strong {
  color: #fff !important;
}

body.dashboard-pro-page .user-file-metrics-grid,
body.dashboard-pro-page .bank-summary-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 14px 0 !important;
}

body.dashboard-pro-page .user-file-metric,
body.dashboard-pro-page .bank-stat-card {
  min-height: 86px;
  padding: 15px 16px !important;
  border-radius: 8px !important;
  background: #090e1a !important;
  border: 1px solid var(--lwr-ref-line) !important;
  display: grid !important;
  gap: 6px !important;
  align-content: center !important;
  text-align: right !important;
}

body.dashboard-pro-page .user-file-metric span,
body.dashboard-pro-page .card-mini-lbl {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body.dashboard-pro-page .user-file-metric strong,
body.dashboard-pro-page .card-big-num {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 1000 !important;
  font-family: monospace, Tahoma, Arial, sans-serif !important;
}

body.dashboard-pro-page .user-file-section,
body.dashboard-pro-page .user-file-history-card,
body.dashboard-pro-page .player-admin-tools,
body.dashboard-pro-page .player-admin-grid > *,
body.dashboard-pro-page .user-file-compact-row {
  border-radius: 8px !important;
  background: #090e1a !important;
  border: 1px solid var(--lwr-ref-line) !important;
  box-shadow: none !important;
}

body.dashboard-pro-page .user-file-section,
body.dashboard-pro-page .user-file-history-card,
body.dashboard-pro-page .player-admin-tools {
  padding: 16px !important;
  margin-top: 12px !important;
}

body.dashboard-pro-page .player-admin-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: end !important;
}

body.dashboard-pro-page .user-file-compact-row {
  min-height: 52px;
  padding: 12px 14px !important;
  margin-top: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  color: #cbd5e1 !important;
  font-size: 12.5px !important;
}

body.dashboard-pro-page .user-file-story,
body.dashboard-pro-page .user-file-note {
  padding: 14px !important;
  border-radius: 8px !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  color: #94a3b8 !important;
  line-height: 1.85 !important;
}

body.dashboard-pro-page .masked-data-font,
body.dashboard-pro-page code,
body.dashboard-pro-page pre,
body.dashboard-pro-page .user-file-compact-row em {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: .4px;
  color: #94a3b8 !important;
}

/* progress bars, quiz/admin progress from the reference */
body.dashboard-pro-page .law-progress-track,
body.dashboard-pro-page .activation-progress-track,
body.dashboard-pro-page .quiz-progress-track,
body.dashboard-pro-page .progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.045) !important;
}

body.dashboard-pro-page .law-progress-bar,
body.dashboard-pro-page .activation-progress-fill,
body.dashboard-pro-page .quiz-progress-fill,
body.dashboard-pro-page .progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lwr-ref-blue), #00d2ff) !important;
  box-shadow: 0 0 15px rgba(88,130,206,.45) !important;
}

/* Job review modal and any future dialog */
body.dashboard-pro-page .job-review-modal.open,
body.dashboard-pro-page .modal.open,
body.dashboard-pro-page .dialog-backdrop.open {
  backdrop-filter: blur(16px) !important;
}

body.dashboard-pro-page .job-review-backdrop {
  background: rgba(2,4,6,.78) !important;
  backdrop-filter: blur(14px) !important;
}

body.dashboard-pro-page .job-review-box {
  width: min(820px, calc(100vw - 34px)) !important;
  margin: 34px auto !important;
  padding: 22px !important;
}

body.dashboard-pro-page .job-review-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lwr-ref-line);
}

/* Responsive version of the reference bank layout */
@media (max-width: 1180px) {
  body.dashboard-pro-page .dashboard-pro-layout,
  body.dashboard-pro-page .dashboard-pro-grid,
  body.dashboard-pro-page .activation-admin-layout,
  body.dashboard-pro-page .user-files-layout {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-pro-page .dashboard-pro-sidebar,
  body.dashboard-pro-page .activation-requests-sidebar,
  body.dashboard-pro-page .user-files-sidebar {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  body.dashboard-pro-page .dashboard-pro-menu,
  body.dashboard-pro-page .dash-tabs {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
  }

  body.dashboard-pro-page .dashboard-pro-menu::before { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.dashboard-pro-page .dashboard-pro-layout {
    width: min(100% - 18px, 100%) !important;
    padding: 9px 0 !important;
    gap: 10px !important;
  }

  body.dashboard-pro-page .dashboard-pro-header {
    min-height: 150px !important;
    padding: 20px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body.dashboard-pro-page .dashboard-pro-header::before {
    top: 14px;
    right: 20px;
  }

  body.dashboard-pro-page .dashboard-pro-header h1 {
    margin-top: 28px !important;
    font-size: 30px !important;
  }

  body.dashboard-pro-page .dashboard-pro-back,
  body.dashboard-pro-page .btn,
  body.dashboard-pro-page button.btn,
  body.dashboard-pro-page .admin-list button:not(.btn),
  body.dashboard-pro-page .dashboard-pro-list button:not(.btn) {
    width: 100%;
  }

  body.dashboard-pro-page .dashboard-pro-card,
  body.dashboard-pro-page .dashboard-pro-sidebar,
  body.dashboard-pro-page .dashboard-pro-header,
  body.dashboard-pro-page .activation-requests-sidebar,
  body.dashboard-pro-page .activation-request-details,
  body.dashboard-pro-page .user-files-sidebar,
  body.dashboard-pro-page .user-files-main {
    padding: 14px !important;
  }

  body.dashboard-pro-page .dashboard-actions,
  body.dashboard-pro-page .admin-actions,
  body.dashboard-pro-page .player-review-actions,
  body.dashboard-pro-page .activation-review-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.dashboard-pro-page .user-file-metrics-grid,
  body.dashboard-pro-page .bank-summary-cards-grid,
  body.dashboard-pro-page .player-admin-grid {
    grid-template-columns: 1fr !important;
  }

  body.dashboard-pro-page .user-file-compact-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body.dashboard-pro-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* =========================================================
   LWR EXACT BANK DASHBOARD REFERENCE SKIN
   This section intentionally forces the admin dashboard to
   match the uploaded LWR-WEB bank/control-panel design.
   ========================================================= */
body.bank-dashboard-page {
  --bg-dark: #020406;
  --card-bg: rgba(6, 10, 18, 0.85);
  --primary-blue: #0088ff;
  --blue-glow: rgba(0, 136, 255, 0.45);
  --blue-hover: #006ecc;
  --text-main: #f1f5f9;
  --text-muted: #4b5563;
  --danger: #ef4444;
  --success: #10b981;
  --glass-border: rgba(0, 136, 255, 0.1);
  overflow: hidden !important;
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 22% 0%, rgba(0, 136, 255, 0.10), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(0, 210, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #020406 0%, #04070d 52%, #020406 100%) !important;
  color: var(--text-main) !important;
}
body.bank-dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 84%);
}
body.bank-dashboard-page * { box-sizing: border-box; }
body.bank-dashboard-page #pageLoader { background: #020406 !important; }
body.bank-dashboard-page .bank-top-header-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 75px;
  z-index: 80;
  background: rgba(5, 8, 14, 0.94);
  border-bottom: 1px solid #121c33;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 310px minmax(240px, 1fr) 330px;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
body.bank-dashboard-page .bank-user-profile-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  min-width: 0;
}
body.bank-dashboard-page .bank-logo-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), #00d2ff);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 0 10px var(--blue-glow), 0 0 26px rgba(0,136,255,.18);
  flex: 0 0 auto;
}
body.bank-dashboard-page .user-meta-text h4 { font-size: 14px; color: white; margin: 0; font-weight: 800; letter-spacing: .4px; }
body.bank-dashboard-page .user-meta-text p { font-size: 11px; color: #64748b; margin: 2px 0 0 0; font-weight: 700; }
body.bank-dashboard-page .mini-notification-bell {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #182543;
  background: #0c1324;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
}
body.bank-dashboard-page .mini-notification-bell:hover,
body.bank-dashboard-page .mini-notification-bell.active { color: #eab308; border-color: rgba(234,179,8,.25); box-shadow: 0 0 12px rgba(234,179,8,.16); }
body.bank-dashboard-page .bank-search-bar-center {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0c1324;
  border: 1px solid #182543;
  padding: 0 18px;
  border-radius: 8px;
  height: 42px;
  min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
}
body.bank-dashboard-page .bank-search-bar-center i { color: #475569; font-size: 14px; }
body.bank-dashboard-page .bank-search-bar-center input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: white !important;
  width: 100% !important;
  text-align: right !important;
  outline: none !important;
  height: auto !important;
}
body.bank-dashboard-page .bank-search-bar-center input::placeholder { color: #475569; }
body.bank-dashboard-page .bank-system-status-zone { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
body.bank-dashboard-page .system-status-tag {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
body.bank-dashboard-page .system-status-tag i { font-size: 8px; filter: drop-shadow(0 0 6px rgba(16,185,129,.8)); }
body.bank-dashboard-page .close-btn-bank,
body.bank-dashboard-page .dashboard-pro-back.bank-action-execute-btn {
  background: #ffffff !important;
  color: #060913 !important;
  border: none !important;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: none !important;
  white-space: nowrap;
}
body.bank-dashboard-page .dashboard-pro-back.bank-action-execute-btn { display: none !important; }
body.bank-dashboard-page .close-btn-bank:hover { background: #cbd5e1 !important; transform: translateY(-1px); }
body.bank-dashboard-page .dashboard-pro-layout.bank-interface-split {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 0 !important;
  height: calc(100vh - 75px) !important;
  width: 100% !important;
  margin-top: 75px !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
}
body.bank-dashboard-page .dashboard-pro-sidebar.bank-sidebar-nav {
  background: #090e1a !important;
  border-left: 1px solid #121c33 !important;
  border-right: none !important;
  border-radius: 0 !important;
  padding: 20px 15px !important;
  box-sizing: border-box !important;
  height: calc(100vh - 75px) !important;
  overflow-y: auto !important;
  box-shadow: none !important;
}
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 8px 18px !important;
  margin: 0 0 14px !important;
  border-bottom: 1px solid #121c33 !important;
  text-align: right !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid #1c2e54 !important;
  background: #0c1324 !important;
  object-fit: contain !important;
  padding: 5px !important;
  box-shadow: 0 0 16px rgba(0,136,255,.10) !important;
}
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand strong {
  display: block !important;
  font-size: 12px !important;
  color: #fff !important;
  letter-spacing: .7px !important;
  font-weight: 900 !important;
}
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand span {
  display: block !important;
  margin-top: 2px !important;
  font-size: 11px !important;
  color: #64748b !important;
  font-weight: 700 !important;
}
body.bank-dashboard-page .sidebar-menu-title {
  font-size: 11px;
  color: #475569;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 12px 10px 8px 0;
}
body.bank-dashboard-page .dashboard-pro-menu,
body.bank-dashboard-page .dash-tabs {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.bank-dashboard-page .dashboard-pro-menu button,
body.bank-dashboard-page .dash-tabs button {
  width: 100% !important;
  min-height: 43px !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 12px 15px !important;
  border-radius: 6px !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  display: flex !important;
  align-items: center !important;
  text-align: right !important;
  cursor: pointer !important;
  transition: .18s ease !important;
  box-shadow: none !important;
  position: relative !important;
}
body.bank-dashboard-page .dashboard-pro-menu button i,
body.bank-dashboard-page .dash-tabs button i { font-size: 14px; color: #475569; width: 18px; text-align: center; transition: .18s ease; }
body.bank-dashboard-page .dashboard-pro-menu button span,
body.bank-dashboard-page .dash-tabs button span { flex: 1; }
body.bank-dashboard-page .dashboard-pro-menu button:hover,
body.bank-dashboard-page .dash-tabs button:hover {
  color: white !important;
  background: rgba(255,255,255,0.025) !important;
  transform: none !important;
}
body.bank-dashboard-page .dashboard-pro-menu button.active,
body.bank-dashboard-page .dash-tabs button.active {
  background: #141f38 !important;
  color: white !important;
  font-weight: 900 !important;
  box-shadow: inset 3px 0 0 var(--primary-blue), 0 0 18px rgba(0,136,255,.04) !important;
}
body.bank-dashboard-page .dashboard-pro-menu button.active i,
body.bank-dashboard-page .dash-tabs button.active i { color: var(--primary-blue); text-shadow: 0 0 10px var(--blue-glow); }
body.bank-dashboard-page .dashboard-pro-main.bank-core-view {
  background: #060913 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 30px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  height: calc(100vh - 75px) !important;
  min-width: 0 !important;
}
body.bank-dashboard-page #message {
  margin: 0 !important;
  min-height: 0 !important;
}
body.bank-dashboard-page .dashboard-pro-header {
  background: #090e1a !important;
  border: 1px solid #121c33 !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  box-shadow: none !important;
}
body.bank-dashboard-page .dashboard-pro-header h1 {
  margin: 0 0 6px !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: -.2px !important;
}
body.bank-dashboard-page .dashboard-pro-header p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}
body.bank-dashboard-page .bank-summary-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}
body.bank-dashboard-page .bank-stat-card {
  background: #090e1a !important;
  border: 1px solid #121c33 !important;
  padding: 18px 22px !important;
  border-radius: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: right !important;
  gap: 4px !important;
  box-shadow: none !important;
}
body.bank-dashboard-page .card-mini-lbl { font-size: 12px; color: #64748b; font-weight: 700; }
body.bank-dashboard-page .card-big-num { font-size: 28px; font-weight: 900; color: white; margin: 2px 0; font-family: monospace, sans-serif; letter-spacing: .5px; }
body.bank-dashboard-page .card-bottom-trend { font-size: 11px; color: #475569; font-weight: 600; }
body.bank-dashboard-page .clickable-stat-card { cursor: pointer; transition: all .22s ease; }
body.bank-dashboard-page .clickable-stat-card:hover {
  border-color: var(--primary-blue) !important;
  background: #0c1426 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,.4) !important;
}
body.bank-dashboard-page .dash-section { display: none !important; animation: none !important; }
body.bank-dashboard-page .dash-section.active { display: block !important; }
body.bank-dashboard-page .dashboard-pro-grid,
body.bank-dashboard-page .activation-admin-layout,
body.bank-dashboard-page .jobs-admin-layout,
body.bank-dashboard-page .user-files-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
}
body.bank-dashboard-page .dashboard-pro-grid > *,
body.bank-dashboard-page .activation-admin-layout > *,
body.bank-dashboard-page .jobs-admin-layout > *,
body.bank-dashboard-page .user-files-layout > * { min-width: 0 !important; }
body.bank-dashboard-page .dashboard-pro-card,
body.bank-dashboard-page .dashboard-pro-list,
body.bank-dashboard-page .admin-list,
body.bank-dashboard-page .activation-details-card,
body.bank-dashboard-page .activation-requests-sidebar,
body.bank-dashboard-page .activation-request-details,
body.bank-dashboard-page .user-files-sidebar,
body.bank-dashboard-page .user-files-main,
body.bank-dashboard-page .jobs-admin-list,
body.bank-dashboard-page .jobs-question-box,
body.bank-dashboard-page .empty-dashboard-box,
body.bank-dashboard-page .player-admin-tools,
body.bank-dashboard-page .player-file-panel,
body.bank-dashboard-page .user-file-section,
body.bank-dashboard-page .player-dashboard-shell {
  background: #090e1a !important;
  border: 1px solid #121c33 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
}
body.bank-dashboard-page .dashboard-pro-card,
body.bank-dashboard-page .activation-details-card,
body.bank-dashboard-page .activation-requests-sidebar,
body.bank-dashboard-page .user-files-sidebar,
body.bank-dashboard-page .user-files-main,
body.bank-dashboard-page .player-admin-tools,
body.bank-dashboard-page .player-file-panel,
body.bank-dashboard-page .user-file-section {
  padding: 20px !important;
}
body.bank-dashboard-page .dashboard-pro-card-head,
body.bank-dashboard-page .activation-requests-head {
  padding: 0 0 14px !important;
  margin: 0 0 16px !important;
  border-bottom: 1px solid #121c33 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}
body.bank-dashboard-page .dashboard-pro-card-head h2,
body.bank-dashboard-page .activation-requests-head h2,
body.bank-dashboard-page .dashboard-pro-card h2,
body.bank-dashboard-page .dashboard-pro-card h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: -.1px !important;
}
body.bank-dashboard-page .dashboard-pro-card-head p,
body.bank-dashboard-page .activation-requests-head p,
body.bank-dashboard-page .dashboard-pro-card p,
body.bank-dashboard-page .small-muted {
  color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}
body.bank-dashboard-page .field { margin-bottom: 14px !important; }
body.bank-dashboard-page label,
body.bank-dashboard-page .field label {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  margin-bottom: 7px !important;
  display: block !important;
}
body.bank-dashboard-page input,
body.bank-dashboard-page textarea,
body.bank-dashboard-page select {
  width: 100% !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  color: #f8fafc !important;
  border-radius: 6px !important;
  padding: 11px 13px !important;
  outline: none !important;
  min-height: 42px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: right !important;
  box-shadow: none !important;
  transition: .18s ease !important;
}
body.bank-dashboard-page textarea { min-height: 120px !important; resize: vertical !important; line-height: 1.75 !important; }
body.bank-dashboard-page input::placeholder,
body.bank-dashboard-page textarea::placeholder { color: #475569 !important; }
body.bank-dashboard-page input:focus,
body.bank-dashboard-page textarea:focus,
body.bank-dashboard-page select:focus {
  border-color: #1e5798 !important;
  box-shadow: 0 0 0 3px rgba(0,136,255,.06), 0 0 14px rgba(0,136,255,.08) !important;
  background: #0e1729 !important;
}
body.bank-dashboard-page .dashboard-check {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: max-content !important;
  max-width: 100% !important;
  background: #0c1324 !important;
  border: 1px solid #182543 !important;
  border-radius: 6px !important;
  padding: 9px 12px !important;
  color: #cbd5e1 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}
body.bank-dashboard-page .dashboard-check input { width: 16px !important; height: 16px !important; min-height: auto !important; accent-color: var(--primary-blue) !important; }
body.bank-dashboard-page .dashboard-actions,
body.bank-dashboard-page .admin-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin-top: 16px !important;
}
body.bank-dashboard-page .btn,
body.bank-dashboard-page button:not(.mini-notification-bell):not(.close-btn-bank):not(.dashboard-pro-menu button):not(.dash-tabs button),
body.bank-dashboard-page .bank-action-execute-btn {
  min-height: 34px !important;
  border-radius: 4px !important;
  padding: 7px 14px !important;
  background: #14213d !important;
  border: 1px solid #1e325c !important;
  color: white !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: .18s ease !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
body.bank-dashboard-page .btn:hover,
body.bank-dashboard-page button:not(.mini-notification-bell):not(.close-btn-bank):not(.dashboard-pro-menu button):not(.dash-tabs button):hover,
body.bank-dashboard-page .bank-action-execute-btn:hover {
  background: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 10px var(--blue-glow) !important;
  transform: translateY(-1px) !important;
}
body.bank-dashboard-page .btn.primary,
body.bank-dashboard-page button.primary {
  background: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 14px rgba(0,136,255,.18) !important;
}
body.bank-dashboard-page .btn.danger,
body.bank-dashboard-page button.danger,
body.bank-dashboard-page button[data-action*="reject"],
body.bank-dashboard-page button[data-action*="ban"],
body.bank-dashboard-page button[data-action*="delete"] {
  background: rgba(239, 68, 68, .10) !important;
  border-color: rgba(239, 68, 68, .25) !important;
  color: #fca5a5 !important;
}
body.bank-dashboard-page .btn.danger:hover,
body.bank-dashboard-page button.danger:hover,
body.bank-dashboard-page button[data-action*="reject"]:hover,
body.bank-dashboard-page button[data-action*="ban"]:hover,
body.bank-dashboard-page button[data-action*="delete"]:hover { background: #ef4444 !important; border-color: #ef4444 !important; color: white !important; box-shadow: 0 0 12px rgba(239,68,68,.35) !important; }
body.bank-dashboard-page .admin-item,
body.bank-dashboard-page .role-item,
body.bank-dashboard-page .creator-item,
body.bank-dashboard-page .rule-item,
body.bank-dashboard-page .job-item,
body.bank-dashboard-page .question-item,
body.bank-dashboard-page .update-admin-item,
body.bank-dashboard-page .support-admin-item,
body.bank-dashboard-page .user-file-row,
body.bank-dashboard-page .activation-app-card,
body.bank-dashboard-page #activationApps > *,
body.bank-dashboard-page #jobAppsList > *,
body.bank-dashboard-page #dashboardUsersList > * {
  background: #090e1a !important;
  border: 1px solid #121c33 !important;
  border-radius: 8px !important;
  padding: 15px 16px !important;
  margin-bottom: 10px !important;
  color: #cbd5e1 !important;
  box-shadow: none !important;
  transition: .18s ease !important;
}
body.bank-dashboard-page .admin-item:hover,
body.bank-dashboard-page .role-item:hover,
body.bank-dashboard-page .creator-item:hover,
body.bank-dashboard-page .rule-item:hover,
body.bank-dashboard-page .job-item:hover,
body.bank-dashboard-page .question-item:hover,
body.bank-dashboard-page .update-admin-item:hover,
body.bank-dashboard-page .support-admin-item:hover,
body.bank-dashboard-page .user-file-row:hover,
body.bank-dashboard-page #activationApps > *:hover,
body.bank-dashboard-page #jobAppsList > *:hover,
body.bank-dashboard-page #dashboardUsersList > *:hover {
  border-color: #1c2e54 !important;
  background: #0c1324 !important;
  transform: translateY(-1px) !important;
}
body.bank-dashboard-page .admin-item h3,
body.bank-dashboard-page .role-item h3,
body.bank-dashboard-page .creator-item h3,
body.bank-dashboard-page .rule-item h3,
body.bank-dashboard-page .job-item h3,
body.bank-dashboard-page .question-item h3,
body.bank-dashboard-page .update-admin-item h3,
body.bank-dashboard-page .support-admin-item h3 {
  color: #fff !important;
  margin: 0 0 6px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
body.bank-dashboard-page .admin-item p,
body.bank-dashboard-page .role-item p,
body.bank-dashboard-page .creator-item p,
body.bank-dashboard-page .rule-item p,
body.bank-dashboard-page .job-item p,
body.bank-dashboard-page .question-item p,
body.bank-dashboard-page .update-admin-item p,
body.bank-dashboard-page .support-admin-item p { color: #64748b !important; font-size: 12.5px !important; }
body.bank-dashboard-page table,
body.bank-dashboard-page .bank-premium-table {
  width: 100% !important;
  border-collapse: collapse !important;
  text-align: right !important;
  font-size: 13px !important;
  background: #090e1a !important;
  border: 1px solid #121c33 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
body.bank-dashboard-page th {
  background: #0c1324 !important;
  color: #64748b !important;
  font-weight: 900 !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid #121c33 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}
body.bank-dashboard-page td { padding: 16px 20px !important; border-bottom: 1px solid #121c33 !important; color: #cbd5e1 !important; }
body.bank-dashboard-page tr:last-child td { border-bottom: none !important; }
body.bank-dashboard-page .badge,
body.bank-dashboard-page .status-badge,
body.bank-dashboard-page .status-badge-bank,
body.bank-dashboard-page [class*="badge"] {
  padding: 4px 12px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  letter-spacing: .25px !important;
  border: 1px solid transparent !important;
}
body.bank-dashboard-page .badge::before,
body.bank-dashboard-page .status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
body.bank-dashboard-page .badge.accepted,
body.bank-dashboard-page .status-badge.accepted,
body.bank-dashboard-page .active-badge,
body.bank-dashboard-page .badge.ACCEPTED,
body.bank-dashboard-page [data-status="ACCEPTED"] { background: rgba(16, 185, 129, 0.1) !important; color: var(--success) !important; border-color: rgba(16,185,129,.20) !important; }
body.bank-dashboard-page .badge.submitted,
body.bank-dashboard-page .badge.SUBMITTED,
body.bank-dashboard-page .status-badge.submitted,
body.bank-dashboard-page .pending { background: rgba(0, 136, 255, 0.1) !important; color: #60a5fa !important; border-color: rgba(0,136,255,.20) !important; }
body.bank-dashboard-page .badge.review,
body.bank-dashboard-page .badge.UNDER_REVIEW,
body.bank-dashboard-page .status-badge.reviewing,
body.bank-dashboard-page .review { background: rgba(234, 179, 8, 0.1) !important; color: #eab308 !important; border-color: rgba(234,179,8,.20) !important; }
body.bank-dashboard-page .badge.banned,
body.bank-dashboard-page .badge.BANNED,
body.bank-dashboard-page .badge.BLACKLISTED,
body.bank-dashboard-page .status-badge.banned,
body.bank-dashboard-page .banned-badge,
body.bank-dashboard-page .rejected-perm { background: rgba(239, 68, 68, 0.1) !important; color: var(--danger) !important; border-color: rgba(239,68,68,.22) !important; }
body.bank-dashboard-page .message,
body.bank-dashboard-page .empty-dashboard-box {
  background: rgba(0, 136, 255, .04) !important;
  border: 1px dashed #1c2e54 !important;
  color: #94a3b8 !important;
  border-radius: 8px !important;
  padding: 18px !important;
  font-weight: 700 !important;
}
body.bank-dashboard-page .activation-admin-layout { grid-template-columns: minmax(0, 1fr) 360px !important; }
body.bank-dashboard-page .activation-admin-main { min-width: 0 !important; }
body.bank-dashboard-page .activation-requests-sidebar { max-height: calc(100vh - 230px) !important; overflow-y: auto !important; }
body.bank-dashboard-page .activation-request-details { padding: 0 !important; border: none !important; background: transparent !important; }
body.bank-dashboard-page .user-files-layout { grid-template-columns: 380px minmax(0, 1fr) !important; }
body.bank-dashboard-page .user-files-sidebar { max-height: calc(100vh - 230px) !important; overflow-y: auto !important; }
body.bank-dashboard-page .user-files-main { min-height: 560px !important; }
body.bank-dashboard-page .user-file-details,
body.bank-dashboard-page .player-file-grid,
body.bank-dashboard-page .player-admin-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
body.bank-dashboard-page .user-file-details > .empty-dashboard-box { grid-column: 1 / -1 !important; }
body.bank-dashboard-page .player-admin-tools,
body.bank-dashboard-page .player-file-panel,
body.bank-dashboard-page .user-file-section { min-width: 0 !important; }
body.bank-dashboard-page .masked-data-font,
body.bank-dashboard-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  letter-spacing: 1px !important;
  color: #94a3b8 !important;
}
body.bank-dashboard-page ::-webkit-scrollbar { width: 9px; height: 9px; }
body.bank-dashboard-page ::-webkit-scrollbar-track { background: #060913; }
body.bank-dashboard-page ::-webkit-scrollbar-thumb { background: #182543; border-radius: 99px; }
body.bank-dashboard-page ::-webkit-scrollbar-thumb:hover { background: #1c2e54; }
@media (max-width: 1180px) {
  body.bank-dashboard-page .bank-top-header-bar { grid-template-columns: 260px 1fr 220px; gap: 14px; }
  body.bank-dashboard-page .system-status-tag { display: none; }
  body.bank-dashboard-page .bank-summary-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.bank-dashboard-page .dashboard-pro-grid,
  body.bank-dashboard-page .activation-admin-layout,
  body.bank-dashboard-page .user-files-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  body.bank-dashboard-page { overflow: auto !important; }
  body.bank-dashboard-page .bank-top-header-bar {
    position: sticky;
    height: auto;
    min-height: 75px;
    grid-template-columns: 1fr;
    padding: 14px;
  }
  body.bank-dashboard-page .bank-system-status-zone { justify-content: stretch; }
  body.bank-dashboard-page .close-btn-bank { width: 100%; }
  body.bank-dashboard-page .dashboard-pro-layout.bank-interface-split {
    display: block !important;
    height: auto !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }
  body.bank-dashboard-page .dashboard-pro-sidebar.bank-sidebar-nav {
    height: auto !important;
    border-left: none !important;
    border-bottom: 1px solid #121c33 !important;
    position: relative !important;
  }
  body.bank-dashboard-page .dashboard-pro-menu,
  body.bank-dashboard-page .dash-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.bank-dashboard-page .dashboard-pro-main.bank-core-view {
    height: auto !important;
    min-height: 100vh !important;
    padding: 18px !important;
    overflow: visible !important;
  }
  body.bank-dashboard-page .dashboard-pro-header { flex-direction: column !important; align-items: stretch !important; }
  body.bank-dashboard-page .user-file-details,
  body.bank-dashboard-page .player-file-grid,
  body.bank-dashboard-page .player-admin-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  body.bank-dashboard-page .dashboard-pro-menu,
  body.bank-dashboard-page .dash-tabs,
  body.bank-dashboard-page .bank-summary-cards-grid { grid-template-columns: 1fr !important; }
  body.bank-dashboard-page .dashboard-pro-main.bank-core-view { padding: 12px !important; }
  body.bank-dashboard-page .dashboard-pro-card,
  body.bank-dashboard-page .activation-details-card,
  body.bank-dashboard-page .activation-requests-sidebar,
  body.bank-dashboard-page .user-files-sidebar,
  body.bank-dashboard-page .user-files-main { padding: 15px !important; }
}

/* =========================================================
   LWR FINAL FIX PACK — navbar / rules / FAQ / my-dashboard / access
   Requested fixes:
   1) الإدارة title for home management section via home.js
   2) public navbar hover = animated underline only
   3) rules + my-dashboard sections = dashboard-style sections
   4) arrow-down icons = simple V chevron
   5) FAQ boxes tighter + cleaner radius
   6) remove حالتي from navbar; keep it inside account menu
   7) dashboard page protected by backend + client guard
========================================================= */

/* ---------- Public navbar: remove pill/background hover, use underline animation ---------- */
.site-navbar .nav-links a,
.navbar .nav-links a {
  position: relative !important;
  padding: 0 0 14px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  color: rgba(245, 248, 255, 0.68) !important;
  transform: none !important;
  transition: color 0.22s ease, opacity 0.22s ease !important;
}

.site-navbar .nav-links a[href="my-dashboard.html"],
.navbar .nav-links a[href="my-dashboard.html"],
.site-navbar .nav-links a[href="../my-dashboard.html"],
.navbar .nav-links a[href="../my-dashboard.html"] {
  display: none !important;
}

.site-navbar .nav-links a::after,
.navbar .nav-links a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, var(--beige), var(--beige-2), transparent) !important;
  box-shadow: 0 0 12px rgba(88, 130, 206, 0.42) !important;
  opacity: 0 !important;
  transition: width 0.26s ease, opacity 0.26s ease !important;
}

.site-navbar .nav-links a:hover,
.navbar .nav-links a:hover,
.site-navbar .nav-links a.active,
.navbar .nav-links a.active {
  color: var(--text) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.site-navbar .nav-links a:hover::after,
.navbar .nav-links a:hover::after,
.site-navbar .nav-links a.active::after,
.navbar .nav-links a.active::after {
  width: 100% !important;
  opacity: 1 !important;
}

.site-navbar .nav-links a.active,
.navbar .nav-links a.active {
  color: #ffffff !important;
}

/* Keep account menu as the only place for حالتي / لوحة التحكم */
.profile-dropdown .profile-dropdown-link[href*="my-dashboard"] {
  display: flex !important;
}

/* ---------- Unified arrow-down chevron: simple V, no missing image icons ---------- */
.profile-arrow {
  width: 18px !important;
  height: 18px !important;
  display: inline-grid !important;
  place-items: center !important;
}

.profile-arrow img {
  display: none !important;
}

.profile-arrow::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-left: 2px solid rgba(245, 248, 255, 0.72) !important;
  border-bottom: 2px solid rgba(245, 248, 255, 0.72) !important;
  transform: rotate(-45deg) translateY(-1px) !important;
  transition: transform 0.18s ease, border-color 0.18s ease !important;
}

.profile-menu.open .profile-arrow::before {
  transform: rotate(135deg) translateY(-1px) !important;
  border-color: var(--beige-2) !important;
}

.lwr-public-page details summary,
.lwr-faq details summary,
.lwr-rules details summary {
  list-style: none !important;
}

.lwr-public-page details summary::-webkit-details-marker,
.lwr-faq details summary::-webkit-details-marker,
.lwr-rules details summary::-webkit-details-marker {
  display: none !important;
}

body > main.lwr-public-page details summary::after,
.lwr-faq details summary::after,
.lwr-rules details summary::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid rgba(245, 248, 255, 0.55) !important;
  border-bottom: 2px solid rgba(245, 248, 255, 0.55) !important;
  transform: translateY(-62%) rotate(-45deg) !important;
  transition: transform 0.22s ease, border-color 0.22s ease !important;
}

body > main.lwr-public-page details[open] summary::after,
.lwr-faq details[open] summary::after,
.lwr-rules details[open] summary::after {
  transform: translateY(-38%) rotate(135deg) !important;
  border-color: var(--beige-2) !important;
}

/* ---------- Rules page: make every law group look like dashboard sections ---------- */
body > main.lwr-public-page .lwr-rules {
  width: min(980px, 100%) !important;
  margin: 20px auto 0 !important;
  display: grid !important;
  gap: 12px !important;
}

body > main.lwr-public-page .lwr-rules details {
  position: relative !important;
  border-radius: 12px !important;
  border: 1px solid rgba(28, 46, 84, 0.92) !important;
  background: #090e1a !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease !important;
}

body > main.lwr-public-page .lwr-rules details::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, var(--beige), var(--olive)) !important;
  opacity: 0.75 !important;
}

body > main.lwr-public-page .lwr-rules details:hover,
body > main.lwr-public-page .lwr-rules details[open] {
  background: #0c1324 !important;
  border-color: #243b68 !important;
  transform: translateY(-1px) !important;
}

body > main.lwr-public-page .lwr-rules summary {
  min-height: 64px !important;
  padding: 20px 24px 20px 54px !important;
  font-size: 16px !important;
  font-weight: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  color: #f8fafc !important;
}

body > main.lwr-public-page .lwr-rules details p,
body > main.lwr-public-page .lwr-rules details li,
body > main.lwr-public-page .lwr-rules details td,
body > main.lwr-public-page .lwr-rules details th {
  color: #94a3b8 !important;
  line-height: 1.95 !important;
}

body > main.lwr-public-page .lwr-rules details > p,
body > main.lwr-public-page .lwr-rules details > table,
body > main.lwr-public-page .lwr-rules details > ul,
body > main.lwr-public-page .lwr-rules details > ol {
  margin: 0 24px 18px !important;
}

body > main.lwr-public-page .lwr-search {
  width: min(980px, 100%) !important;
  margin: 0 auto 18px !important;
  display: block !important;
  min-height: 52px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(28, 46, 84, 0.92) !important;
  background: #081020 !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}

body > main.lwr-public-page .lwr-search:focus {
  border-color: var(--beige) !important;
  box-shadow: 0 0 0 3px rgba(88, 130, 206, 0.13) !important;
}

/* ---------- FAQ: cleaner boxes, smaller radius, no chunky panels ---------- */
body > main.lwr-public-page .lwr-faq {
  width: min(920px, 100%) !important;
  margin: 20px auto 0 !important;
  display: grid !important;
  gap: 10px !important;
}

body > main.lwr-public-page .lwr-faq details {
  border-radius: 10px !important;
  border: 1px solid rgba(28, 46, 84, 0.82) !important;
  background: linear-gradient(180deg, #090e1a, #070b14) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18) !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
}

body > main.lwr-public-page .lwr-faq details:hover,
body > main.lwr-public-page .lwr-faq details[open] {
  border-color: rgba(88, 130, 206, 0.48) !important;
  background: #0c1324 !important;
  transform: translateY(-1px) !important;
}

body > main.lwr-public-page .lwr-faq summary {
  min-height: 58px !important;
  padding: 18px 22px 18px 52px !important;
  color: #f8fafc !important;
  font-size: 15.5px !important;
  font-weight: 1000 !important;
}

body > main.lwr-public-page .lwr-faq details p {
  margin: 0 22px 18px !important;
  color: #94a3b8 !important;
  line-height: 1.95 !important;
}

/* ---------- My Dashboard / حالتي: dashboard-section look ---------- */
.my-dashboard-page .player-dashboard-main {
  width: min(1180px, calc(100% - 34px)) !important;
  max-width: 1180px !important;
}

.my-dashboard-page .subpage-hero,
.my-dashboard-page .compact-hero {
  border-radius: 14px !important;
  border: 1px solid #121c33 !important;
  background: #090e1a !important;
  box-shadow: none !important;
}

.my-dashboard-page .player-profile-hero-card,
.my-dashboard-page .player-panel,
.my-dashboard-page .player-metric,
.my-dashboard-page .player-character-card,
.my-dashboard-page .player-alert-row,
.my-dashboard-page .player-history-row,
.my-dashboard-page .player-active-ban,
.my-dashboard-page .player-note {
  border-radius: 12px !important;
  border: 1px solid #121c33 !important;
  background: #090e1a !important;
  box-shadow: none !important;
}

.my-dashboard-page .player-profile-hero-card,
.my-dashboard-page .player-panel {
  position: relative !important;
  overflow: hidden !important;
}

.my-dashboard-page .player-panel::before,
.my-dashboard-page .player-profile-hero-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 3px !important;
  background: linear-gradient(180deg, var(--beige), var(--olive)) !important;
  opacity: 0.78 !important;
}

.my-dashboard-page .player-profile-hero-card:hover,
.my-dashboard-page .player-panel:hover,
.my-dashboard-page .player-metric:hover,
.my-dashboard-page .player-alert-row:hover,
.my-dashboard-page .player-history-row:hover {
  background: #0c1324 !important;
  border-color: #1c2e54 !important;
}

.my-dashboard-page .player-panel h2,
.my-dashboard-page .player-panel h3 {
  color: #f8fafc !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  margin-bottom: 14px !important;
}

.my-dashboard-page .player-panel p,
.my-dashboard-page .player-character-card p,
.my-dashboard-page .player-alert-row p,
.my-dashboard-page .player-history-row p,
.my-dashboard-page .player-active-ban p,
.my-dashboard-page .player-note p {
  color: #94a3b8 !important;
}

.my-dashboard-page .player-dashboard-grid {
  gap: 12px !important;
}

.my-dashboard-page .player-dashboard-grid .player-panel {
  padding: 18px !important;
}

.my-dashboard-page .player-metrics-row {
  gap: 10px !important;
}

.my-dashboard-page .activation-status,
.my-dashboard-page .user-file-status {
  border-radius: 10px !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  letter-spacing: 0.2px !important;
}

/* ---------- Dashboard access denied card ---------- */
.dashboard-access-lock-card {
  width: min(640px, 100%) !important;
  margin: 60px auto !important;
  text-align: center !important;
}

.dashboard-access-lock-card h1 {
  color: #f8fafc !important;
  margin-bottom: 10px !important;
}

.dashboard-access-lock-card p {
  color: #94a3b8 !important;
  margin-bottom: 18px !important;
}

/* ---------- Keep dashboard sidebar exact reference style; do not let public nav overrides touch it ---------- */
body.bank-dashboard-page .dashboard-pro-menu button::after,
body.bank-dashboard-page .dash-tabs button::after {
  display: none !important;
}

body.bank-dashboard-page .dashboard-pro-menu button:hover,
body.bank-dashboard-page .dash-tabs button:hover {
  background: #0c1324 !important;
}

/* ---------- Mobile cleanup ---------- */
@media (max-width: 900px) {
  .site-navbar .nav-links,
  .navbar .nav-links {
    gap: 18px !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 6px !important;
  }

  .site-navbar .nav-links a,
  .navbar .nav-links a {
    font-size: 14px !important;
    padding-bottom: 10px !important;
  }

  body > main.lwr-public-page .lwr-rules,
  body > main.lwr-public-page .lwr-faq,
  body > main.lwr-public-page .lwr-search {
    width: 100% !important;
  }

  .my-dashboard-page .player-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body > main.lwr-public-page .lwr-rules summary,
  body > main.lwr-public-page .lwr-faq summary {
    font-size: 14px !important;
    padding-inline-start: 48px !important;
    padding-inline-end: 16px !important;
  }

  .my-dashboard-page .player-profile-hero-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* =========================================================
   LWR FIX: Remove navbar hover/active visual effects
   Requested: no hover background, no underline/glow, no movement.
   Keeps navigation plain and stable across public pages.
========================================================= */
.nav-links a,
.site-navbar .nav-links a,
.navbar .nav-links a,
body.lwr-subpage .nav-links a {
  color: rgba(245, 248, 255, 0.72) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
  transition: color .12s ease !important;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a:focus-visible,
.nav-links a.active,
.site-navbar .nav-links a:hover,
.site-navbar .nav-links a:focus,
.site-navbar .nav-links a:focus-visible,
.site-navbar .nav-links a.active,
.navbar .nav-links a:hover,
.navbar .nav-links a:focus,
.navbar .nav-links a:focus-visible,
.navbar .nav-links a.active,
body.lwr-subpage .nav-links a:hover,
body.lwr-subpage .nav-links a:focus,
body.lwr-subpage .nav-links a:focus-visible,
body.lwr-subpage .nav-links a.active {
  color: rgba(245, 248, 255, 0.72) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

.nav-links a::before,
.nav-links a::after,
.nav-links a:hover::before,
.nav-links a:hover::after,
.nav-links a:focus::before,
.nav-links a:focus::after,
.nav-links a:focus-visible::before,
.nav-links a:focus-visible::after,
.nav-links a.active::before,
.nav-links a.active::after,
.site-navbar .nav-links a::before,
.site-navbar .nav-links a::after,
.navbar .nav-links a::before,
.navbar .nav-links a::after,
body.lwr-subpage .nav-links a::before,
body.lwr-subpage .nav-links a::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  transform: none !important;
}

.brand-logo:hover,
.nav-logo:hover {
  transform: none !important;
  filter: inherit !important;
}

/* =========================
   FONT OVERRIDES - BAHIJI / FRAMD
========================= */
.site-brand,
.brand-title,
.logo-text,
.hero-title,
.dashboard-brand-title,
.dashboard-logo-text,
.profile-name,
.user-name,
.admin-title,
.stat-number,
.request-number,
[data-font="english"] {
  font-family: var(--font-english) !important;
  letter-spacing: 0.02em;
}

.page-title,
.section-title,
.card-title,
.form-label,
.nav-link,
.dashboard-nav a,
[data-font="arabic"] {
  font-family: var(--font-arabic) !important;
}


/* =========================================================
   Dashboard-managed public pages linkage polish
   - rules.html reads Dashboard -> القوانين
   - team.html reads Dashboard -> الطاقم
   - jobs.html reads Dashboard -> الوظائف
========================================================= */
.managed-public-page .lwr-managed-toolbar {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.managed-public-page .lwr-managed-toolbar .lwr-search {
  flex: 1;
}

.lwr-managed-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(88, 130, 206, 0.28);
  border-radius: 12px;
  background: rgba(7, 15, 28, 0.72);
  color: var(--text-soft, #94a3b8);
  font-family: var(--font-en, inherit);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-like-public-section {
  width: min(980px, calc(100% - 36px));
  margin-inline: auto;
}

.lwr-managed-rule-panel {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(88, 130, 206, 0.20);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(16, 25, 43, 0.96), rgba(7, 12, 23, 0.96)),
    rgba(9, 16, 29, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.lwr-managed-rule-panel summary {
  min-height: 66px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.lwr-managed-rule-panel summary::-webkit-details-marker {
  display: none;
}

.rule-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.rule-number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(88, 130, 206, .28);
  border-radius: 10px;
  background: rgba(88, 130, 206, .10);
  color: var(--accent, #5882ce);
  font-family: var(--font-en, inherit);
  font-weight: 900;
  font-size: 12px;
}

.rule-chevron {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  color: var(--text-soft, #94a3b8);
  transform: rotate(0deg);
  transition: transform .18s ease;
}

.lwr-managed-rule-panel[open] .rule-chevron {
  transform: rotate(180deg);
}

.rule-content {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 24px 24px;
  color: var(--text-soft, #94a3b8);
  line-height: 2;
}

.rule-content p {
  margin: 0 0 12px;
}

.rule-content p:last-child {
  margin-bottom: 0;
}

.lwr-team-grid {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.lwr-team-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 14px;
}

.lwr-team-avatar img {
  object-fit: cover;
}

.lwr-team-meta {
  display: grid;
  gap: 8px;
}

.lwr-team-meta h3 {
  margin: 0;
}

.lwr-team-meta p {
  margin: 0;
  color: var(--text-soft, #94a3b8);
  line-height: 1.8;
}

.small-kicker {
  font-size: 11px;
  letter-spacing: .08em;
}

@media (max-width: 760px) {
  .managed-public-page .lwr-managed-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .lwr-managed-note {
    width: 100%;
  }

  .lwr-managed-rule-panel summary {
    padding: 0 14px;
  }

  .rule-title-wrap {
    gap: 10px;
  }

  .rule-content {
    padding: 16px;
  }
}

/* =========================================================
   LWR GLOBAL ARROW-DOWN ICON FIX
   Uses frontend/assets/images/icons/arrow-down.png for every
   dropdown, details, accordion, select, and profile arrow.
   Keep this block at the very end so it wins old overrides.
========================================================= */
:root {
  --lwr-arrow-down-icon: url("../assets/images/icons/arrow-down.png");
}

/* Native selects: replace browser arrow with the uploaded icon */
select,
.form-select,
.dashboard-select,
.filter-select,
.lwr-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-size: 12px 12px !important;
  background-position: left 16px center !important;
  padding-left: 44px !important;
}

html[dir="ltr"] select,
html[dir="ltr"] .form-select,
html[dir="ltr"] .dashboard-select,
html[dir="ltr"] .filter-select,
html[dir="ltr"] .lwr-select {
  background-position: right 16px center !important;
  padding-right: 44px !important;
  padding-left: 16px !important;
}

/* Account/profile dropdown arrow */
.profile-arrow {
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.profile-arrow::before,
.profile-arrow::after {
  content: none !important;
  display: none !important;
}

.profile-arrow img {
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  object-fit: contain !important;
  opacity: 0.9 !important;
  filter: none !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

.profile-btn:hover .profile-arrow img,
.profile-menu.open .profile-arrow img {
  opacity: 1 !important;
}

.profile-menu.open .profile-arrow img {
  transform: rotate(180deg) !important;
}

/* Classic rules accordion arrow button */
.rule-arrow {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 34px !important;
  transform: none !important;
}

.rule-arrow::before,
.rule-arrow::after {
  content: none !important;
  display: none !important;
}

.rule-arrow img {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 0.9 !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

.rule-accordion-item.open .rule-arrow {
  transform: none !important;
}

.rule-accordion-item.open .rule-arrow img {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* Managed rules arrow used by JS renderer */
.rule-chevron,
.faq-chevron,
.dropdown-chevron,
.accordion-chevron,
.accordion-arrow,
.panel-arrow,
.select-arrow,
.lwr-arrow-down,
.lwr-arrow-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-size: 13px 13px !important;
  background-position: center !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease !important;
}

.rule-chevron img,
.faq-chevron img,
.dropdown-chevron img,
.accordion-chevron img,
.accordion-arrow img,
.panel-arrow img,
.select-arrow img,
.lwr-arrow-down img,
.lwr-arrow-icon img {
  display: block !important;
  width: 13px !important;
  height: 13px !important;
  object-fit: contain !important;
  filter: none !important;
}

.lwr-managed-rule-panel[open] .rule-chevron,
details[open] .faq-chevron,
details[open] .dropdown-chevron,
details[open] .accordion-chevron,
details[open] .accordion-arrow,
details[open] .panel-arrow,
.open > .rule-chevron,
.open > .faq-chevron,
.open > .dropdown-chevron,
.open > .accordion-chevron,
.open > .accordion-arrow,
.open > .panel-arrow {
  transform: rotate(180deg) !important;
}

/* Details/FAQ/rules generated arrows: use image instead of CSS border chevron */
.lwr-public-page details summary,
.lwr-faq details summary,
.lwr-rules details summary,
.lwr-managed-rule-panel summary {
  position: relative !important;
  list-style: none !important;
}

.lwr-public-page details summary::-webkit-details-marker,
.lwr-faq details summary::-webkit-details-marker,
.lwr-rules details summary::-webkit-details-marker,
.lwr-managed-rule-panel summary::-webkit-details-marker {
  display: none !important;
}

body > main.lwr-public-page details summary::after,
.lwr-faq details summary::after,
.lwr-rules details summary::after {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  width: 13px !important;
  height: 13px !important;
  border: 0 !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  transform: translateY(-50%) rotate(0deg) !important;
  opacity: 0.88 !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

body > main.lwr-public-page details[open] summary::after,
.lwr-faq details[open] summary::after,
.lwr-rules details[open] summary::after {
  transform: translateY(-50%) rotate(180deg) !important;
  opacity: 1 !important;
}

/* If a summary already has an explicit arrow span, do not duplicate the generated arrow */
.lwr-managed-rule-panel summary:has(.rule-chevron)::after,
.lwr-public-page details summary:has(.rule-chevron)::after,
.lwr-public-page details summary:has(.faq-chevron)::after,
.lwr-public-page details summary:has(.accordion-chevron)::after,
.lwr-public-page details summary:has(.lwr-arrow-icon)::after {
  display: none !important;
}


/* =========================================================
   FINAL RULES ARROW FIX - NO CIRCLE / NO TEXT
   Uses /assets/icons/arrow-down.png.
   This is intentionally at the very end to override older blocks.
========================================================= */

:root {
  --lwr-arrow-down-icon: url("../assets/icons/arrow-down.png");
}

/* Remove the "Managed by Dashboard" pill completely */
.lwr-managed-note,
.managed-public-page .lwr-managed-note {
  display: none !important;
}

/* Toolbar should only contain search */
.managed-public-page .lwr-managed-toolbar {
  width: min(980px, calc(100% - 36px)) !important;
  margin: 0 auto 22px !important;
  display: block !important;
}

.managed-public-page .lwr-managed-toolbar .lwr-search,
body > main.lwr-public-page .lwr-search {
  width: 100% !important;
  margin: 0 !important;
}

/* Hide every old explicit rule arrow container that made the circle */
#rulesList .rule-chevron,
#rulesList .rule-arrow,
#rulesList .accordion-chevron,
#rulesList .accordion-arrow,
#rulesList .panel-arrow,
#rulesList .lwr-arrow-down,
#rulesList .lwr-arrow-icon,
.lwr-rules .rule-chevron,
.lwr-rules .rule-arrow,
.lwr-rules .accordion-chevron,
.lwr-rules .accordion-arrow,
.lwr-rules .panel-arrow,
.lwr-rules .lwr-arrow-down,
.lwr-rules .lwr-arrow-icon {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}

/* Summary must create one clean PNG arrow only */
#rulesList details > summary,
.lwr-rules details > summary,
.lwr-managed-rule-panel > summary {
  position: relative !important;
  list-style: none !important;
  padding-left: 58px !important;
}

#rulesList details > summary::-webkit-details-marker,
.lwr-rules details > summary::-webkit-details-marker,
.lwr-managed-rule-panel > summary::-webkit-details-marker {
  display: none !important;
}

/* Remove old border/text caret generated by previous CSS */
#rulesList details > summary::before,
.lwr-rules details > summary::before,
.lwr-managed-rule-panel > summary::before {
  content: none !important;
  display: none !important;
}

/* The only arrow */
#rulesList details > summary::after,
.lwr-rules details > summary::after,
.lwr-managed-rule-panel > summary::after {
  content: "" !important;
  position: absolute !important;
  left: 22px !important;
  top: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  filter: none !important;
  opacity: .98 !important;
  transform: translateY(-50%) rotate(0deg) !important;
  transition: opacity .16s ease, transform .16s ease !important;
}

/* Keep arrow down; do not rotate to ^ */
#rulesList details[open] > summary::after,
.lwr-rules details[open] > summary::after,
.lwr-managed-rule-panel[open] > summary::after {
  transform: translateY(-50%) rotate(0deg) !important;
  opacity: 1 !important;
}

/* Also remove any button-like background around arrows in rules */
#rulesList details > summary button,
.lwr-rules details > summary button {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* =========================================================
   PUBLIC RULES.HTML - DASHBOARD SECTION CARDS ONLY
   Scoped only to rules.html. Does NOT affect dashboard rules.
========================================================= */
body.rules-public-dashboard-sections .lwr-managed-note,
body.rules-style-page .lwr-managed-note {
  display: none !important;
}

body.rules-public-dashboard-sections .lwr-managed-toolbar,
body.rules-style-page .lwr-managed-toolbar {
  width: min(980px, calc(100% - 36px)) !important;
  margin: 0 auto 22px !important;
  display: block !important;
}

body.rules-public-dashboard-sections .lwr-managed-toolbar .lwr-search,
body.rules-style-page .lwr-managed-toolbar .lwr-search,
body.rules-public-dashboard-sections #rulesSearch,
body.rules-style-page #rulesSearch {
  width: 100% !important;
  margin: 0 !important;
  min-height: 54px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(88, 130, 206, 0.22) !important;
  background: #071020 !important;
  color: #f5f8ff !important;
  padding: 0 20px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
}

body.rules-public-dashboard-sections #rulesList,
body.rules-style-page #rulesList {
  width: min(980px, calc(100% - 36px)) !important;
  margin: 0 auto 80px !important;
  display: grid !important;
  gap: 18px !important;
}

/* old accordion/details must never appear on rules.html */
body.rules-public-dashboard-sections #rulesList details,
body.rules-style-page #rulesList details,
body.rules-public-dashboard-sections #rulesList .lwr-managed-rule-panel,
body.rules-style-page #rulesList .lwr-managed-rule-panel {
  display: none !important;
}

body.rules-public-dashboard-sections .rules-public-section-card,
body.rules-style-page .rules-public-section-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(32, 55, 99, 0.95) !important;
  background:
    linear-gradient(180deg, rgba(9, 17, 33, 0.98), rgba(6, 12, 23, 0.98)) !important;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}

body.rules-public-dashboard-sections .rules-public-section-card::before,
body.rules-style-page .rules-public-section-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #5882CE, #3E60B3) !important;
  box-shadow: 0 0 28px rgba(88, 130, 206, 0.42) !important;
}

body.rules-public-dashboard-sections .rules-public-section-header,
body.rules-style-page .rules-public-section-header {
  min-height: 78px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 28px !important;
  border-bottom: 1px solid rgba(255,255,255,.055) !important;
  background: linear-gradient(180deg, rgba(13, 22, 40, 0.86), rgba(9, 16, 30, 0.64)) !important;
}

body.rules-public-dashboard-sections .rules-public-section-heading,
body.rules-style-page .rules-public-section-heading {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body.rules-public-dashboard-sections .rules-public-section-heading h2,
body.rules-style-page .rules-public-section-heading h2 {
  margin: 0 !important;
  color: #f6f8ff !important;
  font-size: 25px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  text-align: right !important;
}

body.rules-public-dashboard-sections .rules-public-section-index,
body.rules-style-page .rules-public-section-index {
  min-width: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  border: 1px solid rgba(88, 130, 206, 0.28) !important;
  background: rgba(88, 130, 206, 0.12) !important;
  color: #92b7ff !important;
  font-family: var(--font-english, inherit) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
}

body.rules-public-dashboard-sections .rules-public-section-body,
body.rules-style-page .rules-public-section-body {
  padding: 26px 28px 30px !important;
}

body.rules-public-dashboard-sections .rules-public-section-body p,
body.rules-style-page .rules-public-section-body p {
  margin: 0 !important;
  color: #9cafce !important;
  font-size: 17px !important;
  line-height: 2.08 !important;
  font-weight: 800 !important;
}

body.rules-public-dashboard-sections .rules-public-empty-card .rules-public-section-body,
body.rules-style-page .rules-public-empty-card .rules-public-section-body {
  text-align: center !important;
  color: #9cafce !important;
}

body.rules-public-dashboard-sections .rules-public-error-card,
body.rules-style-page .rules-public-error-card {
  border-color: rgba(255, 100, 130, 0.35) !important;
}

body.rules-public-dashboard-sections #rulesList [class*="arrow"],
body.rules-style-page #rulesList [class*="arrow"],
body.rules-public-dashboard-sections #rulesList [class*="chevron"],
body.rules-style-page #rulesList [class*="chevron"] {
  display: none !important;
}

@media (max-width: 760px) {
  body.rules-public-dashboard-sections #rulesList,
  body.rules-style-page #rulesList,
  body.rules-public-dashboard-sections .lwr-managed-toolbar,
  body.rules-style-page .lwr-managed-toolbar {
    width: min(100% - 28px, 980px) !important;
  }

  body.rules-public-dashboard-sections .rules-public-section-header,
  body.rules-style-page .rules-public-section-header {
    min-height: 68px !important;
    padding: 0 18px !important;
  }

  body.rules-public-dashboard-sections .rules-public-section-heading h2,
  body.rules-style-page .rules-public-section-heading h2 {
    font-size: 20px !important;
  }

  body.rules-public-dashboard-sections .rules-public-section-body,
  body.rules-style-page .rules-public-section-body {
    padding: 20px 18px 24px !important;
  }

  body.rules-public-dashboard-sections .rules-public-section-body p,
  body.rules-style-page .rules-public-section-body p {
    font-size: 15px !important;
  }
}


/* =========================================================
   NAVBAR LINKS VERTICAL CENTER FIX
   Moves only the middle navbar links slightly down so they sit
   visually centered with the account pill and logo.
========================================================= */
.navbar .nav-links,
.site-navbar .nav-links {
  align-self: center !important;
  transform: translateY(8px) !important;
}

.navbar .nav-links a,
.site-navbar .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .navbar .nav-links,
  .site-navbar .nav-links {
    transform: translateY(4px) !important;
  }
}


/* =========================================================
   DASHBOARD BRAND / HEADER / NOTIFICATION ICON FIX
   Fixes cramped sidebar brand, overlapping dashboard header,
   and broken tiny notification icon.
========================================================= */

/* Sidebar brand card: clean 3-column layout (ONLINE | text | logo) */
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand {
  min-height: 90px !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 12px 12px !important;
  border-radius: 0 !important;
  border: 1px solid #13203a !important;
  border-bottom: 1px solid #13203a !important;
  background: linear-gradient(180deg, rgba(11, 19, 35, 0.96), rgba(7, 12, 23, 0.96)) !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 54px !important;
  align-items: center !important;
  gap: 10px !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Kill old pseudo ONLINE badge that was squeezing the brand */
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand::after {
  content: none !important;
  display: none !important;
}

/* New clean status badge */
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand::before {
  content: "ONLINE" !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  align-self: center !important;
  height: 30px !important;
  min-width: 52px !important;
  padding: 0 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  border: 1px solid rgba(16, 185, 129, 0.20) !important;
  background: rgba(16, 185, 129, 0.06) !important;
  color: #21e69a !important;
  font-family: var(--font-english) !important;
  font-size: 10px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand img {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  border-radius: 10px !important;
  padding: 5px !important;
  object-fit: contain !important;
  background: #0c1324 !important;
  border: 1px solid #1b2d50 !important;
  box-shadow: 0 0 18px rgba(88, 130, 206, 0.10) !important;
  margin: 0 !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
  justify-items: center !important;
  text-align: center !important;
  direction: ltr !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand strong {
  max-width: 100% !important;
  color: #ffffff !important;
  font-family: var(--font-english) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
  letter-spacing: 0.4px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  margin: 0 !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand span {
  color: #7184a6 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  margin: 0 !important;
  direction: rtl !important;
}

/* Dashboard header: remove overlapping badge and make title/subtitle clean */
body.bank-dashboard-page .dashboard-pro-header {
  min-height: auto !important;
  padding: 22px 26px !important;
  margin: 0 0 4px !important;
  display: block !important;
  text-align: right !important;
  overflow: visible !important;
  background: linear-gradient(180deg, rgba(9, 15, 28, 0.98), rgba(6, 11, 21, 0.98)) !important;
  border: 1px solid #13203a !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

body.bank-dashboard-page .dashboard-pro-header::before,
body.bank-dashboard-page .dashboard-pro-header::after {
  content: none !important;
  display: none !important;
}

body.bank-dashboard-page .dashboard-pro-header h1 {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.05 !important;
  font-weight: 1000 !important;
  letter-spacing: -0.5px !important;
  text-shadow: none !important;
}

body.bank-dashboard-page .dashboard-pro-header p {
  margin: 0 !important;
  max-width: none !important;
  color: #7386a8 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
  font-weight: 800 !important;
}

/* Notification icon fallback: do not rely on Font Awesome */
body.bank-dashboard-page .mini-notification-bell,
body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(246, 194, 74, 0.24) !important;
  background: linear-gradient(180deg, #101a2f, #0a1221) !important;
  color: #f6c24a !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: visible !important;
}

body.bank-dashboard-page .mini-notification-bell i {
  display: none !important;
}

body.bank-dashboard-page .mini-notification-bell::before {
  content: "" !important;
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f6c24a' d='M12 22a2.8 2.8 0 0 0 2.68-2H9.32A2.8 2.8 0 0 0 12 22Zm7-6v-5a7 7 0 0 0-5-6.7V3a2 2 0 1 0-4 0v1.3A7 7 0 0 0 5 11v5l-1.6 2.4A1 1 0 0 0 4.24 20h15.52a1 1 0 0 0 .84-1.6L19 16Z'/%3E%3C/svg%3E") !important;
}

body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  min-height: 17px !important;
  fill: currentColor !important;
  color: #f6c24a !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell svg path {
  fill: currentColor !important;
}

body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell::before,
body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell::after {
  display: none !important;
  content: none !important;
}

body.bank-dashboard-page .mini-notification-bell:hover,
body.bank-dashboard-page .mini-notification-bell.active,
body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-bell:hover,
body.bank-dashboard-page .bank-user-profile-zone .lwr-notification-widget.open .lwr-notification-bell {
  border-color: rgba(246, 194, 74, 0.55) !important;
  box-shadow: 0 0 18px rgba(246, 194, 74, 0.10) !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  body.bank-dashboard-page .bank-top-header-bar {
    grid-template-columns: minmax(220px, 270px) minmax(220px, 1fr) auto !important;
    gap: 14px !important;
    padding-inline: 14px !important;
  }

  body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand {
    grid-template-columns: 54px minmax(0, 1fr) 50px !important;
    padding-inline: 10px !important;
  }
}

@media (max-width: 720px) {
  body.bank-dashboard-page .dashboard-pro-header {
    padding: 18px !important;
  }

  body.bank-dashboard-page .dashboard-pro-header h1 {
    font-size: 30px !important;
  }
}


/* Staff audit styles */
.staff-audit-panel {
  position: relative;
  overflow: hidden;
}

.staff-audit-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.staff-audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.audit-filters-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr .8fr .7fr;
  gap: 12px;
  align-items: end;
  margin: 18px 0 16px;
  padding: 16px;
  border: 1px solid rgba(88,130,206,.16);
  border-radius: 16px;
  background: rgba(5, 10, 22, .36);
}

.audit-actions-row {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 0 !important;
}

.staff-audit-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(245,248,255,.58);
  font-size: 12px;
  margin: 8px 0 16px;
}

.staff-audit-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.staff-audit-legend b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5882CE;
  box-shadow: 0 0 14px rgba(88,130,206,.55);
}

.staff-audit-legend .danger b {
  background: #ff6b86;
  box-shadow: 0 0 14px rgba(255,107,134,.55);
}

.staff-audit-list {
  display: grid;
  gap: 12px;
}

.audit-log-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(88,130,206,.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9,16,31,.96), rgba(7,11,22,.96));
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  overflow: hidden;
}

.audit-log-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #5882CE, #3E60B3);
}

.audit-log-row.sensitive::before {
  background: linear-gradient(180deg, #ff6b86, #a855f7);
}

.audit-log-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #9fc0ff;
  background: rgba(88,130,206,.12);
  border: 1px solid rgba(88,130,206,.20);
}

.audit-log-row.sensitive .audit-log-icon {
  color: #ffb3c2;
  background: rgba(255,107,134,.10);
  border-color: rgba(255,107,134,.20);
}

.audit-log-main {
  min-width: 0;
}

.audit-log-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.audit-log-topline h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 1000;
}

.audit-log-topline p {
  margin: 4px 0 0;
  color: rgba(245,248,255,.44);
  font-family: var(--font-english, monospace);
  font-size: 12px;
}

.audit-log-topline time {
  flex: 0 0 auto;
  color: rgba(245,248,255,.54);
  font-size: 12px;
  direction: ltr;
}

.audit-log-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.audit-log-info-grid div,
.audit-meta-grid div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.audit-log-info-grid span,
.audit-meta-grid span {
  display: block;
  color: rgba(245,248,255,.42);
  font-size: 11px;
  margin-bottom: 5px;
}

.audit-log-info-grid strong,
.audit-meta-grid strong {
  display: block;
  color: rgba(245,248,255,.82);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audit-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.audit-meta-box {
  margin: 12px 0 0;
  max-height: 160px;
  overflow: auto;
  white-space: pre-wrap;
  direction: ltr;
  text-align: left;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px;
  color: rgba(245,248,255,.76);
  background: rgba(0,0,0,.18);
}

@media (max-width: 1200px) {
  .audit-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audit-log-info-grid,
  .audit-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .staff-audit-head,
  .audit-log-topline {
    flex-direction: column;
  }
  .staff-audit-summary-grid,
  .audit-filters-grid,
  .audit-log-info-grid,
  .audit-meta-grid {
    grid-template-columns: 1fr;
  }
  .audit-log-row {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   STAFF AUDIT TAB VISIBLE FIX
   Keeps سجل الطاقم visible near top of sidebar.
========================================================= */
body.bank-dashboard-page .dashboard-pro-menu .audit-sidebar-tab {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.bank-dashboard-page .dashboard-pro-menu .audit-sidebar-tab span::after {
  content: "NEW";
  display: inline-flex;
  align-items: center;
  height: 18px;
  margin-inline-start: 8px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(88, 130, 206, 0.16);
  border: 1px solid rgba(88, 130, 206, 0.34);
  color: #AFC8FF;
  font-size: 9px;
  font-family: var(--font-english, inherit);
  letter-spacing: .05em;
}

body.bank-dashboard-page #tab-audit-logs.dash-section {
  scroll-margin-top: 120px;
}


/* =========================================================
   PLAYER FILE FULLSCREEN MODAL FIX
   Opens player files in a full-screen popup instead of the
   cramped in-dashboard panel.
========================================================= */

body.player-file-modal-open {
  overflow: hidden !important;
}

.player-file-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: none !important;
  direction: rtl !important;
}

.player-file-modal.open {
  display: block !important;
}

.player-file-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 25% 0%, rgba(88, 130, 206, 0.14), transparent 34%),
    rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.player-file-modal-panel {
  position: absolute !important;
  inset: 26px !important;
  border: 1px solid rgba(88, 130, 206, 0.28) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 80% 0%, rgba(88, 130, 206, 0.10), transparent 32%),
    linear-gradient(180deg, #070d19 0%, #050912 100%) !important;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.72) !important;
  overflow: hidden !important;
}

.player-file-modal-close {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 3 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(88, 130, 206, 0.24) !important;
  background: rgba(8, 15, 28, 0.92) !important;
  color: #f8fafc !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.38) !important;
}

.player-file-modal-close:hover {
  background: rgba(88, 130, 206, 0.18) !important;
  border-color: rgba(88, 130, 206, 0.58) !important;
}

.player-file-modal-body {
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 28px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(88, 130, 206, 0.75) rgba(8, 14, 26, 0.35) !important;
}

.player-file-modal-body::-webkit-scrollbar {
  width: 7px !important;
}

.player-file-modal-body::-webkit-scrollbar-track {
  background: rgba(8, 14, 26, 0.45) !important;
}

.player-file-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5882CE, #3E60B3) !important;
  border-radius: 999px !important;
}

.player-file-modal-loading {
  min-height: 70vh !important;
  display: grid !important;
  place-items: center !important;
  gap: 18px !important;
  color: #dbeafe !important;
}

.player-file-modal-content {
  width: min(1480px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  gap: 18px !important;
}

.player-file-modal-hero {
  position: relative !important;
  min-height: 210px !important;
  padding: 28px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  border: 1px solid rgba(88, 130, 206, 0.24) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(88, 130, 206, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(10, 18, 34, 0.98), rgba(6, 11, 22, 0.98)) !important;
  overflow: hidden !important;
}

.player-file-modal-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #5882CE, #3E60B3) !important;
}

.player-file-modal-identity {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
}

.player-file-modal-identity img {
  width: 96px !important;
  height: 96px !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  border: 1px solid rgba(88, 130, 206, 0.42) !important;
  background: #050912 !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36) !important;
}

.player-file-modal-kicker {
  display: inline-flex !important;
  margin-bottom: 8px !important;
  color: #87aff0 !important;
  font-family: var(--font-english, inherit) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.player-file-modal-identity h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: clamp(32px, 4vw, 58px) !important;
  line-height: 1.05 !important;
  font-weight: 1000 !important;
  word-break: break-word !important;
}

.player-file-modal-identity p,
.player-file-modal-hero-info span {
  margin: 8px 0 0 !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
}

.player-file-modal-badges {
  margin-top: 12px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.player-file-modal-hero-info {
  min-width: 220px !important;
  text-align: left !important;
}

.player-file-modal-hero-info strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 22px !important;
  font-weight: 1000 !important;
}

.player-file-modal-metrics,
.player-file-data-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 12px !important;
}

.player-file-modal-metrics .user-file-metric,
.player-file-data-grid .user-file-metric {
  min-height: 96px !important;
  padding: 16px !important;
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(9, 16, 31, 0.98), rgba(6, 11, 22, 0.98)) !important;
  overflow: hidden !important;
}

.player-file-modal-metrics .user-file-metric span,
.player-file-data-grid .user-file-metric span {
  display: block !important;
  margin-bottom: 10px !important;
  color: #6f82a4 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.player-file-modal-metrics .user-file-metric strong,
.player-file-data-grid .user-file-metric strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.player-file-modal-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.player-file-modal-section {
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 18px !important;
  background: #081020 !important;
  overflow: hidden !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22) !important;
}

.player-file-modal-section.wide {
  grid-column: 1 / -1 !important;
}

.player-file-modal-section-head {
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.95), rgba(8, 15, 29, 0.92)) !important;
}

.player-file-modal-section-head h3 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 20px !important;
  font-weight: 1000 !important;
}

.player-file-modal-section-head p {
  margin: 6px 0 0 !important;
  color: #7d8eae !important;
  font-size: 13px !important;
}

.player-file-modal-section-body {
  padding: 18px 20px !important;
  display: grid !important;
  gap: 10px !important;
}

.player-file-modal-row,
.player-file-identifier-row {
  min-height: 58px !important;
  padding: 13px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(4, 9, 18, 0.52) !important;
}

.player-file-modal-row strong,
.player-file-identifier-row .identifier-type {
  color: #f8fafc !important;
  font-weight: 1000 !important;
}

.player-file-modal-row p {
  margin: 5px 0 0 !important;
  color: #8da0c2 !important;
  line-height: 1.7 !important;
  word-break: break-word !important;
}

.player-file-modal-row-meta {
  display: grid !important;
  justify-items: start !important;
  gap: 6px !important;
  text-align: left !important;
  min-width: 130px !important;
}

.player-file-modal-row-meta small,
.player-file-identifier-row small {
  color: #6f82a4 !important;
  white-space: nowrap !important;
}

.player-file-identifier-row {
  display: grid !important;
  grid-template-columns: 130px minmax(0, 1fr) 110px !important;
}

.player-file-identifier-row code {
  direction: ltr !important;
  text-align: left !important;
  color: #87aff0 !important;
  background: rgba(88, 130, 206, 0.08) !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.player-file-long-text {
  margin-top: 12px !important;
  padding: 16px !important;
  border: 1px solid rgba(88,130,206,.13) !important;
  border-radius: 14px !important;
  background: rgba(4,9,18,.45) !important;
}

.player-file-long-text strong {
  display: block !important;
  color: #f8fafc !important;
  margin-bottom: 8px !important;
}

.player-file-long-text p {
  margin: 0 !important;
  color: #9eb0cf !important;
  line-height: 2 !important;
}

.player-file-modal-empty {
  padding: 18px !important;
  border: 1px dashed rgba(88, 130, 206, 0.20) !important;
  border-radius: 14px !important;
  color: #7d8eae !important;
  background: rgba(4, 9, 18, 0.35) !important;
  text-align: center !important;
}

/* Stop the old in-page player details panel from becoming cramped */
body.bank-dashboard-page .user-files-main .user-file-details {
  min-height: 220px !important;
  overflow: hidden !important;
}

body.bank-dashboard-page .user-files-main .empty-dashboard-box {
  min-height: 180px !important;
}

/* Sidebar/menu scroll stays usable on small screens */
body.bank-dashboard-page .dashboard-pro-layout.bank-interface-split {
  height: calc(100dvh - 75px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.bank-dashboard-page .dashboard-pro-sidebar.bank-sidebar-nav {
  height: calc(100dvh - 75px) !important;
  max-height: calc(100dvh - 75px) !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand,
body.bank-dashboard-page .sidebar-menu-title {
  flex: 0 0 auto !important;
}

body.bank-dashboard-page .dashboard-pro-menu,
body.bank-dashboard-page .dash-tabs {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 52px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(88, 130, 206, 0.72) rgba(8, 14, 26, 0.35) !important;
}

@media (max-width: 1100px) {
  .player-file-modal-panel {
    inset: 14px !important;
  }

  .player-file-modal-body {
    padding: 18px !important;
  }

  .player-file-modal-hero,
  .player-file-modal-identity {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .player-file-modal-hero-info {
    text-align: right !important;
  }

  .player-file-modal-grid {
    grid-template-columns: 1fr !important;
  }

  .player-file-identifier-row {
    grid-template-columns: 1fr !important;
  }

  .player-file-modal-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .player-file-modal-row-meta {
    justify-items: start !important;
    text-align: right !important;
  }
}

@media (max-width: 640px) {
  .player-file-modal-panel {
    inset: 0 !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  .player-file-modal-close {
    top: 12px !important;
    left: 12px !important;
  }

  .player-file-modal-identity img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 18px !important;
  }

  .player-file-modal-identity h2 {
    font-size: 30px !important;
  }
}


/* =========================================================
   HARD FIX: PLAYER FILE FULLSCREEN MODAL UI
   This block wins over old user-file panel styles.
========================================================= */
body.player-file-modal-open {
  overflow: hidden !important;
}

.player-file-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none !important;
  direction: rtl !important;
}

.player-file-modal.open {
  display: block !important;
}

.player-file-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(88, 130, 206, 0.16), transparent 34%),
    rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.player-file-modal-panel {
  position: absolute !important;
  inset: 22px !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  border: 1px solid rgba(88, 130, 206, 0.34) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 80% 0%, rgba(88, 130, 206, 0.10), transparent 30%),
    linear-gradient(180deg, #070d19 0%, #050912 100%) !important;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.78) !important;
  overflow: hidden !important;
}

.player-file-modal-close {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  border: 1px solid rgba(88, 130, 206, 0.34) !important;
  background: rgba(8, 15, 28, 0.96) !important;
  color: #f8fafc !important;
  font-size: 30px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.player-file-modal-body {
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 28px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(88, 130, 206, 0.8) rgba(8, 14, 26, 0.35) !important;
}

.player-file-modal-body::-webkit-scrollbar {
  width: 7px !important;
}

.player-file-modal-body::-webkit-scrollbar-track {
  background: rgba(8, 14, 26, 0.45) !important;
}

.player-file-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5882CE, #3E60B3) !important;
  border-radius: 999px !important;
}

.pfm-content {
  width: min(1500px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  gap: 18px !important;
}

.pfm-loading {
  min-height: 70vh !important;
  display: grid !important;
  place-items: center !important;
  gap: 18px !important;
  color: #dbeafe !important;
}

.pfm-hero {
  position: relative !important;
  min-height: 220px !important;
  padding: 30px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  border: 1px solid rgba(88, 130, 206, 0.26) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(88, 130, 206, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(10, 18, 34, 0.98), rgba(6, 11, 22, 0.98)) !important;
  overflow: hidden !important;
}

.pfm-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #5882CE, #3E60B3) !important;
}

.pfm-identity {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  min-width: 0 !important;
}

.pfm-identity img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 26px !important;
  object-fit: cover !important;
  border: 1px solid rgba(88, 130, 206, 0.44) !important;
  background: #050912 !important;
}

.pfm-identity span {
  display: inline-flex !important;
  margin-bottom: 8px !important;
  color: #87aff0 !important;
  font-family: var(--font-english, inherit) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
}

.pfm-identity h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: clamp(34px, 4vw, 60px) !important;
  line-height: 1.05 !important;
  font-weight: 1000 !important;
  overflow-wrap: anywhere !important;
}

.pfm-identity p,
.pfm-hero-side small {
  margin: 8px 0 0 !important;
  color: #94a3b8 !important;
  font-size: 15px !important;
}

.pfm-badges {
  margin-top: 12px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.pfm-badges em {
  font-style: normal !important;
}

.pfm-hero-side {
  min-width: 240px !important;
  text-align: left !important;
}

.pfm-hero-side strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 22px !important;
  font-weight: 1000 !important;
}

.pfm-metrics,
.pfm-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 12px !important;
}

.pfm-metric {
  min-height: 96px !important;
  padding: 16px !important;
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(9, 16, 31, 0.98), rgba(6, 11, 22, 0.98)) !important;
  overflow: hidden !important;
}

.pfm-metric span {
  display: block !important;
  margin-bottom: 10px !important;
  color: #6f82a4 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.pfm-metric strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.pfm-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.pfm-section {
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 18px !important;
  background: #081020 !important;
  overflow: hidden !important;
}

.pfm-section.wide {
  grid-column: 1 / -1 !important;
}

.pfm-section > header {
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  background: linear-gradient(180deg, rgba(12, 20, 38, 0.95), rgba(8, 15, 29, 0.92)) !important;
}

.pfm-section > header h3 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 20px !important;
  font-weight: 1000 !important;
}

.pfm-section > header p {
  margin: 6px 0 0 !important;
  color: #7d8eae !important;
  font-size: 13px !important;
}

.pfm-section-body {
  padding: 18px 20px !important;
  display: grid !important;
  gap: 10px !important;
}

.pfm-row,
.pfm-identifier {
  min-height: 58px !important;
  padding: 13px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(4, 9, 18, 0.52) !important;
}

.pfm-row strong,
.pfm-identifier span {
  color: #f8fafc !important;
  font-weight: 1000 !important;
}

.pfm-row p {
  margin: 5px 0 0 !important;
  color: #8da0c2 !important;
  line-height: 1.7 !important;
  overflow-wrap: anywhere !important;
}

.pfm-row aside {
  min-width: 140px !important;
  display: grid !important;
  justify-items: start !important;
  gap: 6px !important;
  text-align: left !important;
}

.pfm-row aside small,
.pfm-identifier small {
  color: #6f82a4 !important;
}

.pfm-identifier {
  display: grid !important;
  grid-template-columns: 130px minmax(0, 1fr) 110px !important;
}

.pfm-identifier code {
  direction: ltr !important;
  text-align: left !important;
  color: #87aff0 !important;
  background: rgba(88, 130, 206, 0.08) !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.pfm-empty {
  padding: 18px !important;
  border: 1px dashed rgba(88, 130, 206, 0.22) !important;
  border-radius: 14px !important;
  color: #7d8eae !important;
  background: rgba(4, 9, 18, 0.35) !important;
  text-align: center !important;
}

.pfm-text {
  margin-top: 12px !important;
  padding: 16px !important;
  border: 1px solid rgba(88,130,206,.13) !important;
  border-radius: 14px !important;
  background: rgba(4,9,18,.45) !important;
}

.pfm-text strong {
  display: block !important;
  color: #f8fafc !important;
  margin-bottom: 8px !important;
}

.pfm-text p {
  margin: 0 !important;
  color: #9eb0cf !important;
  line-height: 2 !important;
}

body.bank-dashboard-page .user-files-main .user-file-details {
  min-height: 220px !important;
  overflow: hidden !important;
}

/* Sidebar still scrolls to lower items */
body.bank-dashboard-page .dashboard-pro-layout.bank-interface-split {
  height: calc(100dvh - 75px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.bank-dashboard-page .dashboard-pro-sidebar.bank-sidebar-nav {
  height: calc(100dvh - 75px) !important;
  max-height: calc(100dvh - 75px) !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand,
body.bank-dashboard-page .sidebar-menu-title {
  flex: 0 0 auto !important;
}

body.bank-dashboard-page .dashboard-pro-menu,
body.bank-dashboard-page .dash-tabs {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-bottom: 54px !important;
}

@media (max-width: 1100px) {
  .player-file-modal-panel {
    inset: 12px !important;
  }

  .player-file-modal-body {
    padding: 18px !important;
  }

  .pfm-hero,
  .pfm-identity {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .pfm-hero-side {
    text-align: right !important;
  }

  .pfm-grid {
    grid-template-columns: 1fr !important;
  }

  .pfm-identifier {
    grid-template-columns: 1fr !important;
  }

  .pfm-row {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .pfm-row aside {
    justify-items: start !important;
    text-align: right !important;
  }
}

@media (max-width: 640px) {
  .player-file-modal-panel {
    inset: 0 !important;
    border-radius: 0 !important;
  }

  .pfm-identity img {
    width: 78px !important;
    height: 78px !important;
    border-radius: 18px !important;
  }

  .pfm-identity h2 {
    font-size: 30px !important;
  }
}


/* =========================================================
   REMOVE AUDIT "NEW" BADGE + DISCORD SYSTEM UI
========================================================= */
body.bank-dashboard-page .dashboard-pro-menu .audit-sidebar-tab span::after,
body.bank-dashboard-page .dash-tabs .audit-sidebar-tab span::after {
  content: none !important;
  display: none !important;
}

.discord-system-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr) !important;
}

.discord-status-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.discord-status-card {
  min-height: 96px !important;
  padding: 16px !important;
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(9, 16, 31, 0.98), rgba(6, 11, 22, 0.98)) !important;
}

.discord-status-card span {
  display: block !important;
  color: #6f82a4 !important;
  font-size: 11px !important;
  font-family: var(--font-english, inherit) !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
}

.discord-status-card strong {
  display: block !important;
  color: #f8fafc !important;
  font-size: 22px !important;
  font-family: var(--font-english, inherit) !important;
  font-weight: 1000 !important;
  margin-bottom: 8px !important;
}

.checkbox-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 16px 0 !important;
}

.checkbox-grid label {
  min-height: 46px !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid rgba(88,130,206,.14) !important;
  border-radius: 13px !important;
  background: rgba(4,9,18,.42) !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
}

.checkbox-grid input {
  width: 16px !important;
  height: 16px !important;
  accent-color: #5882CE !important;
}

.discord-log-filters {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 180px 130px !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.discord-logs-list {
  display: grid !important;
  gap: 10px !important;
  max-height: 620px !important;
  overflow: auto !important;
  padding-inline-end: 4px !important;
}

.discord-log-row {
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 16px !important;
  border: 1px solid rgba(28, 46, 84, 0.95) !important;
  border-radius: 16px !important;
  background: rgba(4, 9, 18, 0.50) !important;
}

.discord-log-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.discord-log-title strong {
  color: #f8fafc !important;
  font-size: 15px !important;
}

.discord-log-row p {
  margin: 0 !important;
  color: #94a3b8 !important;
  line-height: 1.8 !important;
  white-space: pre-wrap !important;
}

.discord-log-error {
  display: block !important;
  margin-top: 8px !important;
  color: #ffb4c0 !important;
  direction: ltr !important;
  text-align: left !important;
}

.discord-log-row aside {
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 6px !important;
  color: #7d8eae !important;
  font-size: 12px !important;
  text-align: left !important;
  direction: ltr !important;
}

@media (max-width: 1200px) {
  .discord-system-grid,
  .discord-status-grid,
  .checkbox-grid,
  .discord-log-filters,
  .discord-log-row {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   DISCORD MODERATION SYSTEM UI + REMOVE NEW BADGE
========================================================= */
body.bank-dashboard-page .dashboard-pro-menu .audit-sidebar-tab span::after,
body.bank-dashboard-page .dash-tabs .audit-sidebar-tab span::after {
  content: none !important;
  display: none !important;
}

.discord-moderation-card {
  grid-column: 1 / -1;
}

.discord-subtitle {
  margin: 24px 0 12px !important;
  color: #f8fafc !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
}

.discord-mod-row .discord-log-title strong {
  color: #AFC8FF !important;
}

.discord-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
}

.checkbox-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.discord-moderation-logs-list {
  border-top: 1px solid rgba(88,130,206,.14);
  padding-top: 12px;
}


/* =========================================================
   ACTIVATION CONTINUE FIX
   Quiz button centered, quiz meta hidden until start,
   dashboard activation questions category, and player voice audio.
========================================================= */

/* Strong hidden fix: old display rules were overriding hidden on quiz form. */
[hidden],
body .activation-flow-page [hidden],
body .activation-quiz-form[hidden] {
  display: none !important;
}

/* Remove dashboard top cards if any old HTML still exists */
body.bank-dashboard-page .bank-summary-cards-grid,
body.bank-dashboard-page .bank-dashboard-summary,
body.bank-dashboard-page .clickable-stat-card {
  display: none !important;
}

/* Remove NEW badge beside staff audit */
body.bank-dashboard-page .dashboard-pro-menu .audit-sidebar-tab span::after,
body.bank-dashboard-page .dash-tabs .audit-sidebar-tab span::after {
  content: none !important;
  display: none !important;
}

.activation-before-start-section {
  display: block;
  margin-bottom: 20px;
}

.activation-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.activation-info-grid > div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(88, 130, 206, 0.16);
  border-radius: 16px;
  background: rgba(8, 15, 29, 0.72);
  color: #9eb0cf;
  line-height: 1.8;
}

.activation-info-grid strong {
  color: #f8fafc;
}

.activation-quiz-start {
  min-height: 190px;
  display: grid !important;
  place-items: center !important;
  padding: 26px;
  border: 1px dashed rgba(88, 130, 206, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88,130,206,.12), transparent 38%),
    rgba(8, 15, 29, 0.46);
}

.activation-quiz-start[hidden] {
  display: none !important;
}

.activation-quiz-start-card {
  width: min(520px, 100%);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
}

.activation-quiz-start-card strong {
  color: #f8fafc;
  font-size: 22px;
  font-weight: 1000;
}

.activation-quiz-start-card p {
  margin: 0;
  color: #9eb0cf;
  line-height: 1.8;
}

#startQuizBtn {
  min-width: 220px;
  min-height: 56px;
}

.activation-quiz-form[data-quiz-running="false"] .quiz-topbar,
.activation-quiz-form[data-quiz-running="false"] .quiz-progress-shell,
.activation-quiz-form[data-quiz-running="false"] #quizQuestionsList,
.activation-quiz-form[data-quiz-running="false"] .dashboard-actions {
  display: none !important;
}

.activation-quiz-form[data-quiz-running="true"] {
  display: grid !important;
  gap: 18px !important;
}

.quiz-topbar {
  align-items: center;
  gap: 12px;
}

.quiz-topbar strong,
.quiz-topbar span,
#quizTimer {
  white-space: nowrap;
}

#quizTimer {
  display: inline-flex;
  min-width: 78px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(88, 130, 206, 0.12);
  border: 1px solid rgba(88, 130, 206, 0.28);
  color: #bfd4ff;
  font-family: var(--font-english, inherit);
}

.quiz-question-card {
  border-radius: 18px !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(88,130,206,.08), transparent 32%),
    rgba(6, 11, 22, 0.96) !important;
}

.quiz-option {
  border-radius: 14px !important;
}

.activation-admin-summary {
  display: grid;
  gap: 10px;
}

.activation-admin-summary > div {
  min-height: 54px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(88,130,206,.14);
  border-radius: 14px;
  background: rgba(4,9,18,.46);
}

.activation-admin-summary strong {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(88,130,206,.16);
  color: #afc8ff;
  font-family: var(--font-english, inherit);
}

.activation-admin-summary span {
  color: #cbd5e1;
}

.activation-questions-admin-grid {
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr) !important;
}

.activation-question-bank-card {
  min-height: 520px;
}

.player-file-audio-box audio,
.pfm-audio-box audio {
  width: 100% !important;
  margin-top: 12px !important;
  display: block !important;
}

.player-file-audio-box small,
.pfm-audio-box small {
  display: block !important;
  margin-top: 8px !important;
  color: #7d8eae !important;
}

@media (max-width: 1100px) {
  .activation-info-grid,
  .activation-questions-admin-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .activation-flow-shell {
    padding-inline: 14px !important;
  }

  .quiz-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  #startQuizBtn {
    width: 100%;
  }
}


/* =========================================================
   TEAM PAGE LINKED TO DASHBOARD -> الطاقم
========================================================= */
.team-dashboard-linked-page .lwr-public-page {
  min-height: calc(100vh - 90px);
}

.linked-team-hero,
.team-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 90px auto 38px;
  text-align: center;
}

.linked-team-hero h1,
.team-hero h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(54px, 7vw, 86px);
  line-height: 1.05;
  font-weight: 1000;
}

.linked-team-hero p,
.team-hero p {
  margin: 18px auto 0;
  max-width: 680px;
  color: #9aa6b8;
  font-size: 19px;
  line-height: 1.9;
  font-weight: 800;
}

.team-managed-label {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 130, 206, .22);
  background: rgba(88, 130, 206, .08);
  color: #a9c2ff;
  font-family: var(--font-english, inherit);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-dashboard-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 90px;
}

.team-dashboard-grid,
#creatorsGrid.team-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.team-dashboard-card {
  min-height: 380px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(88, 130, 206, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 130, 206, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(19, 25, 36, 0.90), rgba(9, 17, 26, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-dashboard-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 130, 206, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34), 0 0 34px rgba(88, 130, 206, 0.10);
}

.team-dashboard-avatar {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 6px solid rgba(88, 130, 206, 0.95);
  background: #060b14;
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(88, 130, 206, 0.08), 0 18px 48px rgba(0,0,0,.35);
}

.team-dashboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-dashboard-info span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #85a9ef;
  font-family: var(--font-english, inherit);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-dashboard-info h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 1000;
}

.team-dashboard-info p {
  margin: 14px 0 0;
  color: #b4bfce;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .team-dashboard-grid,
  #creatorsGrid.team-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .linked-team-hero,
  .team-hero {
    margin-top: 56px;
  }

  .team-dashboard-grid,
  #creatorsGrid.team-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .team-dashboard-card {
    min-height: 310px;
  }

  .team-dashboard-avatar {
    width: 126px;
    height: 126px;
  }
}


/* =========================================================
   HOME PAGE STATS SECTION
   Added under الصفحة الرئيسية hero.
========================================================= */
.lwr-home-stats-section {
  position: relative;
  padding: 78px 18px 82px;
  background:
    radial-gradient(circle at 50% 0%, rgba(160, 112, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(37, 36, 49, 0.98), rgba(27, 27, 39, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lwr-home-stats-section::before,
.lwr-home-stats-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(42px);
  opacity: 0.18;
}

.lwr-home-stats-section::before {
  inset: -90px auto auto 10%;
  background: #9f70ff;
}

.lwr-home-stats-section::after {
  inset: auto 12% -120px auto;
  background: #b5ff68;
}

.lwr-home-stats-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.lwr-home-stats-header {
  display: grid;
  place-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.lwr-home-stats-header h2 {
  margin: 0;
  color: #b5ff68;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 1000;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(181, 255, 104, 0.14);
}

.lwr-home-stats-line {
  position: relative;
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(159, 112, 255, 0), #9f70ff, rgba(159, 112, 255, 0));
}

.lwr-home-stats-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #9f70ff;
  box-shadow: 0 0 22px rgba(159, 112, 255, 0.52);
}

.lwr-home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.lwr-home-stat-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.015);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.lwr-home-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 112, 255, 0.22);
  background: rgba(159, 112, 255, 0.045);
}

.lwr-home-stat-card strong {
  direction: ltr;
  color: #9f70ff;
  font-family: var(--font-english, inherit);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-shadow: 0 0 24px rgba(159, 112, 255, 0.18);
}

.lwr-home-stat-card span {
  color: #b5ff68;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.4;
  font-weight: 1000;
  text-shadow: 0 0 18px rgba(181, 255, 104, 0.10);
}

@media (max-width: 820px) {
  .lwr-home-stats-section {
    padding: 58px 16px 64px;
  }

  .lwr-home-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lwr-home-stat-card {
    min-height: 116px;
  }
}


/* =========================================================
   HOME STATS CLEAN WEBSITE COLORS
   Removes purple/green glow lights and makes the stats section
   match the original LWR dark blue/white website palette.
========================================================= */
.home-stats-section,
.lwr-home-stats,
.home-stats,
.stats-section,
#homeStatsSection {
  position: relative !important;
  isolation: isolate !important;
  padding: 96px 18px 92px !important;
  background:
    linear-gradient(180deg, rgba(6, 11, 18, 0.98), rgba(7, 13, 24, 0.98)) !important;
  border-top: 1px solid rgba(88, 130, 206, 0.10) !important;
  border-bottom: 1px solid rgba(88, 130, 206, 0.10) !important;
  overflow: hidden !important;
}

/* kill the colored glow circles/lights */
.home-stats-section::before,
.home-stats-section::after,
.lwr-home-stats::before,
.lwr-home-stats::after,
.home-stats::before,
.home-stats::after,
.stats-section::before,
.stats-section::after,
#homeStatsSection::before,
#homeStatsSection::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}

.home-stats-section *,
.lwr-home-stats *,
.home-stats *,
.stats-section *,
#homeStatsSection * {
  text-shadow: none !important;
}

.home-stats-title,
.lwr-home-stats-title,
.stats-title,
#homeStatsSection h2 {
  color: #f8fafc !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 1000 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.home-stats-title span,
.lwr-home-stats-title span,
.stats-title span,
#homeStatsSection h2 span {
  color: #f8fafc !important;
}

.home-stats-divider,
.lwr-home-stats-divider,
.stats-divider {
  width: 82px !important;
  height: 3px !important;
  margin: 18px auto 52px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, transparent, #5882CE, transparent) !important;
  position: relative !important;
}

.home-stats-divider::after,
.lwr-home-stats-divider::after,
.stats-divider::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #5882CE !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 0 18px rgba(88, 130, 206, 0.42) !important;
  display: block !important;
  opacity: 1 !important;
}

.home-stats-grid,
.lwr-home-stats-grid,
.stats-grid {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.home-stat-card,
.lwr-home-stat-card,
.stats-card,
.stat-card {
  min-height: 146px !important;
  padding: 24px 18px !important;
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.82), rgba(7, 13, 24, 0.92)) !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home-stat-number,
.lwr-home-stat-number,
.stats-number,
.stat-number,
.home-stat-card strong,
.lwr-home-stat-card strong,
.stats-card strong,
.stat-card strong {
  color: #8fb3ff !important;
  font-family: var(--font-english, inherit) !important;
  font-size: clamp(46px, 6vw, 66px) !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: 0.01em !important;
}

.home-stat-label,
.lwr-home-stat-label,
.stats-label,
.stat-label,
.home-stat-card span,
.lwr-home-stat-card span,
.stats-card span,
.stat-card span {
  margin-top: 14px !important;
  color: #dbe7ff !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  .home-stats-section,
  .lwr-home-stats,
  .home-stats,
  .stats-section,
  #homeStatsSection {
    padding: 68px 16px !important;
  }

  .home-stats-grid,
  .lwr-home-stats-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .home-stat-card,
  .lwr-home-stat-card,
  .stats-card,
  .stat-card {
    min-height: 124px !important;
  }
}


/* =========================================================
   HOME STATS EXACT WEBSITE COLORS
   Fixes the real injected home stats selectors:
   #lwrHomeStatsSection / .lwr-home-stats-section
========================================================= */
#lwrHomeStatsSection,
.lwr-home-stats-section {
  position: relative !important;
  padding: 78px 18px 82px !important;
  background: linear-gradient(180deg, rgba(6, 11, 18, 0.985), rgba(7, 13, 24, 0.985)) !important;
  border-top: 1px solid rgba(88, 130, 206, 0.10) !important;
  border-bottom: 1px solid rgba(88, 130, 206, 0.10) !important;
  overflow: hidden !important;
}

#lwrHomeStatsSection::before,
#lwrHomeStatsSection::after,
.lwr-home-stats-section::before,
.lwr-home-stats-section::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}

#lwrHomeStatsSection .lwr-home-stats-inner,
.lwr-home-stats-section .lwr-home-stats-inner {
  position: relative !important;
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
}

#lwrHomeStatsSection .lwr-home-stats-header,
.lwr-home-stats-section .lwr-home-stats-header {
  display: grid !important;
  justify-items: center !important;
  gap: 16px !important;
  margin-bottom: 34px !important;
}

#lwrHomeStatsSection .lwr-home-stats-header h2,
.lwr-home-stats-section .lwr-home-stats-header h2 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
}

#lwrHomeStatsSection .lwr-home-stats-line,
.lwr-home-stats-section .lwr-home-stats-line {
  position: relative !important;
  width: 92px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(88,130,206,0), #5882CE, rgba(88,130,206,0)) !important;
  box-shadow: none !important;
}

#lwrHomeStatsSection .lwr-home-stats-line::after,
.lwr-home-stats-section .lwr-home-stats-line::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;
  background: #5882CE !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 0 16px rgba(88,130,206,0.35) !important;
}

#lwrHomeStatsSection .lwr-home-stats-grid,
.lwr-home-stats-section .lwr-home-stats-grid {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

#lwrHomeStatsSection .lwr-home-stat-card,
.lwr-home-stats-section .lwr-home-stat-card {
  min-height: 168px !important;
  padding: 28px 20px !important;
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  text-align: center !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(10,18,34,0.90), rgba(7,13,24,0.96)) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#lwrHomeStatsSection .lwr-home-stat-card strong,
.lwr-home-stats-section .lwr-home-stat-card strong {
  color: #8fb3ff !important;
  font-family: var(--font-english, inherit) !important;
  font-size: clamp(48px, 6vw, 64px) !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
}

#lwrHomeStatsSection .lwr-home-stat-card span,
.lwr-home-stats-section .lwr-home-stat-card span {
  margin-top: 14px !important;
  color: #dbe7ff !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  #lwrHomeStatsSection .lwr-home-stats-grid,
  .lwr-home-stats-section .lwr-home-stats-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   HOME STATS BACKGROUND EXACT COLOR
   User requested stats background: #0D1216
========================================================= */
#lwrHomeStatsSection,
.lwr-home-stats-section {
  background: #0D1216 !important;
  background-color: #0D1216 !important;
  background-image: none !important;
}

#lwrHomeStatsSection::before,
#lwrHomeStatsSection::after,
.lwr-home-stats-section::before,
.lwr-home-stats-section::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}


/* =========================================================
   NAVBAR LOGO SMALLER FIX
   Makes the public navbar logo smaller without changing links
   or the account/profile button.
========================================================= */
.site-navbar .brand-logo,
.navbar .brand-logo {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
}

.site-navbar .brand-logo .nav-logo,
.site-navbar .nav-logo,
.navbar .brand-logo .nav-logo,
.navbar .nav-logo {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
}

.site-navbar .brand-logo img,
.navbar .brand-logo img {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .site-navbar .brand-logo .nav-logo,
  .site-navbar .nav-logo,
  .navbar .brand-logo .nav-logo,
  .navbar .nav-logo,
  .site-navbar .brand-logo img,
  .navbar .brand-logo img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
  }
}


/* =========================================================
   HOME STATS COUNTER ANIMATION
========================================================= */
#lwrHomeStatsSection [data-count-target],
.lwr-home-stats-section [data-count-target] {
  font-variant-numeric: tabular-nums !important;
  direction: ltr !important;
}


/* =========================================================
   HOME STATS SLOW COUNTER VERSION
   Counter animation is intentionally slower/smoother.
========================================================= */
#lwrHomeStatsSection [data-count-target],
.lwr-home-stats-section [data-count-target] {
  will-change: contents !important;
}


/* =========================================================
   SUPPORT DISCORD TICKET PAGE
========================================================= */
.support-ticket-page .support-ticket-hero {
  margin-bottom: 28px !important;
}

.support-ticket-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
}

.support-ticket-form,
.support-ticket-info {
  border: 1px solid rgba(88, 130, 206, 0.20);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 130, 206, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(6, 11, 22, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.support-ticket-form {
  padding: 26px;
}

.support-form-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.support-form-head h2,
.support-ticket-info h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 30px;
  font-weight: 1000;
}

.support-form-head p {
  margin: 8px 0 0;
  color: #96a8c6;
  line-height: 1.8;
}

.support-ticket-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.support-ticket-note {
  margin: 14px 0 0;
  color: #7486a8;
  font-size: 14px;
  line-height: 1.8;
}

.support-ticket-info {
  padding: 24px;
}

.support-categories-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.support-category-card {
  padding: 16px;
  border: 1px solid rgba(88, 130, 206, 0.14);
  border-radius: 16px;
  background: rgba(4, 9, 18, 0.42);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.support-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 130, 206, 0.38);
  background: rgba(88, 130, 206, 0.08);
}

.support-category-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 1000;
}

.support-category-card p {
  margin: 8px 0 0;
  color: #8da0c2;
  line-height: 1.7;
  font-size: 14px;
}

@media (max-width: 980px) {
  .support-ticket-shell {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   WEBSITE SMOOTH SCROLL FEEL
========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   WEBSITE SMOOTH SCROLL 0.2s DELAY
========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   HOME STATS CARDS -> MATCH TEAM BOX STYLE
========================================================= */
#lwrHomeStatsSection .lwr-home-stats-grid,
.lwr-home-stats-section .lwr-home-stats-grid {
  width: min(1180px, 100%) !important;
  grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  gap: 18px !important;
}

#lwrHomeStatsSection .lwr-home-stat-card,
.lwr-home-stats-section .lwr-home-stat-card {
  position: relative !important;
  min-height: 285px !important;
  padding: 34px 22px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  text-align: center !important;
  border-radius: 24px !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 130, 206, 0.10), transparent 48%),
    linear-gradient(180deg, rgba(26, 36, 52, 0.74), rgba(9, 18, 28, 0.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.28) !important;
  overflow: hidden !important;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease !important;
}

#lwrHomeStatsSection .lwr-home-stat-card:hover,
.lwr-home-stats-section .lwr-home-stat-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(88, 130, 206, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(0, 0, 0, 0.34) !important;
}

#lwrHomeStatsSection .lwr-home-stat-card strong,
.lwr-home-stats-section .lwr-home-stat-card strong {
  margin: 0 !important;
  color: #8fb3ff !important;
  font-size: clamp(60px, 7vw, 74px) !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  letter-spacing: 0.01em !important;
}

#lwrHomeStatsSection .lwr-home-stat-card span,
.lwr-home-stats-section .lwr-home-stat-card span {
  margin: 0 !important;
  color: #f4f7ff !important;
  font-size: 24px !important;
  line-height: 1.5 !important;
  font-weight: 900 !important;
}

@media (max-width: 980px) {
  #lwrHomeStatsSection .lwr-home-stat-card,
  .lwr-home-stats-section .lwr-home-stat-card {
    min-height: 250px !important;
    padding: 28px 18px !important;
  }

  #lwrHomeStatsSection .lwr-home-stat-card span,
  .lwr-home-stats-section .lwr-home-stat-card span {
    font-size: 21px !important;
  }
}

@media (max-width: 760px) {
  #lwrHomeStatsSection .lwr-home-stats-grid,
  .lwr-home-stats-section .lwr-home-stats-grid {
    grid-template-columns: 1fr !important;
  }

  #lwrHomeStatsSection .lwr-home-stat-card,
  .lwr-home-stats-section .lwr-home-stat-card {
    min-height: 220px !important;
  }
}


/* =========================================================
   FINAL FAQ ARROW FIX
   FAQ arrows now use the same arrow-down.png icon.
   Removes the circle/button style and removes ^ / v text.
========================================================= */
:root {
  --lwr-arrow-down-icon: url("../assets/images/icons/arrow-down.png");
}

/* FAQ explicit arrow spans/buttons */
body > main.lwr-public-page .lwr-faq .faq-chevron,
body > main.lwr-public-page .lwr-faq .faq-arrow,
body > main.lwr-public-page .lwr-faq .accordion-chevron,
body > main.lwr-public-page .lwr-faq .accordion-arrow,
body > main.lwr-public-page .lwr-faq .lwr-arrow-icon,
body > main.lwr-public-page .lwr-faq .lwr-arrow-down {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  display: inline-block !important;
  flex: 0 0 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
  opacity: 0.95 !important;
}

body > main.lwr-public-page .lwr-faq .faq-chevron::before,
body > main.lwr-public-page .lwr-faq .faq-chevron::after,
body > main.lwr-public-page .lwr-faq .faq-arrow::before,
body > main.lwr-public-page .lwr-faq .faq-arrow::after,
body > main.lwr-public-page .lwr-faq .accordion-chevron::before,
body > main.lwr-public-page .lwr-faq .accordion-chevron::after,
body > main.lwr-public-page .lwr-faq .accordion-arrow::before,
body > main.lwr-public-page .lwr-faq .accordion-arrow::after,
body > main.lwr-public-page .lwr-faq .lwr-arrow-icon::before,
body > main.lwr-public-page .lwr-faq .lwr-arrow-icon::after,
body > main.lwr-public-page .lwr-faq .lwr-arrow-down::before,
body > main.lwr-public-page .lwr-faq .lwr-arrow-down::after {
  content: none !important;
  display: none !important;
}

/* If the FAQ uses details/summary generated arrows */
body > main.lwr-public-page .lwr-faq details summary {
  position: relative !important;
  list-style: none !important;
}

body > main.lwr-public-page .lwr-faq details summary::-webkit-details-marker {
  display: none !important;
}

body > main.lwr-public-page .lwr-faq details summary::after {
  content: "" !important;
  position: absolute !important;
  left: 22px !important;
  top: 50% !important;
  width: 14px !important;
  height: 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: var(--lwr-arrow-down-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  transform: translateY(-50%) rotate(0deg) !important;
  opacity: 0.95 !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

/* If explicit arrow exists, don't duplicate summary arrow */
body > main.lwr-public-page .lwr-faq details summary:has(.faq-chevron)::after,
body > main.lwr-public-page .lwr-faq details summary:has(.faq-arrow)::after,
body > main.lwr-public-page .lwr-faq details summary:has(.accordion-chevron)::after,
body > main.lwr-public-page .lwr-faq details summary:has(.accordion-arrow)::after,
body > main.lwr-public-page .lwr-faq details summary:has(.lwr-arrow-icon)::after,
body > main.lwr-public-page .lwr-faq details summary:has(.lwr-arrow-down)::after {
  display: none !important;
}

/* Open state rotation */
body > main.lwr-public-page .lwr-faq details[open] summary::after,
body > main.lwr-public-page .lwr-faq details[open] .faq-chevron,
body > main.lwr-public-page .lwr-faq details[open] .faq-arrow,
body > main.lwr-public-page .lwr-faq details[open] .accordion-chevron,
body > main.lwr-public-page .lwr-faq details[open] .accordion-arrow,
body > main.lwr-public-page .lwr-faq details[open] .lwr-arrow-icon,
body > main.lwr-public-page .lwr-faq details[open] .lwr-arrow-down,
body > main.lwr-public-page .lwr-faq .faq-item.open .faq-chevron,
body > main.lwr-public-page .lwr-faq .faq-item.open .faq-arrow,
body > main.lwr-public-page .lwr-faq .faq-item.active .faq-chevron,
body > main.lwr-public-page .lwr-faq .faq-item.active .faq-arrow {
  transform: rotate(180deg) !important;
}

/* FAQ summary spacing so the icon sits cleanly like rules arrows */
body > main.lwr-public-page .lwr-faq summary {
  padding-left: 58px !important;
}

/* Remove any old circular arrow button inside FAQ */
body > main.lwr-public-page .lwr-faq summary > button,
body > main.lwr-public-page .lwr-faq .faq-question > button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* =========================================================
   FAQ DASHBOARD CMS POLISH
========================================================= */
.faq-admin-item p {
  white-space: pre-wrap !important;
}

.faq-managed-page .lwr-faq .message {
  width: min(920px, 100%);
  margin: 0 auto;
}

.dashboard-check {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 900;
  margin: 8px 0 16px;
}

.dashboard-check input {
  width: 16px;
  height: 16px;
  accent-color: #5882CE;
}


/* =========================================================
   ACTIVATION QUIZ START CENTER FIX
   Centers "جاهز لاختبار القوانين؟" text and the start button.
========================================================= */
#activationQuizSection .activation-quiz-start,
.activation-flow-page .activation-quiz-start {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

#activationQuizSection .activation-quiz-start-card,
.activation-flow-page .activation-quiz-start-card {
  width: min(620px, 100%) !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 14px !important;
}

#activationQuizSection .activation-quiz-start-card strong,
#activationQuizSection .activation-quiz-start-card p,
.activation-flow-page .activation-quiz-start-card strong,
.activation-flow-page .activation-quiz-start-card p {
  width: 100% !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#activationQuizSection #startQuizBtn,
.activation-flow-page #startQuizBtn {
  margin: 8px auto 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  text-align: center !important;
}

/* Older markup fallback if the button is directly inside the start box */
#activationQuizSection .activation-quiz-start > #startQuizBtn,
.activation-flow-page .activation-quiz-start > #startQuizBtn {
  margin-inline: auto !important;
}


/* =========================================================
   ACTIVATION QUIZ START TRUE CENTER FIX
   Strong override: centers the whole quiz intro content inside
   the dashed box, not only the text alignment.
========================================================= */
#activationQuizSection .activation-quiz-start,
.activation-flow-section .activation-quiz-start,
.activation-flow-page .activation-quiz-start {
  width: 100% !important;
  min-height: 215px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 34px 24px !important;
  box-sizing: border-box !important;
}

#activationQuizSection .activation-quiz-start-card,
.activation-flow-section .activation-quiz-start-card,
.activation-flow-page .activation-quiz-start-card {
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  justify-items: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 14px !important;
  transform: none !important;
  inset: auto !important;
  float: none !important;
}

#activationQuizSection .activation-quiz-start-card > *,
.activation-flow-section .activation-quiz-start-card > *,
.activation-flow-page .activation-quiz-start-card > *,
#activationQuizSection .activation-quiz-start > *,
.activation-flow-section .activation-quiz-start > *,
.activation-flow-page .activation-quiz-start > * {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  justify-self: center !important;
  align-self: center !important;
}

#activationQuizSection .activation-quiz-start-card strong,
#activationQuizSection .activation-quiz-start-card h3,
#activationQuizSection .activation-quiz-start-card p,
.activation-flow-section .activation-quiz-start-card strong,
.activation-flow-section .activation-quiz-start-card h3,
.activation-flow-section .activation-quiz-start-card p,
.activation-flow-page .activation-quiz-start-card strong,
.activation-flow-page .activation-quiz-start-card h3,
.activation-flow-page .activation-quiz-start-card p {
  display: block !important;
  width: 100% !important;
  max-width: 640px !important;
  text-align: center !important;
}

#activationQuizSection #startQuizBtn,
.activation-flow-section #startQuizBtn,
.activation-flow-page #startQuizBtn,
#activationQuizSection .activation-quiz-start .btn,
.activation-flow-section .activation-quiz-start .btn,
.activation-flow-page .activation-quiz-start .btn {
  min-width: 190px !important;
  margin: 10px auto 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  align-self: center !important;
  position: static !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
}

/* If an old RTL layout pushes the intro to the right */
html[dir="rtl"] #activationQuizSection .activation-quiz-start,
html[dir="rtl"] .activation-flow-section .activation-quiz-start {
  direction: rtl !important;
}


/* =========================================================
   ACTIVATION STEPPER LINE REMOVE FIX
   Removes the unwanted line running through the step buttons.
========================================================= */

/* Main stepper containers */
.activation-stepper::before,
.activation-stepper::after,
.activation-flow-stepper::before,
.activation-flow-stepper::after,
.activation-progress-steps::before,
.activation-progress-steps::after,
.activation-steps::before,
.activation-steps::after,
.activation-tabs::before,
.activation-tabs::after,
.activation-step-tabs::before,
.activation-step-tabs::after,
#activationStepper::before,
#activationStepper::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Remove connector lines from individual step items without touching text */
.activation-stepper > *::before,
.activation-flow-stepper > *::before,
.activation-progress-steps > *::before,
.activation-steps > *::before,
.activation-tabs > *::before,
.activation-step-tabs > *::before,
#activationStepper > *::before {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Keep the stepper clean and prevent any hidden connector from bleeding through */
.activation-stepper,
.activation-flow-stepper,
.activation-progress-steps,
.activation-steps,
.activation-tabs,
.activation-step-tabs,
#activationStepper {
  overflow: hidden !important;
  background-image: none !important;
}

/* If old CSS used a horizontal line element */
.activation-stepper-line,
.activation-progress-line,
.stepper-line,
.steps-line,
.activation-line {
  display: none !important;
  opacity: 0 !important;
}


/* =========================================================
   FINAL UPDATES PAGE ARROW FIX
   Keeps عرض التفاصيل clean and puts the real asset arrow in place.
========================================================= */
body.updates-style-page main.lwr-public-page .lwr-update-details {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > summary {
  position: relative !important;
  min-height: 34px !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  list-style: none !important;
  cursor: pointer !important;
  color: #f4f7ff !important;
  font-weight: 1000 !important;
  line-height: 1.5 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > summary::-webkit-details-marker {
  display: none !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > summary::before,
body.updates-style-page main.lwr-public-page .lwr-update-details > summary::after {
  content: none !important;
  display: none !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-summary-label {
  display: inline-block !important;
  color: #f4f7ff !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
  text-align: right !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-arrow-img {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  display: block !important;
  flex: 0 0 16px !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0.96 !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease, opacity 0.18s ease !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details[open] > summary .lwr-update-arrow-img {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > div {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(245, 247, 255, 0.78) !important;
  line-height: 1.9 !important;
}

/* =========================================================
   FINAL UPDATES DETAILS CLEAN FIX
   Removes the old box/stroke around عرض التفاصيل and keeps only
   plain text with the real arrow icon.
========================================================= */
body.updates-style-page main.lwr-public-page .lwr-update-details,
body.updates-style-page main.lwr-public-page .lwr-update-details[open] {
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > summary,
body.updates-style-page main.lwr-public-page .lwr-update-details > summary:focus,
body.updates-style-page main.lwr-public-page .lwr-update-details > summary:focus-visible {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.updates-style-page main.lwr-public-page .lwr-update-details > div {
  margin-top: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}


/* =========================================================
   HOME STATS COMPACT FIX
   Smaller cards and tighter spacing under the hero video.
========================================================= */
#lwrHomeStatsSection,
.lwr-home-stats-section {
  padding: 42px 18px 58px !important;
  margin-top: -1px !important;
  background: #0D1216 !important;
  border-top: 0 !important;
}

#lwrHomeStatsSection::before,
.lwr-home-stats-section::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: -105px !important;
  height: 105px !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(13, 18, 22, 0), rgba(13, 18, 22, 0.62), #0D1216) !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: -1 !important;
}

#lwrHomeStatsSection::after,
.lwr-home-stats-section::after {
  content: none !important;
  display: none !important;
}

#lwrHomeStatsSection .lwr-home-stats-inner,
.lwr-home-stats-section .lwr-home-stats-inner {
  width: min(980px, calc(100% - 32px)) !important;
}

#lwrHomeStatsSection .lwr-home-stats-header,
.lwr-home-stats-section .lwr-home-stats-header {
  margin-bottom: 26px !important;
  gap: 12px !important;
}

#lwrHomeStatsSection .lwr-home-stats-header h2,
.lwr-home-stats-section .lwr-home-stats-header h2 {
  font-size: clamp(32px, 3.2vw, 48px) !important;
}

#lwrHomeStatsSection .lwr-home-stats-grid,
.lwr-home-stats-section .lwr-home-stats-grid {
  width: min(840px, calc(100% - 32px)) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

#lwrHomeStatsSection .lwr-home-stat-card,
.lwr-home-stats-section .lwr-home-stat-card {
  min-height: 190px !important;
  padding: 24px 22px !important;
  border-radius: 24px !important;
}

#lwrHomeStatsSection .lwr-home-stat-card strong,
.lwr-home-stats-section .lwr-home-stat-card strong {
  font-size: clamp(42px, 4vw, 58px) !important;
  margin-bottom: 14px !important;
}

#lwrHomeStatsSection .lwr-home-stat-card span,
.lwr-home-stats-section .lwr-home-stat-card span {
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.45 !important;
}

.video-hero .hero-content {
  padding-bottom: clamp(70px, 9vh, 120px) !important;
}

.video-hero::after {
  height: 150px !important;
}

@media (max-width: 900px) {
  #lwrHomeStatsSection .lwr-home-stats-grid,
  .lwr-home-stats-section .lwr-home-stats-grid {
    width: min(620px, calc(100% - 28px)) !important;
    grid-template-columns: 1fr !important;
  }

  #lwrHomeStatsSection .lwr-home-stat-card,
  .lwr-home-stats-section .lwr-home-stat-card {
    min-height: 174px !important;
  }
}

@media (max-width: 640px) {
  #lwrHomeStatsSection,
  .lwr-home-stats-section {
    padding-top: 36px !important;
    padding-bottom: 46px !important;
  }

  #lwrHomeStatsSection .lwr-home-stat-card,
  .lwr-home-stats-section .lwr-home-stat-card {
    min-height: 150px !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }
}

/* =========================================================
   HOME STATS UNDER STATUS BUTTON FIX
   Moves compact LWR statistics inside the hero, directly under حالتي / قدم الآن.
========================================================= */
.video-hero .hero-content {
  padding-top: clamp(78px, 8vh, 105px) !important;
  padding-bottom: clamp(28px, 5vh, 62px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status,
.video-hero .hero-content #lwrHomeStatsSection,
.video-hero .hero-content .lwr-home-stats-section {
  width: min(760px, calc(100% - 24px)) !important;
  margin: clamp(22px, 3vh, 34px) auto 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 7 !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status::before,
#lwrHomeStatsSection.lwr-home-stats-under-status::after,
.video-hero .hero-content #lwrHomeStatsSection::before,
.video-hero .hero-content #lwrHomeStatsSection::after,
.video-hero .hero-content .lwr-home-stats-section::before,
.video-hero .hero-content .lwr-home-stats-section::after {
  content: none !important;
  display: none !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-inner,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-header,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-header {
  margin-bottom: 14px !important;
  gap: 8px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-header h2,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-header h2 {
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-line,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-line {
  width: 72px !important;
  height: 2px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-line::after,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-line::after {
  width: 9px !important;
  height: 9px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-grid,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-grid {
  width: min(700px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stat-card,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stat-card {
  min-height: 118px !important;
  padding: 16px 14px !important;
  border-radius: 18px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stat-card strong,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stat-card strong {
  font-size: clamp(30px, 3vw, 42px) !important;
  margin-bottom: 7px !important;
}

#lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stat-card span,
.video-hero .hero-content #lwrHomeStatsSection .lwr-home-stat-card span {
  font-size: clamp(12px, 1vw, 15px) !important;
  line-height: 1.35 !important;
}

@media (max-width: 760px) {
  #lwrHomeStatsSection.lwr-home-stats-under-status,
  .video-hero .hero-content #lwrHomeStatsSection,
  .video-hero .hero-content .lwr-home-stats-section {
    width: min(520px, calc(100% - 22px)) !important;
    margin-top: 18px !important;
  }

  #lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-grid,
  .video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-grid {
    width: min(500px, 100%) !important;
    gap: 10px !important;
  }

  #lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stat-card,
  .video-hero .hero-content #lwrHomeStatsSection .lwr-home-stat-card {
    min-height: 104px !important;
    padding: 14px 10px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 560px) {
  #lwrHomeStatsSection.lwr-home-stats-under-status .lwr-home-stats-grid,
  .video-hero .hero-content #lwrHomeStatsSection .lwr-home-stats-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   About page wide feature boxes
   Make the About Us cards large horizontal boxes instead of square cards.
========================================================= */
body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card {
  min-height: 168px !important;
  width: 100% !important;
  padding: clamp(28px, 3.2vw, 40px) clamp(30px, 4vw, 48px) !important;
  border-radius: 30px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background:
    linear-gradient(135deg, rgba(18, 26, 34, 0.92), rgba(8, 12, 16, 0.76)),
    radial-gradient(circle at 12% 50%, rgba(88, 130, 206, 0.16), transparent 34%) !important;
}

body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card h3 {
  font-size: clamp(24px, 2vw, 32px) !important;
  margin-bottom: 12px !important;
}

body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card p,
body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card li {
  max-width: 850px !important;
  font-size: clamp(15px, 1.25vw, 18px) !important;
}

body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card::before {
  top: 50% !important;
  left: 28px !important;
  width: auto !important;
  height: auto !important;
  transform: translateY(-50%) !important;
  background: none !important;
  filter: none !important;
  color: rgba(175, 200, 255, 0.10) !important;
  font-size: clamp(58px, 6vw, 88px) !important;
  line-height: 1 !important;
}

body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card::after {
  inset: 24px auto 24px 0 !important;
  width: 4px !important;
  height: auto !important;
  border-radius: 999px 0 0 999px !important;
  background: linear-gradient(180deg, transparent, #5882CE, transparent) !important;
  opacity: 0.9 !important;
}

@media (max-width: 700px) {
  body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid {
    gap: 16px !important;
  }

  body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card {
    min-height: 150px !important;
    padding: 24px 22px !important;
    border-radius: 24px !important;
  }

  body.lwr-about-page > main.lwr-public-page .lwr-about-wide-grid .lwr-card::before {
    left: 18px !important;
    font-size: 50px !important;
  }
}


/* Activation intro: already active state */
.activation-already-active-view {
  width: min(520px, 100%);
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.activation-already-active-message {
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
}

.activation-already-active-actions {
  margin: 0;
  justify-content: center;
}

.activation-already-active-actions .btn {
  min-width: 240px;
}

/* =========================================================
   LWR FIX: My Status / حالتي - clean nested boxes
   Removes the heavy inner "box inside box" look from empty
   states and makes the status cards cleaner/aligned.
========================================================= */
.my-dashboard-page .player-dashboard-shell {
  background: rgba(9, 14, 24, 0.82) !important;
  border: 1px solid rgba(88, 130, 206, 0.16) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

.my-dashboard-page .player-dashboard-grid {
  align-items: stretch !important;
}

.my-dashboard-page .player-dashboard-grid .player-panel {
  display: flex !important;
  flex-direction: column !important;
  min-height: 180px !important;
  background:
    linear-gradient(180deg, rgba(14, 22, 36, 0.94), rgba(7, 12, 22, 0.96)) !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.my-dashboard-page .player-dashboard-grid .player-panel h2 {
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid rgba(88, 130, 206, 0.16) !important;
}

.my-dashboard-page .player-panel > .empty-dashboard-box {
  flex: 1 1 auto !important;
  min-height: 88px !important;
  width: 100% !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(245, 248, 255, 0.60) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.8 !important;
}

.my-dashboard-page .player-panel > .small-muted {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(245, 248, 255, 0.62) !important;
}

.my-dashboard-page .player-alert-row,
.my-dashboard-page .player-history-row,
.my-dashboard-page .player-character-card,
.my-dashboard-page .player-active-ban,
.my-dashboard-page .player-note {
  background: rgba(255, 255, 255, 0.026) !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.my-dashboard-page .player-alert-row:hover,
.my-dashboard-page .player-history-row:hover,
.my-dashboard-page .player-character-card:hover,
.my-dashboard-page .player-active-ban:hover,
.my-dashboard-page .player-note:hover {
  background: rgba(88, 130, 206, 0.06) !important;
  border-color: rgba(88, 130, 206, 0.22) !important;
  box-shadow: none !important;
  transform: none !important;
}

.my-dashboard-page .player-inline-form {
  margin-top: 4px !important;
}

.my-dashboard-page .player-inline-form textarea {
  min-height: 104px !important;
  border-radius: 12px !important;
  background: rgba(7, 12, 22, 0.70) !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .my-dashboard-page .player-dashboard-grid .player-panel {
    min-height: 150px !important;
  }
}

/* =========================================================
   LWR FIX: My Status / الشخصية text wrapping
   Prevents long character names/stories from escaping the card
   and makes the story readable inside the شخصية box.
========================================================= */
.my-dashboard-page .player-character-card,
.my-dashboard-page .player-character-card *,
.my-dashboard-page .player-mini-grid,
.my-dashboard-page .player-mini-grid > *,
.my-dashboard-page .player-metric,
.my-dashboard-page .player-metric span,
.my-dashboard-page .player-metric strong {
  min-width: 0 !important;
  max-width: 100% !important;
}

.my-dashboard-page .player-character-card h3,
.my-dashboard-page .player-character-card p,
.my-dashboard-page .player-metric span,
.my-dashboard-page .player-metric strong {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.my-dashboard-page .player-character-card p {
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(88, 130, 206, 0.12) !important;
  background: rgba(7, 12, 22, 0.42) !important;
  color: rgba(245, 248, 255, 0.68) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.9 !important;
  text-align: center !important;
  white-space: pre-line !important;
  direction: rtl !important;
  unicode-bidi: plaintext !important;
}

/* =========================================================
   HOME HOW IT WORKS SECTION
   Adds the requested four activation flow steps above المؤسسين.
========================================================= */
.lwr-home-steps-section {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 24px clamp(58px, 7vw, 90px) !important;
  background: #0D1216 !important;
  overflow: hidden;
  isolation: isolate;
}

.lwr-home-steps-section::before {
  content: none !important;
  display: none !important;
}

.lwr-home-steps-header {
  width: min(1296px, 100%);
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: right;
}

.lwr-home-steps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  color: #5882CE;
  font-size: 13px;
  font-weight: 1000;
}

.lwr-home-steps-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 130, 206, 0), #5882CE);
}

.lwr-home-steps-header h2 {
  margin: 0;
  color: #F8FAFC;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.lwr-home-steps-header h2 span {
  color: #5882CE;
}

.lwr-home-steps-grid {
  width: min(1296px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  direction: rtl;
}

.lwr-home-step-card {
  position: relative;
  min-height: 250px;
  padding: 34px 28px 34px;
  border-radius: 20px;
  border: 1px solid rgba(88, 130, 206, 0.16);
  background: #141A20;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 22px 54px rgba(0, 0, 0, 0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.lwr-home-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(88, 130, 206, 0.12) 45%, transparent 70%);
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.55s ease,
    opacity 0.25s ease;
}

.lwr-home-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(126, 201, 255, 0.35), transparent);
  transform: translateY(-50%);
  z-index: 2;
}

.lwr-home-step-number {
  position: relative;
  display: block;
  margin: 0 0 8px;
  color: rgba(88, 130, 206, 0.18);
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0.02em;
  font-family: var(--font-english, inherit);
  pointer-events: none;
  transition:
    transform 0.28s ease,
    color 0.28s ease;
}

.lwr-home-step-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #7EC9FF;
  background: rgba(88, 130, 206, 0.11);
  border: 1px solid rgba(126, 201, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(88, 130, 206, 0.05), 0 14px 32px rgba(88, 130, 206, 0.10);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease;
}

.lwr-home-step-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lwr-home-step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #F8FAFC;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 1000;
  line-height: 1.45;
  transition: transform 0.28s ease;
}

.lwr-home-step-card p {
  position: relative;
  z-index: 1;
  max-width: 245px;
  margin: 0;
  color: #9AA7BA;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.9;
}

.lwr-home-step-card:hover {
  border-color: rgba(88, 130, 206, 0.42);
  background-color: #161D24;
  transform: translateY(-8px) scale(1.015);
}

.lwr-home-step-card:hover::before {
  transform: translateX(-120%);
  opacity: 1;
}

.lwr-home-step-card:hover .lwr-home-step-number {
  transform: translateY(-4px) scale(1.04);
  color: rgba(88, 130, 206, 0.28);
}

.lwr-home-step-card:hover .lwr-home-step-icon {
  transform: translateY(-3px) scale(1.08);
  border-color: rgba(88, 130, 206, 0.50);
}

.lwr-home-step-card:hover h3 {
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .lwr-home-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lwr-home-step-card:not(:last-child)::after {
    content: none;
    display: none;
  }
}

@media (max-width: 640px) {
  .lwr-home-steps-section {
    padding: 58px 16px 64px !important;
  }

  .lwr-home-steps-header {
    text-align: center;
  }

  .lwr-home-steps-kicker::before {
    width: 24px;
  }

  .lwr-home-steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lwr-home-step-card {
    min-height: 218px;
    padding: 30px 22px 28px;
    border-radius: 18px;
  }

  .lwr-home-step-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .lwr-home-step-card p {
    max-width: 310px;
  }
}

/* =========================================================
   GLOBAL REAL CARD TRANSITIONS
   Smooth hover animation for all website cards, no shadow hover.
========================================================= */
:root {
  --lwr-card-hover-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.lwr-home-step-card,
.lwr-team-card,
.team-card,
.team-member-card,
.member-card,
.founder-card,
.manager-card,
.glass-card,
.card,
.stat-card,
.feature-card,
.update-card,
.rule-card,
.job-card,
.faq-card,
.support-card,
.about-card,
.service-card,
.lwr-managed-card,
.lwr-dashboard-card,
.dashboard-card,
.status-card,
.profile-card,
.request-card,
.notification-card,
.info-card,
.panel-card,
[class*="card"] {
  transform: translate3d(0, 0, 0) scale(1);
  transition-property: transform, border-color, background-color, color, opacity, filter;
  transition-duration: 420ms;
  transition-timing-function: var(--lwr-card-hover-ease);
  will-change: transform;
  backface-visibility: hidden;
}

.lwr-home-step-card:hover,
.lwr-team-card:hover,
.team-card:hover,
.team-member-card:hover,
.member-card:hover,
.founder-card:hover,
.manager-card:hover,
.glass-card:hover,
.card:hover,
.stat-card:hover,
.feature-card:hover,
.update-card:hover,
.rule-card:hover,
.job-card:hover,
.faq-card:hover,
.support-card:hover,
.about-card:hover,
.service-card:hover,
.lwr-managed-card:hover,
.lwr-dashboard-card:hover,
.dashboard-card:hover,
.status-card:hover,
.profile-card:hover,
.request-card:hover,
.notification-card:hover,
.info-card:hover,
.panel-card:hover {
  transform: translate3d(0, -8px, 0) scale(1.015);
}

/* How It Works cards */
.lwr-home-step-card {
  transition-duration: 460ms;
}

.lwr-home-step-card:hover {
  background-color: #161D24;
  border-color: rgba(88, 130, 206, 0.42);
}

/* Manager / founder cards */
.lwr-team-card,
.team-card,
.team-member-card,
.member-card,
.founder-card,
.manager-card {
  transition-duration: 480ms;
}

.lwr-team-card:hover,
.team-card:hover,
.team-member-card:hover,
.member-card:hover,
.founder-card:hover,
.manager-card:hover {
  border-color: rgba(88, 130, 206, 0.38);
}

/* Smooth inner movement for the visible content */
.lwr-home-step-card .lwr-home-step-number,
.lwr-home-step-card .lwr-home-step-icon,
.lwr-home-step-card h3,
.lwr-home-step-card p,
.lwr-team-card .lwr-team-avatar,
.lwr-team-card .lwr-team-avatar img,
.lwr-team-card .lwr-team-meta,
.lwr-team-card h3,
.lwr-team-card p,
.team-card .lwr-team-avatar,
.team-card .lwr-team-avatar img,
.team-card .lwr-team-meta,
.team-card h3,
.team-card p,
.team-member-card *,
.member-card *,
.founder-card *,
.manager-card * {
  transform: translate3d(0, 0, 0) scale(1);
  transition-property: transform, color, opacity, border-color, background-color;
  transition-duration: 420ms;
  transition-timing-function: var(--lwr-card-hover-ease);
  will-change: transform;
  backface-visibility: hidden;
}

.lwr-home-step-card:hover .lwr-home-step-number {
  transform: translate3d(0, -5px, 0) scale(1.045);
  color: rgba(88, 130, 206, 0.30);
}

.lwr-home-step-card:hover .lwr-home-step-icon {
  transform: translate3d(0, -4px, 0) scale(1.08);
  border-color: rgba(88, 130, 206, 0.52);
}

.lwr-home-step-card:hover h3 {
  transform: translate3d(0, -2px, 0);
}

.lwr-team-card:hover .lwr-team-avatar,
.team-card:hover .lwr-team-avatar,
.team-member-card:hover .lwr-team-avatar,
.member-card:hover .lwr-team-avatar,
.founder-card:hover .lwr-team-avatar,
.manager-card:hover .lwr-team-avatar {
  transform: translate3d(0, -6px, 0) scale(1.035);
}

.lwr-team-card:hover h3,
.team-card:hover h3,
.team-member-card:hover h3,
.member-card:hover h3,
.founder-card:hover h3,
.manager-card:hover h3 {
  transform: translate3d(0, -3px, 0);
}

/* Prevent old CSS from making these hover effects instant */
.lwr-home-step-card:hover,
.lwr-team-card:hover,
.team-card:hover,
.team-member-card:hover,
.member-card:hover,
.founder-card:hover,
.manager-card:hover {
  transition-property: transform, border-color, background-color, color, opacity, filter;
  transition-duration: 460ms;
  transition-timing-function: var(--lwr-card-hover-ease);
}

/* Keep motion accessible */
@media (prefers-reduced-motion: reduce) {
  .lwr-home-step-card,
  .lwr-team-card,
  .team-card,
  .team-member-card,
  .member-card,
  .founder-card,
  .manager-card,
  .glass-card,
  .card,
  .stat-card,
  .feature-card,
  .update-card,
  .rule-card,
  .job-card,
  .faq-card,
  .support-card,
  .about-card,
  .service-card,
  .lwr-managed-card,
  .lwr-dashboard-card,
  .dashboard-card,
  .status-card,
  .profile-card,
  .request-card,
  .notification-card,
  .info-card,
  .panel-card,
  [class*="card"],
  .lwr-home-step-card *,
  .lwr-team-card *,
  .team-card *,
  .team-member-card *,
  .member-card *,
  .founder-card *,
  .manager-card * {
    transition-duration: 1ms !important;
  }
}

/* =========================================================
   LWR CARD SMOOTH HOVER - LOADED FROM STYLE.CSS TOO
   This is duplicated in style.css because the site also loads style.css.
========================================================= */
:root {
  --lwr-card-hover-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.lwr-home-step-card,
.lwr-team-card,
.team-card,
.team-member-card,
.member-card,
.founder-card,
.manager-card,
.glass-card,
.card,
.stat-card,
.feature-card,
.update-card,
.rule-card,
.job-card,
.faq-card,
.support-card,
.about-card,
.service-card,
.lwr-managed-card,
.lwr-dashboard-card,
.dashboard-card,
.status-card,
.profile-card,
.request-card,
.notification-card,
.info-card,
.panel-card,
[class*="card"] {
  transform: translate3d(0, 0, 0) scale(1) !important;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 520ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 520ms cubic-bezier(0.16, 1, 0.3, 1),
    color 260ms ease,
    opacity 260ms ease,
    filter 520ms ease !important;
  will-change: transform !important;
  backface-visibility: hidden !important;
}

.lwr-home-step-card:hover,
.lwr-team-card:hover,
.team-card:hover,
.team-member-card:hover,
.member-card:hover,
.founder-card:hover,
.manager-card:hover,
.glass-card:hover,
.card:hover,
.stat-card:hover,
.feature-card:hover,
.update-card:hover,
.rule-card:hover,
.job-card:hover,
.faq-card:hover,
.support-card:hover,
.about-card:hover,
.service-card:hover,
.lwr-managed-card:hover,
.lwr-dashboard-card:hover,
.dashboard-card:hover,
.status-card:hover,
.profile-card:hover,
.request-card:hover,
.notification-card:hover,
.info-card:hover,
.panel-card:hover {
  transform: translate3d(0, -8px, 0) scale(1.015) !important;
}

.lwr-home-step-card:hover {
  background-color: #161D24 !important;
  border-color: rgba(88, 130, 206, 0.42) !important;
}

.lwr-team-card:hover,
.team-card:hover,
.team-member-card:hover,
.member-card:hover,
.founder-card:hover,
.manager-card:hover {
  border-color: rgba(88, 130, 206, 0.38) !important;
}

.lwr-home-step-card .lwr-home-step-number,
.lwr-home-step-card .lwr-home-step-icon,
.lwr-home-step-card h3,
.lwr-home-step-card p,
.lwr-team-card .lwr-team-avatar,
.lwr-team-card .lwr-team-avatar img,
.lwr-team-card .lwr-team-meta,
.lwr-team-card h3,
.lwr-team-card p,
.team-card .lwr-team-avatar,
.team-card .lwr-team-avatar img,
.team-card .lwr-team-meta,
.team-card h3,
.team-card p,
.team-member-card *,
.member-card *,
.founder-card *,
.manager-card * {
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    color 260ms ease,
    opacity 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease !important;
  will-change: transform !important;
  backface-visibility: hidden !important;
}

.lwr-home-step-card:hover .lwr-home-step-number {
  transform: translate3d(0, -5px, 0) scale(1.045) !important;
  color: rgba(88, 130, 206, 0.30) !important;
}

.lwr-home-step-card:hover .lwr-home-step-icon {
  transform: translate3d(0, -4px, 0) scale(1.08) !important;
  border-color: rgba(88, 130, 206, 0.52) !important;
}

.lwr-home-step-card:hover h3 {
  transform: translate3d(0, -2px, 0) !important;
}

.lwr-team-card:hover .lwr-team-avatar,
.team-card:hover .lwr-team-avatar,
.team-member-card:hover .lwr-team-avatar,
.member-card:hover .lwr-team-avatar,
.founder-card:hover .lwr-team-avatar,
.manager-card:hover .lwr-team-avatar {
  transform: translate3d(0, -6px, 0) scale(1.035) !important;
}

.lwr-team-card:hover h3,
.team-card:hover h3,
.team-member-card:hover h3,
.member-card:hover h3,
.founder-card:hover h3,
.manager-card:hover h3 {
  transform: translate3d(0, -3px, 0) !important;
}

/* =========================================================
   UNIFIED MAIN PAGE CARD COLORS
   Make How It Works cards and founders/managers cards use the same
   darker blue-tinted card style.
========================================================= */
.lwr-home-step-card,
.lwr-team-card,
.team-card,
.creator-card {
  background:
    radial-gradient(circle at 50% 14%, rgba(88, 130, 206, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(20, 26, 32, 0.98) 0%, rgba(18, 24, 30, 0.98) 58%, rgba(16, 22, 28, 0.98) 100%) !important;
  border: 1px solid rgba(88, 130, 206, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 42px rgba(0, 0, 0, 0.24) !important;
}

.lwr-home-step-card:hover,
.lwr-team-card:hover,
.team-card:hover,
.creator-card:hover {
  background:
    radial-gradient(circle at 50% 14%, rgba(88, 130, 206, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(22, 28, 35, 0.99) 0%, rgba(19, 26, 33, 0.99) 58%, rgba(17, 23, 30, 0.99) 100%) !important;
  border-color: rgba(88, 130, 206, 0.34) !important;
}

/* =========================================================
   FINAL CARD COLOR OVERRIDE
   Force How It Works + founders/managers cards to the same color style.
========================================================= */
body .lwr-home-steps-section .lwr-home-step-card,
body .home-section .lwr-home-step-card,
body .lwr-team-grid .lwr-team-card,
body .team-grid .team-card,
body .creators-grid .creator-card,
body .lwr-team-card,
body .team-card,
body .creator-card {
  background: #111A24 !important;
  background-image: linear-gradient(180deg, #15202B 0%, #101821 100%) !important;
  border-color: rgba(88, 130, 206, 0.20) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 18px 42px rgba(0,0,0,0.22) !important;
}

body .lwr-home-steps-section .lwr-home-step-card::before,
body .home-section .lwr-home-step-card::before,
body .lwr-team-grid .lwr-team-card::before,
body .team-grid .team-card::before,
body .creators-grid .creator-card::before,
body .lwr-team-card::before,
body .team-card::before,
body .creator-card::before {
  background: linear-gradient(120deg, transparent 0%, rgba(88, 130, 206, 0.10) 45%, transparent 70%) !important;
}

body .lwr-home-steps-section .lwr-home-step-card:hover,
body .home-section .lwr-home-step-card:hover,
body .lwr-team-grid .lwr-team-card:hover,
body .team-grid .team-card:hover,
body .creators-grid .creator-card:hover,
body .lwr-team-card:hover,
body .team-card:hover,
body .creator-card:hover {
  background: #131F2B !important;
  background-image: linear-gradient(180deg, #172432 0%, #111D29 100%) !important;
  border-color: rgba(88, 130, 206, 0.38) !important;
}

/* =========================================================
   FINAL MANAGER / FOUNDERS CARD COLOR FIX
   Also targets the real cards rendered in the founders/managers section.
========================================================= */
body #homeTeam .lwr-team-card,
body #homeTeam .team-card,
body #homeTeam .creator-card,
body #homeTeam article,
body #homeTeam [class*="card"],
body #teamGrid .lwr-team-card,
body #teamGrid .team-card,
body #teamGrid .creator-card,
body #teamGrid article,
body #teamGrid [class*="card"],
body .home-team-section .lwr-team-card,
body .home-team-section .team-card,
body .home-team-section .creator-card,
body .home-team-section article,
body .home-team-section [class*="card"],
body .lwr-home-team-section .lwr-team-card,
body .lwr-home-team-section .team-card,
body .lwr-home-team-section .creator-card,
body .lwr-home-team-section article,
body .lwr-home-team-section [class*="card"],
body .founders-section .lwr-team-card,
body .founders-section .team-card,
body .founders-section .creator-card,
body .founders-section article,
body .founders-section [class*="card"],
body .managers-section .lwr-team-card,
body .managers-section .team-card,
body .managers-section .creator-card,
body .managers-section article,
body .managers-section [class*="card"],
body section:has(.lwr-team-grid) .lwr-team-card,
body section:has(.lwr-team-grid) .team-card,
body section:has(.lwr-team-grid) .creator-card,
body section:has(.lwr-team-grid) article,
body section:has(.team-grid) .lwr-team-card,
body section:has(.team-grid) .team-card,
body section:has(.team-grid) .creator-card,
body section:has(.team-grid) article {
  background: #111A24 !important;
  background-image: linear-gradient(180deg, #15202B 0%, #101821 100%) !important;
  border: 1px solid rgba(88, 130, 206, 0.20) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 18px 42px rgba(0,0,0,0.22) !important;
}

body #homeTeam .lwr-team-card:hover,
body #homeTeam .team-card:hover,
body #homeTeam .creator-card:hover,
body #homeTeam article:hover,
body #homeTeam [class*="card"]:hover,
body #teamGrid .lwr-team-card:hover,
body #teamGrid .team-card:hover,
body #teamGrid .creator-card:hover,
body #teamGrid article:hover,
body #teamGrid [class*="card"]:hover,
body .home-team-section .lwr-team-card:hover,
body .home-team-section .team-card:hover,
body .home-team-section .creator-card:hover,
body .home-team-section article:hover,
body .home-team-section [class*="card"]:hover,
body .lwr-home-team-section .lwr-team-card:hover,
body .lwr-home-team-section .team-card:hover,
body .lwr-home-team-section .creator-card:hover,
body .lwr-home-team-section article:hover,
body .lwr-home-team-section [class*="card"]:hover,
body .founders-section .lwr-team-card:hover,
body .founders-section .team-card:hover,
body .founders-section .creator-card:hover,
body .founders-section article:hover,
body .founders-section [class*="card"]:hover,
body .managers-section .lwr-team-card:hover,
body .managers-section .team-card:hover,
body .managers-section .creator-card:hover,
body .managers-section article:hover,
body .managers-section [class*="card"]:hover {
  background: #131F2B !important;
  background-image: linear-gradient(180deg, #172432 0%, #111D29 100%) !important;
  border-color: rgba(88, 130, 206, 0.38) !important;
}

/* =========================================================
   DASHBOARD SIDEBAR SCROLLBAR + CATEGORY ICONS FIX
   - Puts the admin sidebar scrollbar on the right side.
   - Gives every dashboard category a visible icon box.
========================================================= */
body.dashboard-pro-page .dashboard-pro-sidebar,
body.bank-dashboard-page .dashboard-pro-sidebar.bank-sidebar-nav {
  direction: ltr !important;
}

body.dashboard-pro-page .dashboard-pro-profile,
body.dashboard-pro-page .sidebar-menu-title,
body.bank-dashboard-page .dashboard-pro-profile.bank-sidebar-brand,
body.bank-dashboard-page .sidebar-menu-title {
  direction: rtl !important;
}

body.dashboard-pro-page .dashboard-pro-menu,
body.dashboard-pro-page .dash-tabs,
body.bank-dashboard-page .dashboard-pro-menu,
body.bank-dashboard-page .dash-tabs {
  direction: ltr !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(88, 130, 206, 0.78) rgba(8, 14, 26, 0.25) !important;
}

body.dashboard-pro-page .dashboard-pro-menu::-webkit-scrollbar,
body.dashboard-pro-page .dash-tabs::-webkit-scrollbar,
body.bank-dashboard-page .dashboard-pro-menu::-webkit-scrollbar,
body.bank-dashboard-page .dash-tabs::-webkit-scrollbar {
  width: 5px !important;
}

body.dashboard-pro-page .dashboard-pro-menu::-webkit-scrollbar-track,
body.dashboard-pro-page .dash-tabs::-webkit-scrollbar-track,
body.bank-dashboard-page .dashboard-pro-menu::-webkit-scrollbar-track,
body.bank-dashboard-page .dash-tabs::-webkit-scrollbar-track {
  background: rgba(8, 14, 26, 0.25) !important;
  border-radius: 999px !important;
}

body.dashboard-pro-page .dashboard-pro-menu::-webkit-scrollbar-thumb,
body.dashboard-pro-page .dash-tabs::-webkit-scrollbar-thumb,
body.bank-dashboard-page .dashboard-pro-menu::-webkit-scrollbar-thumb,
body.bank-dashboard-page .dash-tabs::-webkit-scrollbar-thumb {
  background: rgba(88, 130, 206, 0.78) !important;
  border-radius: 999px !important;
}

body.dashboard-pro-page .dashboard-pro-menu button,
body.dashboard-pro-page .dash-tabs button,
body.bank-dashboard-page .dashboard-pro-menu button,
body.bank-dashboard-page .dash-tabs button {
  direction: rtl !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

/* Hide the inline FontAwesome <i> so old/missing fonts do not create broken marks. */
body.dashboard-pro-page .dashboard-pro-menu button > i,
body.dashboard-pro-page .dash-tabs button > i,
body.bank-dashboard-page .dashboard-pro-menu button > i,
body.bank-dashboard-page .dash-tabs button > i {
  display: none !important;
}

body.dashboard-pro-page .dashboard-pro-menu button::before,
body.dashboard-pro-page .dash-tabs button::before,
body.bank-dashboard-page .dashboard-pro-menu button::before,
body.bank-dashboard-page .dash-tabs button::before {
  content: "•" !important;
  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  border-radius: 7px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #6f86b8 !important;
  background: rgba(255, 255, 255, 0.026) !important;
  border: 1px solid rgba(255, 255, 255, 0.045) !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  font-family: var(--font-english, inherit) !important;
  line-height: 1 !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease !important;
}

body.dashboard-pro-page .dashboard-pro-menu button span,
body.dashboard-pro-page .dash-tabs button span,
body.bank-dashboard-page .dashboard-pro-menu button span,
body.bank-dashboard-page .dash-tabs button span {
  direction: rtl !important;
  flex: 1 1 auto !important;
  text-align: right !important;
}

body.dashboard-pro-page .dashboard-pro-menu button:hover::before,
body.dashboard-pro-page .dash-tabs button:hover::before,
body.bank-dashboard-page .dashboard-pro-menu button:hover::before,
body.bank-dashboard-page .dash-tabs button:hover::before {
  color: #AFC8FF !important;
  background: rgba(88, 130, 206, 0.10) !important;
  border-color: rgba(88, 130, 206, 0.26) !important;
}

body.dashboard-pro-page .dashboard-pro-menu button.active::before,
body.dashboard-pro-page .dash-tabs button.active::before,
body.bank-dashboard-page .dashboard-pro-menu button.active::before,
body.bank-dashboard-page .dash-tabs button.active::before {
  color: #ffffff !important;
  background: linear-gradient(135deg, #5882CE, #6FA0FF) !important;
  border-color: rgba(175, 200, 255, 0.34) !important;
}

/* Icons for every admin category */
body.dashboard-pro-page button[data-tab="home"]::before,
body.bank-dashboard-page button[data-tab="home"]::before { content: "⌂" !important; }

body.dashboard-pro-page button[data-tab="audit-logs"]::before,
body.bank-dashboard-page button[data-tab="audit-logs"]::before { content: "◷" !important; }

body.dashboard-pro-page button[data-tab="discord-system"]::before,
body.bank-dashboard-page button[data-tab="discord-system"]::before { content: "D" !important; font-size: 11px !important; }

body.dashboard-pro-page button[data-tab="creators"]::before,
body.bank-dashboard-page button[data-tab="creators"]::before { content: "★" !important; }

body.dashboard-pro-page button[data-tab="about"]::before,
body.bank-dashboard-page button[data-tab="about"]::before { content: "i" !important; font-size: 13px !important; }

body.dashboard-pro-page button[data-tab="rules"]::before,
body.bank-dashboard-page button[data-tab="rules"]::before { content: "§" !important; }

body.dashboard-pro-page button[data-tab="faq"]::before,
body.bank-dashboard-page button[data-tab="faq"]::before { content: "?" !important; }

body.dashboard-pro-page button[data-tab="updates"]::before,
body.bank-dashboard-page button[data-tab="updates"]::before { content: "↻" !important; }

body.dashboard-pro-page button[data-tab="support"]::before,
body.bank-dashboard-page button[data-tab="support"]::before { content: "☏" !important; }

body.dashboard-pro-page button[data-tab="jobs"]::before,
body.bank-dashboard-page button[data-tab="jobs"]::before { content: "✦" !important; }

body.dashboard-pro-page button[data-tab="job-requests"]::before,
body.bank-dashboard-page button[data-tab="job-requests"]::before { content: "▣" !important; }

body.dashboard-pro-page button[data-tab="activation"]::before,
body.bank-dashboard-page button[data-tab="activation"]::before { content: "✓" !important; }

body.dashboard-pro-page button[data-tab="activation-questions"]::before,
body.bank-dashboard-page button[data-tab="activation-questions"]::before { content: "؟" !important; font-size: 13px !important; }

body.dashboard-pro-page button[data-tab="activation-requests"]::before,
body.bank-dashboard-page button[data-tab="activation-requests"]::before { content: "◈" !important; }

body.dashboard-pro-page button[data-tab="user-files"]::before,
body.bank-dashboard-page button[data-tab="user-files"]::before { content: "ID" !important; font-size: 9px !important; letter-spacing: .02em !important; }

body.dashboard-pro-page button[data-tab="roles"]::before,
body.bank-dashboard-page button[data-tab="roles"]::before { content: "♛" !important; }


/* =========================================================
   LWR URGENT PERFORMANCE FIX
========================================================= */
html {
  scroll-behavior: smooth;
}

/* Restore native cursor and prevent old cached cursor layers. */
html.lwr-global-cursor-active,
html.lwr-global-cursor-active body,
html.lwr-global-cursor-active *,
html.lwr-fast-cursor-active,
html.lwr-fast-cursor-active body,
html.lwr-fast-cursor-active * {
  cursor: auto !important;
}

a,
button,
label,
summary,
select,
[role="button"] {
  cursor: pointer !important;
}

input,
textarea,
[contenteditable="true"] {
  cursor: text !important;
}

.lwr-global-cursor-dot,
.lwr-global-cursor-ring,
.lwr-cursor-dot,
.lwr-cursor-ring,
.lwr-fast-cursor-dot,
.lwr-fast-cursor-ring {
  display: none !important;
}

/* GPU-heavy live blur was a major source of stutter on Windows/VPS browsers. */
*:not(.loader-circle) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* Skip painting long off-screen homepage sections until needed. */
.lwr-home-steps-section,
.streamers-section,
.lwr-community-intro,
.lwr-section-block,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

.lwr-section-media img,
.streamer-card img,
.creator-page-card img,
.team-dashboard-card img {
  content-visibility: auto;
}

.hero-bg-video {
  transform: translateZ(0);
  will-change: auto !important;
}

/* Stop expensive endless decorative animations after their first pass. */
body.loaded .public-orb,
body.loaded .hero-orb,
body.loaded .lwr-orb,
body.loaded .glow-orb,
body.loaded .decorative-orb {
  animation-iteration-count: 1 !important;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
