/* ==========================================================================
   Rich Life Network - Gold Luxury Dark Theme Design System
   Brand Palette: Deep Obsidian, Onyx Glass, Metallic Radiant Gold, Champagne
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Dark Canvas Colors */
  --rln-bg-deep: #06070a;
  --rln-bg-body: #0a0b10;
  --rln-bg-card: #11131c;
  --rln-bg-card-elevated: #161a27;
  --rln-bg-card-hover: #1c2132;
  --rln-bg-glass: rgba(17, 19, 28, 0.82);
  --rln-bg-glass-strong: rgba(10, 11, 16, 0.94);
  --rln-bg-input: #0c0e15;

  /* Metallic Gold Palette */
  --rln-gold: #d4af37;
  --rln-gold-light: #f7e5a9;
  --rln-gold-lighter: #fff2cc;
  --rln-gold-dark: #996515;
  --rln-gold-bronze: #744d0f;
  --rln-gold-gradient: linear-gradient(135deg, #ffe79a 0%, #d4af37 50%, #996515 100%);
  --rln-gold-gradient-horizontal: linear-gradient(90deg, #ffe28a 0%, #d4af37 50%, #aa771c 100%);
  --rln-gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.03) 100%);
  --rln-gold-gradient-card: linear-gradient(145deg, #171a26 0%, #0e1017 100%);

  /* Border & Glows */
  --rln-border: rgba(212, 175, 55, 0.2);
  --rln-border-glow: rgba(212, 175, 55, 0.45);
  --rln-border-subtle: rgba(255, 255, 255, 0.08);
  --rln-glow-sm: 0 0 15px rgba(212, 175, 55, 0.2);
  --rln-glow-md: 0 0 25px rgba(212, 175, 55, 0.35);
  --rln-glow-lg: 0 0 45px rgba(212, 175, 55, 0.45);
  --rln-shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 1px 1px rgba(212, 175, 55, 0.15);

  /* Typography Colors */
  --rln-text-white: #ffffff;
  --rln-text-main: #f1f5f9;
  --rln-text-muted: #94a3b8;
  --rln-text-dim: #64748b;
  --rln-text-gold: #f3e5ab;

  /* Accent Colors */
  --rln-success: #10b981;
  --rln-warning: #f59e0b;
  --rln-danger: #ef4444;
  --rln-info: #3b82f6;

  /* Font Families */
  --rln-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rln-font-serif: 'Cinzel', serif;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
body {
  background-color: var(--rln-bg-body) !important;
  color: var(--rln-text-main) !important;
  font-family: var(--rln-font-sans) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.95) 0%, rgba(10, 11, 16, 0.98) 100%) !important;
  background-attachment: fixed !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rln-gold);
  color: #000;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--rln-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #996515 0%, #d4af37 100%);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f7e5a9;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--rln-text-white);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-cinzel {
  font-family: var(--rln-font-serif) !important;
}

.text-gold {
  color: var(--rln-gold) !important;
}

.text-gold-light {
  color: var(--rln-gold-light) !important;
}

.text-gold-gradient {
  background: var(--rln-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold-glow {
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.text-muted-dark {
  color: var(--rln-text-muted) !important;
}

/* ==========================================================================
   Luxury Buttons
   ========================================================================== */
.btn-gold,
.btn--base {
  background: var(--rln-gold-gradient) !important;
  color: #0a0b10 !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 235, 160, 0.4) !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-gold::before,
.btn--base::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn-gold:hover,
.btn--base:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  color: #000000 !important;
}

.btn-gold:hover::before,
.btn--base:hover::before {
  left: 150%;
}

.btn-gold-outline,
.btn--outline {
  background: rgba(17, 19, 28, 0.6) !important;
  color: var(--rln-gold-light) !important;
  border: 1px solid var(--rln-gold) !important;
  font-weight: 600 !important;
  padding: 10px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-gold-outline:hover,
.btn--outline:hover {
  background: var(--rln-gold-gradient) !important;
  color: #0a0b10 !important;
  border-color: var(--rln-gold-light) !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.btn-dark-glass {
  background: rgba(26, 30, 46, 0.8) !important;
  color: var(--rln-text-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dark-glass:hover {
  background: rgba(35, 41, 62, 0.95) !important;
  border-color: var(--rln-gold);
  color: var(--rln-gold-light) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Luxury Cards & Glassmorphism
   ========================================================================== */
.card,
.custom--card,
.modern-card,
.gold-card {
  background: var(--rln-bg-card-gradient) !important;
  background-color: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--rln-shadow-card) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.card:hover,
.modern-card:hover,
.gold-card:hover {
  border-color: var(--rln-border-glow) !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.2) !important;
  transform: translateY(-4px);
}

.card-header {
  background: rgba(22, 26, 39, 0.85) !important;
  border-bottom: 1px solid var(--rln-border) !important;
  padding: 18px 24px !important;
  font-weight: 700;
  color: var(--rln-text-white) !important;
}

.card-body {
  padding: 24px !important;
  color: var(--rln-text-main);
}

.card-footer {
  background: rgba(14, 16, 25, 0.9) !important;
  border-top: 1px solid var(--rln-border) !important;
  padding: 16px 24px !important;
}

/* Gold Gradient Border Glow Effect */
.gold-glow-border {
  position: relative;
}

.gold-glow-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--rln-gold-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ==========================================================================
   Header & Navbar (Luxury Dark Glass)
   ========================================================================== */
.header {
  background: rgba(8, 9, 13, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header.sticky {
  background: rgba(6, 7, 10, 0.96) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(212, 175, 55, 0.25) !important;
}

.header-bottom-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header .logo img {
  max-height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.header .menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .menu li a {
  color: var(--rln-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  padding: 6px 0;
}

.header .menu li a:hover,
.header .menu li a.active {
  color: var(--rln-gold-light);
}

.header .menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--rln-gold-gradient);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.header .menu li a:hover::after,
.header .menu li a.active::after {
  width: 100%;
}

.header .account {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--rln-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rln-gold-light);
  font-size: 1.25rem;
  transition: all 0.25s ease;
}

.header .account:hover {
  background: var(--rln-gold-gradient);
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  transform: scale(1.05);
}

/* ==========================================================================
   User Dashboard Layout
   ========================================================================== */
.user-dashboard {
  padding-top: 40px;
  padding-bottom: 70px;
  position: relative;
  z-index: auto !important;
}

.user-dashboard .container {
  position: relative;
  z-index: auto !important;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  background: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 20px !important;
  padding: 24px 18px !important;
  box-shadow: var(--rln-shadow-card) !important;
  position: sticky;
  top: 90px;
}

.dashboard-user {
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rln-border);
}

.dashboard-user .user-thumb {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: var(--rln-gold-gradient);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  position: relative;
}

.dashboard-user .user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}

.dashboard-user .user-content span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rln-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.dashboard-user .user-content .name {
  color: var(--rln-text-white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.user-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid var(--rln-gold);
  color: var(--rln-gold-light);
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sidebar Menu */
.user-dashboard-tab {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-dashboard-tab li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--rln-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.22s ease;
  position: relative;
  border: 1px solid transparent;
}

.user-dashboard-tab li a i {
  font-size: 1.25rem;
  color: var(--rln-text-dim);
  transition: all 0.22s ease;
  width: 22px;
  text-align: center;
}

.user-dashboard-tab li a:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--rln-text-white);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(4px);
}

.user-dashboard-tab li a:hover i {
  color: var(--rln-gold);
}

.user-dashboard-tab li a.active {
  background: var(--rln-gold-gradient) !important;
  color: #07080b !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  border-color: rgba(255, 235, 160, 0.4) !important;
}

.user-dashboard-tab li a.active i {
  color: #07080b !important;
}

/* Sign out item */
.user-dashboard-tab li.sign-out a:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.user-dashboard-tab li.sign-out a:hover i {
  color: #f87171;
}

/* ==========================================================================
   User Dashboard KPI Stat Cards
   ========================================================================== */
.stat-card-luxury {
  background: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 18px !important;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--rln-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card-luxury:hover {
  transform: translateY(-5px);
  border-color: var(--rln-border-glow) !important;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.22) !important;
}

.stat-card-luxury .stat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-card-luxury .stat-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rln-text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-card-luxury .stat-amount {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--rln-text-white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.stat-card-luxury .stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--rln-gold-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Stat card highlight (e.g. Current Balance) */
.stat-card-luxury.card-highlight {
  background: linear-gradient(145deg, #1b1e2d 0%, #12141f 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.18) !important;
}

.stat-card-luxury.card-highlight .stat-amount {
  background: var(--rln-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card-luxury.card-highlight .stat-icon {
  background: var(--rln-gold-gradient);
  color: #07080b;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.stat-card-luxury .stat-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card-luxury .stat-footer a {
  color: var(--rln-gold-light);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.stat-card-luxury .stat-footer a:hover {
  color: #ffffff;
  gap: 8px;
}

/* ==========================================================================
   Dashboard Hero Welcome Banner & Referral Widget
   ========================================================================== */
.dashboard-hero-banner {
  background: linear-gradient(135deg, rgba(16, 19, 29, 0.94) 0%, rgba(10, 11, 16, 0.96) 100%),
              url('../images/backgrounds/rand_stacks.webp');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--rln-border);
  border-radius: 20px;
  padding: 30px 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--rln-shadow-card);
}

.dashboard-hero-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard-hero-banner .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  color: var(--rln-gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.dashboard-hero-banner h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.dashboard-hero-banner p {
  color: var(--rln-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Referral Copy Box */
.referral-box-luxury {
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid var(--rln-border);
  border-radius: 14px;
  padding: 6px 8px 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.referral-box-luxury input {
  background: transparent;
  border: none;
  color: var(--rln-gold-light);
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.referral-box-luxury .btn-copy {
  background: var(--rln-gold-gradient);
  border: none;
  color: #07080b;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.referral-box-luxury .btn-copy:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  transform: scale(1.02);
}

/* ==========================================================================
   Stage Progression Stepper Widget (Stages 1 to 6)
   ========================================================================== */
.stage-stepper-luxury {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--rln-shadow-card);
}

.stage-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.stage-stepper-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

@media (max-width: 991px) {
  .stage-stepper-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .stage-stepper-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stage-step-card {
  background: rgba(14, 16, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.stage-step-card.completed {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
}

.stage-step-card.active {
  border-color: var(--rln-gold);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16) 0%, rgba(14, 16, 25, 0.9) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
  transform: translateY(-3px);
}

.stage-step-card .stage-num {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--rln-text-muted);
  margin-bottom: 4px;
}

.stage-step-card.active .stage-num {
  color: var(--rln-gold);
}

.stage-step-card .stage-payout {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rln-text-white);
  margin-bottom: 2px;
}

.stage-step-card .stage-reward {
  font-size: 0.75rem;
  color: var(--rln-gold-light);
  line-height: 1.2;
}

/* ==========================================================================
   Modern Dark Tables
   ========================================================================== */
.table-luxury-wrapper,
.table-responsive {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--rln-shadow-card);
}

.table {
  color: var(--rln-text-main) !important;
  margin-bottom: 0 !important;
  vertical-align: middle;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.table thead th {
  background: rgba(22, 26, 39, 0.95) !important;
  color: var(--rln-gold-light) !important;
  font-weight: 700 !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--rln-border) !important;
  padding: 16px 20px !important;
  white-space: nowrap;
}

.table tbody tr {
  background: transparent !important;
  transition: background 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05) !important;
}

.table tbody td {
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: var(--rln-text-main) !important;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Badges */
.badge {
  padding: 6px 12px;
  font-weight: 700;
  border-radius: 30px;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge--success {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge--warning {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge--danger {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge--gold,
.badge--primary {
  background: rgba(212, 175, 55, 0.18) !important;
  color: var(--rln-gold-light) !important;
  border: 1px solid var(--rln-gold);
}

/* ==========================================================================
   Modern Dark Form Controls
   ========================================================================== */
.form-control,
.form-select {
  background-color: var(--rln-bg-input) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  color: var(--rln-text-white) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: #0e1018 !important;
  border-color: var(--rln-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: var(--rln-text-dim) !important;
}

.form-label,
label {
  color: var(--rln-text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.input-group-text {
  background: rgba(26, 30, 46, 0.9) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  color: var(--rln-gold-light) !important;
  border-radius: 12px !important;
}

/* Select2 in Dark Mode */
.select2-container--default .select2-selection--single {
  background-color: var(--rln-bg-input) !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  border-radius: 12px !important;
  height: 48px !important;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--rln-text-white) !important;
  line-height: 48px !important;
  padding-left: 16px !important;
}

.select2-dropdown {
  background-color: var(--rln-bg-card-elevated) !important;
  border: 1px solid var(--rln-gold) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.select2-container--default .select2-results__option {
  color: var(--rln-text-main) !important;
  padding: 10px 16px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--rln-gold) !important;
  color: #07080b !important;
}

/* ==========================================================================
   Notice Card
   ========================================================================== */
.notice--card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(17, 19, 28, 0.95) 100%) !important;
  border: 1px solid var(--rln-border-glow) !important;
  border-radius: 16px !important;
  margin-bottom: 24px;
}

.notice--card .card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  color: var(--rln-gold-light) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-text-inner {
  color: var(--rln-text-main);
  line-height: 1.6;
}

/* ==========================================================================
   Binary Tree & Stage Tree (Modern Dark Canvas)
   ========================================================================== */
.tree-container-luxury {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: var(--rln-shadow-card);
  overflow-x: auto;
}

.modern-tree-card {
  background: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--rln-shadow-card) !important;
}

.modern-stage-btn {
  background: rgba(22, 26, 39, 0.9) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  color: var(--rln-gold-light) !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  margin: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modern-stage-btn:hover {
  background: rgba(212, 175, 55, 0.15) !important;
  border-color: var(--rln-gold) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.modern-stage-btn.active {
  background: var(--rln-gold-gradient) !important;
  color: #07080b !important;
  border-color: var(--rln-gold-light) !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45) !important;
}

.user2,
.user-tree-node {
  height: 60px;
  width: 60px;
  margin: 0 auto;
  position: relative;
  border-radius: 50%;
  background: #0d0f17;
  border: 2px solid var(--rln-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.user2:hover,
.user-tree-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.65);
}

.user2 img,
.user-tree-node img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name2 {
  font-size: 0.8rem;
  color: var(--rln-text-white);
  font-weight: 600;
  margin-top: 6px;
}

/* ==========================================================================
   Incentives Rewards Gallery
   ========================================================================== */
.incentive-card-luxury {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--rln-shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.incentive-card-luxury:hover {
  border-color: var(--rln-border-glow);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.incentive-card-luxury .thumb-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #090a0f;
  overflow: hidden;
}

.incentive-card-luxury .thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.incentive-card-luxury:hover .thumb-wrapper img {
  transform: scale(1.08);
}

.incentive-card-luxury.locked .thumb-wrapper img {
  filter: grayscale(80%) brightness(50%);
}

.incentive-card-luxury .lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 16, 0.7);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rln-gold);
}

.incentive-card-luxury .content-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.incentive-card-luxury .incentive-stage-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rln-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.incentive-card-luxury .incentive-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

/* ==========================================================================
   Auth Screens (Login, Register, Password Reset)
   ========================================================================== */
.account-section {
  min-height: 100vh;
  background: var(--rln-bg-deep) !important;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  display: block !important;
}

.account-section > .row {
  min-height: 100vh;
  width: 100%;
  margin: 0 !important;
}

.account-section .shape {
  display: none !important;
}

/* Account Visual Thumb (Split Screen Image) */
.account-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #06070a;
}

.account-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
}

.account-thumb:hover img {
  transform: scale(1.04);
}

.account-thumb::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.2) 0%, rgba(6, 7, 10, 0.85) 100%),
              radial-gradient(circle at 60% 40%, rgba(212, 175, 55, 0.12) 0%, transparent 65%) !important;
  z-index: 1;
  pointer-events: none;
}

.account-thumb .account-thumb-content {
  position: relative;
  z-index: 2;
  margin: 40px;
  padding: 32px 36px;
  background: rgba(10, 11, 16, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--rln-border) !important;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.2) !important;
  max-width: 540px;
}

.account-thumb .account-thumb-content .welc {
  color: var(--rln-gold-light) !important;
  font-family: var(--rln-font-sans);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.82rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-thumb .account-thumb-content .welc::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--rln-gold);
}

.account-thumb .account-thumb-content .title {
  color: #ffffff !important;
  font-family: var(--rln-font-serif);
  font-size: 2.2rem !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.account-thumb .account-thumb-content .title::before {
  display: none !important;
}

.account-thumb .account-thumb-content .info {
  color: var(--rln-text-muted) !important;
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Account Form Column */
.account-form-wrapper {
  background: #0a0b10 !important;
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
  padding: 60px 70px !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 1199px) {
  .account-form-wrapper {
    padding: 50px 35px !important;
  }
  .account-thumb .account-thumb-content {
    margin: 25px;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .account-form-wrapper {
    padding: 40px 20px !important;
    min-height: auto;
  }
  .account-thumb {
    min-height: 320px;
  }
  .account-thumb .account-thumb-content {
    margin: 15px;
    padding: 18px 20px;
  }
  .account-thumb .account-thumb-content .title {
    font-size: 1.6rem !important;
  }
}

.account-form-wrapper .logo {
  text-align: center;
  margin-bottom: 28px;
}

.account-form-wrapper .logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.4));
}

.account-form .form--group {
  margin-bottom: 20px;
}

.account-form .form--label {
  color: var(--rln-text-main) !important;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.account-form .form-control,
.account-form .form--control {
  background: var(--rln-bg-input) !important;
  border: 1px solid var(--rln-border) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.account-form .form-control:focus,
.account-form .form--control:focus {
  background: #0f121b !important;
  border-color: var(--rln-gold) !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35) !important;
  color: #ffffff !important;
}

.account-form .form-control::placeholder,
.account-form .form--control::placeholder {
  color: #64748b !important;
}

.account-form .custom--checkbox .form--label {
  color: var(--rln-text-muted) !important;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Auth Buttons */
.account-form .button-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  margin-bottom: 22px;
}

.account-form .account--btn {
  background: var(--rln-gold-gradient) !important;
  color: #07080b !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 28px !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.account-form .account--btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55) !important;
  color: #000000 !important;
}

.account-form .custom--btn {
  background: rgba(17, 19, 28, 0.8) !important;
  border: 1px solid var(--rln-gold) !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  flex: 1;
  text-align: center;
  text-decoration: none;
}

.account-form .custom--btn::before {
  display: none !important;
}

.account-form .custom--btn span {
  background: none !important;
  -webkit-text-fill-color: var(--rln-gold-light) !important;
  -webkit-background-clip: unset !important;
  color: var(--rln-gold-light) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  transition: color 0.3s ease;
}

.account-form .custom--btn:hover {
  background: var(--rln-gold-gradient) !important;
  border-color: var(--rln-gold-light) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35) !important;
  transform: translateY(-2px);
}

.account-form .custom--btn:hover span {
  -webkit-text-fill-color: #07080b !important;
  color: #07080b !important;
}

.account-form-wrapper p.text--dark,
.account-form-wrapper p {
  color: var(--rln-text-muted) !important;
  font-size: 0.9rem;
}

.account-form-wrapper a.text--base {
  color: var(--rln-gold) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.account-form-wrapper a.text--base:hover {
  color: var(--rln-gold-light) !important;
  text-decoration: underline;
}

/* Standalone Auth Cards (Password reset, verify, 2FA) */
.account-card-luxury {
  background: rgba(17, 19, 28, 0.88) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rln-border) !important;
  border-radius: 24px !important;
  padding: 40px 36px !important;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.18) !important;
}

.account-card-luxury .auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.account-card-luxury .auth-logo img {
  max-height: 60px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
}

.account-card-luxury .auth-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.account-card-luxury .auth-subtitle {
  text-align: center;
  color: var(--rln-text-muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
}

/* ==========================================================================
   Frontend Sections (Hero, Earnings Table, Promo, etc.)
   ========================================================================== */

/* Hero Banner */
.banner-section-luxury {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.banner-content-luxury .brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--rln-gold);
  padding: 6px 18px;
  border-radius: 30px;
  color: var(--rln-gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.banner-content-luxury .title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .banner-content-luxury .title {
    font-size: 2.4rem;
  }
}

.banner-content-luxury .subtitle {
  font-size: 1.15rem;
  color: var(--rln-text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 620px;
}

/* Earnings Per Stage Table Section (Matching Flyer 1) */
.earnings-stage-table-section {
  padding: 80px 0;
  background: var(--rln-bg-deep);
  position: relative;
}

.earnings-table-card {
  background: var(--rln-bg-card);
  border: 2px solid var(--rln-gold);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
}

.earnings-table-header {
  background: var(--rln-gold-gradient);
  color: #07080b;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.earnings-table-header h3 {
  color: #07080b !important;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.earnings-table-header .joining-fee-pill {
  background: #07080b;
  color: var(--rln-gold-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.stage-row {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  transition: background 0.25s ease;
}

.stage-row:nth-child(even) {
  background: rgba(14, 16, 25, 0.6);
}

.stage-row:hover {
  background: rgba(212, 175, 55, 0.08);
}

.stage-row .stage-badge-box {
  width: 130px;
  flex-shrink: 0;
}

.stage-row .stage-badge-box .badge-stage-gold {
  background: var(--rln-gold-gradient);
  color: #07080b;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  min-width: 95px;
}

.stage-row .stage-calc-box {
  flex-grow: 1;
  padding-left: 20px;
}

.stage-row .stage-formula {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.stage-row .stage-incentive-note {
  font-size: 0.88rem;
  color: var(--rln-gold-light);
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer Section */
.footer-section {
  background: #040508 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 40px 0 30px;
}

.footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section .copy-text {
  color: var(--rln-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-section .copy-text a {
  color: var(--rln-gold-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-section .copy-text a:hover {
  color: var(--rln-gold);
  text-decoration: underline;
}

.footer-section .social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 26, 39, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--rln-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-section .social-icons a:hover {
  background: var(--rln-gold-gradient);
  color: #07080b;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* WhatsApp Float Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Mobile user toggler */
.user-toggler-wrapper {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  padding: 14px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
}

.user-toggler-wrapper .user-toggler {
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  touch-action: manipulation;
  color: #0a0b10 !important;
  background: var(--rln-gold-gradient) !important;
}

.user-toggler-wrapper .user-toggler i {
  font-size: 1.15rem;
  line-height: 1;
}

/* ==========================================================================
   Mobile Sidebar Drawer
   ========================================================================== */
@media (max-width: 991px) {
  /* Release parent stacking context so fixed drawer is positioned relative to viewport */
  .user-dashboard,
  .user-dashboard .container,
  .user-dashboard .row,
  .user-dashboard div[class*="col-"] {
    position: static !important;
    z-index: auto !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
  }

  .dashboard-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    z-index: 100005 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    border-radius: 0 !important;
    padding: 20px 18px 60px 18px !important;
    transform: translateX(-105%) !important;
    -webkit-transform: translateX(-105%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
    background: #0a0b10 !important;
    border-right: 1px solid var(--rln-gold) !important;
    box-shadow: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .dashboard-sidebar.active {
    transform: translateX(0%) !important;
    -webkit-transform: translateX(0%) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.3) !important;
  }

  .dashboard-sidebar .close-dashboard {
    display: flex !important;
    justify-content: flex-end !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    font-size: 1rem !important;
    margin-bottom: 14px !important;
    z-index: 10 !important;
  }

  .dashboard-sidebar .close-dashboard button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    cursor: pointer !important;
  }

  .overlay.active {
    z-index: 100000 !important;
    background: rgba(5, 7, 12, 0.8) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    pointer-events: auto !important;
  }

  .user-toggler {
    touch-action: manipulation;
    cursor: pointer;
  }
}

/* ==========================================================================
   Payment & Deposit Gateway Styles
   ========================================================================== */
.gateway-card {
  background: var(--rln-bg-card);
  border: 1px solid var(--rln-border);
  border-radius: 18px;
  padding: 24px;
}

.payment-system-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(14, 16, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.payment-item:hover {
  border-color: var(--rln-gold);
  background: rgba(212, 175, 55, 0.08);
  transform: translateX(4px);
}

.payment-item.has-selected,
.payment-item:has(input:checked) {
  border-color: var(--rln-gold) !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(14, 16, 25, 0.95) 100%) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.payment-item__name {
  color: var(--rln-text-white);
  font-weight: 700;
  font-size: 0.95rem;
}

.payment-item__thumb-img {
  max-height: 38px;
  width: auto;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px 6px;
}

.deposit-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.deposit-info:last-child {
  border-bottom: none;
}

.deposit-info__title .text {
  color: var(--rln-text-muted);
  font-weight: 600;
  margin-bottom: 0;
}

.deposit-info__input {
  color: var(--rln-text-white);
  font-weight: 700;
}

/* ==========================================================================
   Alerts & Notifications in Dark Mode
   ========================================================================== */
.alert {
  border-radius: 14px;
  padding: 14px 18px;
  border: 1px solid transparent;
}

.alert-info {
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  color: #93c5fd !important;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  color: #6ee7b7 !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #fde68a !important;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #fca5a5 !important;
}

/* ==========================================================================
   Pagination in Dark Mode
   ========================================================================== */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.page-item .page-link {
  background: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  color: var(--rln-text-main) !important;
  border-radius: 10px !important;
  padding: 8px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.page-item .page-link:hover,
.page-item.active .page-link {
  background: var(--rln-gold-gradient) !important;
  color: #07080b !important;
  border-color: var(--rln-gold-light) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.page-item.disabled .page-link {
  background: rgba(14, 16, 25, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--rln-text-dim) !important;
}

/* ==========================================================================
   Logo Presentation System
   ========================================================================== */
.header .logo {
  display: flex;
  align-items: center;
}

.header .logo a {
  display: inline-flex;
  align-items: center;
}

.header .logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header .logo img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.6));
}

.footer-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.sidebar-brand-wrapper {
  text-align: center;
  padding: 8px 12px 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.sidebar-brand-wrapper img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
  transition: transform 0.3s ease;
}

.sidebar-brand-wrapper img:hover {
  transform: scale(1.03);
}


/* ==========================================================================
   Parallax & Wealth Background System
   ========================================================================== */
.parallax-section {
  position: relative;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  overflow: hidden;
}

@media (max-width: 991px) {
  .parallax-section {
    background-attachment: scroll !important;
  }
}

.parallax-overlay {
  position: relative;
  z-index: 1;
}

.parallax-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.88) 0%, rgba(9, 11, 16, 0.95) 100%);
  z-index: -1;
  pointer-events: none;
}

.parallax-overlay-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.91) 0%, rgba(8, 9, 14, 0.97) 100%);
  z-index: -1;
  pointer-events: none;
}

.parallax-overlay-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.16) 0%, rgba(6, 7, 10, 0.92) 85%);
  z-index: -1;
  pointer-events: none;
}

.parallax-overlay-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 7, 10, 0.92) 0%, rgba(18, 14, 5, 0.94) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Wealth imagery utility backgrounds */
.bg-wealth-hero {
  background-image: linear-gradient(180deg, rgba(6, 7, 10, 0.65) 0%, rgba(6, 7, 10, 0.92) 100%),
                    url('../images/backgrounds/hero_banner.jpg');
}

.bg-wealth-rands {
  background-image: linear-gradient(180deg, rgba(7, 8, 12, 0.90) 0%, rgba(8, 9, 14, 0.95) 100%),
                    url('../images/backgrounds/rand_stacks.webp');
}

.bg-wealth-jet {
  background-image: linear-gradient(135deg, rgba(6, 7, 10, 0.91) 0%, rgba(16, 13, 6, 0.94) 100%),
                    url('../images/backgrounds/luxury_jet.jpg');
}

.bg-wealth-pile {
  background-image: linear-gradient(180deg, rgba(8, 9, 14, 0.92) 0%, rgba(6, 7, 10, 0.96) 100%),
                    url('../images/backgrounds/rand_pile.webp');
}

.bg-wealth-sparkle-subtle {
  background-image: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.14) 0%, rgba(6, 7, 10, 0.94) 80%),
                    url('../images/backgrounds/gold_sparkle_subtle.png');
}

/* Subtle Ambient Glow and Float Effects */
@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.floating-asset {
  animation: floatSlow 5s ease-in-out infinite;
}

.wealth-watermark {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 50%;
  max-width: 420px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(30%);
}

/* Luxury Modals */
.modal-content {
  background: var(--rln-bg-card-elevated) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.25) !important;
  color: var(--rln-text-main) !important;
}

.modal-header {
  border-bottom: 1px solid var(--rln-border) !important;
  padding: 18px 24px !important;
}

.modal-title {
  color: var(--rln-text-white) !important;
  font-family: var(--rln-font-serif);
  font-weight: 700;
}

.modal-header .close,
.modal-header .btn-close {
  color: var(--rln-gold) !important;
  opacity: 0.8;
  background: none;
  border: none;
  font-size: 1.4rem;
}

.modal-body {
  padding: 24px !important;
}

.modal-footer {
  border-top: 1px solid var(--rln-border) !important;
  padding: 16px 24px !important;
}

/* Verification Code Screens */
.verification-code-wrapper {
  background: var(--rln-bg-card) !important;
  border: 1px solid var(--rln-border) !important;
  border-radius: 20px !important;
  box-shadow: var(--rln-shadow-card) !important;
  color: var(--rln-text-main) !important;
}

.verification-area h5 {
  color: var(--rln-text-white) !important;
  border-bottom: 1px solid var(--rln-border) !important;
}

.verification-code::after {
  background-color: var(--rln-bg-card) !important;
}

.verification-code span {
  background: var(--rln-bg-input) !important;
  border: 1px solid var(--rln-border) !important;
  color: var(--rln-gold-light) !important;
}

.verification-code-wrapper .verification-text {
  color: var(--rln-text-muted) !important;
}


