/* ═══════════════════════════════════════════════
   Prime Bot — Custom CSS (No Tailwind)
   Theme: dark / light / system via [data-theme]
   Design: Luxury Minimalist, Glassmorphism, Modern
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --bg-primary: #090a10;
  --bg-secondary: #0f111a;
  --bg-tertiary: #161826;
  --bg-card: rgba(18, 20, 32, 0.82);
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-hover2: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.07);

  --accent: #ff8c00;
  --accent-dark: #e67e00;
  --accent-darker: #cc7000;
  --accent-glow: rgba(255, 140, 0, 0.25);
  --accent-glow2: rgba(255, 140, 0, 0.40);
  --accent-gradient: linear-gradient(135deg, #ff9500 0%, #ff5500 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, rgba(255, 85, 0, 0.04) 100%);

  --discord: #5865F2;
  --discord-dark: #4752C4;

  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.12);

  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 16px -2px rgba(0, 0, 0, 0.30);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --navbar-h: 68px;
  --font: 'Kanit', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Light Theme Overrides ─────────────────────── */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-hover: rgba(0, 0, 0, 0.035);
  --bg-hover2: rgba(0, 0, 0, 0.065);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.07);

  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.14), 0 0 1px 1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
}

/* ── Reset & Base ──────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background var(--transition), color var(--transition);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  flex: 1 0 auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── Layout Utilities ──────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.flex-1 {
  flex: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.z-50 {
  z-index: 50;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.mt-auto {
  margin-top: auto;
}

.ml-auto {
  margin-left: auto;
}

.overflow-hidden {
  overflow: hidden;
}

/* ── 4. NAVBAR & DESKTOP CONTROLS ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  background: rgba(9, 10, 16, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

.navbar-inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .navbar-inner {
    padding-inline: 1rem;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .navbar-inner {
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }
}

@media (max-width: 360px) {
  .navbar-inner {
    padding-inline: 0.5rem;
    gap: 0.35rem;
  }
}

/* Brand Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.navbar-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--accent-gradient-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.navbar-logo:hover .navbar-logo-img {
  transform: scale(1.05);
}

.navbar-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-logo-letter,
.navbar-logo-placeholder {
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Controls & Navigation */
.navbar-nav,
.navbar-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none;
  line-height: 1.25;
  transition: all var(--transition);
  user-select: none;
  cursor: pointer;
}

.nav-link span {
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1.25;
  word-break: keep-all;
}

.nav-link svg,
.nav-link i {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  stroke-width: 2;
  stroke: currentColor;
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--transition), color var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-link:hover svg,
.nav-link:hover i {
  transform: translateY(-1px);
}

/* Active Nav State */
.nav-link.active {
  color: var(--accent);
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.28);
  font-weight: 600;
}

.nav-link.active svg {
  color: var(--accent);
}

[data-theme="light"] .nav-link.active {
  color: #ea580c;
  background: rgba(255, 140, 0, 0.10);
  border-color: rgba(255, 140, 0, 0.24);
  font-weight: 600;
}

[data-theme="light"] .nav-link.active svg {
  color: #ea580c;
}

.nav-link.active:hover {
  background: rgba(255, 140, 0, 0.18);
  border-color: rgba(255, 140, 0, 0.38);
}

/* Right Actions Container */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Guest Login / Register CTA Buttons */
.btn-nav-login {
  color: var(--text-primary);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 2px 10px var(--accent-glow);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-nav-primary svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  stroke: #ffffff;
}

.btn-nav-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px var(--accent-glow2);
  color: #ffffff !important;
}

/* ── 5. DROPDOWN MENUS (Theme, Lang, User) ────────────────────── */
.dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.btn-lang,
.btn-theme,
.btn-user {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  user-select: none;
}

.btn-lang:hover,
.btn-theme:hover,
.btn-user:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
  border-color: rgba(255, 140, 0, 0.35);
}

[data-theme="light"] .btn-lang,
[data-theme="light"] .btn-theme,
[data-theme="light"] .btn-user {
  background: var(--bg-secondary);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .btn-lang:hover,
[data-theme="light"] .btn-theme:hover,
[data-theme="light"] .btn-user:hover {
  background: var(--bg-tertiary);
  border-color: rgba(255, 140, 0, 0.35);
}

.btn-theme {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
}

.btn-theme svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn-lang svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.nav-caret {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform var(--transition);
  margin-left: 0.15rem;
}

/* User Button */
.btn-user {
  padding: 0 0.85rem 0 0.35rem;
  gap: 0.55rem;
}

.btn-user .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.btn-user .uname {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Floating Dropdowns */
.lang-menu,
.theme-menu,
.user-menu,
.mobile-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: max-content;
  min-width: 180px;
  max-width: min(280px, calc(100vw - 1.5rem));
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1005;
  padding: 0.35rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

[data-theme="light"] .lang-menu,
[data-theme="light"] .theme-menu,
[data-theme="light"] .user-menu,
[data-theme="light"] .mobile-user-menu {
  background: rgba(255, 255, 255, 0.98);
}

.lang-option,
.theme-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  text-align: left;
}

.lang-option:hover,
.theme-option:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.lang-option.active,
.theme-option.active {
  background: rgba(255, 140, 0, 0.12);
  color: var(--accent);
  font-weight: 600;
}

.lang-check {
  margin-left: auto;
  font-size: 0.75rem;
}

/* User Menu Details */
.user-menu {
  min-width: 250px;
  max-width: min(320px, calc(100vw - 1.5rem));
}

.user-menu-header {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.35rem;
}

.user-menu-header .user-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.user-menu-header .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  transition: all var(--transition);
}

.avatar-border-pro {
  border-color: var(--accent, #ff8c00) !important;
  box-shadow: 0 0 12px var(--accent-glow2, rgba(255, 140, 0, 0.45));
}

.avatar-border-basic {
  border-color: var(--accent, #ff8c00) !important;
  box-shadow: 0 0 8px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

.avatar-badge-icon {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  border: 2px solid var(--bg-secondary);
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500, #ff5500));
  color: #fff;
  box-shadow: 0 2px 8px var(--accent-glow2, rgba(255, 140, 0, 0.5));
  z-index: 2;
}

.avatar-badge-icon.pro {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500, #ff5500));
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 140, 0, 0.6);
}

.avatar-badge-icon.basic {
  background: linear-gradient(135deg, #ffa726, #fb8c00);
  color: #fff;
  box-shadow: 0 2px 6px rgba(251, 140, 0, 0.5);
}

.user-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.user-name-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.user-menu-header .user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 110px;
}

.user-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}

.user-plan-badge i {
  font-size: 0.65rem;
}

/* Pro Plan Badge (Orange Theme) */
.user-plan-badge.plan-pro {
  background: rgba(255, 140, 0, 0.16);
  border: 1px solid rgba(255, 140, 0, 0.45);
  color: #ffaa33;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
}

.user-plan-badge.plan-pro i {
  color: #ff9500;
  filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.6));
}

/* Basic Plan Badge (Orange/Amber Theme) */
.user-plan-badge.plan-basic {
  background: rgba(255, 165, 0, 0.14);
  border: 1px solid rgba(255, 165, 0, 0.38);
  color: #ffb84d;
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.2);
}

.user-plan-badge.plan-basic i {
  color: #ffa726;
  filter: drop-shadow(0 0 3px rgba(255, 167, 38, 0.5));
}

/* Free Plan Badge */
.user-plan-badge.plan-free {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #94a3b8;
}

.user-plan-badge.plan-free i {
  color: #94a3b8;
}

/* Light Mode Overrides (Orange Theme) */
[data-theme="light"] .user-plan-badge.plan-pro {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.38);
  color: #c25e00;
  box-shadow: none;
}

[data-theme="light"] .user-plan-badge.plan-pro i {
  color: #e67300;
  filter: none;
}

[data-theme="light"] .user-plan-badge.plan-basic {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.35);
  color: #d97706;
  box-shadow: none;
}

[data-theme="light"] .user-plan-badge.plan-basic i {
  color: #d97706;
  filter: none;
}

[data-theme="light"] .user-plan-badge.plan-free {
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.25);
  color: #475569;
}

.user-menu-header .user-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.user-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.user-menu a i,
.user-menu a svg {
  width: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.user-menu a:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.user-menu a:hover i,
.user-menu a:hover svg {
  color: var(--accent);
}

.user-menu a.text-red:hover {
  color: var(--red) !important;
  background: var(--red-dim);
}

.user-menu a.text-red:hover i {
  color: var(--red);
}

.user-menu-sep,
.um-sep {
  height: 1px;
  background: var(--border-color);
  margin: 0.35rem 0;
}

/* ── 6. MOBILE NAVIGATION & DRAWER ───────────────────────────── */
.navbar-mobile-controls {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.btn-icon:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
  border-color: rgba(255, 140, 0, 0.35);
}

.btn-icon:active {
  transform: scale(0.95);
}

.btn-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn-icon img,
.btn-icon.user-avatar-btn img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
  display: block;
}

.btn-icon .fi {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h, 68px);
  left: 0;
  right: 0;
  background: rgba(15, 17, 26, 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1rem 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-height: calc(100vh - var(--navbar-h, 68px));
  overflow-y: auto;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  animation: mobileSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: flex;
}

@keyframes mobileSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  min-height: 46px;
  text-decoration: none;
}

.mobile-nav-link i,
.mobile-nav-link svg {
  font-size: 1.1rem;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.mobile-nav-link.active {
  background: rgba(255, 140, 0, 0.12);
  border-color: rgba(255, 140, 0, 0.35);
  color: var(--accent);
  font-weight: 600;
}

.mobile-nav-link.active i,
.mobile-nav-link.active svg {
  color: var(--accent);
}

.mobile-nav-link.login-link {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.3);
  color: #818cf8;
  font-weight: 600;
}

.mobile-nav-link.register-link {
  background: var(--accent-gradient);
  color: #ffffff !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.mobile-nav-link.register-link i,
.mobile-nav-link.register-link svg {
  color: #ffffff;
}

/* Mobile user dropdown */
.mobile-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 230px;
  max-width: min(280px, calc(100vw - 1.5rem));
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.35rem;
  z-index: 1005;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.mobile-user-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.mobile-user-menu a svg,
.mobile-user-menu a i {
  width: 16px;
  height: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.mobile-user-menu a:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.mobile-user-menu a:hover svg,
.mobile-user-menu a:hover i {
  color: var(--accent);
}

.mobile-user-menu a.text-red:hover {
  color: var(--red) !important;
  background: var(--red-dim);
}

.mobile-user-menu a.text-red:hover svg,
.mobile-user-menu a.text-red:hover i {
  color: var(--red);
}

/* Mobile & Desktop responsive toggles */
@media (min-width: 993px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-mobile {
    display: none !important;
  }

  .navbar-mobile-controls {
    display: flex;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    gap: 0.5rem;
  }

  .navbar-logo-img {
    width: 34px;
    height: 34px;
  }

  .navbar-logo-text {
    font-size: 1.05rem;
  }

  .navbar-mobile-controls {
    gap: 0.35rem;
  }

  .btn-icon {
    width: 35px;
    height: 35px;
  }

  .btn-icon svg {
    width: 17px;
    height: 17px;
  }

  .btn-icon img,
  .btn-icon.user-avatar-btn img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 360px) {
  .navbar-logo-text {
    font-size: 0.92rem;
  }

  .navbar-mobile-controls {
    gap: 0.22rem;
  }

  .btn-icon {
    width: 32px;
    height: 32px;
  }

  .btn-icon svg {
    width: 16px;
    height: 16px;
  }

  .btn-icon img,
  .btn-icon.user-avatar-btn img {
    width: 22px;
    height: 22px;
  }
}

/* ── 7. NAVBAR SPACER & PAGE WRAP ────────────────────────────── */
.navbar-spacer {
  height: var(--navbar-h);
  width: 100%;
}

.page-wrap {
  width: 100%;
  min-height: calc(100vh - var(--navbar-h) - 200px);
  display: flex;
  flex-direction: column;
}

/* ── Main content ───────────────────────────────── */
main {
  flex: 1;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  margin-top: auto;
  transition: background var(--transition);
}

.footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 3rem 1rem 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    padding: 3.5rem 2rem 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social-btn:hover {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: rgba(0, 102, 255, 0.35);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
}

.footer-col h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--accent-dark);
}

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.card-sm {
  padding: 1rem;
  border-radius: var(--radius-md);
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px var(--accent-glow2);
  transform: translateY(-1.5px);
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-discord {
  background: var(--discord);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
  background: var(--discord-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.45);
}

.btn-yellow {
  background: rgba(250, 204, 21, 0.15);
  color: var(--yellow);
  border-color: rgba(250, 204, 21, 0.35);
}

.btn-yellow:hover {
  background: rgba(250, 204, 21, 0.25);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

/* ── Badge ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-pink {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.badge-green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.badge-yellow {
  background: rgba(251, 191, 36, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.badge-red {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.badge-gray {
  background: var(--bg-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

/* ── Form elements ───────────────────────────────── */
.input {
  width: 100%;
  padding: 0.68rem 0.95rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}

.input::placeholder {
  color: var(--text-faint);
}

select.input {
  cursor: pointer;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

select.input option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* ── Typography helpers ──────────────────────────── */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-faint {
  color: var(--text-faint);
}

.text-accent {
  color: var(--accent);
}

.text-green {
  color: var(--green);
}

.text-yellow {
  color: var(--yellow);
}

.text-red {
  color: var(--red);
}

.text-white {
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Spacing helpers ─────────────────────────────── */
.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-inline: 1rem;
}

.px-6 {
  padding-inline: 1.5rem;
}

.py-2 {
  padding-block: 0.5rem;
}

.py-4 {
  padding-block: 1rem;
}

.py-8 {
  padding-block: 2rem;
}

.py-16 {
  padding-block: 4rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* ── Divider ─────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-color);
}

/* ── Avatar ──────────────────────────────────────── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-sm {
  width: 28px;
  height: 28px;
}

.avatar-md {
  width: 40px;
  height: 40px;
}

.avatar-lg {
  width: 64px;
  height: 64px;
}

/* ── Glassmorphism panel ─────────────────────────── */
.glass {
  background: rgba(26, 26, 46, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.75);
}

/* ── Gradient backgrounds ────────────────────────── */
.bg-gradient-accent {
  background: linear-gradient(135deg, var(--accent), #a855f7);
}

.bg-gradient-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #1a0a2e 100%);
}

[data-theme="light"] .bg-gradient-hero {
  background: linear-gradient(135deg, #f3f4f6 0%, #ede9fe 50%, #fce7f3 100%);
}

/* ── SweetAlert2 dark/light theming ─────────────── */
.swal2-container {
  z-index: 100000 !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  font-family: var(--font, 'Kanit', sans-serif) !important;
}

.swal2-container.swal2-backdrop-show {
  background: rgba(4, 6, 12, 0.72) !important;
}

[data-theme="light"] .swal2-container.swal2-backdrop-show {
  background: rgba(15, 23, 42, 0.40) !important;
}

.swal2-popup {
  background: var(--bg-card, #10121d) !important;
  color: var(--text-primary, #f8fafc) !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.10)) !important;
  border-radius: var(--radius-lg, 18px) !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  padding: 1.75rem 1.5rem !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

[data-theme="light"] .swal2-popup {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 1px 1px rgba(0, 0, 0, 0.05) !important;
}

.swal2-title {
  color: var(--text-primary, #f8fafc) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  padding: 0.5rem 1rem 0 !important;
}

[data-theme="light"] .swal2-title {
  color: #0f172a !important;
}

.swal2-html-container {
  color: var(--text-secondary, #cbd5e1) !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin: 1rem 0 !important;
  overflow: visible !important;
}

[data-theme="light"] .swal2-html-container {
  color: #334155 !important;
}

.swal2-input {
  background: var(--bg-secondary, #0c0e17) !important;
  color: var(--text-primary, #f8fafc) !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12)) !important;
  border-radius: var(--radius-md, 10px) !important;
  font-family: inherit !important;
  height: 2.85rem !important;
  padding: 0 1rem !important;
  box-shadow: none !important;
  transition: all var(--transition, 0.2s ease) !important;
}

[data-theme="light"] .swal2-input {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.swal2-input:focus {
  border-color: var(--accent, #ff8c00) !important;
  box-shadow: 0 0 0 3px var(--accent-glow, rgba(255, 140, 0, 0.25)) !important;
}

.swal2-actions {
  gap: 0.65rem !important;
  margin-top: 1.5rem !important;
}

.swal2-styled.swal2-confirm {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500, #ff5500)) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-md, 10px) !important;
  padding: 0.65rem 1.35rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px var(--accent-glow, rgba(255, 140, 0, 0.35)) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.swal2-styled.swal2-confirm:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px var(--accent-glow2, rgba(255, 140, 0, 0.45)) !important;
}

.swal2-styled.swal2-cancel {
  background: var(--bg-hover2, rgba(255, 255, 255, 0.08)) !important;
  color: var(--text-secondary, #cbd5e1) !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.10)) !important;
  border-radius: var(--radius-md, 10px) !important;
  padding: 0.65rem 1.35rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
}

[data-theme="light"] .swal2-styled.swal2-cancel {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

.swal2-styled.swal2-cancel:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.12)) !important;
  color: var(--text-primary, #f8fafc) !important;
}

[data-theme="light"] .swal2-styled.swal2-cancel:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.swal2-validation-message {
  background: var(--red-dim, rgba(248, 113, 113, 0.15)) !important;
  color: var(--red, #f87171) !important;
  border: 1px solid rgba(248, 113, 113, 0.25) !important;
  border-radius: var(--radius-md, 8px) !important;
  font-size: 0.85rem !important;
  padding: 0.65rem 1rem !important;
  margin-top: 0.85rem !important;
}

/* ── 2FA SweetAlert & Modals Theme Adaptive ──────── */
.swal-2fa-container {
  text-align: left;
  font-size: 0.9rem;
}

.swal-2fa-qr-wrapper {
  text-align: center;
  margin-bottom: 1.25rem;
}

.swal-2fa-qr-box {
  display: inline-block;
  padding: 12px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swal-2fa-secret-box {
  margin-bottom: 1.15rem;
  background: var(--bg-hover2, rgba(255, 255, 255, 0.05));
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

[data-theme="light"] .swal-2fa-secret-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.swal-2fa-secret-label {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 0.35rem;
}

.swal-2fa-secret-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.swal-2fa-secret-code {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent, #ff8c00);
  letter-spacing: 0.08rem;
  word-break: break-all;
  font-family: monospace;
}

.swal-2fa-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--bg-card, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #f8fafc);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

[data-theme="light"] .swal-2fa-copy-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.swal-2fa-copy-btn:hover {
  background: var(--accent, #ff8c00);
  color: #ffffff;
  border-color: var(--accent, #ff8c00);
}

.swal-2fa-input-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary, #f8fafc);
}

[data-theme="light"] .swal-2fa-input-label {
  color: #0f172a;
}

.swal-2fa-input {
  text-align: center !important;
  font-size: 1.45rem !important;
  letter-spacing: 0.4rem !important;
  font-weight: 700 !important;
  font-family: monospace !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 3.2rem !important;
  background: var(--bg-secondary, #0e1217) !important;
  color: var(--text-primary, #f8fafc) !important;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15)) !important;
  border-radius: 10px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

[data-theme="light"] .swal-2fa-input {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.swal-2fa-input:focus {
  border-color: var(--accent, #ff8c00) !important;
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.25) !important;
}

.swal-2fa-code-pill {
  padding: 0.5rem 0.65rem;
  background: var(--bg-secondary, rgba(0, 0, 0, 0.35));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  color: var(--accent, #ff8c00);
  letter-spacing: 0.05rem;
}

[data-theme="light"] .swal-2fa-code-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #ea580c;
}

/* ── Account Security Switch (Toggle) ─────────────── */
.ac-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.ac-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ac-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-secondary, #1e293b);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 9999px;
}

[data-theme="light"] .ac-switch-slider {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.ac-switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted, #94a3b8);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ac-switch input:checked+.ac-switch-slider {
  background: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.ac-switch input:checked+.ac-switch-slider:before {
  transform: translateX(20px);
  background: #ffffff;
}

/* ── Dropdown wrapper (shared) ───────────────────── */
.dropdown-wrap {
  position: relative;
}

/* ── Responsive visibility ───────────────────────── */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }

  .show-desktop {
    display: flex !important;
  }
}

/* ── Section utility ─────────────────────────────── */
.section {
  padding-block: 4rem;
}

.section-sm {
  padding-block: 2rem;
}

/* ── Animations ──────────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.18s ease forwards;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ── Glow orb (decorative) ───────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
}

.glow-pink {
  background: var(--accent);
}

.glow-purple {
  background: #a855f7;
}

/* ── Table ───────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-hover);
  white-space: nowrap;
}

td {
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-hover);
}



/* ── Pagination ──────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding-inline: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.page-btn:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent-glow);
  border-color: rgba(0, 102, 255, 0.30);
  color: var(--accent);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}


/* ── Section label (FEATURES / TEAM etc.) ─────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, .5), rgba(109, 40, 217, .3), transparent);
}

/* ── Dark panel card (replaces bg-[#0c0c1c]/90 etc.) ── */
.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.panel-card-inner {
  padding: 1.5rem 1.75rem;
}

.panel-card-accent-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #a855f7, transparent);
  border-radius: 0 0 4px 4px;
}

/* ── Feature card (home page) ─────────────────────── */
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all .3s cubic-bezier(.22, 1, .36, 1);
  position: relative;
  overflow: hidden;
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 0% 0%, rgba(0, 102, 255, .08), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.feat-card:hover {
  border-color: rgba(0, 102, 255, .3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-card-inline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Team card ────────────────────────────────────── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s;
}

.team-card:hover {
  border-color: rgba(0, 102, 255, .3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 102, 255, .4);
  box-shadow: 0 0 30px rgba(0, 102, 255, .2);
}

.team-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* ── CTA card ─────────────────────────────────────── */
.cta-card {
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 102, 255, .08), rgba(109, 40, 217, .06), var(--bg-secondary));
  border: 1px solid rgba(0, 102, 255, .2);
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(0, 102, 255, .15), transparent 65%);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  right: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 255, .6), rgba(167, 139, 250, .4), transparent);
}

@media(max-width:768px) {
  .cta-card {
    padding: 2.5rem 1.5rem;
  }
}

/* ── Marquee ──────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 10px;
  animation: marquee 35s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Aurora blobs (decorative, theme-aware) ─────── */
.aurora-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: drift 22s ease-in-out infinite;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(40px, -30px) scale(1.05)
  }

  66% {
    transform: translate(-25px, 18px) scale(0.95)
  }
}

.aurora-blob.blob1 {
  width: 700px;
  height: 700px;
  background: rgba(124, 58, 237, .13);
  top: -250px;
  left: -150px;
}

.aurora-blob.blob2 {
  width: 550px;
  height: 550px;
  background: rgba(219, 39, 119, .10);
  top: 40%;
  right: -200px;
  animation-delay: -8s;
}

.aurora-blob.blob3 {
  width: 450px;
  height: 450px;
  background: rgba(29, 78, 216, .10);
  bottom: -150px;
  left: 35%;
  animation-delay: -16s;
}

[data-theme="light"] .aurora-blob.blob1 {
  background: rgba(124, 58, 237, .06);
}

[data-theme="light"] .aurora-blob.blob2 {
  background: rgba(219, 39, 119, .04);
}

[data-theme="light"] .aurora-blob.blob3 {
  background: rgba(29, 78, 216, .04);
}

/* ── Stat pill / stat item ────────────────────────── */
.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-val {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

@media(max-width:640px) {
  .stats-row {
    gap: 24px;
  }

  .stat-val {
    font-size: 24px;
  }
}

/* ── Hero badge / online pill ─────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(0, 102, 255, .15), rgba(109, 40, 217, .1));
  border: 1px solid rgba(0, 102, 255, .3);
  font-size: 12px;
  font-weight: 700;
  color: #0066ff;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .2);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

/* ── Fade-up animation helper ─────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.fade-up {
  animation: fadeUp .5s ease-out forwards;
  opacity: 0;
}

.d1 {
  animation-delay: .05s
}

.d2 {
  animation-delay: .12s
}

.d3 {
  animation-delay: .2s
}

.d4 {
  animation-delay: .3s
}

.d5 {
  animation-delay: .4s
}

/* ── Error & 404 Pages (Luxury Glassmorphism) ───────── */
.error-404-hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  overflow: hidden;
}

.error-404-glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.error-404-glow-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.16) 0%, rgba(255, 85, 0, 0.04) 50%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: authGlowPulse 8s ease-in-out infinite alternate;
}

.error-404-glow-2 {
  position: absolute;
  bottom: 5%;
  left: 20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  animation: authGlowPulse 10s ease-in-out infinite alternate-reverse;
}

.error-404-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.error-404-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl, 22px);
  padding: 3.5rem 2.5rem 3rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.error-404-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), #ff5500, transparent);
}

.error-404-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.error-404-number {
  font-size: clamp(5.5rem, 16vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 45%, #ff4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 10px 25px rgba(255, 140, 0, 0.35));
  user-select: none;
  animation: float404 4s ease-in-out infinite;
}

[data-theme="light"] .error-404-number {
  background: linear-gradient(135deg, #0f172a 0%, var(--accent) 55%, #ff4500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 8px 20px rgba(255, 140, 0, 0.25));
}

@keyframes float404 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.error-404-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.error-404-badge .beacon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.error-404-badge .beacon-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  animation: authBeaconPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.error-404-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.error-404-desc {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.error-404-search {
  max-width: 480px;
  margin: 0 auto 2rem;
  position: relative;
}

.error-404-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.35rem 0.4rem 0.35rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.error-404-search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.error-404-search-icon {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.error-404-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-primary);
  min-width: 0;
}

.error-404-search-input::placeholder {
  color: var(--text-faint);
}

.error-404-search-btn {
  padding: 0.55rem 1.15rem;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.error-404-search-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.error-404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-error-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn-error-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-glow2);
  opacity: 0.95;
}

.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: var(--bg-hover2);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-error-secondary:hover {
  background: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-error-secondary:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-error-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  transition: color var(--transition), background var(--transition);
}

.btn-error-back:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.error-404-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.error-404-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 0;
}

.error-404-divider span {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  padding: 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.error-404-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: left;
}

.error-quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.error-quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--bg-tertiary);
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}

.error-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(255, 140, 0, 0.25);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.error-quick-card:hover .error-quick-icon {
  transform: scale(1.08);
}

.error-quick-info {
  flex: 1;
  min-width: 0;
}

.error-quick-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.error-quick-title i {
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: transform var(--transition), color var(--transition);
}

.error-quick-card:hover .error-quick-title i {
  transform: translateX(3px);
  color: var(--accent);
}

.error-quick-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.error-404-support {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.error-404-support a {
  color: var(--discord);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}

.error-404-support a:hover {
  color: #7983f5;
  text-decoration: underline;
}

/* Backward compatibility */
.error-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 1rem;
}

.error-card {
  width: 100%;
  max-width: 28rem;
  position: relative;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
}

.error-card-accent-top {
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  border-radius: 0 0 4px 4px;
}

.error-code {
  font-size: clamp(72px, 14vw, 96px);
  font-weight: 900;
  line-height: 1;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-infobox {
  padding: 1rem;
  border-radius: .75rem;
  margin-bottom: 1.5rem;
}

.error-btn-row {
  display: flex;
  gap: .75rem;
}

.error-btn-row>* {
  flex: 1;
}

.error-meta {
  text-align: center;
  font-size: .75rem;
  color: var(--text-faint);
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .error-404-card {
    padding: 2.5rem 1.25rem 2rem;
  }

  .error-404-quick-grid {
    grid-template-columns: 1fr;
  }

  .error-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-404-actions>* {
    width: 100%;
  }
}

/* ── Login page ───────────────────────────────────── */
.login-wrap {
  min-height: calc(100vh - 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.login-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  box-shadow: var(--shadow-lg);
}

.login-logo {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 1rem;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .35);
}

.btn-discord-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: .875rem 1.5rem;
  border-radius: .75rem;
  background: var(--discord);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(88, 101, 242, .3);
}

.btn-discord-login:hover {
  background: var(--discord-dark);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 24px rgba(88, 101, 242, .45);
}

/* ── Auth Layout ────────────────────────────────── */
.auth-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-primary);
  overflow: hidden;
}

.auth-wrapper {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .auth-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* ── Left Section (Branding) ────────────────────── */
.auth-left {
  display: none;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .auth-left {
    display: flex;
  }
}

.auth-left-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: drift 20s ease-in-out infinite;
}

.auth-left-orb.orb1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 140, 0, 0.15);
  top: 20%;
  left: -100px;
}

.auth-left-orb.orb2 {
  width: 250px;
  height: 250px;
  background: rgba(168, 85, 247, 0.15);
  bottom: 10%;
  right: -80px;
  animation-delay: -10s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(30px, -20px);
  }

  66% {
    transform: translate(-20px, 20px);
  }
}

.auth-left-content {
  position: relative;
  z-index: 2;
}

.auth-left-headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.auth-left-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.auth-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.auth-feature-list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(168, 85, 247, 0.2));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ── Right Section (Form) ───────────────────────── */
.auth-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .auth-form-section {
    min-height: auto;
  }
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.auth-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #a855f7, transparent);
  border-radius: 0 0 4px 4px;
}

@media (max-width: 480px) {
  .auth-form-wrapper {
    padding: 1.75rem;
  }
}

/* ── Form Header ────────────────────────────────── */
.auth-form-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.auth-form-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.auth-form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Alert Styling ─────────────────────────────────── */
.auth-alert {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  align-items: flex-start;
  animation: slideDown 0.3s ease-out;
}

.auth-alert.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: var(--red);
}

.auth-alert.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--green);
}

.alert-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
}

.alert-content strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.alert-content p {
  margin: 0;
  opacity: 0.9;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Auth Form ──────────────────────────────────────– */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color var(--transition);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input:focus~.form-input-icon {
  color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-toggle-btn {
  position: absolute;
  right: 0.875rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.5rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-toggle-btn:hover {
  color: var(--accent);
}

.form-toggle-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Checkbox Styling ──────────────────────────────– */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: var(--bg-hover);
  cursor: pointer;
  accent-color: var(--accent);
  transition: all var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox input[type="checkbox"]:hover {
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form-checkbox:hover {
  color: var(--text-primary);
}

.form-checkbox a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.form-checkbox a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* ── Helper text ───────────────────────────────────– */
.form-group small {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

/* ── reCAPTCHA Wrapper ───────────────────────────────– */
.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.g-recaptcha {
  transform: scale(0.95);
  transform-origin: 0 0;
}

/* ── Form Actions (Remember + Forgot) ────────────────– */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-forgot-link {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition);
  font-weight: 500;
}

.form-forgot-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ── Submit Button ────────────────────────────────────– */
.auth-submit-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px var(--accent-glow);
  margin-bottom: 1.5rem;
  outline: none;
}

.auth-submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-darker), var(--accent-dark));
  box-shadow: 0 8px 24px var(--accent-glow2);
  transform: translateY(-2px);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn i {
  font-size: 0.875rem;
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Sign Up Footer ──────────────────────────────────– */
.auth-signup-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-card);
}

.auth-signup-footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.signup-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.signup-link:hover {
  color: var(--accent-dark);
  gap: 0.625rem;
}

/* ── Form Label Row (for side-by-side labels) ──────– */
.form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-label-row .form-label {
  flex-shrink: 0;
}

/* ── Auth Divider ──────────────────────────────────– */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-card);
}

.auth-divider span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* ── OAuth Button ──────────────────────────────────– */
.auth-oauth-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.auth-oauth-btn:hover {
  background: var(--bg-hover2);
  border-color: var(--border-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-oauth-btn:active {
  transform: translateY(0);
}

.auth-oauth-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Responsive Design ──────────────────────────────– */
@media (max-width: 1023px) {
  .auth-form-section {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-form-wrapper {
    padding: 1.5rem;
  }

  .auth-form-header h1 {
    font-size: 1.5rem;
  }

  .form-input {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
  }

  .recaptcha-wrapper {
    margin: 1rem -1.5rem 1rem -1.5rem;
  }

  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}


/* ── Transactions page ─────────────────────────────── */
.tx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}

@media(min-width:640px) {
  .tx-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tx-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.filter-pill {
  padding: .375rem .75rem;
  font-size: .75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  background: var(--bg-hover);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-pill:hover {
  color: var(--text-primary);
  background: var(--bg-hover2);
}

.filter-pill.active {
  background: rgba(124, 58, 237, .2);
  border-color: rgba(124, 58, 237, .5);
  color: #c4b5fd;
}

.filter-pill.active-gray {
  background: rgba(100, 116, 139, .2);
  border-color: rgba(100, 116, 139, .4);
  color: #f1f5f9;
}

.tx-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  padding: .125rem .5rem;
  border-radius: .375rem;
  font-size: .75rem;
  font-weight: 600;
}

/* ── Overlay Status Badge (Live Indicator) ────────── */
.overlay-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  margin-left: 0.75rem;
  transition: all var(--transition);
}

.overlay-status-badge.offline {
  background: rgba(107, 114, 128, 0.12);
  border-color: rgba(107, 114, 128, 0.3);
  color: var(--text-muted);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.overlay-status-badge.offline .status-dot {
  background: var(--text-muted);
  animation: none;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.status-text {
  font-family: var(--font);
}

/* ── Payment Toggle Switch ───────────────────────── */
.pay-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-card);
}

.pay-card-meta {
  flex: 1;
  min-width: 0;
}

/* Toggle pill */
.pay-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}

.pay-toggle-input {
  display: none;
}

.pay-toggle-track {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 13px;
  transition: background var(--transition), border-color var(--transition);
}

.pay-toggle-input:checked+.pay-toggle-track {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.pay-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.pay-toggle-input:checked+.pay-toggle-track .pay-toggle-thumb {
  transform: translateX(22px);
}

/* ── Form collapse animation ─────────────────────── */
.pay-form-wrap {
  overflow: hidden;
  max-height: 600px;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
  opacity: 1;
  margin-top: 0;
}

.pay-form-wrap.pay-form-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

/* ── Toast Notification ─────────────────── */
.pay-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  max-width: 320px;
}

.pay-toast.pay-toast-show {
  opacity: 1;
  transform: translateY(0);
}

.pay-toast-success {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--green);
}

.pay-toast-error {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--red);
}

.pay-toast-info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #3b82f6;
}

.pay-toast i {
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .pay-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* ── Google Login Button ────────────────────────────– */
.google-login-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.google-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 400px;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #4285F4, #1967D2);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
  outline: none;
  position: relative;
  overflow: hidden;
}

.google-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1967D2, #0D47A1);
  transition: left var(--transition);
  z-index: -1;
}

.google-login-btn:hover {
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.45);
  transform: translateY(-2px);
}

.google-login-btn:hover::before {
  left: 0;
}

.google-login-btn:active {
  transform: translateY(0);
}

.google-login-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-login-btn span {
  flex: 1;
  text-align: center;
}

/* Dark theme adjustments */
[data-theme="dark"] .google-login-btn {
  background: linear-gradient(135deg, #4285F4, #1967D2);
}

/* Light theme adjustments */
[data-theme="light"] .google-login-btn {
  background: linear-gradient(135deg, #4285F4, #1967D2);
  box-shadow: 0 4px 16px rgba(66, 133, 244, 0.25);
}

[data-theme="light"] .google-login-btn:hover {
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.35);
}


/* ════════════════════════════════════════════════
   LANGUAGE SWITCHER STYLES
   ════════════════════════════════════════════════ */

/* ── Language Menu Button ──────────────────────── */
.btn-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lang:hover {
  background: var(--bg-hover2);
  border-color: var(--border-color);
}

.btn-lang span {
  display: none;
}

@media (min-width: 768px) {
  .btn-lang span {
    display: inline;
  }
}

/* ── Language Menu Dropdown ────────────────────– */
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  min-width: 160px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.lang-option:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.lang-option.active {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(168, 85, 247, 0.1));
  border-left: 3px solid var(--accent);
  padding-left: 13px;
  color: var(--accent);
  font-weight: 600;
}

.lang-option span {
  flex: 1;
}

/* ── Flag Icons ────────────────────────────────– */
.lang-option .fi {
  font-size: 18px;
  flex-shrink: 0;
}

/* ── Mobile Language Selector ──────────────────– */
.mobile-lang-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
}

.mobile-lang-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.mobile-lang-btn:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
}

.mobile-lang-btn.active {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(168, 85, 247, 0.1));
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.mobile-lang-btn .fi {
  font-size: 16px;
  flex-shrink: 0;
}

.mobile-lang-btn span {
  flex: 1;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border-card);
  margin: 8px 0;
}

/* ── Language Animation ────────────────────────– */
.animate-fade-in {
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Dropdown Wrapper ──────────────────────────– */
.dropdown-wrap {
  position: relative;
  display: inline-block;
}


/* ════════════════════════════════════════════════
   HOME PAGE STYLES
   ════════════════════════════════════════════════ */

.home-container {
  width: 100%;
  overflow: hidden;
}

/* ── Hero Section ──────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: drift 20s ease-in-out infinite;
  display: none;
}

.hero-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(255, 140, 0, 0.15);
  top: -200px;
  left: -150px;
}

.hero-orb.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, 0.12);
  top: 30%;
  right: -100px;
  animation-delay: -8s;
}

.hero-orb.orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.1);
  bottom: -100px;
  left: 20%;
  animation-delay: -16s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  animation: fadeUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: slideDown 0.6s ease-out;
}

.hero-badge i {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  animation: slideDown 0.7s ease-out 0.1s backwards;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  animation: slideDown 0.7s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideDown 0.7s ease-out 0.3s backwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: slideDown 0.7s ease-out 0.4s backwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-darker), var(--accent-dark));
  box-shadow: 0 12px 32px var(--accent-glow2);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--bg-hover2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Hero Stats ────────────────────────────────– */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  animation: slideDown 0.7s ease-out 0.5s backwards;
}

.stat-item {
  text-align: center;
  animation: fadeUp 0.5s ease-out 0.6s backwards;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  height: 2px;
  background: var(--border-card);
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-divider {
    display: none;
  }
}

/* ── Scroll Indicator ──────────────────────────– */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.scroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  font-size: 1.25rem;
  color: var(--accent);
  transition: all var(--transition);
}

.scroll-indicator:hover .scroll-icon {
  border-color: var(--accent);
  background: var(--accent-glow);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ── Features Section ──────────────────────────– */
.features-section {
  padding: 5rem 1rem;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 0% 0%, rgba(255, 140, 0, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(255, 140, 0, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(168, 85, 247, 0.1));
  color: var(--accent);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.25), rgba(168, 85, 247, 0.2));
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── How It Works Section ──────────────────────– */
.how-it-works-section {
  padding: 5rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(255, 140, 0, 0.05));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
  transition: all 0.3s;
}

.step-card:nth-child(1) {
  animation-delay: 0.1s;
}

.step-card:nth-child(3) {
  animation-delay: 0.3s;
}

.step-card:nth-child(5) {
  animation-delay: 0.5s;
}

.step-card:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-5px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: fadeUp 0.6s ease-out 0.2s backwards;
}

@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-arrow {
    display: none;
  }
}

/* ── Pricing Section ───────────────────────────– */
.pricing-section {
  padding: 5rem 1rem;
  background: var(--bg-primary);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  animation: fadeUp 0.7s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: 0 30px 80px var(--accent-glow);
  transform: translateY(-8px);
}

.pricing-header {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(168, 85, 247, 0.08));
  border-bottom: 1px solid var(--border-card);
  padding: 2rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  align-self: flex-end;
}

.pricing-features {
  list-style: none;
  padding: 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features i {
  color: var(--accent);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: calc(100% - 4rem);
  margin: 0 2rem 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 8px 24px var(--accent-glow);
  outline: none;
}

.pricing-btn:hover {
  background: linear-gradient(135deg, var(--accent-darker), var(--accent-dark));
  box-shadow: 0 12px 32px var(--accent-glow2);
  transform: translateY(-2px);
}

/* ── CTA Section ───────────────────────────────– */
.cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.08), rgba(168, 85, 247, 0.06));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 140, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 0.7s ease-out;
}

.cta-content h2 {
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.125rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 10px 28px var(--accent-glow);
  outline: none;
}

.cta-btn:hover {
  background: linear-gradient(135deg, var(--accent-darker), var(--accent-dark));
  box-shadow: 0 14px 36px var(--accent-glow2);
  transform: translateY(-3px);
}

/* ── Responsive ────────────────────────────────– */
@media (max-width: 768px) {
  .hero-section {
    min-height: 85vh;
    padding: 3rem 1rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .features-section,
  .how-it-works-section,
  .pricing-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pricing-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .hero-stats {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .pricing-header {
    padding: 1.5rem;
  }

  .pricing-features {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-btn {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════
   DONATION ALERT WIDGET STYLES
   ════════════════════════════════════════════════ */

/* ── Donation Alert Notification ───────────────– */
.donation-alert {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 100%;
  max-width: 380px;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 40, 30, 0.9) 100%);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(400px);
  z-index: 10000;
  font-family: var(--font);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #FFFFFF;
}

.donation-alert.show {
  opacity: 1;
  transform: translateY(0);
}

.donation-alert.hide {
  opacity: 0;
  transform: translateY(400px);
  transition: all 0.4s ease;
}

/* Donation Alert Header */
.donation-alert-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.donation-alert-header::before {
  content: '💚';
  font-size: 1.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.donation-alert-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.donation-alert-donor {
  font-size: 1rem;
  color: #FFD700;
  font-weight: 600;
}

/* Donation Amount Box */
.donation-amount-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
}

.donation-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.donation-amount-label {
  font-size: 0.85rem;
  color: #B0B0B0;
  margin-top: 0.25rem;
}

/* Donation Message */
.donation-message {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #D0D0D0;
  text-align: center;
  word-break: break-word;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 215, 0, 0.4);
}

/* Donation Alert Footer */
.donation-alert-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  font-size: 0.85rem;
  color: #808080;
}

.donation-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ── Responsive ────────────────────────────────– */
@media (max-width: 768px) {
  .donation-alert {
    max-width: calc(100% - 2rem);
    right: 1rem;
    bottom: 1rem;
  }

  .donation-amount {
    font-size: 1.75rem;
  }

  .donation-alert-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .donation-alert {
    max-width: calc(100% - 1rem);
    right: 0.5rem;
    left: 0.5rem;
    bottom: 1rem;
    padding: 1rem;
  }

  .donation-alert-header::before {
    font-size: 1.25rem;
  }

  .donation-amount {
    font-size: 1.5rem;
  }

  .donation-message {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .donation-alert-footer {
    font-size: 0.8rem;
  }
}

/* ════════════════════════════════════════════════
   DONATION ALERT PREVIEW STYLES
   ════════════════════════════════════════════════ */

/* Preview Section */
.preview-section {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-lg);
}

.preview-header {
  margin-bottom: 1.5rem;
}

.preview-header h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.preview-header p {
  margin: 0;
  font-size: 0.875rem;
}

/* Preview Container */
.preview-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.preview-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(255, 215, 0, 0.1), transparent 70%);
  pointer-events: none;
}

/* Preview Demo */
.preview-demo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}

.donation-alert.show-preview {
  position: relative !important;
  bottom: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  display: block !important;
}

/* Preview Info */
.preview-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
}

.preview-note {
  margin: 0;
  font-size: 0.875rem;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preview-note i {
  flex-shrink: 0;
}

.preview-note span {
  font-weight: 600;
  color: #1e40af;
}

@media (max-width: 768px) {
  .preview-section {
    padding: 1.5rem;
  }

  .preview-container {
    min-height: 250px;
    padding: 1.5rem;
  }

  .preview-demo {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .preview-section {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .preview-container {
    min-height: 200px;
    padding: 1rem;
  }

  .preview-note {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
}

/* ════════════════════════════════════════════════════
   EMAIL ACTIVATION PAGE STYLES (.ea-*)
   Modern email verification & result page
   ════════════════════════════════════════════════════ */

/* ── Container & Wrapper ────────────────────────── */
.ea-container {
  position: relative;
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Background Blur Orbs */
.ea-container::before,
.ea-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.15;
}

.ea-container::before {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: var(--accent);
}

.ea-container::after {
  width: 350px;
  height: 350px;
  bottom: -50px;
  right: -50px;
  background: #a855f7;
}

/* ── Result Wrapper (for token verification pages) ── */
.ea-result-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
}

/* ── Result Card ────────────────────────────────– */
.ea-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ea-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #a855f7);
}

/* ── Result Glow Background ─────────────────────– */
.ea-result-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.2;
}

.ea-glow-green {
  background: var(--green);
}

.ea-glow-red {
  background: var(--red);
}

/* ── Result Icon ────────────────────────────────– */
.ea-result-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ea-icon-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border: 2px solid rgba(34, 197, 94, 0.4);
  color: var(--green);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.ea-icon-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
  border: 2px solid rgba(239, 68, 68, 0.4);
  color: var(--red);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

@keyframes popIn {
  0% {
    transform: scale(0.5) rotate(-10deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.1) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

/* ── Result Content ─────────────────────────────– */
.ea-result-content {
  position: relative;
  z-index: 1;
}

.ea-result-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.ea-result-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 420px;
}

/* ── Status Pill ────────────────────────────────– */
.ea-status-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid;
  margin: 0;
}

.ea-status-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.ea-status-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red);
}

.ea-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Result Action Buttons ──────────────────────– */
.ea-result-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.875rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.ea-btn-primary,
.ea-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex: 1;
  min-width: 160px;
}

.ea-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.ea-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.ea-btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ea-btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ── Info/Help Box ──────────────────────────────– */
.ea-info-box,
.ea-help-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
}

.ea-info-box i,
.ea-help-box i {
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}

.ea-info-box p,
.ea-help-box p {
  margin: 0;
}

/* ── Main Wrapper (2-column layout) ─────────────– */
.ea-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .ea-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ── Left Section (Info/Features) ───────────────– */
.ea-left-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (max-width: 960px) {
  .ea-left-section {
    display: none;
  }
}

.ea-left-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ea-left-icon {
  font-size: 3.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  line-height: 1;
}

.ea-left-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ea-left-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* Features List */
.ea-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ea-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.ea-feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Right Section (Form) ───────────────────────– */
.ea-right-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

/* ── Form Card ──────────────────────────────────– */
.ea-form-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

/* Card Top Accent Border */
.ea-card-accent-top {
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #a855f7, transparent);
  border-radius: 0 0 4px 4px;
}

/* ── User Display Section ───────────────────────– */
.ea-user-display {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.ea-user-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 0;
}

.ea-user-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.ea-user-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ea-user-item-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.ea-user-item-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Vertical Divider */
.ea-divider-vertical {
  width: 1px;
  height: 48px;
  background: var(--border-color);
  flex-shrink: 0;
}

/* ── Message Alert Area ─────────────────────────– */
.ea-message-area {
  min-height: 0;
  margin-bottom: 0.5rem;
}

.ea-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  animation: slideDown 0.3s ease-out;
}

.ea-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.ea-alert-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--red);
}

.ea-alert i {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ea-alert-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ea-alert-content strong {
  font-weight: 700;
}

.ea-alert-content p {
  margin: 0;
  opacity: 0.9;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Send Button ────────────────────────────────– */
.ea-btn-send {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  border: none;
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--accent-glow);
  outline: none;
}

.ea-btn-send:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.ea-btn-send:active {
  transform: translateY(0);
}

.ea-btn-send:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.ea-btn-send.ea-btn-loading {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-dark));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ── Countdown Timer ────────────────────────────– */
.ea-countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}

.ea-countdown-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-glow), rgba(168, 85, 247, 0.1));
  border: 2px solid rgba(0, 102, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

.ea-countdown-circle span {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.ea-countdown-circle small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ea-countdown-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
  margin: 0;
  min-width: 160px;
}

/* ── Help Section ───────────────────────────────– */
.ea-help-section {
  padding: 1.25rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-top: 1.25rem;
}

.ea-help-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.875rem 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ea-help-section-title i {
  color: var(--accent);
  font-size: 0.95rem;
}

.ea-help-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ea-help-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ea-help-item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ea-help-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.ea-help-item-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.ea-help-item-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

/* ── Responsive Email Activation ────────────────– */
@media (max-width: 640px) {
  .ea-container {
    padding: 1.5rem 1rem;
    min-height: calc(100vh - 80px);
  }

  .ea-result-card {
    padding: 2rem 1.5rem;
  }

  .ea-result-title {
    font-size: 1.5rem;
  }

  .ea-result-desc {
    font-size: 0.85rem;
  }

  .ea-result-actions {
    flex-direction: column;
  }

  .ea-btn-primary,
  .ea-btn-secondary {
    width: 100%;
    min-width: auto;
  }

  .ea-form-card {
    padding: 1.75rem 1.25rem;
  }

  .ea-user-display {
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
  }

  .ea-divider-vertical {
    display: none;
  }

  .ea-user-item {
    padding: 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
  }

  .ea-countdown-container {
    gap: 1rem;
  }

  .ea-countdown-circle {
    width: 70px;
    height: 70px;
  }

  .ea-countdown-circle span {
    font-size: 1.5rem;
  }

  .ea-countdown-text {
    font-size: 0.8rem;
    min-width: 140px;
  }

  .ea-help-section {
    padding: 1rem;
  }

  .ea-left-section {
    display: flex;
  }

  .ea-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ea-left-title {
    font-size: 1.75rem;
  }

  .ea-left-desc {
    font-size: 0.9rem;
  }

  .ea-features-list li {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .ea-result-card {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .ea-result-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .ea-result-title {
    font-size: 1.35rem;
  }

  .ea-btn-send {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .ea-help-section {
    padding: 0.75rem;
  }

  .ea-help-item-num {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }
}

/* ═══════════════════════════════════════════════
   Account Management Page (account.php & subtabs)
   Modern, Clean, Minimalist & Responsive UI
   ═══════════════════════════════════════════════ */

/* Container & Layout */
.account-page-wrap {
  width: 100%;
}

.ac-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3.5rem;
}

/* Hero & Profile Header Card */
.ac-hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ac-hero-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .ac-hero-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.ac-cover-banner {
  height: 150px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-color: var(--bg-tertiary);
}

.ac-cover-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(15, 15, 26, 0.75) 100%);
}

[data-theme="light"] .ac-cover-banner::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(243, 244, 246, 0.75) 100%);
}

.ac-cover-placeholder {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, rgba(88, 101, 242, 0.25) 50%, rgba(15, 15, 26, 0.95) 100%);
}

[data-theme="light"] .ac-cover-placeholder {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.2) 0%, rgba(88, 101, 242, 0.15) 50%, rgba(243, 244, 246, 0.95) 100%);
}

/* Profile Main Body */
.ac-profile-body {
  padding: 0 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.ac-profile-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: -45px;
  flex-wrap: wrap;
}

.ac-profile-avatar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.ac-avatar-box {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.ac-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ac-avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border: 2.5px solid var(--bg-card);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.ac-profile-names {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.25rem;
}

.ac-profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ac-profile-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.ac-user-id-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-hover2);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.ac-profile-handle {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Action Buttons */
.ac-profile-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  z-index: 2;
}

.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.58rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  font-family: var(--font);
}

.ac-btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.ac-btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 20px var(--accent-glow2);
  transform: translateY(-1px);
  color: #ffffff;
}

.ac-btn-secondary {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.ac-btn-secondary:hover {
  background: var(--bg-hover2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.ac-btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.ac-btn-save:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 20px var(--accent-glow2);
  transform: translateY(-1px);
  color: #ffffff;
}

.ac-btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
}

.ac-btn-cancel:hover {
  background: var(--red-dim);
  color: var(--red);
  border-color: var(--red);
}

/* Profile Meta Bar */
.ac-profile-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-card);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ac-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ac-meta-item i {
  color: var(--accent);
  opacity: 0.9;
}

.ac-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.ac-badge-success {
  background: rgba(74, 222, 128, 0.12);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.ac-badge-warning {
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(250, 204, 21, 0.25);
  transition: var(--transition);
}

.ac-badge-warning:hover {
  background: rgba(250, 204, 21, 0.22);
}

.ac-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.4rem;
}

.ac-badge-inline.success {
  background: rgba(74, 222, 128, 0.12);
  color: var(--green);
}

.ac-badge-inline.warning {
  background: rgba(250, 204, 21, 0.12);
  color: var(--yellow);
}

/* Tabs Navigation */
.ac-tabs-section {
  margin-bottom: 1.5rem;
}

.ac-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ac-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.ac-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
}

.ac-tab-link i {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: var(--transition);
}

.ac-tab-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.ac-tab-link.active {
  color: #ffffff;
  background: var(--accent);
  font-weight: 600;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.ac-tab-link.active i {
  opacity: 1;
}

/* Content Area & Cards */
.ac-content-section {
  width: 100%;
}

.ac-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ac-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .ac-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

.ac-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ac-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.ac-card-title i {
  color: var(--accent);
}

.ac-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.ac-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Form Styles */
.ac-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ac-field-group,
.ac-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ac-label,
.ac-form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.ac-label i,
.ac-form-label i {
  margin-right: 0.35rem;
}

.ac-label-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.ac-req {
  color: var(--red);
  margin-left: 2px;
}

.ac-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ac-input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color var(--transition);
}

.ac-input,
.ac-form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.ac-input-wrapper .ac-input {
  padding-left: 2.4rem;
}

.ac-input-wrapper.readonly .ac-input {
  padding-right: 2.4rem;
  opacity: 0.75;
  cursor: not-allowed;
  background: var(--bg-tertiary);
}

.ac-input-lock {
  position: absolute;
  right: 0.9rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.ac-input:focus,
.ac-form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}

.ac-input:focus~.ac-input-icon {
  color: var(--accent);
}

.ac-field-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.ac-field-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.ac-code-pill {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--accent);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: monospace;
}

.ac-link-action {
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.ac-link-action:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.ac-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
}

/* SweetAlert customization */
.ac-swal-popup {
  font-family: var(--font) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-card) !important;
}

/* Password Strength Bar */
.ac-pwd-strength-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.ac-pwd-bar-track {
  width: 100%;
  height: 5px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ac-pwd-bar {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.ac-pwd-bar.weak {
  background: var(--red);
}

.ac-pwd-bar.medium {
  background: var(--yellow);
}

.ac-pwd-bar.strong {
  background: var(--green);
}

/* Responsive Styles for Account Page */
@media (max-width: 768px) {
  .ac-container {
    padding: 1rem 0.75rem 2.5rem;
  }

  .ac-cover-banner {
    height: 120px;
  }

  .ac-profile-body {
    padding: 0 1.25rem 1.25rem;
  }

  .ac-profile-top-row {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -40px;
    gap: 1rem;
  }

  .ac-profile-avatar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .ac-avatar-box {
    width: 80px;
    height: 80px;
  }

  .ac-profile-actions {
    width: 100%;
  }

  .ac-profile-actions .ac-btn {
    flex: 1;
  }

  .ac-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ac-card {
    padding: 1.25rem;
  }

  .ac-profile-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .ac-tab-link {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .ac-tab-link i {
    font-size: 0.85rem;
  }

  .ac-profile-name {
    font-size: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════
   Authentication Pages (Login / Register / Verify)
   Classes: .auth-*, .login-*, .register-*
   Modern, Clean, Minimalist & Responsive UI
   ═══════════════════════════════════════════════ */

/* Auth Container & Card */
.auth-container,
.login-container,
.register-container {
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto 3.5rem;
  padding: 1.5rem 1rem 3.5rem;
  display: flex;
  justify-content: center;
}

.auth-card,
.login-card,
.register-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: none;
  padding: 2.25rem 2rem;
  transition: border-color var(--transition);
}

.auth-card:hover,
.login-card:hover,
.register-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .auth-card:hover,
[data-theme="light"] .login-card:hover,
[data-theme="light"] .register-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}

/* Auth Header */
.auth-header,
.login-header,
.register-header {
  text-align: center;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.auth-logo-badge,
.login-logo-badge,
.register-logo-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  box-shadow: none;
}

.auth-title,
.login-title,
.register-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.auth-subtitle,
.login-subtitle,
.register-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Auth Alerts */
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.auth-alert.alert-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--red);
}

.auth-alert.alert-error i {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.auth-alert.alert-success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--green);
}

.auth-alert.alert-success i {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Auth Form */
.auth-form,
.login-form,
.register-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.auth-field,
.login-field,
.register-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.auth-label,
.login-label,
.register-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-forgot-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.auth-forgot-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-field-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: color var(--transition);
}

.auth-input,
.login-input,
.register-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.auth-input:focus,
.login-input:focus,
.register-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}

.auth-input-wrapper:focus-within .auth-field-icon,
.auth-input:focus~.auth-field-icon {
  color: var(--accent);
}

.auth-toggle-pw {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  font-size: 0.95rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-toggle-pw:hover {
  color: var(--text-primary);
}

/* reCAPTCHA wrapper */
.auth-recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0;
  width: 100%;
  overflow: hidden;
}

/* Remember / Agree Row */
.auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -0.2rem 0 0.2rem;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.auth-checkbox-label a {
  color: var(--accent);
  text-decoration: none;
}

.auth-checkbox-label a:hover {
  text-decoration: underline;
}

.auth-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: 4px;
}

/* Submit Button */
.auth-submit-btn,
.login-submit-btn,
.register-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: none;
  transition: all var(--transition);
  margin-top: 0.25rem;
}

.auth-submit-btn:hover,
.login-submit-btn:hover,
.register-submit-btn:hover {
  background: var(--accent-dark);
  box-shadow: none;
  transform: translateY(-1px);
  color: #ffffff;
}

.auth-submit-btn:active,
.login-submit-btn:active,
.register-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn i,
.login-submit-btn i,
.register-submit-btn i {
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.auth-submit-btn:hover i,
.login-submit-btn:hover i,
.register-submit-btn:hover i {
  transform: translateX(3px);
}

/* Divider & Social OAuth */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  padding: 0 0.85rem;
}

.auth-oauth-btn,
.login-oauth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition);
}

.auth-oauth-btn:hover,
.login-oauth-btn:hover {
  background: var(--bg-hover2);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: var(--text-primary);
}

[data-theme="light"] .auth-oauth-btn:hover,
[data-theme="light"] .login-oauth-btn:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.auth-oauth-btn svg,
.login-oauth-btn svg {
  flex-shrink: 0;
}

/* Switch Link Footer */
.auth-footer,
.login-footer,
.register-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-footer p,
.login-footer p,
.register-footer p {
  margin: 0;
}

.auth-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-left: 0.25rem;
}

.auth-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {

  .auth-card,
  .login-card,
  .register-card {
    padding: 1.75rem 1.25rem;
  }

  .auth-title,
  .login-title,
  .register-title {
    font-size: 1.45rem;
  }
}

/* ════════════════════════════════════════════════════════════════
     MINIMALIST MODERN STYLESHEET (NO CLUTTER / CLEAN / RESPONSIVE)
     ════════════════════════════════════════════════════════════════ */

.widgets-page-wrap {
  width: 100%;
  min-height: calc(100vh - var(--navbar-h, 64px));
  background: var(--bg-primary, #0f0f1a);
  color: var(--text-primary, #f3f4f6);
  padding: 1.5rem 0 3.5rem;
}

.wg-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ─── Page Header ─────────────────────────────────────────────── */
.wg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  flex-wrap: wrap;
}

.wg-header-info {
  flex: 1;
  min-width: 260px;
}

.wg-header-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wg-header-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: var(--bg-card, #1a1a2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.wg-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary, #ffffff);
  margin: 0 0 0.2rem 0;
  line-height: 1.2;
}

.wg-page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
  line-height: 1.4;
}

.wg-header-badge-wrap {
  display: flex;
  align-items: center;
}

.wg-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-card, #1a1a2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #d1d5db);
}

.wg-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ─── Navigation Tabs ─────────────────────────────────────────── */
.wg-nav-tabs-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.wg-nav-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.wg-nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  min-width: 600px;
}

.wg-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.07));
  border-radius: 12px;
  color: var(--text-muted, #9ca3af);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.wg-tab-btn:hover {
  background: var(--bg-secondary, #222336);
  border-color: var(--border-color, rgba(255, 255, 255, 0.15));
  color: var(--text-primary, #ffffff);
}

.wg-tab-btn.active {
  background: var(--bg-card, #1e1f33);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .wg-tab-btn.active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wg-tab-btn-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary, #d1d5db);
  transition: all 0.15s ease;
}

.wg-tab-btn.active .wg-tab-btn-icon {
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #0f0f1a);
}

[data-theme="light"] .wg-tab-btn.active .wg-tab-btn-icon {
  background: #111827;
  color: #ffffff;
}

.wg-tab-btn-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wg-tab-btn-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wg-tab-btn-desc {
  font-size: 0.72rem;
  color: var(--text-faint, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wg-tab-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #9ca3af);
}

.wg-tab-btn.active .wg-tab-badge {
  color: var(--text-primary, #ffffff);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ─── Tab Panes ───────────────────────────────────────────────── */
.wg-tab-pane {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: wgFadeIn 0.2s ease-in-out;
}

.wg-tab-pane.active {
  display: flex;
}

@keyframes wgFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Clean URL & Token Box ───────────────────────────────────── */
.wg-url-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wg-url-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wg-url-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wg-url-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.wg-url-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.wg-url-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  margin: 0.15rem 0 0;
}

.wg-url-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wg-tag-resolution,
.wg-tag-fps {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  color: var(--text-muted, #9ca3af);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wg-url-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wg-token-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 10px;
  padding: 0.25rem 0.35rem;
  position: relative;
  transition: border-color 0.15s ease;
}

.wg-token-input-group:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
}

.wg-token-prefix {
  padding: 0 0.75rem;
  color: var(--text-faint, #6b7280);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.wg-token-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text-primary, #ffffff);
  padding: 0.5rem 0.25rem;
  letter-spacing: 0.5px;
  min-width: 0;
}

.wg-token-btn-view,
.wg-btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted, #9ca3af);
  transition: all 0.15s ease;
}

.wg-token-btn-view:hover {
  color: var(--text-primary, #ffffff);
  background: var(--bg-hover, rgba(255, 255, 255, 0.05));
}

.wg-btn-copy {
  background: var(--bg-card, #222336);
  color: var(--text-primary, #ffffff);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.wg-btn-copy:hover {
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #0f0f1a);
  border-color: transparent;
}

[data-theme="light"] .wg-btn-copy {
  background: #e5e7eb;
  color: #111827;
}

[data-theme="light"] .wg-btn-copy:hover {
  background: #111827;
  color: #ffffff;
}

.wg-url-actions-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wg-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #d1d5db);
  transition: all 0.15s ease;
}

.wg-action-btn:hover {
  background: var(--bg-secondary, #222336);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary, #ffffff);
}

/* ─── Split Layout (Preview + Controls) ───────────────────────── */
.wg-layout-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .wg-layout-split {
    grid-template-columns: 1fr;
  }
}

.wg-preview-column {
  position: sticky;
  top: 80px;
  z-index: 10;
}

@media (max-width: 1024px) {
  .wg-preview-column {
    position: static;
  }
}

.wg-controls-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

/* ─── Cards ───────────────────────────────────────────────────── */
.wg-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.wg-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.01);
}

.wg-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wg-card-title-wrap i {
  color: var(--text-muted, #9ca3af);
  font-size: 0.95rem;
}

.wg-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.wg-card-body {
  padding: 1.25rem;
}

.wg-card-body.p-0 {
  padding: 0;
}

/* ─── Global Sizing Fix for Widget Page ──────────────────── */
.wg-layout-split,
.wg-preview-column,
.wg-controls-column,
.wg-card,
.wg-card-body,
.wg-url-card,
.wg-stage-wrapper {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* ─── Style Selector Grid ─────────────────────────────────── */
.wg-style-selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.wg-style-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.45);
  border: 1.5px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.wg-style-tile input[type="radio"] {
  display: none;
}

.wg-style-tile:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.wg-style-tile.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.12));
  border-color: #8b5cf6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
}

.wg-style-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.style-icon-card {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.style-icon-text {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.style-icon-banner {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.wg-style-tile-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.wg-style-tile-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin-bottom: 2px;
  word-break: break-word;
}

.wg-style-tile-desc {
  font-size: 12px;
  color: var(--text-muted, #9ca3af);
  line-height: 1.35;
  word-break: break-word;
}

.wg-style-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.wg-style-tile.active .wg-style-check {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* ─── Preview Card Header & Tools ─────────────────────────── */
.wg-preview-card .wg-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wg-preview-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.wg-tool-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #9ca3af);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wg-tool-btn:hover {
  color: var(--text-primary, #ffffff);
  border-color: rgba(255, 255, 255, 0.2);
}

.wg-tool-btn.active {
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #0f0f1a);
  border-color: transparent;
}

[data-theme="light"] .wg-tool-btn.active {
  background: #111827;
  color: #ffffff;
}

/* ─── Live Preview Container Styles ───────────────────────── */
.wg-stage-wrapper {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.wg-stage-wrapper.bg-dark {
  background: #090a0f;
}

.wg-stage-wrapper.bg-light {
  background: #f1f5f9;
}

.wg-stage-wrapper.bg-transparent {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: #0b0d14;
}

.wg-stage-wrapper.bg-game {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?w=800&fit=crop');
  background-size: cover;
  background-position: center;
}

/* Live Alert Box Base */
#liveAlertBox {
  transition: all 0.2s ease;
  will-change: transform, opacity;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* Live Preview: STYLE 1 (Card - Match Reference Image) */
#liveAlertBox.style-card {
  background: var(--mock-bg-color, #16181c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mock-border-radius, 24px);
  padding: 16px 20px;
  width: 100%;
  max-width: 480px;
  min-width: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  text-align: left;
  box-sizing: border-box;
}

#liveAlertBox.style-card .live-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#liveAlertBox.style-card .live-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#liveAlertBox.style-card .live-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

#liveAlertBox.style-card .live-card-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #25282c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 4px;
}

#liveAlertBox.style-card .live-card-avatar-box svg,
#liveAlertBox.style-card .live-card-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#liveAlertBox.style-card .live-card-user-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 2px 0;
}

#liveAlertBox.style-card .live-donor-name {
  font-size: var(--mock-donor-size, 20px);
  color: var(--mock-donor-color, #FFFFFF);
  font-weight: var(--mock-font-weight, 800);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 2px;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: var(--mock-border-width, 3px) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000),
    0 3px 8px rgba(0, 0, 0, 0.6);
}

#liveAlertBox.style-card .live-action-text {
  font-size: 12px;
  color: var(--mock-text-color, #9ca3af);
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 2px;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--mock-content-border-width, 2px) * 0.5) var(--mock-border-color, #000000);
  text-shadow:
    -0.5px -0.5px 0 var(--mock-border-color, #000000),
    0.5px -0.5px 0 var(--mock-border-color, #000000),
    -0.5px 0.5px 0 var(--mock-border-color, #000000),
    0.5px 0.5px 0 var(--mock-border-color, #000000);
}

#liveAlertBox.style-card .live-amount-pill {
  background: rgba(0, 200, 115, 0.12);
  border: 1.5px solid var(--mock-amount-color, #00c873);
  border-radius: 999px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mock-amount-color, #00e682);
  font-weight: 800;
  font-size: calc(var(--mock-donor-size, 20px) * 0.95);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 200, 115, 0.2);
  white-space: nowrap;
}

#liveAlertBox.style-card .live-amount-text {
  display: inline-block;
  padding: 2px 2px;
  line-height: 1.25;
  paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--mock-content-border-width, 2px) * 0.6) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000);
}

#liveAlertBox.style-card .live-card-message-bubble {
  background: #25282c;
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--mock-text-color, #FFFFFF);
  font-size: var(--mock-content-size, 15px);
  font-weight: 700;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  paint-order: stroke fill;
  -webkit-text-stroke: var(--mock-content-border-width, 2px) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000),
    0 2px 5px rgba(0, 0, 0, 0.6);
}

/* Live Preview: STYLE 2 (Text Only) */
#liveAlertBox.style-text {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  padding: 12px 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#liveAlertBox.style-text .live-text-header {
  font-size: var(--mock-donor-size, 28px);
  font-weight: var(--mock-font-weight, bold);
  line-height: 1.4;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
  max-width: 100%;
  word-break: break-word;
  padding: 4px 0;
}

#liveAlertBox.style-text .live-text-header span {
  display: inline-block;
  padding: 2px 0;
  paint-order: stroke fill;
  -webkit-text-stroke: var(--mock-border-width, 3px) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000),
    0 4px 10px rgba(0, 0, 0, 0.6);
}

#liveAlertBox.style-text .live-donor-name {
  color: var(--mock-donor-color, #FFD700);
}

#liveAlertBox.style-text .live-action-text {
  color: var(--mock-text-color, #FFFFFF);
}

#liveAlertBox.style-text .live-amount-text {
  color: var(--mock-amount-color, #4ADE80);
}

#liveAlertBox.style-text .live-currency-text {
  color: var(--mock-text-color, #FFFFFF);
}

#liveAlertBox.style-text .live-message {
  font-size: var(--mock-content-size, 17px);
  font-weight: var(--mock-font-weight, bold);
  color: var(--mock-text-color, #FFFFFF);
  line-height: 1.5;
  paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--mock-border-width, 3px) * 0.7) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000);
  margin-top: 8px;
  padding: 4px 6px;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* Live Preview: STYLE 3 (TV Banner) */
#liveAlertBox.style-banner {
  background: var(--mock-bg-color, #1e2024) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--mock-border-radius, 22px) !important;
  padding: 16px 20px 18px 20px !important;
  width: 100% !important;
  max-width: 500px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.6) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

#liveAlertBox.style-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 62%;
  height: 4px;
  background: var(--mock-amount-color, #00d67d);
  border-radius: 0 4px 0 var(--mock-border-radius, 22px);
  box-shadow: 0 0 10px var(--mock-amount-color, #00d67d);
}

#liveAlertBox.style-banner .live-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

#liveAlertBox.style-banner .live-banner-avatar-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #14171a;
  border: 2.5px solid var(--mock-amount-color, #00d67d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 214, 125, 0.35);
  padding: 4px;
}

#liveAlertBox.style-banner .live-banner-avatar-box svg,
#liveAlertBox.style-banner .live-banner-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

#liveAlertBox.style-banner .live-banner-text-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 2px 0;
}

#liveAlertBox.style-banner .live-banner-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--mock-amount-color, #00d67d);
  line-height: 1.35;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  padding: 2px 2px;
  paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--mock-content-border-width, 2px) * 0.5) var(--mock-border-color, #000000);
  text-shadow:
    -0.5px -0.5px 0 var(--mock-border-color, #000000),
    0.5px -0.5px 0 var(--mock-border-color, #000000),
    -0.5px 0.5px 0 var(--mock-border-color, #000000),
    0.5px 0.5px 0 var(--mock-border-color, #000000);
}

#liveAlertBox.style-banner .live-donor-name {
  font-size: var(--mock-donor-size, 20px);
  color: var(--mock-donor-color, #FFFFFF);
  font-weight: var(--mock-font-weight, 800);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 3px 2px;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: var(--mock-border-width, 3px) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000),
    0 3px 8px rgba(0, 0, 0, 0.6);
}

#liveAlertBox.style-banner .live-message {
  font-size: var(--mock-content-size, 14px);
  font-weight: 700;
  color: var(--mock-text-color, #FFFFFF);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.95;
  padding: 3px 2px;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: var(--mock-content-border-width, 2px) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000),
    0 2px 5px rgba(0, 0, 0, 0.6);
}

#liveAlertBox.style-banner .live-banner-amount-btn {
  background: var(--mock-amount-color, #00d67d);
  color: #ffffff;
  font-weight: 900;
  font-size: calc(var(--mock-donor-size, 20px) * 0.95);
  border-radius: 14px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 214, 125, 0.4);
  letter-spacing: 0.5px;
  line-height: 1.25;
  white-space: nowrap;
}

#liveAlertBox.style-banner .live-banner-amount-btn span {
  display: inline-block;
  padding: 2px 2px;
  paint-order: stroke fill;
  -webkit-text-stroke: calc(var(--mock-content-border-width, 2px) * 0.6) var(--mock-border-color, #000000);
  text-shadow:
    -1px -1px 0 var(--mock-border-color, #000000),
    1px -1px 0 var(--mock-border-color, #000000),
    -1px 1px 0 var(--mock-border-color, #000000),
    1px 1px 0 var(--mock-border-color, #000000);
}

.animate-pop {
  animation: wgAlertPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wgAlertPop {
  0% {
    transform: scale(0.7) translateY(15px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.wg-preview-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  font-size: 0.75rem;
  color: var(--text-faint, #6b7280);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.01);
}

/* Sound Upload Styles */
.wg-sound-upload-container {
  transition: opacity 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.wg-sound-upload-box {
  border: 2px dashed rgba(139, 92, 246, 0.4);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  background: rgba(139, 92, 246, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  width: 100%;
}

.wg-sound-upload-box:hover {
  border-color: rgba(139, 92, 246, 0.7);
  background: rgba(139, 92, 246, 0.1);
}

.wg-sound-upload-box.dragover {
  border-color: rgba(139, 92, 246, 1);
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.wg-sound-upload-box i {
  font-size: 26px;
  color: #a78bfa;
  margin-bottom: 8px;
  display: block;
}

.wg-upload-text {
  color: #e2e8f0;
  font-size: 13.5px;
  margin: 6px 0;
  word-break: break-word;
}

.wg-sound-upload-box small {
  color: #94a3b8;
  font-size: 11.5px;
  display: block;
  word-break: break-word;
}

.wg-upload-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  margin-top: 12px;
  color: #a78bfa;
  box-sizing: border-box;
}

.wg-progress-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-top-color: #a78bfa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wg-sound-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  word-break: break-word;
  box-sizing: border-box;
}

.wg-sound-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.wg-sound-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.wg-sound-status.info {
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.wg-sound-status button {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

/* Plan Restrictions Styles */
.wg-restriction-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
  color: #fca5a5;
  font-size: 12.5px;
  font-weight: 500;
  box-sizing: border-box;
  word-break: break-word;
}

.wg-plan-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ─── Form Controls & Fields ──────────────────────────────────── */
.wg-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.wg-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wg-field-toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.04));
}

.wg-field-toggle:last-child {
  border-bottom: none;
}

.wg-field-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wg-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wg-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary, #d1d5db);
}

.wg-hint {
  font-size: 0.73rem;
  color: var(--text-faint, #6b7280);
}

.wg-value-badge {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, monospace;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #ffffff);
}

/* Sliders */
.wg-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.wg-slider-icon {
  font-size: 0.8rem;
  color: var(--text-faint, #6b7280);
}

.wg-slider-tag {
  font-size: 0.7rem;
  color: var(--text-faint, #6b7280);
}

.wg-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 9999px;
  background: var(--bg-primary, #0f0f1a);
  outline: none;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
}

.wg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary, #ffffff);
  cursor: pointer;
  border: 2px solid var(--bg-card, #181926);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
}

.wg-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.wg-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary, #ffffff);
  cursor: pointer;
  border: 2px solid var(--bg-card, #181926);
}

/* Custom Select */
.wg-select-wrap {
  position: relative;
  width: 100%;
}

.wg-select {
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.wg-select:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.wg-select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--text-faint, #6b7280);
  pointer-events: none;
}

/* Toggle Switch */
.wg-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.wg-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.wg-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  transition: 0.2s;
  border-radius: 9999px;
}

.wg-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted, #9ca3af);
  transition: 0.2s;
  border-radius: 50%;
}

.wg-switch input:checked+.wg-switch-slider {
  background: var(--text-primary, #ffffff);
  border-color: var(--text-primary, #ffffff);
}

[data-theme="light"] .wg-switch input:checked+.wg-switch-slider {
  background: #111827;
  border-color: #111827;
}

.wg-switch input:checked+.wg-switch-slider:before {
  transform: translateX(18px);
  background: var(--bg-primary, #0f0f1a);
}

[data-theme="light"] .wg-switch input:checked+.wg-switch-slider:before {
  background: #ffffff;
}

/* Color Grid */
.wg-color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 480px) {
  .wg-color-grid {
    grid-template-columns: 1fr;
  }
}

.wg-color-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wg-color-picker-box {
  display: flex;
  align-items: center;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  gap: 0.5rem;
}

.wg-native-color {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.wg-native-color::-webkit-color-swatch-wrapper {
  padding: 0;
}

.wg-native-color::-webkit-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.wg-color-hex-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary, #ffffff);
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ─── Template Inputs (Name & Amount Message) ────────────────── */
.wg-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .wg-template-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.wg-template-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.wg-pill-input-wrap {
  width: 100%;
  position: relative;
}

.wg-pill-input {
  width: 100%;
  height: 48px;
  padding: 0 1.25rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px solid var(--border-color, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.wg-pill-input:hover {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(15, 23, 42, 0.7);
}

.wg-pill-input:focus {
  border-color: #8b5cf6;
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.wg-var-hint-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.wg-var-label {
  color: var(--text-muted, #9ca3af);
  font-size: 0.78rem;
}

.wg-var-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-secondary, #d1d5db);
  font-size: 0.78rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}

.wg-var-pill:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.wg-var-pill:active {
  transform: translateY(0);
}

.wg-var-tag {
  font-weight: 700;
  color: #a78bfa;
  font-family: ui-monospace, monospace;
}

.wg-divider {
  height: 1px;
  background: var(--border-color, rgba(255, 255, 255, 0.06));
  margin: 1.25rem 0;
}

/* ─── Save Action Bar ─────────────────────────────────────────── */
.wg-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}

.wg-save-bar-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted, #9ca3af);
}

.wg-save-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--accent-glow, rgba(255, 140, 0, 0.25));
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px var(--accent-glow2, rgba(255, 140, 0, 0.40));
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-secondary, #d1d5db);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: var(--bg-secondary, #222336);
  color: var(--text-primary, #ffffff);
}

/* ─── Goal Tab Components ─────────────────────────────────────── */
.wg-goal-hero-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wg-goal-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wg-goal-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary, #d1d5db);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.wg-goal-percent-text {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-primary, #ffffff);
}

.wg-goal-progress-track {
  width: 100%;
  height: 10px;
  background: var(--bg-primary, #0f0f1a);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  position: relative;
}

.wg-goal-progress-fill {
  height: 100%;
  background: var(--text-primary, #ffffff);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .wg-goal-progress-fill {
  background: #111827;
}

.wg-goal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .wg-goal-stats-grid {
    grid-template-columns: 1fr;
  }
}

.wg-goal-stat-box {
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wg-goal-stat-label {
  font-size: 0.75rem;
  color: var(--text-faint, #6b7280);
}

.wg-goal-stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-primary, #ffffff);
}

.wg-goal-stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted, #9ca3af);
}

.wg-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.wg-input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-faint, #6b7280);
  font-size: 0.85rem;
  pointer-events: none;
}

.wg-input-padded {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.wg-input-padded:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.wg-presets-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.wg-presets-label {
  font-size: 0.75rem;
  color: var(--text-faint, #6b7280);
  margin-right: 0.25rem;
}

.wg-preset-chip {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #d1d5db);
  cursor: pointer;
  transition: all 0.15s ease;
}

.wg-preset-chip:hover {
  background: var(--bg-secondary, #222336);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary, #ffffff);
}

.wg-card-actions-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

/* ─── Leaderboard Podium & Table ──────────────────────────────── */
.wg-podium-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wg-podium-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wg-podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1rem;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .wg-podium-grid {
    grid-template-columns: 1fr;
  }
}

.wg-podium-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
}

.wg-podium-card.elevated {
  padding-top: 1.5rem;
  border-color: rgba(255, 255, 255, 0.2);
}

.wg-podium-crown {
  font-size: 1.35rem;
  line-height: 1;
}

.wg-podium-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #d1d5db);
}

.wg-podium-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-primary, #ffffff);
}

.wg-podium-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wg-podium-amount {
  font-size: 1rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-primary, #ffffff);
}

.wg-podium-count {
  font-size: 0.72rem;
  color: var(--text-faint, #6b7280);
}

/* Leaderboard Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.wg-leader-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.wg-leader-table th {
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint, #6b7280);
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

.wg-leader-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.04));
  vertical-align: middle;
}

.wg-leader-table tr:last-child td {
  border-bottom: none;
}

.wg-leader-table tr:hover td {
  background: var(--bg-hover, rgba(255, 255, 255, 0.02));
}

.wg-rank-pill {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-muted, #9ca3af);
}

.wg-donor-user-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wg-donor-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
}

.wg-donor-name {
  font-weight: 500;
  color: var(--text-primary, #ffffff);
}

.wg-count-badge {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
}

.wg-amount-badge {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-primary, #ffffff);
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

/* Empty state */
.wg-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.wg-empty-icon {
  font-size: 2rem;
  color: var(--text-faint, #6b7280);
  margin-bottom: 0.5rem;
}

.wg-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary, #d1d5db);
  margin: 0;
}

.wg-empty-desc {
  font-size: 0.8rem;
  color: var(--text-faint, #6b7280);
  max-width: 400px;
  margin: 0;
}

.wg-count-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #9ca3af);
}

/* ─── Profanity Filter ────────────────────────────────────────── */
.wg-badword-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  font-size: 0.82rem;
}

.wg-badword-text {
  flex: 1;
  word-break: break-all;
  color: var(--text-primary, #ffffff);
  font-weight: 500;
}

.wg-btn-remove-word {
  background: transparent;
  border: none;
  color: var(--text-faint, #6b7280);
  cursor: pointer;
  padding: 0.2rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.wg-btn-remove-word:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* ─── Responsive Adjustments ──────────────────────────────────── */
@media (max-width: 768px) {
  .widgets-page-wrap {
    padding: 1rem 0 2.5rem;
  }

  .wg-container {
    padding: 0 0.85rem;
    gap: 1.25rem;
  }

  .wg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .wg-page-title {
    font-size: 1.3rem;
  }

  .wg-url-card {
    padding: 1rem 0.85rem;
  }

  .wg-url-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .wg-url-title-group {
    width: 100%;
  }

  .wg-url-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
  }

  .wg-url-actions-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
    width: 100%;
  }

  .wg-action-btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

  .wg-preview-card .wg-card-header {
    padding: 0.85rem 1rem;
    gap: 0.6rem;
  }

  .wg-stage-wrapper {
    min-height: 220px;
    padding: 1.5rem 0.75rem;
  }

  .wg-save-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .wg-save-bar-actions .btn-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wg-preview-card .wg-card-header {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
  }

  .wg-preview-card .wg-card-title-wrap {
    gap: 0.4rem;
    min-width: 140px;
  }

  .wg-preview-card .wg-card-title {
    font-size: 0.85rem;
  }

  .wg-preview-tools {
    gap: 0.25rem;
  }

  .wg-tool-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .wg-stage-wrapper {
    padding: 1.25rem 0.4rem;
    min-height: 190px;
  }

  /* Card Box Mockup on Small Mobile */
  #liveAlertBox.style-card {
    padding: 10px 12px;
    border-radius: 16px;
  }

  #liveAlertBox.style-card .live-card-avatar-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  #liveAlertBox.style-card .live-card-avatar-box svg,
  #liveAlertBox.style-card .live-card-avatar-box img {
    width: 30px;
    height: 30px;
  }

  #liveAlertBox.style-card .live-card-user-wrap {
    gap: 1px;
  }

  #liveAlertBox.style-card .live-amount-pill {
    padding: 3px 8px;
    font-size: 13px;
  }

  #liveAlertBox.style-card .live-card-message-bubble {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 10px;
  }

  /* TV Banner Mockup on Small Mobile */
  #liveAlertBox.style-banner {
    padding: 10px 10px 12px 10px !important;
    border-radius: 16px !important;
    gap: 8px !important;
  }

  #liveAlertBox.style-banner .live-banner-avatar-box {
    width: 38px;
    height: 38px;
  }

  #liveAlertBox.style-banner .live-banner-avatar-box svg,
  #liveAlertBox.style-banner .live-banner-avatar-box img {
    width: 28px;
    height: 28px;
  }

  #liveAlertBox.style-banner .live-banner-amount-btn {
    padding: 5px 9px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  /* Style Tiles */
  .wg-style-tile {
    padding: 10px 12px;
    gap: 10px;
  }

  .wg-style-tile-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }

  .wg-style-tile-title {
    font-size: 13px;
  }

  .wg-style-tile-desc {
    font-size: 11px;
  }

  .wg-style-check {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  /* Stream URL Box */
  .wg-token-input-group {
    padding: 0.2rem;
  }

  .wg-token-prefix {
    padding: 0 0.4rem;
    font-size: 0.8rem;
  }

  .wg-token-input {
    font-size: 0.78rem;
    padding: 0.4rem 0.2rem;
  }

  .wg-token-btn-view,
  .wg-btn-copy {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
  }

  .wg-btn-copy span {
    display: none;
  }

  .wg-url-actions-row {
    grid-template-columns: 1fr;
  }

  .wg-color-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .wg-sound-upload-box {
    padding: 18px 12px;
  }
}

@media (max-width: 360px) {
  .wg-preview-card .wg-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .wg-preview-tools {
    width: 100%;
    justify-content: space-between;
  }

  .wg-stage-wrapper {
    padding: 1rem 0.25rem;
  }

  #liveAlertBox.style-card {
    padding: 8px 10px;
  }
}

/*
════════════════════════════════════════════════════════════════
    MINIMALIST MODERN STYLESHEET FOR PAYMENT (CLEAN / RESPONSIVE)
════════════════════════════════════════════════════════════════ 
*/
.payment-page-wrap {
  width: 100%;
  min-height: calc(100vh - var(--navbar-h, 64px));
  background: var(--bg-primary, #0f0f1a);
  color: var(--text-primary, #f3f4f6);
  padding: 1.5rem 0 3.5rem;
}

.pm-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ─── Page Header ─────────────────────────────────────────────── */
.pm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  flex-wrap: wrap;
}

.pm-header-info {
  flex: 1;
  min-width: 260px;
}

.pm-header-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pm-header-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: var(--bg-card, #1a1a2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pm-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary, #ffffff);
  margin: 0 0 0.2rem 0;
  line-height: 1.2;
}

.pm-page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
  line-height: 1.4;
}

.pm-header-badge-wrap {
  display: flex;
  align-items: center;
}

.pm-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-card, #1a1a2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #d1d5db);
  transition: all 0.2s ease;
}

.pm-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b7280;
  transition: all 0.2s ease;
}

.pm-status-pill.active .pm-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ─── Summary Channel Cards Grid ──────────────────────────────── */
.pm-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .pm-overview-grid {
    grid-template-columns: 1fr;
  }
}

.pm-summary-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.15s ease;
  cursor: pointer;
  position: relative;
}

.pm-summary-card:hover {
  background: var(--bg-secondary, #222336);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

[data-theme="light"] .pm-summary-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pm-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary, #ffffff);
}

.pm-summary-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pm-summary-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary, #d1d5db);
}

.pm-summary-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: ui-monospace, monospace;
  color: var(--text-primary, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
  font-size: 0.75rem;
}

.pm-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.pm-status-tag.tag-open {
  color: #10b981;
}

.pm-status-tag.tag-closed {
  color: var(--text-faint, #6b7280);
}

.pm-summary-arrow {
  color: var(--text-faint, #6b7280);
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.pm-summary-card:hover .pm-summary-arrow {
  transform: translateX(3px);
  color: var(--text-primary, #ffffff);
}

/* ─── Navigation Tabs ─────────────────────────────────────────── */
.pm-nav-tabs-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pm-nav-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.pm-nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  min-width: 500px;
}

.pm-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.07));
  border-radius: 12px;
  color: var(--text-muted, #9ca3af);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.pm-tab-btn:hover {
  background: var(--bg-secondary, #222336);
  border-color: var(--border-color, rgba(255, 255, 255, 0.15));
  color: var(--text-primary, #ffffff);
}

.pm-tab-btn.active {
  background: var(--bg-card, #1e1f33);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary, #ffffff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .pm-tab-btn.active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pm-tab-btn-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary, #d1d5db);
  transition: all 0.15s ease;
}

.pm-tab-btn.active .pm-tab-btn-icon {
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #0f0f1a);
}

[data-theme="light"] .pm-tab-btn.active .pm-tab-btn-icon {
  background: #111827;
  color: #ffffff;
}

.pm-tab-btn-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pm-tab-btn-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-tab-btn-desc {
  font-size: 0.72rem;
  color: var(--text-faint, #6b7280);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-tab-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #9ca3af);
  transition: all 0.15s ease;
}

.pm-tab-status.st-on {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.pm-tab-status.st-off {
  color: var(--text-faint, #6b7280);
}

/* ─── Tab Panes ───────────────────────────────────────────────── */
.pm-tab-pane {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: pmFadeIn 0.2s ease-in-out;
}

.pm-tab-pane.active {
  display: flex;
}

@keyframes pmFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Split Layout (Mockup Card + Form) ───────────────────────── */
.pm-layout-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .pm-layout-split {
    grid-template-columns: 1fr;
  }
}

.pm-card-mockup-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ─── Visual Preview Mockup Card ──────────────────────────────── */
.pm-mock-card {
  background: linear-gradient(145deg, #181926 0%, #11121d 100%);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .pm-mock-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
}

.pm-mock-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-mock-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.pm-mock-chip-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pm-mock-chip {
  width: 32px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pm-mock-center {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1.25rem 0;
}

.pm-mock-gift-icon,
.pm-mock-qr-icon {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.pm-mock-label {
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-mock-number {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #ffffff;
  letter-spacing: 1px;
}

.pm-mock-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-mock-holder {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pm-mock-holder-label {
  font-size: 0.65rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.pm-mock-holder-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-mock-status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  transition: all 0.2s ease;
}

.pm-mock-status-pill.online {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.pm-mock-status-pill.offline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

/* ─── Guide Info Box ──────────────────────────────────────────── */
.pm-guide-box {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pm-guide-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pm-guide-title i {
  color: var(--text-muted, #9ca3af);
}

.pm-guide-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.5;
  margin: 0;
}

/* ─── Setting Form Card ───────────────────────────────────────── */
.pm-card {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  overflow: hidden;
}

.pm-card-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pm-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pm-card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary, #ffffff);
}

.pm-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.pm-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted, #9ca3af);
  margin: 0.15rem 0 0;
}

.pm-card-body {
  padding: 1.35rem;
}

.pm-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pm-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pm-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pm-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary, #d1d5db);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.text-red {
  color: #f87171;
}

.pm-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.pm-input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-faint, #6b7280);
  font-size: 0.85rem;
  pointer-events: none;
}

.pm-input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.pm-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.pm-hint {
  font-size: 0.73rem;
  color: var(--text-faint, #6b7280);
  line-height: 1.4;
}

/* Custom Select */
.pm-select-wrap {
  position: relative;
  width: 100%;
}

.pm-select {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  border-radius: 8px;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pm-select:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.pm-select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--text-faint, #6b7280);
  pointer-events: none;
}

/* Toggle Switch */
.pm-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.pm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pm-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary, #0f0f1a);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  transition: 0.2s;
  border-radius: 9999px;
}

.pm-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--text-muted, #9ca3af);
  transition: 0.2s;
  border-radius: 50%;
}

.pm-switch input:checked+.pm-switch-slider {
  background: var(--text-primary, #ffffff);
  border-color: var(--text-primary, #ffffff);
}

[data-theme="light"] .pm-switch input:checked+.pm-switch-slider {
  background: #111827;
  border-color: #111827;
}

.pm-switch input:checked+.pm-switch-slider:before {
  transform: translateX(18px);
  background: var(--bg-primary, #0f0f1a);
}

[data-theme="light"] .pm-switch input:checked+.pm-switch-slider:before {
  background: #ffffff;
}

/* Card Actions */
.pm-card-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
}

.pay-save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--accent-glow, rgba(255, 140, 0, 0.25));
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: inherit;
}

.pay-save-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px var(--accent-glow2, rgba(255, 140, 0, 0.40));
  transform: translateY(-1px);
  color: #ffffff !important;
}

.pay-save-btn:active {
  transform: translateY(0);
}

.pay-save-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ─── Responsive Adjustments ──────────────────────────────────── */
@media (max-width: 768px) {
  .payment-page-wrap {
    padding: 1rem 0 2.5rem;
  }

  .pm-container {
    padding: 0 0.85rem;
    gap: 1.25rem;
  }

  .pm-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .pm-page-title {
    font-size: 1.3rem;
  }

  .pm-card-header {
    padding: 1rem;
  }

  .pm-card-body {
    padding: 1rem;
  }

  .pm-card-actions .pay-save-btn {
    width: 100%;
  }
}

/* ════════════════════════════════════════════════════════════════
   MODERN LUXURY STYLESHEET: TRANSACTIONS & PLAN HISTORY
   Theme: Supports [data-theme="dark"] and [data-theme="light"]
   Components: Donation History, Subscription History, Fintech Receipt Modal
   ════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. DONATION TRANSACTIONS HISTORY (.history-page-wrap & .ht-*)
   ───────────────────────────────────────────────────────────── */
.history-page-wrap {
  width: 100%;
  min-height: calc(100vh - var(--navbar-h, 64px));
  background: var(--bg-primary, #090a10);
  color: var(--text-primary, #f8fafc);
  padding: 1.5rem 0 4rem;
  transition: background var(--transition), color var(--transition);
}

.ht-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── Header ──────────────────────────────────────────────────── */
.ht-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 18px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

[data-theme="light"] .ht-header {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.ht-header-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.ht-btn-back {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

[data-theme="light"] .ht-btn-back {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ht-btn-back:hover {
  background: var(--accent, #ff8c00);
  border-color: var(--accent, #ff8c00);
  color: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 4px 14px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

.ht-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ht-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent, #ff8c00);
  margin-bottom: 2px;
}

.ht-page-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary, #ffffff);
  margin: 0;
  line-height: 1.25;
}

[data-theme="light"] .ht-page-title {
  color: #0f172a;
}

.ht-page-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

[data-theme="light"] .ht-page-subtitle {
  color: #64748b;
}

.ht-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.25);
  font-weight: 600;
  color: var(--accent, #ff8c00);
  font-size: 0.8rem;
}

.ht-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ht-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #cbd5e1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .ht-count-badge {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

.ht-count-badge i {
  color: var(--accent, #ff8c00);
}

/* ─── Stats Overview Grid (4 Cards) ───────────────────────────── */
.ht-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .ht-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .ht-stats-grid {
    grid-template-columns: 1fr;
  }
}

.ht-stat-card {
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 18px);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .ht-stat-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.ht-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ht-stat-card:hover {
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.ht-stat-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.ht-stat-card:hover .ht-stat-icon {
  transform: scale(1.06);
}

/* Stat Card Color Accents */
.ht-stat-card.stat-green .ht-stat-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .ht-stat-card.stat-green .ht-stat-icon {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.ht-stat-card.stat-purple .ht-stat-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(126, 34, 206, 0.1) 100%);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

[data-theme="light"] .ht-stat-card.stat-purple .ht-stat-icon {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ddd6fe;
}

.ht-stat-card.stat-blue .ht-stat-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(2, 132, 199, 0.1) 100%);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

[data-theme="light"] .ht-stat-card.stat-blue .ht-stat-icon {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

.ht-stat-card.stat-amber .ht-stat-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.1) 100%);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .ht-stat-card.stat-amber .ht-stat-icon {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.ht-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ht-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .ht-stat-label {
  color: #64748b;
}

.ht-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-primary, #ffffff);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .ht-stat-value {
  color: #0f172a;
}

.ht-stat-sub {
  font-size: 0.72rem;
  color: var(--text-faint, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .ht-stat-sub {
  color: #94a3b8;
}

/* ─── Filter Bar & Instant Search ─────────────────────────────── */
.ht-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ht-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ht-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .ht-filter-pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.ht-filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary, #ffffff);
  transform: translateY(-1px);
}

[data-theme="light"] .ht-filter-pill:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

.ht-filter-pill.active {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

[data-theme="light"] .ht-filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Instant Search Input */
.ht-search-wrap {
  position: relative;
  min-width: 260px;
}

@media (max-width: 580px) {
  .ht-search-wrap {
    width: 100%;
    min-width: 100%;
  }
}

.ht-search-wrap i {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-faint, #64748b);
  pointer-events: none;
}

.ht-search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.4rem;
  border-radius: 9999px;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #ffffff);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

[data-theme="light"] .ht-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ht-search-input:focus {
  border-color: var(--accent, #ff8c00);
  box-shadow: 0 0 0 3px var(--accent-glow, rgba(255, 140, 0, 0.25));
}

/* ─── Main Content Card & Data Table ──────────────────────────── */
.ht-card {
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .ht-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.ht-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ht-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.ht-table th {
  padding: 1rem 1.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #94a3b8);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  white-space: nowrap;
}

[data-theme="light"] .ht-table th {
  background: #f8fafc;
  color: #64748b;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.ht-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
  vertical-align: middle;
  transition: background 0.15s ease;
}

[data-theme="light"] .ht-table td {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.ht-table tr:last-child td {
  border-bottom: none;
}

.ht-table tbody tr:hover td {
  background: var(--bg-hover, rgba(255, 255, 255, 0.03));
}

[data-theme="light"] .ht-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

.ht-date-cell {
  white-space: nowrap;
  font-size: 0.83rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.4;
}

[data-theme="light"] .ht-date-cell {
  color: #475569;
}

/* Channel Badges */
.ht-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.ht-channel-badge.badge-truewallet {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

[data-theme="light"] .ht-channel-badge.badge-truewallet {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.ht-channel-badge.badge-promptpay {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.28);
  color: #38bdf8;
}

[data-theme="light"] .ht-channel-badge.badge-promptpay {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}

.ht-channel-badge.badge-bank {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #c084fc;
}

[data-theme="light"] .ht-channel-badge.badge-bank {
  background: #faf5ff;
  border-color: #e9d5ff;
  color: #7e22ce;
}

.ht-channel-badge.badge-default {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .ht-channel-badge.badge-default {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

/* Donor Info Cell */
.ht-donor-info-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 340px;
}

.ht-donor-name {
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

[data-theme="light"] .ht-donor-name {
  color: #0f172a;
}

.ht-donor-msg-bubble {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  font-size: 0.8rem;
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.4;
  word-break: break-word;
}

[data-theme="light"] .ht-donor-msg-bubble {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
  color: #334155;
}

.ht-donor-msg-bubble i {
  color: var(--text-faint, #64748b);
  font-size: 0.72rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Amounts */
.ht-amount-cell {
  text-align: right;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  color: #10b981;
  white-space: nowrap;
}

[data-theme="light"] .ht-amount-cell {
  color: #059669;
}

.ht-balance-cell {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  white-space: nowrap;
}

[data-theme="light"] .ht-balance-cell {
  color: #64748b;
}

/* Status Badges */
.ht-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10b981;
  white-space: nowrap;
}

[data-theme="light"] .ht-status-badge {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

/* Replay Button */
.ht-btn-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-secondary, #cbd5e1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

[data-theme="light"] .ht-btn-replay {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

.ht-btn-replay:hover {
  background: var(--accent, #ff8c00);
  border-color: var(--accent, #ff8c00);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

/* ─── Mobile Cards View (Hidden on Desktop) ───────────────────── */
.ht-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
}

@media (max-width: 860px) {
  .ht-table-responsive {
    display: none;
  }

  .ht-mobile-cards {
    display: flex;
  }
}

.ht-card-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .ht-card-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.ht-card-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

[data-theme="light"] .ht-card-item:hover {
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.ht-card-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ht-card-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ht-card-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  gap: 0.5rem;
  flex-wrap: wrap;
}

[data-theme="light"] .ht-card-item-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* ─── Empty State ─────────────────────────────────────────────── */
.ht-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem;
  text-align: center;
  gap: 0.75rem;
}

.ht-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-faint, #64748b);
  margin-bottom: 0.5rem;
}

[data-theme="light"] .ht-empty-icon {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #94a3b8;
}

.ht-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

[data-theme="light"] .ht-empty-title {
  color: #0f172a;
}

.ht-empty-desc {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  max-width: 440px;
  margin: 0;
  line-height: 1.5;
}

[data-theme="light"] .ht-empty-desc {
  color: #64748b;
}

/* ─── Pagination ──────────────────────────────────────────────── */
.ht-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.25rem;
}

.ht-pagination-info {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .ht-pagination-info {
  color: #64748b;
}

.ht-pagination-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ht-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: all 0.15s ease;
}

[data-theme="light"] .ht-page-link {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

.ht-page-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary, #ffffff);
  transform: translateY(-1px);
}

[data-theme="light"] .ht-page-link:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.16);
  color: #0f172a;
}

.ht-page-link.active {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

[data-theme="light"] .ht-page-link.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}


/* ─────────────────────────────────────────────────────────────
   2. SUBSCRIPTION & PLAN ORDERS HISTORY (.plan-history-page & .ph-*)
   ───────────────────────────────────────────────────────────── */
.plan-history-page {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

/* ─── Header Bar ─────────────────────────────────────────────── */
.ph-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 20px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

[data-theme="light"] .ph-header-bar {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.ph-header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ph-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-primary, #ffffff);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .ph-btn-back {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ph-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateX(-3px);
}

[data-theme="light"] .ph-btn-back:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ph-header-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ph-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, #ff8c00);
}

.ph-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary, #ffffff);
  margin: 0;
  line-height: 1.25;
}

[data-theme="light"] .ph-title {
  color: #0f172a;
}

.ph-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

[data-theme="light"] .ph-subtitle {
  color: #64748b;
}

.ph-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ph-btn-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px var(--accent-glow, rgba(255, 140, 0, 0.35));
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.ph-btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--accent-glow2, rgba(255, 140, 0, 0.5));
  color: #ffffff;
}

/* ─── 4 Stats Cards Grid ──────────────────────────────────────── */
.ph-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .ph-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .ph-stats-grid {
    grid-template-columns: 1fr;
  }
}

.ph-stat-card {
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .ph-stat-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ph-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ph-stat-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.ph-stat-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.ph-stat-card:hover .ph-stat-icon-wrap {
  transform: scale(1.08);
}

.icon-blue {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(2, 132, 199, 0.1) 100%);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

[data-theme="light"] .icon-blue {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

.icon-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(126, 34, 206, 0.1) 100%);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

[data-theme="light"] .icon-purple {
  background: #faf5ff;
  color: #7e22ce;
  border-color: #e9d5ff;
}

.icon-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .icon-green {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.icon-orange {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.1) 100%);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme="light"] .icon-orange {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

.ph-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ph-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .ph-stat-label {
  color: #64748b;
}

.ph-stat-value {
  font-size: 1.45rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-primary, #ffffff);
  line-height: 1.25;
}

[data-theme="light"] .ph-stat-value {
  color: #0f172a;
}

.ph-stat-value small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted, #94a3b8);
}

.text-blue {
  color: #38bdf8 !important;
}

.text-purple {
  color: #c084fc !important;
}

.text-green {
  color: #34d399 !important;
}

.text-orange {
  color: #fbbf24 !important;
}

.text-red {
  color: #f87171 !important;
}

[data-theme="light"] .text-blue {
  color: #0284c7 !important;
}

[data-theme="light"] .text-purple {
  color: #7e22ce !important;
}

[data-theme="light"] .text-green {
  color: #059669 !important;
}

[data-theme="light"] .text-orange {
  color: #d97706 !important;
}

[data-theme="light"] .text-red {
  color: #dc2626 !important;
}

.ph-stat-foot {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-faint, #64748b);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .ph-stat-foot {
  color: #94a3b8;
}

/* ─── Main Card & Filter Header ───────────────────────────────── */
.ph-main-card {
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .ph-main-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.ph-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  flex-wrap: wrap;
}

[data-theme="light"] .ph-filter-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.ph-tab-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ph-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .ph-tab-pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

.ph-tab-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-primary, #ffffff);
  transform: translateY(-1px);
}

[data-theme="light"] .ph-tab-pill:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.14);
  color: #0f172a;
}

.ph-tab-pill.active {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

[data-theme="light"] .ph-tab-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.ph-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
}

.ph-tab-pill.active .ph-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.ph-filter-info {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .ph-filter-info {
  color: #64748b;
}

/* ─── Orders Table ────────────────────────────────────────────── */
.ph-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ph-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.ph-table th {
  padding: 1rem 1.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #94a3b8);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  white-space: nowrap;
}

[data-theme="light"] .ph-table th {
  background: #f8fafc;
  color: #64748b;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.ph-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.04));
  vertical-align: middle;
  transition: background 0.15s ease;
}

[data-theme="light"] .ph-table td {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

.ph-table tbody tr:hover td {
  background: var(--bg-hover, rgba(255, 255, 255, 0.03));
}

[data-theme="light"] .ph-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02);
}

/* Order No Box */
.ph-ord-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ph-ord-icon {
  color: var(--text-faint, #64748b);
  font-size: 0.9rem;
}

.ph-ord-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary, #ffffff);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  transition: all 0.15s ease;
}

[data-theme="light"] .ph-ord-code {
  color: #0f172a;
  border-bottom-color: rgba(0, 0, 0, 0.3);
}

.ph-ord-code:hover {
  color: var(--accent, #ff8c00);
  border-bottom-color: var(--accent, #ff8c00);
}

.ph-btn-copy-code {
  background: transparent;
  border: none;
  color: var(--text-faint, #64748b);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.8rem;
  transition: color 0.15s ease;
}

.ph-btn-copy-code:hover {
  color: var(--accent, #ff8c00);
}

/* Plan Badges */
.ph-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.ph-plan-badge.badge-pro {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid rgba(255, 140, 0, 0.35);
  color: #ff9f1c;
}

[data-theme="light"] .ph-plan-badge.badge-pro {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.ph-plan-badge.badge-basic {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

[data-theme="light"] .ph-plan-badge.badge-basic {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.ph-plan-badge.badge-default {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .ph-plan-badge.badge-default {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.ph-period-text {
  font-size: 0.84rem;
  color: var(--text-secondary, #cbd5e1);
  white-space: nowrap;
}

[data-theme="light"] .ph-period-text {
  color: #334155;
}

.ph-amount-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary, #ffffff);
  white-space: nowrap;
}

[data-theme="light"] .ph-amount-text {
  color: #0f172a;
}

.ph-amount-text .ph-curr {
  font-size: 0.85rem;
  margin-right: 2px;
  color: var(--text-muted, #94a3b8);
}

.ph-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

[data-theme="light"] .ph-channel-badge {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}

/* Status Pills */
.ph-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.ph-status-pill.status-paid {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

[data-theme="light"] .ph-status-pill.status-paid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.ph-status-pill.status-pending {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  animation: phPendingPulse 2s infinite ease-in-out;
}

[data-theme="light"] .ph-status-pill.status-pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

@keyframes phPendingPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

.ph-status-pill.status-expired {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

[data-theme="light"] .ph-status-pill.status-expired {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #64748b;
}

.ph-status-pill.status-cancelled {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #f87171;
}

[data-theme="light"] .ph-status-pill.status-cancelled {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

/* Date Cell */
.ph-date-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ph-date-day {
  font-size: 0.82rem;
  color: var(--text-primary, #ffffff);
  white-space: nowrap;
}

[data-theme="light"] .ph-date-day {
  color: #0f172a;
}

.ph-date-time {
  font-size: 0.74rem;
  color: var(--text-faint, #64748b);
  white-space: nowrap;
}

[data-theme="light"] .ph-date-time {
  color: #94a3b8;
}

/* Action Buttons */
.ph-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: none;
}

.ph-btn-action.btn-pay {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.ph-btn-action.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5);
  color: #ffffff;
}

.ph-btn-action.btn-renew {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .ph-btn-action.btn-renew {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.ph-btn-action.btn-renew:hover {
  background: var(--accent, #ff8c00);
  border-color: var(--accent, #ff8c00);
  color: #ffffff;
  transform: translateY(-2px);
}

.ph-btn-action.btn-receipt {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

[data-theme="light"] .ph-btn-action.btn-receipt {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.ph-btn-action.btn-receipt:hover {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* ─── Mobile Orders Cards ─────────────────────────────────────── */
.ph-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem;
}

@media (max-width: 960px) {
  .ph-table-container {
    display: none;
  }

  .ph-mobile-cards {
    display: flex;
  }
}

.ph-card-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

[data-theme="light"] .ph-card-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.ph-card-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

[data-theme="light"] .ph-card-item:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ph-card-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ph-card-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ph-card-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  gap: 0.5rem;
  flex-wrap: wrap;
}

[data-theme="light"] .ph-card-item-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* ─── Plan History Empty State ────────────────────────────────── */
.ph-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem;
  text-align: center;
  gap: 0.75rem;
}

.ph-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-faint, #64748b);
  margin-bottom: 0.5rem;
}

[data-theme="light"] .ph-empty-icon {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #94a3b8;
}

.ph-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

[data-theme="light"] .ph-empty-state h3 {
  color: #0f172a;
}

.ph-empty-state p {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  max-width: 440px;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

[data-theme="light"] .ph-empty-state p {
  color: #64748b;
}

/* ─── Plan History Pagination ─────────────────────────────────── */
.ph-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.06));
  flex-wrap: wrap;
}

[data-theme="light"] .ph-pagination {
  border-top-color: rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.ph-page-info {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .ph-page-info {
  color: #64748b;
}

.ph-page-btns {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ph-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-card, rgba(18, 20, 32, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
  transition: all 0.15s ease;
}

[data-theme="light"] .ph-page-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

.ph-page-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary, #ffffff);
  transform: translateY(-1px);
}

[data-theme="light"] .ph-page-btn:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.16);
  color: #0f172a;
}

.ph-page-btn.active {
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

[data-theme="light"] .ph-page-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* ─── Copy Toast ──────────────────────────────────────────────── */
.ph-copy-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.35rem;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 999999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ph-copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ph-copy-toast i {
  color: #34d399;
  font-size: 1rem;
}


/* ─────────────────────────────────────────────────────────────
   3. AUTHENTIC FINTECH RECEIPT MODAL (.receipt-modal-*)
   ───────────────────────────────────────────────────────────── */
.receipt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

.receipt-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.receipt-modal-dialog {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card, #121420);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));
  border-radius: 24px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  padding: 2rem;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: auto;
}

[data-theme="light"] .receipt-modal-dialog {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.2);
}

.receipt-modal-backdrop.show .receipt-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Receipt Modal Header */
.receipt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.receipt-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.receipt-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient, linear-gradient(135deg, #ff9500 0%, #ff5500 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px var(--accent-glow, rgba(255, 140, 0, 0.35));
}

.receipt-title-box {
  display: flex;
  flex-direction: column;
}

.receipt-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin: 0;
  line-height: 1.2;
}

[data-theme="light"] .receipt-title {
  color: #0f172a;
}

.receipt-subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #94a3b8);
}

.receipt-btn-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  color: var(--text-muted, #94a3b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

[data-theme="light"] .receipt-btn-close {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

.receipt-btn-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Receipt Inner Document Card */
.receipt-inner-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

[data-theme="light"] .receipt-inner-card {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

.receipt-top-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.receipt-provider-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.receipt-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint, #64748b);
}

.receipt-provider-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .receipt-provider-name {
  color: #0f172a;
}

.receipt-meta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
}

@media (max-width: 480px) {
  .receipt-meta-col {
    align-items: flex-start;
    text-align: left;
  }
}

.receipt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.receipt-status-badge.status-paid {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

[data-theme="light"] .receipt-status-badge.status-paid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.receipt-status-badge.status-pending {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

[data-theme="light"] .receipt-status-badge.status-pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.receipt-status-badge.status-expired {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}

.receipt-inv-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .receipt-inv-no {
  color: #0f172a;
}

.receipt-ref-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
}

.receipt-date-text {
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
}

.receipt-divider {
  height: 1px;
  background: var(--border-color, rgba(255, 255, 255, 0.08));
  width: 100%;
}

[data-theme="light"] .receipt-divider {
  background: rgba(0, 0, 0, 0.08);
}

/* Customer Details */
.receipt-customer-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.receipt-cust-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .receipt-cust-name {
  color: #0f172a;
}

.receipt-cust-email {
  font-size: 0.82rem;
  color: var(--text-muted, #94a3b8);
}

/* Itemized Table */
.receipt-table-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.receipt-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint, #64748b);
  padding-bottom: 0.35rem;
}

.receipt-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-primary, #ffffff);
  padding: 0.4rem 0;
}

[data-theme="light"] .receipt-table-row {
  color: #0f172a;
}

.receipt-table-row .col-qty {
  color: var(--text-muted, #94a3b8);
  font-size: 0.84rem;
}

.receipt-table-row .col-price {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
}

.receipt-table-header .col-price {
  text-align: right;
}

.receipt-item-title {
  font-weight: 600;
}

/* Totals Section */
.receipt-totals-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.receipt-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.receipt-subtotal-line {
  font-size: 0.925rem;
  color: var(--text-muted, #94a3b8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
}

[data-theme="light"] .receipt-subtotal-line {
  color: #64748b;
}

.receipt-discount-line {
  font-size: 0.925rem;
  color: #ec4899;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
}

[data-theme="light"] .receipt-discount-line {
  color: #db2777;
}

.receipt-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.28);
  color: #ec4899;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
  vertical-align: middle;
}

[data-theme="light"] .receipt-discount-tag {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: #db2777;
}

.grand-total-line {
  font-size: 1.15rem;
  font-weight: 800;
}

.grand-total-label {
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .grand-total-label {
  color: #0f172a;
}

.grand-total-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #10b981;
  font-size: 1.35rem;
}

[data-theme="light"] .grand-total-val {
  color: #059669;
}

/* Payment Row */
.receipt-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
}

.receipt-payment-row .payment-label {
  color: var(--text-muted, #94a3b8);
}

.receipt-payment-row .payment-val {
  font-weight: 600;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .receipt-payment-row .payment-val {
  color: #0f172a;
}

/* Footer & Print Button */
.receipt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.receipt-footer-hint {
  font-size: 0.78rem;
  color: var(--text-muted, #94a3b8);
}

[data-theme="light"] .receipt-footer-hint {
  color: #64748b;
}

.receipt-btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #090a10);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .receipt-btn-print {
  background: #0f172a;
  color: #ffffff;
}

.receipt-btn-print:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

/* ─────────────────────────────────────────────────────────────
   4. DEDICATED PRINT STYLES FOR OFFICIAL RECEIPT
   ───────────────────────────────────────────────────────────── */
@media print {
  body.receipt-printing * {
    visibility: hidden !important;
  }

  body.receipt-printing #receiptModal,
  body.receipt-printing #receiptModal * {
    visibility: visible !important;
  }

  body.receipt-printing #receiptModal {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    backdrop-filter: none !important;
  }

  body.receipt-printing .receipt-modal-dialog {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 2cm !important;
    transform: none !important;
  }

  body.receipt-printing .receipt-btn-close,
  body.receipt-printing .receipt-modal-footer {
    display: none !important;
  }

  body.receipt-printing .receipt-inner-card {
    border: 1px solid #d1d5db !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.receipt-printing .receipt-title,
  body.receipt-printing .receipt-provider-name,
  body.receipt-printing .receipt-inv-no,
  body.receipt-printing .receipt-cust-name,
  body.receipt-printing .receipt-table-row,
  body.receipt-printing .grand-total-label,
  body.receipt-printing .payment-val {
    color: #111827 !important;
  }

  body.receipt-printing .receipt-subtotal-line {
    color: #4b5563 !important;
  }

  body.receipt-printing .receipt-discount-line {
    color: #db2777 !important;
  }

  body.receipt-printing .grand-total-val {
    color: #059669 !important;
  }
}


/*
════════════════════════════════════════════════════════════════
MINIMALIST MODERN STYLESHEET FOR LANDING PAGE (CLEAN / RESPONSIVE)
════════════════════════════════════════════════════════════════
*/

.lp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  color: var(--text-primary, #f8fafc);
  position: relative;
  z-index: 1;
}

/* ─── Ambient Glow Lights ─────────────────────────────────────── */
.lp-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  height: 450px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 140, 0, 0.12), rgba(52, 211, 153, 0.04) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

[data-theme="light"] .lp-ambient-glow {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 140, 0, 0.08), rgba(59, 130, 246, 0.04) 60%, transparent 80%);
}

/* ─── Hero Section ────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  padding: 2.5rem 0 1rem;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 980px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.lp-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  z-index: 2;
}

/* ─── Hero Luxury Badge ───────────────────────────────────────── */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.lp-badge:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

[data-theme="light"] .lp-badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.lp-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: lpPulse 2s infinite;
}

@keyframes lpPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* ─── Hero Typography ─────────────────────────────────────────── */
.lp-hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.lp-gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .lp-gradient-text {
  background: linear-gradient(135deg, #0f172a 40%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-title-highlight {
  color: var(--text-primary, #ffffff);
}

.lp-subtitle-inline {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #fbbf24;
  margin-top: 0.35rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .lp-subtitle-inline {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.65;
  margin: 0;
  max-width: 530px;
}

/* ─── Hero Buttons ────────────────────────────────────────────── */
.lp-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.5rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.lp-btn-primary {
  background: #ffffff;
  color: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.lp-btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: #090a10;
}

[data-theme="light"] .lp-btn-primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .lp-btn-primary:hover {
  background: #1e293b;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
}

.lp-btn-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #ffffff);
}

.lp-btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-primary, #ffffff);
  transform: translateY(-2px);
}

[data-theme="light"] .lp-btn-glass {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .lp-btn-glass:hover {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

.lp-arrow-icon {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.lp-btn-primary:hover .lp-arrow-icon {
  transform: translateX(4px);
}

/* ─── Hero Stats Bar ──────────────────────────────────────────── */
.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

[data-theme="light"] .lp-hero-stats {
  border-top-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .lp-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.lp-stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lp-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-primary, #ffffff);
  letter-spacing: -0.02em;
}

.lp-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-faint, #94a3b8);
  font-weight: 500;
}

/* ─── Hero Visual: Interactive Live Studio Mockup ─────────────── */
.lp-hero-visual {
  position: relative;
  z-index: 2;
}

.lp-mockup-card {
  background: rgba(18, 20, 32, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.lp-mockup-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .lp-mockup-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.04);
}

.lp-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .lp-mockup-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.015);
}

.lp-mockup-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-r {
  background: #f87171;
}

.dot-y {
  background: #fbbf24;
}

.dot-g {
  background: #34d399;
}

.lp-mockup-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: lpPulse 1.5s infinite;
}

/* ─── Animated Audio Visualizer Waveform ──────────────────────── */
.lp-audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
}

.lp-audio-wave span {
  display: block;
  width: 2px;
  height: 100%;
  background: #10b981;
  border-radius: 2px;
  animation: lpWave 1.2s ease-in-out infinite;
}

.lp-audio-wave span:nth-child(1) {
  animation-delay: 0.0s;
  height: 35%;
}

.lp-audio-wave span:nth-child(2) {
  animation-delay: 0.2s;
  height: 75%;
}

.lp-audio-wave span:nth-child(3) {
  animation-delay: 0.4s;
  height: 100%;
}

.lp-audio-wave span:nth-child(4) {
  animation-delay: 0.1s;
  height: 50%;
}

@keyframes lpWave {

  0%,
  100% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }
}

/* ─── Live Alert Stage ────────────────────────────────────────── */
.lp-mockup-stage {
  padding: 1.5rem 1.25rem;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  background: radial-gradient(circle at 50% 30%, rgba(255, 140, 0, 0.06), transparent 70%), #0c0d16;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .lp-mockup-stage {
  background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.05), transparent 70%), #0f172a;
}

/* ══════════════════════════════════════════════════
   AUTHENTIC OBS OVERLAY ALERT CARD (Matching overlay.php)
   ══════════════════════════════════════════════════ */
.lp-obs-alert-card {
  background: #16181c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: 18px 22px !important;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65) !important;
  text-align: left;
  transition: all 0.25s ease;
  will-change: transform, opacity;
}

.lp-obs-alert-card .alert-card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-obs-alert-card .alert-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lp-obs-alert-card .alert-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.lp-obs-alert-card .alert-card-avatar-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #25282c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.lp-obs-alert-card .alert-card-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lp-obs-alert-card .alert-card-user-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 2px 0;
}

.lp-obs-alert-card .alert-card-user-wrap .donor-name {
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: #FFFFFF;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: 3px #000000;
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    0 3px 8px rgba(0, 0, 0, 0.6);
}

.lp-obs-alert-card .alert-card-user-wrap .action-text {
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  opacity: 0.95;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  paint-order: stroke fill;
  -webkit-text-stroke: 1px #000000;
  text-shadow:
    -0.5px -0.5px 0 #000000,
    0.5px -0.5px 0 #000000,
    -0.5px 0.5px 0 #000000,
    0.5px 0.5px 0 #000000;
}

.lp-obs-alert-card .alert-card-amount-pill {
  background: rgba(0, 200, 115, 0.12);
  border: 1.5px solid #00c873;
  border-radius: 999px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(0, 200, 115, 0.2);
}

.lp-obs-alert-card .alert-card-amount-pill .amount-text {
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #00e682;
  line-height: 1.25;
  letter-spacing: 0.5px;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.2px #000000;
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000;
}

.lp-obs-alert-card .alert-card-message-bubble {
  background: #25282c;
  border-radius: 16px;
  padding: 12px 18px;
  color: #FFFFFF;
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.5px #000000;
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════════════════
   AUTHENTIC OBS GOAL WIDGET (Matching goal.php)
   ══════════════════════════════════════════════════ */
.lp-obs-goal-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px;
  gap: 5px;
}

.lp-obs-goal-title {
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.2px #000000;
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    0 2px 5px rgba(0, 0, 0, 0.85);
  text-align: center;
  margin: 0;
  letter-spacing: 0.3px;
}

.lp-obs-goal-track {
  width: 100%;
  height: 36px;
  background: rgba(85, 85, 85, 0.88);
  border-radius: 999px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 -2px 4px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.lp-obs-goal-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.85s cubic-bezier(0.34, 1.25, 0.64, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.lp-obs-goal-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: barShimmer 3s infinite ease-in-out;
  pointer-events: none;
  border-radius: inherit;
}

.lp-obs-goal-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: 'LINE Seed TH', 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.2px #000000;
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    0 2px 4px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════════════
   AUTHENTIC OBS ANIMATIONS (From overlay.php)
   ══════════════════════════════════════════════════ */
.alert-anim-in {
  animation: alertBounceIn 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.alert-anim-out {
  animation: alertBounceOut 0.45s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes alertBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(35px);
  }

  65% {
    opacity: 1;
    transform: scale(1.06) translateY(-4px);
  }

  85% {
    transform: scale(0.98) translateY(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes alertBounceOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  30% {
    transform: scale(1.05) translateY(-4px);
  }

  100% {
    opacity: 0;
    transform: scale(0.4) translateY(-30px);
  }
}

@keyframes barShimmer {
  0% {
    left: -100%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

[data-theme="light"] .lp-goal-demo-track {
  background: rgba(0, 0, 0, 0.08);
}

.lp-goal-demo-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #10b981);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* ─── Mockup Footer & Interactive Chips ───────────────────────── */
.lp-mockup-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--text-faint, #94a3b8);
  background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .lp-mockup-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.015);
}

.lp-mockup-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-sound-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.lp-demo-triggers-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lp-demo-triggers-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-faint, #94a3b8);
}

.lp-demo-triggers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.lp-demo-chip-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #cbd5e1);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.lp-demo-chip-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary, #ffffff);
  transform: translateY(-1px);
}

.lp-demo-chip-btn.active {
  background: rgba(251, 191, 36, 0.15);
  border-color: #fbbf24;
  color: #fbbf24;
}

[data-theme="light"] .lp-demo-chip-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .lp-demo-chip-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ─── Brands & Payment Channels Showcase ──────────────────────── */
.lp-brands-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  text-align: center;
}

.lp-brands-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-faint, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lp-brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}

@media (max-width: 768px) {
  .lp-brands-grid {
    grid-template-columns: 1fr;
  }
}

.lp-brand-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(18, 20, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  text-align: left;
}

.lp-brand-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .lp-brand-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .lp-brand-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.lp-brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.lp-brand-icon-truemoney {
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #f97316;
}

.lp-brand-icon-promptpay {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #3b82f6;
}

.lp-brand-icon-bank {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}

.lp-brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lp-brand-info strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
}

.lp-brand-info span {
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
}

/* ─── Bento Features Grid ─────────────────────────────────────── */
.lp-section {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
}

.lp-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.lp-section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.lp-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.lp-section-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  max-width: 580px;
  margin: 0;
  line-height: 1.6;
}

.lp-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .lp-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lp-bento-grid {
    grid-template-columns: 1fr;
  }
}

.lp-bento-card {
  background: rgba(18, 20, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.lp-bento-card:hover {
  background: rgba(24, 27, 44, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .lp-bento-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .lp-bento-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.bento-hero-feature {
  grid-column: span 2;
}

@media (max-width: 960px) {
  .bento-hero-feature {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento-hero-feature {
    grid-column: span 1;
  }
}

.lp-bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .lp-bento-icon {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.lp-bento-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
  letter-spacing: -0.01em;
}

.lp-bento-card p {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0;
}

.lp-bento-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ─── How It Works Steps ──────────────────────────────────────── */
.lp-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .lp-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lp-step-connector {
    display: none;
  }
}

.lp-step-card {
  background: rgba(18, 20, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: all 0.25s ease;
}

.lp-step-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

[data-theme="light"] .lp-step-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.lp-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-step-num {
  font-size: 0.9rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.lp-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary, #ffffff);
}

[data-theme="light"] .lp-step-icon {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.lp-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.lp-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0;
}

.lp-step-connector {
  color: var(--text-faint, #64748b);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Transparent Pricing Card ────────────────────────────────── */
.lp-pricing-wrapper {
  display: flex;
  justify-content: center;
}

.lp-pricing-card {
  width: 100%;
  max-width: 520px;
  background: rgba(18, 20, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.lp-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent);
}

[data-theme="light"] .lp-pricing-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.lp-pricing-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #fbbf24;
}

.lp-pricing-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.lp-pricing-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.lp-pricing-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
}

.lp-pricing-num {
  font-size: 4rem;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-primary, #ffffff);
  line-height: 1;
}

.lp-pricing-period {
  font-size: 0.95rem;
  color: var(--text-faint, #64748b);
  font-weight: 600;
}

.lp-pricing-sub {
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  margin: 0;
}

.lp-pricing-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 0;
}

[data-theme="light"] .lp-pricing-divider {
  background: rgba(0, 0, 0, 0.08);
}

.lp-pricing-features {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.lp-pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary, #cbd5e1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

[data-theme="light"] .lp-pricing-features li {
  color: #334155;
}

.lp-pricing-features li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
}

.lp-btn-block {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1.5rem;
}

/* ─── Frequently Asked Questions (FAQ Accordion) ──────────────── */
.lp-faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.lp-faq-item {
  background: rgba(18, 20, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.22s ease;
}

.lp-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .lp-faq-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.lp-faq-question {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  cursor: pointer;
  background: none;
  border: none;
}

.lp-faq-chevron {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
  transition: transform 0.25s ease;
}

.lp-faq-item.open .lp-faq-chevron {
  transform: rotate(180deg);
  color: #fbbf24;
}

.lp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.65;
}

.lp-faq-item.open .lp-faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* ─── Call To Action Banner ───────────────────────────────────── */
.lp-cta-wrap {
  position: relative;
  z-index: 2;
}

.lp-cta-card {
  background: linear-gradient(135deg, rgba(24, 27, 44, 0.95), rgba(18, 20, 32, 0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
}

.lp-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

[data-theme="light"] .lp-cta-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .lp-cta-card::before {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
}

.lp-cta-content {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}

.lp-cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin: 0;
  letter-spacing: -0.02em;
}

.lp-cta-content p {
  font-size: 0.95rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0;
}

.lp-cta-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.75rem;
}

.lp-btn-lg {
  padding: 0.92rem 1.8rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

/* ─── Responsive Adjustments for Mobile & Tablets ─────────────── */
@media (max-width: 980px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .lp-container {
    padding: 1rem 0.75rem 3.5rem;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .lp-hero {
    padding: 1rem 0 0;
  }

  .lp-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.2;
  }

  .lp-subtitle-inline {
    font-size: 1.1rem;
  }

  .lp-hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .lp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }

  .lp-hero-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .lp-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    padding-top: 1rem;
  }

  .lp-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
  }

  [data-theme="light"] .lp-stat-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
  }

  .lp-stat-num {
    font-size: 1.2rem;
  }

  .lp-stat-lbl {
    font-size: 0.7rem;
  }

  /* Mockup Stage Mobile Perfection */
  .lp-mockup-card {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  }

  .lp-mockup-header {
    padding: 0.65rem 0.85rem;
  }

  .lp-mockup-stage {
    padding: 1rem 0.65rem;
    min-height: auto;
    gap: 0.85rem;
    width: 100%;
  }

  .lp-obs-alert-card {
    padding: 12px 14px !important;
    border-radius: 18px !important;
    max-width: 100% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  }

  .lp-obs-alert-card .alert-card-inner {
    gap: 8px;
  }

  .lp-obs-alert-card .alert-card-header {
    gap: 8px;
  }

  .lp-obs-alert-card .alert-card-left {
    gap: 10px;
    min-width: 0;
  }

  .lp-obs-alert-card .alert-card-avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    padding: 3px;
    flex-shrink: 0;
  }

  .lp-obs-alert-card .alert-card-user-wrap .donor-name {
    font-size: 16px;
    -webkit-text-stroke: 2px #000000;
  }

  .lp-obs-alert-card .alert-card-user-wrap .action-text {
    font-size: 11px;
    -webkit-text-stroke: 0.5px #000000;
  }

  .lp-obs-alert-card .alert-card-amount-pill {
    padding: 4px 10px;
  }

  .lp-obs-alert-card .alert-card-amount-pill .amount-text {
    font-size: 15px;
    -webkit-text-stroke: 1px #000000;
  }

  .lp-obs-alert-card .alert-card-message-bubble {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 12px;
    line-height: 1.45;
    -webkit-text-stroke: 1px #000000;
  }

  /* Goal Bar Mobile */
  .lp-obs-goal-wrapper {
    gap: 3px;
    width: 100%;
  }

  .lp-obs-goal-title {
    font-size: 12px;
    -webkit-text-stroke: 1px #000000;
  }

  .lp-obs-goal-track {
    height: 30px;
  }

  .lp-obs-goal-text {
    font-size: 12px;
    -webkit-text-stroke: 1px #000000;
  }

  .lp-mockup-footer {
    padding: 0.65rem 0.85rem;
    font-size: 0.72rem;
  }

  /* Brands Grid Mobile */
  .lp-brands-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .lp-brand-card {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .lp-brand-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  /* Bento Grid Mobile */
  .lp-section-title {
    font-size: 1.55rem;
  }

  .lp-section-desc {
    font-size: 0.88rem;
  }

  .lp-bento-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .bento-hero-feature {
    grid-column: span 1;
  }

  .lp-bento-card {
    padding: 1.25rem 1.1rem;
    border-radius: 16px;
    gap: 0.65rem;
  }

  .lp-bento-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .lp-bento-card h3 {
    font-size: 1.02rem;
  }

  .lp-bento-card p {
    font-size: 0.84rem;
  }

  /* Steps Grid Mobile */
  .lp-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .lp-step-card {
    padding: 1.25rem 1.1rem;
    border-radius: 16px;
    gap: 0.65rem;
  }

  .lp-step-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  /* Pricing Card Mobile */
  .lp-pricing-card {
    padding: 1.85rem 1.2rem;
    border-radius: 20px;
    max-width: 100%;
  }

  .lp-pricing-num {
    font-size: 3.2rem;
  }

  .lp-pricing-features {
    gap: 0.65rem;
  }

  .lp-pricing-features li {
    font-size: 0.84rem;
    gap: 0.6rem;
  }

  /* FAQ Mobile */
  .lp-faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.92rem;
  }

  .lp-faq-answer {
    padding: 0 1.1rem;
    font-size: 0.84rem;
  }

  .lp-faq-item.open .lp-faq-answer {
    padding-bottom: 1rem;
  }

  /* CTA Banner Mobile */
  .lp-cta-card {
    padding: 2.25rem 1.15rem;
    border-radius: 20px;
  }

  .lp-cta-content h2 {
    font-size: 1.45rem;
  }

  .lp-cta-content p {
    font-size: 0.86rem;
  }

  .lp-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.65rem;
  }

  .lp-cta-actions .lp-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lp-container {
    padding: 0.75rem 0.5rem 3rem;
  }

  .lp-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .lp-hero-title {
    font-size: 1.75rem;
  }

  .lp-obs-alert-card .alert-card-user-wrap .donor-name {
    font-size: 15px;
  }

  .lp-obs-alert-card .alert-card-amount-pill .amount-text {
    font-size: 14px;
  }
}


/* ════════════════════════════════════════════════════════════════
   MODERN LUXURY AUTH PAGES (LOGIN & REGISTER)
   ════════════════════════════════════════════════════════════════ */

.lp-auth-hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
  min-height: calc(100vh - var(--navbar-h) - 100px);
  display: flex;
  align-items: center;
}

/* Atmospheric Ambient Glow Orbs */
.lp-auth-glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.lp-auth-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, rgba(255, 85, 0, 0.03) 50%, transparent 70%);
  filter: blur(50px);
  animation: authGlowPulse 8s ease-in-out infinite alternate;
}

.lp-auth-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 70%);
  filter: blur(60px);
  animation: authGlowPulse 10s ease-in-out infinite alternate-reverse;
}

@keyframes authGlowPulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.1) translate(15px, -15px);
    opacity: 1;
  }

  100% {
    transform: scale(0.95) translate(-10px, 10px);
    opacity: 0.8;
  }
}

.lp-auth-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .lp-auth-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-auth-hero {
    padding: 1.5rem 0 2.5rem;
  }
}

/* ── Left Column: Showcase & Platform Highlights ───────────────── */
.lp-auth-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .lp-auth-showcase {
    text-align: center;
    align-items: center;
  }
}

.lp-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.25);
  color: #ff8c00;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.lp-auth-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8c00;
}

.lp-auth-beacon-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.5);
  animation: authBeaconPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes authBeaconPing {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.lp-auth-showcase-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .lp-auth-showcase-title {
    font-size: 1.95rem;
  }
}

.lp-auth-showcase-title .lp-gradient-text {
  background: linear-gradient(135deg, #ff9500 0%, #ff5500 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-auth-showcase-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

/* Simulated Live Alert Showcase Box */
.lp-auth-demo-card {
  position: relative;
  background: linear-gradient(145deg, rgba(24, 27, 44, 0.9) 0%, rgba(15, 17, 28, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 140, 0, 0.08);
  backdrop-filter: blur(16px);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.lp-auth-demo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.3);
}

.lp-auth-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-auth-demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-auth-demo-soundwave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.lp-auth-demo-soundwave span {
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #ff8c00, #ff5500);
  border-radius: 9999px;
  animation: soundwaveBars 1.2s ease-in-out infinite alternate;
}

.lp-auth-demo-soundwave span:nth-child(2) {
  animation-delay: 0.2s;
  height: 70%;
}

.lp-auth-demo-soundwave span:nth-child(3) {
  animation-delay: 0.4s;
  height: 90%;
}

.lp-auth-demo-soundwave span:nth-child(4) {
  animation-delay: 0.1s;
  height: 50%;
}

@keyframes soundwaveBars {
  0% {
    transform: scaleY(0.3);
  }

  100% {
    transform: scaleY(1);
  }
}

.lp-auth-demo-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-auth-demo-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.lp-auth-demo-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff8c00, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.lp-auth-demo-crown {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 0.85rem;
  color: #fbbf24;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.lp-auth-demo-info {
  flex: 1;
  min-width: 0;
}

.lp-auth-demo-donor-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.lp-auth-demo-donor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-auth-demo-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(255, 85, 0, 0.22) 100%);
  border: 1px solid rgba(255, 140, 0, 0.35);
  color: #ffaa33;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

.lp-auth-demo-msg {
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  line-height: 1.4;
  margin-top: 0.35rem;
}

/* Left Trust & Feature Pills Grid */
.lp-auth-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  max-width: 500px;
  width: 100%;
}

@media (max-width: 540px) {
  .lp-auth-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

.lp-auth-trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.lp-auth-trust-item:hover {
  background: var(--bg-hover2);
  border-color: rgba(255, 140, 0, 0.25);
  transform: translateY(-2px);
}

.lp-auth-trust-icon {
  font-size: 1.15rem;
  color: #ff8c00;
  margin-bottom: 0.15rem;
}

.lp-auth-trust-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lp-auth-trust-item span {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Social Proof Streamer Avatars Stack */
.lp-auth-social-proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lp-auth-avatars {
  display: flex;
  align-items: center;
}

.lp-auth-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  object-fit: cover;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.lp-auth-avatar-circle:first-child {
  margin-left: 0;
}

.lp-auth-avatar-circle.more-count {
  background: linear-gradient(135deg, #ff8c00, #e67e00);
  font-size: 0.7rem;
}

.lp-auth-proof-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lp-auth-proof-stars {
  color: #fbbf24;
  font-size: 0.75rem;
  display: flex;
  gap: 2px;
}

.lp-auth-proof-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* ── Right Column: The Glassmorphic Auth Card ──────────────────── */
.lp-auth-card-container {
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  position: relative;
}

.lp-auth-card {
  position: relative;
  background: rgba(18, 20, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 140, 0, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: all 0.25s ease;
}

.lp-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ff8c00 50%, transparent 100%);
  opacity: 0.8;
}

.lp-auth-card-body {
  padding: 2.25rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 480px) {
  .lp-auth-card-body {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

/* ── Segmented Navigation Switch (Login <-> Register) ──────────── */
.lp-auth-tab-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.lp-auth-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  background: transparent;
  cursor: pointer;
  user-select: none;
}

.lp-auth-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.lp-auth-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(255, 85, 0, 0.25) 100%);
  color: #ff9500;
  border: 1px solid rgba(255, 140, 0, 0.35);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
  font-weight: 700;
}

/* ── Card Header ──────────────────────────────────────────────── */
.lp-auth-card-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.lp-auth-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 85, 0, 0.08) 100%);
  border: 1px solid rgba(255, 140, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ff8c00;
  margin-bottom: 0.35rem;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
}

.lp-auth-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.lp-auth-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ── Alert Notifications ───────────────────────────────────────── */
.lp-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  animation: authAlertSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authAlertSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-alert-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
  box-shadow: 0 4px 16px rgba(248, 113, 113, 0.1);
}

.lp-alert-error i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Form & Inputs ─────────────────────────────────────────────── */
.lp-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.lp-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lp-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-auth-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lp-auth-forgot-link {
  font-size: 0.8rem;
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s ease;
}

.lp-auth-forgot-link:hover {
  color: #ffaa33;
  text-decoration: underline;
}

.lp-auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.lp-auth-field-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-faint);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.2s ease;
}

.lp-auth-input {
  width: 100%;
  padding: 0.82rem 1rem 0.82rem 2.75rem;
  background: rgba(10, 12, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-auth-input::placeholder {
  color: var(--text-faint);
  font-weight: 400;
}

.lp-auth-input:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 17, 28, 0.8);
}

.lp-auth-input:focus {
  border-color: #ff8c00;
  background: rgba(15, 17, 28, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lp-auth-input-wrapper:focus-within .lp-auth-field-icon {
  color: #ff8c00;
  transform: scale(1.08);
}

.lp-auth-toggle-pw {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  padding: 0.45rem;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.lp-auth-toggle-pw:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Password Strength Meter (For Register) ────────────────────── */
.lp-pw-meter-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: -0.25rem;
  padding: 0.5rem 0.6rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.lp-pw-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.lp-pw-meter-title {
  color: var(--text-muted);
}

.lp-pw-meter-score {
  font-weight: 700;
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.lp-pw-meter-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 4px;
}

.lp-pw-bar {
  height: 100%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lp-pw-bar.active-weak {
  background: #f87171;
  box-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
}

.lp-pw-bar.active-fair {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.lp-pw-bar.active-good {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.lp-pw-bar.active-strong {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.lp-pw-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: -0.15rem;
  transition: all 0.2s ease;
}

.lp-pw-match-badge.matched {
  color: #34d399;
}

.lp-pw-match-badge.unmatched {
  color: #f87171;
}

/* ── Custom Styled Checkbox ────────────────────────────────────── */
.lp-auth-remember-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0.1rem 0;
}

.lp-auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.45;
}

.lp-auth-custom-checkbox {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lp-auth-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.lp-auth-checkbox-input:checked+.lp-auth-custom-checkbox {
  background: linear-gradient(135deg, #ff9500 0%, #ff5500 100%);
  border-color: #ff8c00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

.lp-auth-custom-checkbox i {
  font-size: 0.65rem;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.lp-auth-checkbox-input:checked+.lp-auth-custom-checkbox i {
  opacity: 1;
  transform: scale(1);
}

.lp-auth-checkbox-label a {
  color: #ff8c00;
  text-decoration: underline;
  font-weight: 600;
}

.lp-auth-checkbox-label a:hover {
  color: #ffaa33;
}

/* ── Primary Submit Button ─────────────────────────────────────── */
.lp-auth-submit-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff9500 0%, #ff5500 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.35);
  font-family: var(--font);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.lp-auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 140, 0, 0.5);
  background: linear-gradient(135deg, #ffa01a 0%, #ff6010 100%);
}

.lp-auth-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.lp-auth-submit-btn .lp-arrow-icon {
  transition: transform 0.2s ease;
}

.lp-auth-submit-btn:hover .lp-arrow-icon {
  transform: translateX(4px);
}

.lp-auth-submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.lp-auth-submit-btn.is-loading .lp-arrow-icon {
  display: none;
}

/* ── Divider & OAuth Google Button ─────────────────────────────── */
/* ── Divider & OAuth Buttons ────────────────────────────────────── */
.lp-auth-divider {
  display: flex;
  align-items: center;
  margin: 0.35rem 0;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-auth-divider::before,
.lp-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.lp-auth-divider span {
  padding: 0 0.85rem;
}

.lp-auth-oauth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.lp-auth-oauth-btn {
  width: 100%;
  padding: 0.82rem 1.25rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}

.lp-auth-oauth-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.lp-auth-oauth-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lp-auth-oauth-btn:hover svg {
  transform: scale(1.08);
}

.lp-auth-oauth-btn.lp-auth-oauth-discord {
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.15);
}

.lp-auth-oauth-btn.lp-auth-oauth-discord svg {
  color: #5865F2;
}

.lp-auth-oauth-btn.lp-auth-oauth-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
  color: #ffffff;
}

.lp-auth-oauth-btn.lp-auth-oauth-discord:hover svg {
  color: #ffffff;
}

.lp-auth-oauth-btn.lp-auth-oauth-google {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lp-auth-oauth-btn.lp-auth-oauth-google:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .lp-auth-oauth-btn.lp-auth-oauth-google {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .lp-auth-oauth-btn.lp-auth-oauth-google:hover {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

[data-theme="light"] .lp-auth-oauth-btn.lp-auth-oauth-discord {
  background: #5865F2;
  border-color: #5865F2;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
}

[data-theme="light"] .lp-auth-oauth-btn.lp-auth-oauth-discord svg {
  color: #ffffff;
}

[data-theme="light"] .lp-auth-oauth-btn.lp-auth-oauth-discord:hover {
  background: #4752C4;
  border-color: #4752C4;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

/* ── Card Footer Switch ────────────────────────────────────────── */
.lp-auth-card-footer {
  text-align: center;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lp-auth-card-footer p {
  margin: 0;
}

.lp-auth-switch-link {
  color: #ff8c00;
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.35rem;
  transition: all 0.15s ease;
}

.lp-auth-switch-link:hover {
  color: #ffaa33;
  text-decoration: underline;
}

.lp-auth-recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0;
  width: 100%;
  overflow: hidden;
}

/* ── Light Theme Overrides ─────────────────────────────────────── */
[data-theme="light"] .lp-auth-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 30px rgba(255, 140, 0, 0.04);
}

[data-theme="light"] .lp-auth-tab-switch {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .lp-auth-tab-btn:hover {
  background: #e2e8f0;
}

[data-theme="light"] .lp-auth-tab-btn.active {
  background: #ffffff;
  color: #ff8c00;
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .lp-auth-input {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .lp-auth-input:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .lp-auth-input:focus {
  background: #ffffff;
  border-color: #ff8c00;
}

[data-theme="light"] .lp-auth-oauth-btn {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .lp-auth-oauth-btn:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

[data-theme="light"] .lp-auth-demo-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .lp-auth-demo-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .lp-auth-demo-msg {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
  color: #334155;
}

[data-theme="light"] .lp-auth-trust-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .lp-auth-trust-item:hover {
  background: #f8fafc;
}

[data-theme="light"] .lp-auth-divider::before,
[data-theme="light"] .lp-auth-divider::after,
[data-theme="light"] .lp-auth-card-footer {
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .lp-auth-custom-checkbox {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .lp-pw-meter-wrap {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .lp-pw-bar {
  background: #e2e8f0;
}

/* ════════════════════════════════════════════════════════════════
   PLAN PAGE STYLESHEET (MATCHING HOME.PHP UI/UX EXACTLY)
   ════════════════════════════════════════════════════════════════ */

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 960px) {
  .lp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.lp-pricing-card {
  width: 100%;
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.lp-pricing-card:hover {
  background: var(--bg-secondary, #222336);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* Featured Card (Matches system orange accent theme with vibrant gradient & white text) */
.lp-pricing-card.featured {
  background: linear-gradient(145deg, #ff8c00 0%, #e67e00 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 20px 50px rgba(255, 140, 0, 0.35) !important;
  transform: translateY(-4px);
  color: #ffffff !important;
}

.lp-pricing-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(255, 140, 0, 0.45) !important;
}

.lp-pricing-card.featured .lp-pricing-badge {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.lp-pricing-card.featured .lp-pricing-title,
.lp-pricing-card.featured .lp-pricing-num,
.lp-pricing-card.featured .lp-pricing-currency,
.lp-pricing-card.featured .lp-pricing-period {
  color: #ffffff !important;
}

.lp-pricing-card.featured .lp-pricing-sub {
  color: rgba(255, 255, 255, 0.9) !important;
}

.lp-pricing-card.featured .lp-pricing-divider {
  background: rgba(255, 255, 255, 0.2) !important;
}

.lp-pricing-card.featured .lp-pricing-features li {
  color: #ffffff !important;
}

.lp-pricing-card.featured .lp-feature-check {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.lp-pricing-card.featured .lp-radio-circle {
  border-color: rgba(255, 255, 255, 0.8) !important;
}

.lp-pricing-card.featured .lp-radio-inner {
  background: #ffffff !important;
}

.lp-pricing-card.featured .lp-btn-card-cta {
  background: #ffffff !important;
  color: #e67e00 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.lp-pricing-card.featured .lp-btn-card-cta:hover {
  background: #fff8f0 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2) !important;
}

/* Base Card & Elements */
.lp-pricing-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.lp-pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 140, 0, 0.12);
  color: #ff8c00;
  border: 1px solid rgba(255, 140, 0, 0.25);
}

.lp-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-color, rgba(255, 255, 255, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lp-radio-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8c00;
}

/* Feature Checkmark Pill Icon */
.lp-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: rgba(255, 140, 0, 0.14);
  color: #ff8c00;
  flex-shrink: 0;
  margin-right: 0.65rem;
}

.lp-feature-cross {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-faint, #6b7280);
  flex-shrink: 0;
  margin-right: 0.65rem;
}

/* Card CTA Button (matches system orange theme) */
.lp-btn-card-cta {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.25);
  font-family: var(--font, 'Kanit', sans-serif);
}

.lp-btn-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.lp-btn-card-cta.is-current {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: none;
  cursor: default;
}

.lp-btn-card-cta.is-current:hover {
  transform: none;
}

/* Period Switcher (1 เดือน, 3 เดือน, 1 ปี) */
.lp-cycle-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  padding: 4px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.lp-cycle-btn {
  padding: 7px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted, #9ca3af);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font, 'Kanit', sans-serif);
}

.lp-cycle-btn.active {
  background: var(--text-primary, #ffffff);
  color: var(--bg-primary, #0f0f1a);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Subscription Hero Banner in Dashboard */
.plan-hero-banner {
  background: var(--bg-card, #181926);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.plan-hero-banner.has-active {
  border-color: rgba(52, 211, 153, 0.35);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.06) 0%, rgba(24, 25, 38, 0.8) 100%);
}

.plan-hero-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.plan-hero-banner.has-active .plan-hero-glow {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 70%);
}

.plan-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.plan-hero-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.plan-hero-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(255, 140, 0, 0.12);
  color: #ff8c00;
  border: 1px solid rgba(255, 140, 0, 0.25);
  flex-shrink: 0;
}

.plan-hero-banner.has-active .plan-hero-icon-box {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.25);
}

.plan-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.plan-hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.plan-hero-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.plan-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-status-pill.active {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.plan-status-pill.free {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.plan-hero-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Usage Progress Bar */
.plan-progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.plan-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #ff8c00, #ffaa33);
  transition: width 0.3s ease;
}

.plan-hero-banner.has-active .plan-progress-fill {
  background: linear-gradient(90deg, #34d399, #10b981);
}

/* Light Theme Adjustments */
[data-theme="light"] .lp-cycle-btn.active {
  background: #111827;
  color: #ffffff;
}

[data-theme="light"] .lp-pricing-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .lp-pricing-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .lp-radio-circle {
  border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .lp-cycle-switcher {
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .plan-hero-banner {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .plan-hero-banner.has-active {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, #ffffff 100%);
}

[data-theme="light"] .plan-progress-wrap {
  background: #e5e7eb;
}


/* ══════════════════════════════════════════════════
   STREAMERS PAGE — Modern Luxury & Clean Design
   ══════════════════════════════════════════════════ */

.streamers-page-wrap {
  width: 100%;
  padding-top: calc(var(--navbar-h) + 0.75rem);
  padding-bottom: 4rem;
}

.st-container {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .st-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .st-container {
    padding-inline: 2rem;
  }
}

/* ── Hero Banner ──────────────────────────────────── */
.st-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.07) 0%, rgba(18, 20, 32, 0.85) 60%, rgba(147, 51, 234, 0.05) 100%);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .st-hero-banner {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.08) 0%, #ffffff 70%, rgba(241, 245, 249, 0.9) 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.st-hero-glow-1 {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.st-hero-glow-2 {
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.st-hero-content {
  position: relative;
  z-index: 2;
}

.st-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.st-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-live-beacon {
  display: inline-flex;
  position: relative;
  width: 8px;
  height: 8px;
}

.st-live-beacon-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ef4444;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.st-live-beacon-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ef4444;
}

.st-hero-refresh-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.st-hero-refresh-tag i {
  color: var(--accent);
  font-size: 0.75rem;
}

.st-hero-title-group {
  margin-bottom: 1.75rem;
}

.st-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.st-gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #ff5500 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.st-hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

/* ── Stats KPI Row ────────────────────────────────── */
.st-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.st-stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .st-stat-card {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.st-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 140, 0, 0.3);
}

.st-stat-card.is-live {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 100%);
}

.st-stat-card.is-verified {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06) 0%, var(--bg-card) 100%);
}

.st-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-hover2);
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.15rem;
}

.st-stat-card.is-live .st-stat-icon {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.st-stat-card.is-verified .st-stat-icon {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.st-stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.st-stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.st-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Spotlight Section (When Live) ────────────────── */
.st-spotlight-section {
  margin-bottom: 2.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 20px;
}

.st-section-header {
  margin-bottom: 1.25rem;
}

.st-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.st-section-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.st-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.st-spotlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: all var(--transition);
}

.st-spotlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.15);
}

.st-spotlight-avatar-box {
  position: relative;
  margin-bottom: 0.75rem;
}

.st-spotlight-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.st-spotlight-live-pill {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.55rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.st-spotlight-details {
  width: 100%;
}

.st-spotlight-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.st-spotlight-username {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.st-spotlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  background: #ef4444;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.st-spotlight-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* ── No Live Notice ───────────────────────────────── */
.st-no-live-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.st-no-live-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.st-no-live-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.st-no-live-text strong {
  color: var(--text-primary);
  font-size: 0.88rem;
}

.st-no-live-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Toolbar ──────────────────────────────────────── */
.st-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0 1.5rem 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .st-toolbar {
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
  }
}

.st-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.st-search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.st-search-input {
  width: 100%;
  padding: 0.68rem 2.5rem 0.68rem 2.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: all var(--transition);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .st-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

.st-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.st-search-input::placeholder {
  color: var(--text-faint);
}

.st-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-hover2);
  border: none;
  color: var(--text-muted);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--transition);
}

.st-search-clear:hover {
  background: var(--accent);
  color: #fff;
}

.st-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.st-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}

[data-theme="light"] .st-tab-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.st-tab-btn:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.st-tab-btn.active {
  background: var(--accent-glow);
  border-color: rgba(255, 140, 0, 0.4);
  color: var(--accent);
  font-weight: 700;
}

.st-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.4rem;
  background: var(--bg-hover2);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.st-tab-btn.active .st-tab-count {
  background: rgba(255, 140, 0, 0.25);
  color: var(--accent);
}

.st-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

@media (max-width: 768px) {
  .st-toolbar-right {
    margin-left: 0;
    justify-content: space-between;
  }
}

.st-sort-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.st-sort-label {
  position: absolute;
  left: 0.85rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  pointer-events: none;
  z-index: 2;
}

.st-sort-select {
  padding: 0.58rem 2.2rem 0.58rem 2.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all var(--transition);
  outline: none;
}

[data-theme="light"] .st-sort-select {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.st-sort-select:hover {
  border-color: var(--border-color);
  background: var(--bg-hover2);
}

.st-sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.st-sort-arrow {
  position: absolute;
  right: 0.85rem;
  pointer-events: none;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.st-result-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.st-result-counter span {
  font-weight: 700;
  color: var(--text-primary);
}

/* ══════════════════════════════════════════════════
   STREAMER CARDS — Redesigned Modern Layout
   ══════════════════════════════════════════════════ */
.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

@media (max-width: 1024px) {
  .st-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .st-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.st-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .st-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.st-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 140, 0, 0.35);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 140, 0, 0.1);
}

[data-theme="light"] .st-card:hover {
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(255, 140, 0, 0.08);
}

.st-card.is-live {
  border-color: rgba(239, 68, 68, 0.35);
}

.st-card.is-live:hover {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 16px 36px -8px rgba(239, 68, 68, 0.2), 0 0 24px rgba(239, 68, 68, 0.15);
}

/* ── Card Banner ──────────────────────────────────── */
.st-card-banner {
  position: relative;
  width: 100%;
  height: 125px;
  background: var(--bg-hover);
  overflow: hidden;
}

.st-card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.st-card:hover .st-card-cover-img {
  transform: scale(1.06);
}

.st-card-cover-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #181926 0%, #202438 50%, #2a1f3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .st-card-cover-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #fed7aa 100%);
}

.st-card-cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 140, 0, 0.4) 1px, transparent 1px);
  background-size: 14px 14px;
}

.st-card-cover-brand {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.35;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.st-card:hover .st-card-cover-brand {
  transform: scale(1.15);
  opacity: 0.6;
}

.st-card-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

/* Banner Top Badges */
.st-banner-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 5;
}

.st-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.st-badge-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: ping 1.2s infinite;
}

.st-banner-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.st-banner-share-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* ── Card Body & Overlapping Profile ──────────────── */
.st-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem 1.25rem 1.25rem;
  flex: 1;
}

.st-card-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -34px;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 3;
}

.st-avatar-container {
  position: relative;
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  display: block;
}

.st-avatar-img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--bg-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  background: var(--bg-card);
  transition: transform 0.25s ease;
}

[data-theme="light"] .st-avatar-img {
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.st-card:hover .st-avatar-img {
  transform: scale(1.04);
}

.st-avatar-status-beacon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--bg-card);
  background: #94a3b8;
  transition: all var(--transition);
}

[data-theme="light"] .st-avatar-status-beacon {
  border-color: #ffffff;
}

.st-avatar-container.is-live .st-avatar-status-beacon,
.st-card.is-live .st-avatar-status-beacon {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse 1.5s infinite;
}

/* Quick Socials in Avatar Row */
.st-quick-socials {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding-bottom: 4px;
  flex-wrap: wrap;
}

.st-social-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: all var(--transition);
}

.st-social-mini-link:hover {
  background: var(--brand-color, var(--accent));
  border-color: var(--brand-color, var(--accent));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* ── Profile Info ─────────────────────────────────── */
.st-card-profile-info {
  margin-bottom: 0.6rem;
}

.st-card-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.st-card-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.3;
  transition: color var(--transition);
}

.st-card-name:hover {
  color: var(--accent);
}

.st-verified-icon {
  color: #38bdf8;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.st-card-handle-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.st-card-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.st-card-handle:hover {
  color: var(--text-primary);
}

/* ── Bio Text ─────────────────────────────────────── */
.st-card-bio {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.48;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

/* ── Game Tags ────────────────────────────────────── */
.st-card-games-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.st-game-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-hover2);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  max-width: 140px;
}

.st-game-tag-img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.st-game-tag-icon {
  font-size: 0.65rem;
  color: var(--accent);
}

.st-game-tag-name {
  font-weight: 500;
}

.st-game-tag-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-full);
  background: var(--bg-hover);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-weight: 600;
}

/* ── Goal Progress Bar ────────────────────────────── */
.st-card-goal-box {
  padding: 0.65rem 0.8rem;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.st-card-goal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.st-card-goal-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.st-card-goal-title i {
  color: var(--accent);
  font-size: 0.68rem;
}

.st-card-goal-percent {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.st-card-goal-track {
  width: 100%;
  height: 5px;
  background: var(--bg-tertiary);
  border-radius: 9999px;
  overflow: hidden;
}

.st-card-goal-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #a855f7 100%);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* ── Card Bottom Footer: Status & Action Button ──── */
.st-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.st-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.st-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}

.st-status-badge.is-open {
  color: #10b981;
}

.st-status-badge.is-open .st-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

.st-status-badge.is-live {
  color: #ef4444;
}

.st-status-badge.is-live .st-status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
  animation: ping 1.4s infinite;
}

.st-status-text {
  white-space: nowrap;
}

/* Primary CTA Button */
.st-card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

[data-theme="light"] .st-card-cta-btn {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.st-card-cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.st-card-cta-btn i {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.st-card-cta-btn:hover i {
  transform: translate(2px, -2px);
}

/* ── Empty States ─────────────────────────────────── */
.st-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
  text-align: center;
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px dashed var(--border-card);
  border-radius: 20px;
  margin: 1rem 0;
}

.st-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-hover2);
  color: var(--text-muted);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.st-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.st-empty-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 400px;
  line-height: 1.5;
}

.st-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 140, 0, 0.35);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.st-empty-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* ── Mobile Responsive Adjustments ───────────────── */
@media (max-width: 640px) {
  .st-hero-banner {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
    margin-bottom: 1.5rem;
  }

  .st-hero-title {
    font-size: 1.65rem;
  }

  .st-hero-desc {
    font-size: 0.85rem;
  }

  .st-stats-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .st-stat-card {
    padding: 0.9rem 1rem;
  }

  .st-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .st-card-banner {
    height: 110px;
  }

  .st-card-body {
    padding: 0 1rem 1rem 1rem;
  }

  .st-avatar-container {
    width: 60px;
    height: 60px;
  }

  .st-avatar-img {
    width: 60px;
    height: 60px;
  }

  .st-card-name {
    font-size: 1rem;
  }

  .st-card-footer {
    padding-top: 0.75rem;
  }
}

/* ════════════════════════════════════════════════════════════
   DONATE PAGE (dp-) — Luxury Minimalist & Modern Redesign
   ════════════════════════════════════════════════════════════ */

.dp-page-body {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.dp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* ── Ambient Background Glow ───────────────────────── */
.dp-ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 140, 0, 0.18), rgba(255, 85, 0, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ── Top Floating Navigation Bar ───────────────────── */
.dp-top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 16, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

[data-theme="light"] .dp-top-nav {
  background: rgba(255, 255, 255, 0.88);
}

.dp-top-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dp-nav-left,
.dp-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dp-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  text-decoration: none;
}

.dp-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.dp-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
}

.dp-brand-name {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dp-nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  transition: all var(--transition);
  text-decoration: none;
}

.dp-nav-back-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover2);
  border-color: var(--accent);
  transform: translateX(-2px);
}

.dp-nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.dp-nav-status-pill.online {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dp-nav-status-pill.offline {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.dp-status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
}

.dp-nav-status-pill.online .dp-status-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  animation: dpPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.dp-nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.dp-nav-icon-btn:hover {
  background: var(--bg-hover2);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

[data-theme="dark"] .dp-icon-light {
  display: none;
}

[data-theme="dark"] .dp-icon-dark {
  display: inline-block;
}

[data-theme="light"] .dp-icon-dark {
  display: none;
}

[data-theme="light"] .dp-icon-light {
  display: inline-block;
}

/* ── Hero Cover & Profile Section ──────────────────── */
.dp-hero-container {
  position: relative;
  overflow: visible;
}

.dp-hero-cover {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #18181b 100%);
}

.dp-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease;
}

.dp-cover-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.35) 0%, rgba(147, 51, 234, 0.25) 50%, rgba(15, 23, 42, 0.95) 100%);
}

.dp-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(9, 10, 16, 0.5) 60%, var(--bg-primary) 100%);
  pointer-events: none;
}

[data-theme="light"] .dp-cover-overlay {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, rgba(248, 250, 252, 0.6) 60%, var(--bg-primary) 100%);
}

.dp-profile-card-wrapper {
  margin-top: -85px;
  position: relative;
  z-index: 10;
}

.dp-profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.85rem 2.25rem;
  box-shadow: var(--shadow-lg);
  transition: border-color var(--transition);
}

.dp-profile-main-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.dp-profile-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.dp-avatar-ring {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff5500 50%, #ec4899 100%);
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform var(--transition);
}

.dp-avatar-ring:hover {
  transform: scale(1.04);
}

.dp-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-secondary);
  border: 2px solid var(--bg-card);
  display: block;
}

.dp-avatar-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3.5px solid var(--bg-card);
  transition: all var(--transition);
}

.dp-avatar-status-dot.online {
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
}

.dp-avatar-status-dot.offline {
  background: #64748b;
}

.dp-profile-details {
  flex: 1;
  min-width: 0;
}

.dp-profile-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.dp-profile-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dp-profile-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dp-verified-badge {
  color: #38bdf8;
  font-size: 1.35rem;
  display: inline-flex;
  filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.4));
}

.dp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.dp-status-pill.online {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dp-status-pill.offline {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.dp-status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.dp-profile-username {
  font-size: 0.98rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
}

.dp-profile-bio {
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dp-profile-bio p {
  margin: 0;
  white-space: pre-line;
}

.dp-games-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.dp-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.dp-game-badge:hover {
  background: rgba(255, 140, 0, 0.2);
  transform: translateY(-1px);
}

.dp-game-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* Extra games hidden by default until expanded */
.dp-games-row .dp-game-extra {
  display: none;
}

.dp-games-row.is-expanded .dp-game-extra {
  display: inline-flex;
  animation: dpGameBadgeFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dpGameBadgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toggle Show More Button */
.dp-game-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 140, 0, 0.12);
  border: 1px dashed rgba(255, 140, 0, 0.45);
  color: #ff9800;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  user-select: none;
}

.dp-game-more-btn:hover {
  background: rgba(255, 140, 0, 0.24);
  border-style: solid;
  border-color: var(--accent, #ff8c00);
  color: #fff;
  transform: translateY(-1px);
}

.dp-game-more-btn:active {
  transform: scale(0.97);
}

.dp-game-more-btn i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dp-games-row.is-expanded .dp-game-more-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary, #94a3b8);
}

.dp-games-row.is-expanded .dp-game-more-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.dp-social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dp-social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
}

.dp-social-chip:hover {
  background: var(--brand-color, var(--accent));
  color: #ffffff;
  border-color: var(--brand-color, var(--accent));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* ── Donation Goal Widget ──────────────────────────── */
.dp-goal-card {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-card);
}

.dp-goal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dp-goal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dp-goal-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 140, 0, 0.25);
}

.dp-goal-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: block;
}

.dp-goal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dp-goal-values {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.dp-goal-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.dp-goal-target {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.dp-goal-percent-badge {
  padding: 0.22rem 0.6rem;
  border-radius: 9999px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.35rem;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.dp-goal-progress-track {
  width: 100%;
  height: 12px;
  border-radius: 9999px;
  background: var(--bg-hover2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-card);
}

.dp-goal-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: var(--accent-gradient);
  position: relative;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px var(--accent-glow);
}

.dp-goal-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: dpShimmer 2.5s infinite;
}

.dp-goal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ── Main Content Grid Layout ──────────────────────── */
.dp-main-content {
  padding: 2rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.dp-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 1.75rem;
  align-items: start;
}

.dp-col-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Payment Tabs ──────────────────────────────────── */
.dp-tabs-wrapper {
  margin-bottom: 0.25rem;
}

.dp-tabs-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.dp-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.dp-tab-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dp-tab-btn:hover {
  background: var(--bg-hover2);
  border-color: rgba(255, 140, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.dp-tab-btn.active {
  background: var(--accent-gradient-subtle);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow), var(--shadow-md);
}

.dp-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #ffffff;
  transition: transform var(--transition);
}

.dp-tab-icon.tw-brand {
  background: linear-gradient(135deg, #ff8c00 0%, #ff3b30 100%);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}

.dp-tab-icon.pp-brand {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.35);
}

.dp-tab-icon.bk-brand {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.dp-tab-btn:hover .dp-tab-icon,
.dp-tab-btn.active .dp-tab-icon {
  transform: scale(1.06);
}

.dp-tab-text {
  flex: 1;
  min-width: 0;
}

.dp-tab-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.dp-tab-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.dp-tab-active-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.65rem;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.dp-tab-btn.active .dp-tab-active-indicator {
  display: flex;
}

/* ── Form Card & Controls ──────────────────────────── */
.dp-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-lg);
}

.dp-tab-panel {
  animation: dpFadeIn 0.3s ease;
}

.dp-tab-panel.hidden {
  display: none !important;
}

.dp-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.dp-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dp-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dp-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dp-char-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dp-input-wrapper {
  position: relative;
}

.dp-input-hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 0.3rem;
  display: block;
}

.dp-input,
.dp-textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  transition: all var(--transition);
  outline: none;
}

.dp-input:focus,
.dp-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-card);
}

.dp-input::placeholder,
.dp-textarea::placeholder {
  color: var(--text-faint);
}

.dp-textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.5;
}

/* ── Quick Message Preset Chips ────────────────────── */
.dp-quick-messages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.dp-quick-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.32rem 0.7rem;
  border-radius: 9999px;
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.dp-quick-chip:hover {
  background: var(--accent-gradient-subtle);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── TrueMoney Input with Paste Button ──────────────── */
.dp-input-group-paste {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.dp-input-group-paste .dp-input {
  flex: 1;
}

.dp-btn-paste {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-hover2);
  border: 1.5px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.dp-btn-paste:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.dp-guide-box {
  background: var(--bg-hover);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-top: 0.65rem;
}

.dp-guide-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dp-guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dp-guide-steps strong {
  color: var(--accent);
}

/* ── PromptPay Amounts & QR Showcase ────────────────── */
.dp-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.dp-amount-btn {
  padding: 0.65rem 0.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.dp-amount-btn:hover {
  border-color: var(--accent);
  background: var(--bg-hover2);
  transform: translateY(-1px);
}

.dp-amount-btn.active {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.dp-amount-custom-input {
  position: relative;
  display: flex;
  align-items: center;
}

.dp-amount-currency {
  position: absolute;
  left: 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  pointer-events: none;
}

.dp-amount-unit {
  position: absolute;
  right: 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
}

.dp-input-amount {
  padding-left: 2.35rem;
  padding-right: 3.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.dp-qr-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.dp-qr-header {
  margin-bottom: 1rem;
}

.dp-qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.dp-qr-title {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.dp-qr-img-box {
  display: inline-flex;
  padding: 1rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  margin: 0.75rem 0;
  max-width: 240px;
  width: 100%;
}

.dp-qr-img-box img,
#pp-qrcode-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.dp-qr-amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  background: var(--accent-gradient-subtle);
  border: 1.5px solid var(--accent);
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.dp-qr-amount-pill strong {
  color: var(--accent);
  font-size: 1.25rem;
}

.dp-qr-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

/* ── Bank Showcase Card ────────────────────────────── */
.dp-account-box {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.35rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dp-account-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dp-account-icon.bk {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}

.dp-account-bank-details {
  flex: 1;
}

.dp-account-type-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: block;
}

.dp-account-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.dp-account-number-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-bottom: 0.75rem;
}

.dp-number-label {
  font-size: 0.72rem;
  color: var(--text-faint);
  display: block;
  text-transform: uppercase;
  font-weight: 600;
}

.dp-account-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  font-family: monospace, monospace;
  letter-spacing: 1px;
}

.dp-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  background: var(--accent-gradient-subtle);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.dp-btn-copy:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-glow);
  transform: translateY(-1px);
}

.dp-account-holder-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ── DropZone for Slip Upload ──────────────────────── */
.dp-dropzone {
  border: 2px dashed var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.dp-dropzone:hover,
.dp-dropzone.drag-over {
  border-color: var(--accent);
  background: var(--accent-gradient-subtle);
  box-shadow: 0 0 24px var(--accent-glow);
}

.dp-dropzone-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-hover2);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  transition: transform var(--transition);
}

.dp-dropzone:hover .dp-dropzone-icon {
  transform: scale(1.1);
}

.dp-dropzone-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dp-dropzone-title span {
  color: var(--accent);
  text-decoration: underline;
}

.dp-dropzone-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

/* ── Submit & Action Buttons ───────────────────────── */
.dp-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 8px 25px var(--accent-glow);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.dp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-glow2);
  filter: brightness(1.05);
}

.dp-submit:active {
  transform: translateY(0);
}

.dp-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.dp-btn-secondary {
  width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-hover);
  border: 1.5px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition);
}

.dp-btn-secondary:hover {
  background: var(--bg-hover2);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.dp-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ── Sidebar Cards & Widgets ───────────────────────── */
.dp-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dp-sidebar-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.dp-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 1rem;
}

.dp-sidebar-header-icon {
  font-size: 1.15rem;
}

.dp-sidebar-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dp-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.86rem;
}

.dp-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dp-info-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dp-info-val {
  color: var(--text-primary);
  font-weight: 600;
}

.dp-info-val.highlight {
  color: var(--accent);
  font-weight: 700;
}

/* ── Mini Leaderboard (Top Donators) ───────────────── */
.dp-mini-leaderboard {
  display: flex;
  flex-direction: column;
}

.dp-mini-leader-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-card);
  transition: all var(--transition);
}

.dp-mini-leader-row:last-child {
  border-bottom: none;
}

.dp-mini-leader-row:hover {
  background: var(--bg-hover);
}

.dp-mini-leader-row.r-1 {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
}

.dp-mini-leader-row.r-2 {
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.08) 0%, transparent 100%);
}

.dp-mini-leader-row.r-3 {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.08) 0%, transparent 100%);
}

.dp-mini-rank-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dp-rank-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.dp-mini-donor-info {
  flex: 1;
  min-width: 0;
}

.dp-mini-donor-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-mini-amount-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  font-family: monospace, monospace;
}

.dp-empty-leaderboard {
  text-align: center;
  padding: 1.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dp-empty-icon-sm {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* ── Trust & Security Box ──────────────────────────── */
.dp-trust-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dp-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-hover2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.dp-trust-text strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.dp-trust-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* ── Banner Ads ────────────────────────────────────── */
.dp-banner-box {
  transition: opacity 0.3s ease;
}

.dp-banner-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.dp-banner-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.dp-banner-link:hover .dp-banner-image {
  transform: scale(1.03);
}

.dp-banner-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ── Empty Payment State ───────────────────────────── */
.dp-empty-payment-card {
  text-align: center;
  padding: 3rem 2rem;
}

.dp-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-hover2);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.dp-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dp-empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

/* ── Footer ────────────────────────────────────────── */
.dp-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ── Keyframe Animations ───────────────────────────── */
@keyframes dpFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dpPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(2.2);
    opacity: 0;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes dpShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(200%);
  }
}

/* ── Mobile Responsive Adjustments ─────────────────── */
@media (max-width: 992px) {
  .dp-grid-layout {
    grid-template-columns: 1fr;
  }

  .dp-profile-main-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dp-profile-header-row {
    justify-content: center;
  }

  .dp-profile-avatar-box {
    margin-bottom: 0.5rem;
  }

  .dp-games-row,
  .dp-social-links-row {
    justify-content: center;
  }

  .dp-goal-header {
    justify-content: center;
    text-align: center;
  }

  .dp-goal-title-wrap {
    flex-direction: column;
  }

  .dp-goal-footer {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .dp-profile-card {
    padding: 1.4rem 1.15rem;
  }

  .dp-profile-title {
    font-size: 1.45rem;
  }

  .dp-avatar-ring {
    width: 92px;
    height: 92px;
  }

  .dp-avatar-status-dot {
    width: 18px;
    height: 18px;
    bottom: 4px;
    right: 4px;
  }

  .dp-form-card {
    padding: 1.35rem 1.15rem;
  }

  .dp-tabs {
    grid-template-columns: 1fr;
  }

  .dp-amounts {
    grid-template-columns: repeat(4, 1fr);
  }

  .dp-top-nav-container {
    padding: 0.6rem 1rem;
  }

  .dp-nav-back-link span {
    display: none;
  }

  .dp-nav-back-link {
    padding: 0.4rem 0.6rem;
  }
}

/* ═══════════════════════════════════════════════════════
   Mobile Slip Upload Feature (QR & Modal)
   ═══════════════════════════════════════════════════════ */

/* ── Mobile Slip Banner & Pill Button ────────────────── */
.dp-mobile-upload-banner {
  margin: 1.15rem 0 0.85rem 0;
  width: 100%;
}

.dp-btn-mobile-slip {
  width: 100%;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  background: #090c1a;
  border: 1.5px solid rgba(80, 120, 200, 0.4);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all var(--transition);
  outline: none;
}

.dp-btn-mobile-slip i {
  font-size: 1.15rem;
  color: #38bdf8;
  transition: transform var(--transition);
}

.dp-btn-mobile-slip:hover {
  background: #0e1428;
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.dp-btn-mobile-slip:hover i {
  transform: scale(1.15);
  color: #ff8c00;
}

.dp-btn-mobile-slip:active {
  transform: translateY(0);
}

.dp-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 600;
}

.dp-divider-text::before,
.dp-divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--border-card);
}

.dp-divider-text span {
  padding: 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Mobile Slip Modal ───────────────────────────────── */
.dp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 16, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dp-modal-overlay.dp-modal-show {
  opacity: 1;
  pointer-events: auto;
}

.dp-modal-card {
  background: linear-gradient(150deg, rgba(20, 24, 46, 0.97) 0%, rgba(10, 13, 27, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  width: 100%;
  max-width: 440px;
  padding: 2rem 1.75rem 1.6rem 1.75rem;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  position: relative;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.dp-modal-overlay.dp-modal-show .dp-modal-card {
  transform: scale(1) translateY(0);
}

.dp-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.dp-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.dp-modal-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.2);
}

.dp-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
}

.dp-modal-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem 0;
  line-height: 1.4;
}

/* Modal QR Container */
.dp-modal-qr-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px;
  display: inline-block;
  margin: 0 auto 1.15rem auto;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  position: relative;
  min-width: 240px;
  min-height: 240px;
}

.dp-modal-qr-img {
  width: 212px;
  height: 212px;
  display: block;
  border-radius: 8px;
}

.dp-modal-spinner {
  width: 212px;
  height: 212px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 600;
}

.dp-modal-spinner i {
  font-size: 2rem;
  color: var(--accent);
}

.dp-modal-qr-expired {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 0.65rem;
  color: #f8fafc;
}

.dp-modal-qr-expired i {
  font-size: 2.2rem;
  color: #fbbf24;
}

.dp-modal-qr-expired span {
  font-size: 0.92rem;
  font-weight: 700;
}

.dp-btn-refresh-qr {
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all var(--transition);
}

.dp-btn-refresh-qr:hover {
  transform: scale(1.04);
}

/* Modal Status Card */
.dp-modal-status-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dp-modal-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dp-modal-status-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #38bdf8;
}

.dp-modal-timer-row {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.dp-modal-timer-row strong {
  color: #ff8c00;
  font-family: monospace, monospace;
  font-size: 0.95rem;
}

/* Modal Link Box */
.dp-modal-link-box {
  margin-bottom: 1.25rem;
  text-align: left;
}

.dp-modal-link-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: block;
}

.dp-modal-link-input-wrap {
  display: flex;
  gap: 0.45rem;
}

.dp-modal-link-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  color: #94a3b8;
  outline: none;
}

.dp-btn-copy-link {
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: all var(--transition);
}

.dp-btn-copy-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Modal Success Card */
.dp-modal-success-card {
  padding: 1.5rem 1rem;
}

.dp-modal-success-card .dp-success-icon-bounce {
  font-size: 3.5rem;
  color: #34d399;
  margin-bottom: 0.85rem;
  animation: dpSuccessPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dpSuccessPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.dp-modal-success-card h4 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
}

.dp-modal-success-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0 0 0.85rem 0;
}

.dp-modal-success-amount {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: monospace, monospace;
}