/* Custom CSS for Friends Matrimony Glassmorphic & Gold Theme */

/* Bundled Font-Face Rules */
@font-face {
  font-family: 'Humane';
  src: url('../fonts/Humane-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Humane';
  src: url('../fonts/Humane-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Humane';
  src: url('../fonts/Humane-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Humane';
  src: url('../fonts/Humane-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
       url('../fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archia';
  src: url('../fonts/Archia-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Default Font Fallbacks (overridden dynamically by render_font_head_tags) */
:root {
  --font-heading: var(--site-font-heading, 'Humane', 'Cinzel', serif);
  --font-sans: var(--site-font-sans, 'Satoshi', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
  --font-serif: var(--site-font-serif, 'Archia', 'Cormorant Garamond', Georgia, serif);
}

body {
  font-family: var(--font-sans);
  background-color: var(--theme-accent-950, #140508);
  color: #f1f3f9;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light body,
html:not(.dark) body {
  background-color: #faf6f7 !important;
  color: #1a080d !important;
}

h1, h2, h3, .font-royal {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.font-elegant {
  font-family: var(--font-serif);
}

/* Glassmorphic & Gold Core Styling */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.22);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 12px rgba(255, 215, 0, 0.05);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel-hover:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.glass-card-gold {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 215, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-gold:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.5);
  transform: translateY(-4px);
}

.glass-header-nav {
  background: rgba(9, 11, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.glass-input {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #ffffff;
  transition: all 0.2s ease;
}
.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.25);
}

/* Gold Text & Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF1B0 0%, #FFD700 30%, #F5C518 60%, #C29300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gold-subtle {
  color: #e5c464;
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #FFDF70 0%, #D4AF37 50%, #996515 100%);
}

.bg-gold-glass-btn {
  background: linear-gradient(135deg, rgba(255, 223, 112, 0.9) 0%, rgba(212, 175, 55, 0.95) 50%, rgba(153, 101, 21, 0.9) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 245, 180, 0.4);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}
.bg-gold-glass-btn:hover {
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.55), inset 0 0 10px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.bg-gold-outline-btn {
  background: rgba(255, 215, 0, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: #ffd700;
  transition: all 0.3s ease;
}
.bg-gold-outline-btn:hover {
  background: rgba(255, 215, 0, 0.16);
  border-color: rgba(255, 215, 0, 0.85);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

/* Shimmer Animation */
@keyframes goldShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0) 0%,
    rgba(255, 235, 150, 0.35) 50%,
    rgba(255, 215, 0, 0) 100%
  );
  background-size: 200% 100%;
  animation: goldShimmer 3.5s infinite;
}

/* Ambient Gold & Sapphire Glow Circles */
.ambient-glow-gold {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.ambient-glow-sapphire {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(41, 74, 158, 0.15) 0%, rgba(41, 74, 158, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090b10;
}
html.light ::-webkit-scrollbar-track,
html:not(.dark) ::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.25);
  border-radius: 4px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}
html.light ::-webkit-scrollbar-thumb,
html:not(.dark) ::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, 0.35);
  border: 1px solid rgba(217, 119, 6, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}
html.light ::-webkit-scrollbar-thumb:hover,
html:not(.dark) ::-webkit-scrollbar-thumb:hover {
  background: rgba(217, 119, 6, 0.6);
}

/* Hide scrollbars on carousels, tabs, and sliders */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Additional layout helper styling */
.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.backdrop-blur-2xl {
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

/* Modern Theme Mode Switch matching Screenshot */
.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 2px 4px;
  cursor: pointer;
  user-select: none;
}
.mode-switch .form-check-label {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.mode-switch .form-check-label:hover {
  color: #b8005b;
  transform: scale(1.1);
}
.mode-switch .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  background: #b8005b; /* Rich Magenta as shown in screenshot */
  border-radius: 9999px;
  border: none;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(184, 0, 91, 0.4);
  margin: 0;
}
.mode-switch .form-check-input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.mode-switch .form-check-input:checked {
  background: #b8005b;
}
.mode-switch .form-check-input:checked::before {
  transform: translateX(20px);
  background: #ffffff;
}

/* ==========================================================================
   Comprehensive Light Theme Overrides
   ========================================================================== */
html.light,
html:not(.dark) {
  color-scheme: light;
}

html.light body,
html:not(.dark) body {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings & Texts in Light Mode */
html.light h1, html.light h2, html.light h3, html.light h4, html.light h5, html.light h6,
html:not(.dark) h1, html:not(.dark) h2, html:not(.dark) h3, html:not(.dark) h4, html:not(.dark) h5, html:not(.dark) h6 {
  color: #0f172a;
}

/* Ensure locked badge and locked overlay headings stay high contrast on dark overlay */
html.light #advanced-filters h4,
html:not(.dark) #advanced-filters h4,
html.light .locked-overlay h3,
html.light .locked-overlay h4,
html:not(.dark) .locked-overlay h3,
html:not(.dark) .locked-overlay h4 {
  color: #fef08a !important;
}

/* =========================================================
   Aura AI Astrologer Chat Drawer - Dedicated Luxury Dark Console
   Guarantees perfect contrast in both Light & Dark modes
   ========================================================= */
#auraChatPanel,
#auraChatPanel .aura-chat-window,
html.light #auraChatPanel,
html.light #auraChatPanel .aura-chat-window,
html:not(.dark) #auraChatPanel,
html:not(.dark) #auraChatPanel .aura-chat-window {
  background: #0c0f17 !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15) !important;
  color: #f1f5f9 !important;
}

#auraChatPanel #chat-messages-container,
html.light #auraChatPanel #chat-messages-container,
html:not(.dark) #auraChatPanel #chat-messages-container {
  background: #080b12 !important;
}

#auraChatPanel .aura-bot-bubble,
html.light #auraChatPanel .aura-bot-bubble,
html:not(.dark) #auraChatPanel .aura-bot-bubble {
  background: #141824 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

#auraChatPanel .aura-bot-bubble *,
#auraChatPanel .aura-text,
html.light #auraChatPanel .aura-bot-bubble *,
html.light #auraChatPanel .aura-text,
html:not(.dark) #auraChatPanel .aura-bot-bubble *,
html:not(.dark) #auraChatPanel .aura-text {
  color: #f1f5f9 !important;
}

#auraChatPanel .aura-label,
#auraChatPanel .aura-label *,
html.light #auraChatPanel .aura-label,
html.light #auraChatPanel .aura-label *,
html:not(.dark) #auraChatPanel .aura-label,
html:not(.dark) #auraChatPanel .aura-label * {
  color: #f59e0b !important;
}

#auraChatPanel .aura-prompt-btn,
html.light #auraChatPanel .aura-prompt-btn,
html:not(.dark) #auraChatPanel .aura-prompt-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  color: #fef08a !important;
}

#auraChatPanel .aura-prompt-btn:hover,
html.light #auraChatPanel .aura-prompt-btn:hover,
html:not(.dark) #auraChatPanel .aura-prompt-btn:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  color: #ffffff !important;
  border-color: #fbbf24 !important;
}

#auraChatPanel .aura-user-bubble,
html.light #auraChatPanel .aura-user-bubble,
html:not(.dark) #auraChatPanel .aura-user-bubble {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #080b12 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(251, 191, 36, 0.5) !important;
}

#auraChatPanel .aura-input-bar,
html.light #auraChatPanel .aura-input-bar,
html:not(.dark) #auraChatPanel .aura-input-bar {
  background: #0c0f17 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.25) !important;
}

#auraChatPanel #chat-input-field,
html.light #auraChatPanel #chat-input-field,
html:not(.dark) #auraChatPanel #chat-input-field {
  background: #141824 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #ffffff !important;
}

#auraChatPanel #chat-input-field::placeholder,
html.light #auraChatPanel #chat-input-field::placeholder,
html:not(.dark) #auraChatPanel #chat-input-field::placeholder {
  color: #64748b !important;
}

/* =========================================================
   Vivahify Live Concierge & WhatsApp Hub (Dark Luxury Contrast)
   ========================================================= */
#whatsapp-quick-card,
html.light #whatsapp-quick-card,
html:not(.dark) #whatsapp-quick-card {
  background-color: #0c131a !important;
  border-color: rgba(37, 211, 102, 0.4) !important;
}

#whatsapp-quick-card .wa-header-title,
#whatsapp-quick-card .wa-header-title *,
html.light #whatsapp-quick-card .wa-header-title,
html.light #whatsapp-quick-card .wa-header-title *,
html:not(.dark) #whatsapp-quick-card .wa-header-title,
html:not(.dark) #whatsapp-quick-card .wa-header-title * {
  color: #ffffff !important;
}

#whatsapp-quick-card .wa-header-sub,
html.light #whatsapp-quick-card .wa-header-sub,
html:not(.dark) #whatsapp-quick-card .wa-header-sub {
  color: #a7f3d0 !important;
}

#whatsapp-quick-card .wa-agent-bubble,
#whatsapp-quick-card .wa-agent-bubble *,
html.light #whatsapp-quick-card .wa-agent-bubble,
html.light #whatsapp-quick-card .wa-agent-bubble *,
html:not(.dark) #whatsapp-quick-card .wa-agent-bubble,
html:not(.dark) #whatsapp-quick-card .wa-agent-bubble * {
  color: #f8fafc !important;
}

#whatsapp-quick-card .wa-agent-badge,
html.light #whatsapp-quick-card .wa-agent-badge,
html:not(.dark) #whatsapp-quick-card .wa-agent-badge {
  color: #34d399 !important;
}

#whatsapp-quick-card .wa-section-title,
html.light #whatsapp-quick-card .wa-section-title,
html:not(.dark) #whatsapp-quick-card .wa-section-title {
  color: #94a3b8 !important;
}

#whatsapp-quick-card .wa-chip-btn,
html.light #whatsapp-quick-card .wa-chip-btn,
html:not(.dark) #whatsapp-quick-card .wa-chip-btn {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(37, 211, 102, 0.4) !important;
  color: #f8fafc !important;
}

#whatsapp-quick-card .wa-chip-btn:hover,
html.light #whatsapp-quick-card .wa-chip-btn:hover,
html:not(.dark) #whatsapp-quick-card .wa-chip-btn:hover {
  background-color: rgba(37, 211, 102, 0.22) !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

#live-chat-panel,
html.light #live-chat-panel,
html:not(.dark) #live-chat-panel {
  background-color: #090c14 !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
}

#live-chat-panel .chat-header-title,
#live-chat-panel .chat-header-title *,
html.light #live-chat-panel .chat-header-title,
html.light #live-chat-panel .chat-header-title *,
html:not(.dark) #live-chat-panel .chat-header-title,
html:not(.dark) #live-chat-panel .chat-header-title * {
  color: #ffffff !important;
}

#live-chat-panel .chat-header-sub,
html.light #live-chat-panel .chat-header-sub,
html:not(.dark) #live-chat-panel .chat-header-sub {
  color: #94a3b8 !important;
}

#live-chat-panel .chat-bot-bubble,
#live-chat-panel .chat-bot-bubble *,
html.light #live-chat-panel .chat-bot-bubble,
html.light #live-chat-panel .chat-bot-bubble *,
html:not(.dark) #live-chat-panel .chat-bot-bubble,
html:not(.dark) #live-chat-panel .chat-bot-bubble * {
  color: #f8fafc !important;
}

#live-chat-panel .chat-bot-title,
#live-chat-panel .chat-bot-title *,
html.light #live-chat-panel .chat-bot-title,
html.light #live-chat-panel .chat-bot-title *,
html:not(.dark) #live-chat-panel .chat-bot-title,
html:not(.dark) #live-chat-panel .chat-bot-title * {
  color: #fbbf24 !important;
}

#live-chat-panel .chat-prompt-chip,
html.light #live-chat-panel .chat-prompt-chip,
html:not(.dark) #live-chat-panel .chat-prompt-chip {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #fef08a !important;
}

#live-chat-panel .chat-prompt-chip:hover,
html.light #live-chat-panel .chat-prompt-chip:hover,
html:not(.dark) #live-chat-panel .chat-prompt-chip:hover {
  background-color: rgba(245, 158, 11, 0.25) !important;
  border-color: #fbbf24 !important;
  color: #ffffff !important;
}

#live-chat-panel .chat-user-bubble,
#live-chat-panel .chat-user-bubble *,
html.light #live-chat-panel .chat-user-bubble,
html.light #live-chat-panel .chat-user-bubble *,
html:not(.dark) #live-chat-panel .chat-user-bubble,
html:not(.dark) #live-chat-panel .chat-user-bubble * {
  color: #090c14 !important;
}


html.light #biodata-canvas-card h1,
html.light #biodata-canvas-card h2,
html.light #biodata-canvas-card h3,
html.light #biodata-canvas-card .font-royal,
html.light #biodata-canvas-card .text-amber-300,
html:not(.dark) #biodata-canvas-card h1,
html:not(.dark) #biodata-canvas-card h2,
html:not(.dark) #biodata-canvas-card h3,
html:not(.dark) #biodata-canvas-card .font-royal,
html:not(.dark) #biodata-canvas-card .text-amber-300 {
  color: #fef08a !important;
}

html.light .text-zinc-100, html.light .text-zinc-200, html.light .text-zinc-300,
html:not(.dark) .text-zinc-100, html:not(.dark) .text-zinc-200, html:not(.dark) .text-zinc-300 {
  color: #1e293b !important;
}

html.light .text-zinc-400, html.light .text-zinc-500,
html:not(.dark) .text-zinc-400, html:not(.dark) .text-zinc-500 {
  color: #475569 !important;
}

html.light .text-amber-200, html.light .text-amber-300,
html:not(.dark) .text-amber-200, html:not(.dark) .text-amber-300 {
  color: #b45309 !important;
}
/* Ensure Dystopian Hero Slider ALWAYS Maintains High-Contrast Luminescent White/Silver Text in Light Mode */
html.light #dystopianHeroSlider,
html:not(.dark) #dystopianHeroSlider,
html.light #dystopianHeroSlider p,
html:not(.dark) #dystopianHeroSlider p,
html.light #dystopianHeroSlider .text-zinc-100,
html.light #dystopianHeroSlider .text-zinc-200,
html.light #dystopianHeroSlider .text-zinc-300,
html:not(.dark) #dystopianHeroSlider .text-zinc-100,
html:not(.dark) #dystopianHeroSlider .text-zinc-200,
html:not(.dark) #dystopianHeroSlider .text-zinc-300,
html.light #dystopianHeroSlider .dys-description,
html:not(.dark) #dystopianHeroSlider .dys-description {
  color: #f1f5f9 !important;
}

html.light #dystopianHeroSlider .text-zinc-400,
html.light #dystopianHeroSlider .text-zinc-500,
html:not(.dark) #dystopianHeroSlider .text-zinc-400,
html:not(.dark) #dystopianHeroSlider .text-zinc-500,
html.light #dystopianHeroSlider .dys-meta-text,
html:not(.dark) #dystopianHeroSlider .dys-meta-text {
  color: #cbd5e1 !important;
}

html.light #dystopianHeroSlider .dys-subtitle-pill,
html.light #dystopianHeroSlider .dys-subtitle-pill *,
html:not(.dark) #dystopianHeroSlider .dys-subtitle-pill,
html:not(.dark) #dystopianHeroSlider .dys-subtitle-pill * {
  color: #ffffff !important;
}

html.light #dystopianHeroSlider .dys-side-nav-btn,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn,
html.light #dystopianHeroSlider .dys-side-nav-btn span,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn span {
  color: #e2e8f0 !important;
}

html.light #dystopianHeroSlider .dys-side-nav-btn:hover,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn:hover,
html.light #dystopianHeroSlider .dys-side-nav-btn:hover span,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn:hover span {
  color: #ffffff !important;
}

html.light #dystopianHeroSlider .dys-side-nav-btn i,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn i {
  color: #94a3b8 !important;
}

html.light #dystopianHeroSlider .dys-side-nav-btn:hover i,
html:not(.dark) #dystopianHeroSlider .dys-side-nav-btn:hover i {
  color: #fbbf24 !important;
}

html.light #dystopianHeroSlider .dys-counter,
html.light #dystopianHeroSlider .dys-counter *,
html:not(.dark) #dystopianHeroSlider .dys-counter,
html:not(.dark) #dystopianHeroSlider .dys-counter * {
  color: #e2e8f0 !important;
}

html.light #dystopianHeroSlider .dys-meta-ribbon,
html.light #dystopianHeroSlider .dys-meta-ribbon *,
html:not(.dark) #dystopianHeroSlider .dys-meta-ribbon,
html:not(.dark) #dystopianHeroSlider .dys-meta-ribbon * {
  color: #cbd5e1 !important;
}

html.light #dystopianHeroSlider .dys-meta-ribbon a:hover,
html:not(.dark) #dystopianHeroSlider .dys-meta-ribbon a:hover {
  color: #ffffff !important;
}

html.light #dystopianHeroSlider #dysYearText,
html:not(.dark) #dystopianHeroSlider #dysYearText,
html.light #dystopianHeroSlider #dysHeaderBadge,
html:not(.dark) #dystopianHeroSlider #dysHeaderBadge,
html.light #dystopianHeroSlider #dysCurrentIndex,
html:not(.dark) #dystopianHeroSlider #dysCurrentIndex {
  color: #ffffff !important;
}

html.light #dystopianHeroSlider .text-zinc-700,
html:not(.dark) #dystopianHeroSlider .text-zinc-700,
html.light #dystopianHeroSlider .dys-separator,
html:not(.dark) #dystopianHeroSlider .dys-separator {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Ensure Profile Card Image Overlays ALWAYS Maintain White Text for High Contrast Over Photos */
html.light .relative .absolute.bottom-3,
html.light .relative .absolute.bottom-3 *,
html.light .relative .absolute.top-3 *,
html.light .profile-image-overlay,
html.light .profile-image-overlay *,
html:not(.dark) .relative .absolute.bottom-3,
html:not(.dark) .relative .absolute.bottom-3 *,
html:not(.dark) .relative .absolute.top-3 *,
html:not(.dark) .profile-image-overlay,
html:not(.dark) .profile-image-overlay * {
  color: #ffffff !important;
}

html.light .relative .absolute.bottom-3 h3,
html:not(.dark) .relative .absolute.bottom-3 h3 {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Glass Panels & Cards in Light Mode */
html.light .glass-panel,
html:not(.dark) .glass-panel {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 15px rgba(255, 215, 0, 0.05) !important;
  color: #0f172a !important;
}

html.light .glass-header-nav,
html:not(.dark) .glass-header-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

html.light .glass-card-gold,
html:not(.dark) .glass-card-gold {
  background: linear-gradient(135deg, #ffffff 0%, #faf6ec 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07), 0 0 15px rgba(245, 197, 24, 0.08) !important;
  color: #0f172a !important;
}

html.light .glass-card-gold h1.text-white,
html.light .glass-card-gold h2.text-white,
html.light .glass-card-gold h3.text-white,
html.light .glass-card-gold h4.text-white,
html:not(.dark) .glass-card-gold h1.text-white,
html:not(.dark) .glass-card-gold h2.text-white,
html:not(.dark) .glass-card-gold h3.text-white,
html:not(.dark) .glass-card-gold h4.text-white {
  color: #0f172a !important;
}

html.light .glass-card-gold .text-zinc-300,
html.light .glass-card-gold .text-zinc-400,
html:not(.dark) .glass-card-gold .text-zinc-300,
html:not(.dark) .glass-card-gold .text-zinc-400 {
  color: #334155 !important;
}

html.light .diaspora-chip,
html:not(.dark) .diaspora-chip {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

html.light .diaspora-chip span,
html:not(.dark) .diaspora-chip span {
  color: #0f172a !important;
}

/* Terms & Conditions & CMS Content Light Mode Contrast */
html.light .term-section,
html:not(.dark) .term-section {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

html.light .term-section h3,
html:not(.dark) .term-section h3 {
  color: #0f172a !important;
}

html.light .term-section p,
html.light .term-section li,
html:not(.dark) .term-section p,
html:not(.dark) .term-section li {
  color: #334155 !important;
}

html.light #section-nav-chips a,
html:not(.dark) #section-nav-chips a {
  background: #ffffff !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

html.light #section-nav-chips a:hover,
html:not(.dark) #section-nav-chips a:hover {
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: #f59e0b !important;
  color: #78350f !important;
}

html.light .glass-panel h1.text-white,
html.light .glass-panel h2.text-white,
html.light .glass-panel h3.text-white,
html.light .glass-panel h4.text-white,
html:not(.dark) .glass-panel h1.text-white,
html:not(.dark) .glass-panel h2.text-white,
html:not(.dark) .glass-panel h3.text-white,
html:not(.dark) .glass-panel h4.text-white {
  color: #0f172a !important;
}

html.light .glass-panel .text-zinc-300,
html.light .glass-panel .text-zinc-400,
html:not(.dark) .glass-panel .text-zinc-300,
html:not(.dark) .glass-panel .text-zinc-400 {
  color: #334155 !important;
}



/* Pricing & Subscription Tier Cards Light Mode Contrast */
html.light #pricing .glass-card-gold,
html:not(.dark) #pricing .glass-card-gold {
  background: linear-gradient(135deg, #ffffff 0%, #faf8f2 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 15px rgba(245, 197, 24, 0.08) !important;
  color: #0f172a !important;
}

html.light #pricing h2,
html:not(.dark) #pricing h2,
html.light #pricing h3,
html:not(.dark) #pricing h3 {
  color: #0f172a !important;
}

html.light #pricing .glass-card-gold h2.text-white,
html.light #pricing .glass-card-gold h3.text-white,
html.light #pricing .glass-card-gold p.text-white,
html:not(.dark) #pricing .glass-card-gold h2.text-white,
html:not(.dark) #pricing .glass-card-gold h3.text-white,
html:not(.dark) #pricing .glass-card-gold p.text-white {
  color: #0f172a !important;
}

html.light #pricing .glass-card-gold .text-zinc-200,
html.light #pricing .glass-card-gold .text-zinc-300,
html:not(.dark) #pricing .glass-card-gold .text-zinc-200,
html:not(.dark) #pricing .glass-card-gold .text-zinc-300 {
  color: #475569 !important;
}

html.light #pricing .glass-card-gold .text-zinc-400,
html:not(.dark) #pricing .glass-card-gold .text-zinc-400 {
  color: #64748b !important;
}

/* Pricing Plan Action Buttons - Popular / Gold */
#pricing .plan-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #020617 !important;
  border: 1px solid rgba(245, 158, 11, 0.85) !important;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.35) !important;
}
#pricing .plan-btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #020617 !important;
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-2px);
}
#pricing .plan-btn-primary,
#pricing .plan-btn-primary *,
#pricing .plan-btn-primary .plan-btn-label,
#pricing .plan-btn-primary .plan-btn-icon {
  color: #020617 !important;
  stroke: #020617 !important;
}

/* Pricing Plan Action Buttons - Secondary / Other Plans in Light Mode */
html.light #pricing .plan-btn-secondary,
html:not(.dark) #pricing .plan-btn-secondary {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}
html.light #pricing .plan-btn-secondary:hover,
html:not(.dark) #pricing .plan-btn-secondary:hover {
  background-color: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28) !important;
  transform: translateY(-2px);
}
html.light #pricing .plan-btn-secondary,
html.light #pricing .plan-btn-secondary *,
html.light #pricing .plan-btn-secondary .plan-btn-label,
html.light #pricing .plan-btn-secondary .plan-btn-icon,
html:not(.dark) #pricing .plan-btn-secondary,
html:not(.dark) #pricing .plan-btn-secondary *,
html:not(.dark) #pricing .plan-btn-secondary .plan-btn-label,
html:not(.dark) #pricing .plan-btn-secondary .plan-btn-icon {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Pricing Plan Action Buttons - Secondary in Dark Mode */
html.dark #pricing .plan-btn-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
html.dark #pricing .plan-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-2px);
}
html.dark #pricing .plan-btn-secondary,
html.dark #pricing .plan-btn-secondary *,
html.dark #pricing .plan-btn-secondary .plan-btn-label,
html.dark #pricing .plan-btn-secondary .plan-btn-icon {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Inputs & Form Controls in Light Mode */
html.light .glass-input,
html:not(.dark) .glass-input {
  background: #ffffff !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #0f172a !important;
}
html.light .glass-input:focus,
html:not(.dark) .glass-input:focus {
  border-color: #d97706 !important;
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.25) !important;
}

/* Profile Photo Container Background in Light Mode */
html.light .relative.h-64.bg-zinc-900,
html:not(.dark) .relative.h-64.bg-zinc-900,
html.light .aspect-\[4\/3\].bg-zinc-900,
html:not(.dark) .aspect-\[4\/3\].bg-zinc-900 {
  background-color: #090d16 !important;
}

/* Dark Background Utilities Overrides */
html.light .bg-\[\#080a0f\],
html.light .bg-\[\#0d1017\],
html.light .bg-\[\#0c0f16\],
html.light .bg-\[\#07090e\],
html.light .bg-\[\#080b12\],
html.light .bg-\[\#0a1016\],
html.light .bg-\[\#121620\],
html.light .bg-\[\#141824\],
html.light .bg-\[\#121624\],
html.light .bg-\[\#151923\],
html.light .bg-\[\#0e131f\],
html.light .bg-zinc-900:not(.candidate-photo):not(.photo-shield-wrapper):not([data-photo-shield="true"]),
html.light .bg-zinc-950,
html.light .bg-zinc-850,
html.light .bg-zinc-800,
html:not(.dark) .bg-\[\#080a0f\],
html:not(.dark) .bg-\[\#0d1017\],
html:not(.dark) .bg-\[\#0c0f16\],
html:not(.dark) .bg-\[\#07090e\],
html:not(.dark) .bg-\[\#080b12\],
html:not(.dark) .bg-\[\#0a1016\],
html:not(.dark) .bg-\[\#121620\],
html:not(.dark) .bg-\[\#141824\],
html:not(.dark) .bg-\[\#121624\],
html:not(.dark) .bg-\[\#151923\],
html:not(.dark) .bg-\[\#0e131f\],
html:not(.dark) .bg-zinc-900:not(.candidate-photo):not(.photo-shield-wrapper):not([data-photo-shield="true"]),
html:not(.dark) .bg-zinc-950,
html:not(.dark) .bg-zinc-850,
html:not(.dark) .bg-zinc-800 {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* Hero Section Typography in Light Mode */
html.light #hero h1,
html.light #hero h1.text-white,
html.light #hero h1 span.text-white,
html:not(.dark) #hero h1,
html:not(.dark) #hero h1.text-white,
html:not(.dark) #hero h1 span.text-white {
  color: #0f172a !important;
}

html.light #hero p,
html.light #hero p .text-white,
html:not(.dark) #hero p,
html:not(.dark) #hero p .text-white {
  color: #334155 !important;
}

/* Global Headings outside Glass Panels in Light Mode */
html.light h1.text-white,
html.light h2.text-white,
html.light h3.text-white:not(.photo-name-overlay),
html.light h4.text-white,
html:not(.dark) h1.text-white,
html:not(.dark) h2.text-white,
html:not(.dark) h3.text-white:not(.photo-name-overlay),
html:not(.dark) h4.text-white {
  color: #0f172a !important;
}

/* Profile Card Action Buttons in Light Mode */
html.light .glass-card-gold button.bg-white\/10,
html:not(.dark) .glass-card-gold button.bg-white\/10 {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}
html.light .glass-card-gold button.bg-white\/10:hover,
html:not(.dark) .glass-card-gold button.bg-white\/10:hover {
  background: #1e293b !important;
  color: #fbbf24 !important;
  border-color: #334155 !important;
}

/* Mobile Navigation Drawer in Light Mode */
html.light #mobile-menu,
html:not(.dark) #mobile-menu {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-top-color: rgba(212, 175, 55, 0.35) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
html.light #mobile-menu a,
html:not(.dark) #mobile-menu a {
  color: #0f172a !important;
}

/* Border Overrides in Light Mode */
html.light .border-white\/10,
html.light .border-white\/5,
html.light .border-white\/20,
html:not(.dark) .border-white\/10,
html:not(.dark) .border-white\/5,
html:not(.dark) .border-white\/20 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

html.light .ambient-glow-gold,
html:not(.dark) .ambient-glow-gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 70%);
}

html.light .ambient-glow-sapphire,
html:not(.dark) .ambient-glow-sapphire {
  background: radial-gradient(circle, rgba(41, 74, 158, 0.08) 0%, rgba(41, 74, 158, 0) 70%);
}

/* Additional Light Mode Component Overrides */
html.light footer,
html:not(.dark) footer {
  background-color: #f8fafc !important;
  border-top-color: rgba(212, 175, 55, 0.3) !important;
  color: #334155 !important;
}

html.light footer .text-zinc-400,
html.light footer .text-zinc-500,
html:not(.dark) footer .text-zinc-400,
html:not(.dark) footer .text-zinc-500 {
  color: #64748b !important;
}

html.light #heritage,
html:not(.dark) #heritage {
  background-color: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light .bg-black\/40,
html.light .bg-black\/85,
html.light .bg-black\/90,
html:not(.dark) .bg-black\/40,
html:not(.dark) .bg-black\/85,
html:not(.dark) .bg-black\/90 {
  background-color: rgba(15, 23, 42, 0.65) !important;
}

html.light .bg-gold-outline-btn,
html:not(.dark) .bg-gold-outline-btn {
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: #92400e !important;
}
html.light .bg-gold-outline-btn:hover,
html:not(.dark) .bg-gold-outline-btn:hover {
  background: rgba(212, 175, 55, 0.22) !important;
  color: #78350f !important;
}

html.light .text-gold-gradient,
html:not(.dark) .text-gold-gradient {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #92400e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.light .text-amber-400,
html:not(.dark) .text-amber-400 {
  color: #b45309 !important;
}

html.light .text-zinc-600,
html:not(.dark) .text-zinc-600 {
  color: #475569 !important;
}

html.light input::placeholder,
html.light textarea::placeholder,
html:not(.dark) input::placeholder,
html:not(.dark) textarea::placeholder {
  color: #94a3b8 !important;
}

/* ==========================================================================
   Marketing Banner & Components Light Mode Styling
   ========================================================================== */
html.light #marketing-top-bar,
html:not(.dark) #marketing-top-bar {
  background: linear-gradient(90deg, #fef3c7 0%, #fffbeb 50%, #fef3c7 100%) !important;
  border-bottom: 1px solid rgba(217, 119, 6, 0.35) !important;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.08) !important;
  color: #0f172a !important;
}

html.light #marketing-top-bar span,
html:not(.dark) #marketing-top-bar span {
  color: #0f172a;
}

html.light #marketing-top-bar .text-zinc-200,
html:not(.dark) #marketing-top-bar .text-zinc-200,
html.light #marketing-top-bar .text-slate-900,
html:not(.dark) #marketing-top-bar .text-slate-900 {
  color: #0f172a !important;
  font-weight: 700 !important;
}

html.light #marketing-top-bar .text-zinc-400,
html:not(.dark) #marketing-top-bar .text-zinc-400,
html.light #marketing-top-bar .text-slate-600,
html:not(.dark) #marketing-top-bar .text-slate-600 {
  color: #334155 !important;
  font-weight: 500 !important;
}

html.light #marketing-top-bar .bg-amber-400,
html:not(.dark) #marketing-top-bar .bg-amber-400,
html.light #marketing-top-bar .bg-amber-500,
html:not(.dark) #marketing-top-bar .bg-amber-500 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3) !important;
}

html.light #marketing-top-bar .bg-amber-400 *,
html:not(.dark) #marketing-top-bar .bg-amber-400 *,
html.light #marketing-top-bar .bg-amber-500 *,
html:not(.dark) #marketing-top-bar .bg-amber-500 * {
  color: #ffffff !important;
}

html.light #marketing-top-bar button[onclick^="copyPromoCode"],
html:not(.dark) #marketing-top-bar button[onclick^="copyPromoCode"] {
  background: #ffffff !important;
  border: 1px solid rgba(217, 119, 6, 0.5) !important;
  color: #92400e !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

html.light #marketing-top-bar button[onclick^="copyPromoCode"]:hover,
html:not(.dark) #marketing-top-bar button[onclick^="copyPromoCode"]:hover {
  background: #d97706 !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
}

html.light #marketing-top-bar button[onclick^="copyPromoCode"] span,
html:not(.dark) #marketing-top-bar button[onclick^="copyPromoCode"] span {
  color: #92400e !important;
}

html.light #marketing-top-bar button[onclick^="copyPromoCode"]:hover span,
html:not(.dark) #marketing-top-bar button[onclick^="copyPromoCode"]:hover span {
  color: #ffffff !important;
}

html.light #marketing-top-bar button[onclick^="openMembershipCheckout"],
html:not(.dark) #marketing-top-bar button[onclick^="openMembershipCheckout"] {
  color: #92400e !important;
  font-weight: 700 !important;
}

html.light #marketing-top-bar button[onclick^="openMembershipCheckout"] span,
html:not(.dark) #marketing-top-bar button[onclick^="openMembershipCheckout"] span {
  color: #92400e !important;
}

html.light #marketing-top-bar button[onclick^="openMembershipCheckout"]:hover,
html:not(.dark) #marketing-top-bar button[onclick^="openMembershipCheckout"]:hover {
  color: #78350f !important;
}

html.light #marketing-top-bar button[title="Dismiss announcement"],
html:not(.dark) #marketing-top-bar button[title="Dismiss announcement"] {
  color: #64748b !important;
}

html.light #marketing-top-bar button[title="Dismiss announcement"]:hover,
html:not(.dark) #marketing-top-bar button[title="Dismiss announcement"]:hover {
  color: #0f172a !important;
}

/* Light mode for checkout modal */
html.light #checkoutModal,
html:not(.dark) #checkoutModal {
  background-color: rgba(15, 23, 42, 0.6) !important;
}

html.light #checkoutModal .bg-black\/40,
html:not(.dark) #checkoutModal .bg-black\/40 {
  background-color: #f8fafc !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

html.light #checkoutModal #checkout-plan-name,
html.light #checkoutModal #checkout-original-price,
html:not(.dark) #checkoutModal #checkout-plan-name,
html:not(.dark) #checkoutModal #checkout-original-price {
  color: #0f172a !important;
}

html.light #checkoutModal .bg-white\/\[0\.03\],
html:not(.dark) #checkoutModal .bg-white\/\[0\.03\] {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

/* Light mode for Native Sponsored Ads & Search Ads */
html.light .rounded-3xl.glass-card-gold .bg-black\/40,
html:not(.dark) .rounded-3xl.glass-card-gold .bg-black\/40 {
  background-color: #f8fafc !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}

html.light .bg-white\/10,
html:not(.dark) .bg-white\/10 {
  background-color: rgba(217, 119, 6, 0.12) !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
  color: #92400e !important;
}

/* Light mode for Refer & Earn Hub in Member Portal */
html.light #pane-referrals .bg-gradient-to-br,
html:not(.dark) #pane-referrals .bg-gradient-to-br {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #fffbeb 100%) !important;
  border-color: rgba(147, 51, 234, 0.35) !important;
}

html.light #pane-referrals .bg-black\/60,
html:not(.dark) #pane-referrals .bg-black\/60 {
  background-color: #ffffff !important;
  border: 1px solid rgba(147, 51, 234, 0.3) !important;
}

html.light #pane-referrals #member-referral-link,
html:not(.dark) #pane-referrals #member-referral-link {
  color: #6b21a8 !important;
  font-weight: 600 !important;
}

html.light #pane-offers .bg-black\/40,
html:not(.dark) #pane-offers .bg-black\/40 {
  background-color: #fef3c7 !important;
  border: 1px solid rgba(217, 119, 6, 0.4) !important;
  color: #92400e !important;
}


/* ==========================================================================
   Super Admin Dashboard Specific Styling (Glass + Gold Theme #F8F9FA)
   ========================================================================== */
.super-admin-body {
  background-color: #F8F9FA !important;
  color: #1A1A1A !important;
  font-family: var(--font-sans);
  min-height: 100vh;
}

.super-admin-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #F5C518;
  box-shadow: 0 4px 20px rgba(194, 147, 0, 0.06);
}

.super-admin-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(245, 197, 24, 0.3);
  box-shadow: 0 10px 35px rgba(194, 147, 0, 0.08);
  border-radius: 1.25rem;
  transition: all 0.25s ease;
}
.super-admin-card:hover {
  border-color: rgba(245, 197, 24, 0.55);
  box-shadow: 0 14px 40px rgba(194, 147, 0, 0.12);
}

.super-admin-kpi-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 252, 240, 0.85) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(245, 197, 24, 0.32);
  box-shadow: 0 8px 30px rgba(194, 147, 0, 0.07);
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.super-admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(194, 147, 0, 0.14);
  border-color: #F5C518;
}

.super-admin-gold-btn {
  background: linear-gradient(135deg, #FFD700 0%, #F5C518 50%, #C29300 100%);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
  transition: all 0.25s ease;
}
.super-admin-gold-btn:hover {
  box-shadow: 0 6px 24px rgba(245, 197, 24, 0.5);
  transform: translateY(-1px);
}

.super-admin-outline-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(245, 197, 24, 0.45);
  color: #854d0e;
  font-weight: 600;
  transition: all 0.2s ease;
}
.super-admin-outline-btn:hover {
  background: rgba(254, 243, 199, 0.6);
  border-color: #F5C518;
  color: #713f12;
}

.super-admin-sidebar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(245, 197, 24, 0.25);
}

.super-admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: #4B5563;
  transition: all 0.2s ease;
  cursor: pointer;
}
.super-admin-nav-item:hover {
  background: rgba(254, 243, 199, 0.5);
  color: #1A1A1A;
}
.super-admin-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(245, 197, 24, 0.25) 100%);
  color: #854d0e;
  font-weight: 700;
  border: 1px solid rgba(245, 197, 24, 0.45);
  box-shadow: 0 2px 10px rgba(245, 197, 24, 0.12);
}

.super-admin-badge-gold {
  background: linear-gradient(135deg, #FFD700 0%, #F5C518 100%);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(245, 197, 24, 0.3);
}

.super-admin-input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.8);
  color: #1A1A1A;
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.825rem;
  outline: none;
  transition: all 0.2s ease;
}
.super-admin-input:focus {
  border-color: #F5C518;
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.2);
  background: #FFFFFF;
}

.super-admin-table th {
  background: rgba(249, 250, 251, 0.95);
  color: #6B7280;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}
.super-admin-table td {
  padding: 0.85rem 1rem;
  font-size: 0.825rem;
  color: #1F2937;
  border-bottom: 1px solid rgba(243, 244, 246, 0.9);
}
.super-admin-table tr:hover td {
  background: rgba(254, 243, 199, 0.25);
}

.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.cms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.cms-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.cms-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.cms-content strong {
    color: #ffffff;
    font-weight: bold;
}
.cms-content a {
    color: #f59e0b;
    text-decoration: underline;
}

/* Luxury Filter Checkbox Styles */
.luxury-checkbox-input:checked + .luxury-checkbox-box {
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}
.luxury-checkbox-input:checked + .luxury-checkbox-box svg {
  display: block !important;
}
.luxury-checkbox-input:checked ~ .luxury-checkbox-label {
  color: #FDE68A;
}
.luxury-checkbox-container:has(.luxury-checkbox-input:checked) {
  border-color: rgba(255, 215, 0, 0.55) !important;
  background: rgba(255, 215, 0, 0.08) !important;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.15);
}

/* 3D Soft Glass Orb Button & Icon Effect */
.glass-orb-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 
    0 16px 38px -6px rgba(0, 0, 0, 0.55),
    0 0 30px 2px rgba(255, 215, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 5px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-orb-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 215, 0, 0.85);
  box-shadow: 
    0 22px 50px -5px rgba(0, 0, 0, 0.65),
    0 0 45px 8px rgba(255, 215, 0, 0.45),
    inset 0 2px 6px rgba(255, 255, 255, 0.95),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px) scale(1.02);
}

.glass-orb-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 8px 22px -3px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.6);
}

.glass-orb-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(255, 255, 255, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    inset 0 -1px 3px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.glass-orb-icon:hover {
  transform: translateY(-2px) rotate(5deg) scale(1.06);
  border-color: rgba(255, 215, 0, 0.9);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(255, 215, 0, 0.5),
    inset 0 2px 5px rgba(255, 255, 255, 1);
}

/* ==========================================================================
   VIVAHIFY PHOTO SHIELD & ANTI-THEFT PROTECTION SYSTEM
   ========================================================================== */

/* Anti-selection and anti-drag for all candidate imagery */
.photo-shield-protected,
.photo-shield-wrapper img,
.photo-shield-container img,
[data-photo-shield] img,
img.candidate-photo {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important; /* Disables iOS Safari & Android long-press image context menu */
  pointer-events: none; /* Image itself cannot be targeted by right-click or drag */
}

/* Photo Shield Container Wrapper */
.photo-shield-wrapper {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Transparent protective layer sitting ABOVE the image */
.photo-shield-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto; /* Intercepts all clicks and right-clicks cleanly */
  background: transparent;
  cursor: default;
}

/* Subtle, elegant repeating watermark pattern */
.photo-watermark-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 215, 0, 0.05),
    rgba(255, 215, 0, 0.05) 1px,
    transparent 1px,
    transparent 65px
  );
  overflow: hidden;
}

.photo-watermark-overlay::after {
  content: "VIVAHIFY VERIFIED • CONFIDENTIAL • DO NOT COPY";
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--font-sans, sans-serif);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

/* Strict Exclusions: Buttons, Navigation, Mascots, and UI Controls must never display watermarks or shields */
button .photo-watermark-overlay,
button .photo-shield-overlay,
.no-shield .photo-watermark-overlay,
.no-shield .photo-shield-overlay,
[data-no-shield="true"] .photo-watermark-overlay,
[data-no-shield="true"] .photo-shield-overlay,
#auraChatPanel .photo-watermark-overlay,
#auraChatPanel .photo-shield-overlay,
.rashi-option .photo-watermark-overlay,
.diaspora-chip .photo-watermark-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

button.photo-shield-wrapper,
button .photo-shield-wrapper {
  filter: none !important;
}

body.privacy-shield-active button .photo-shield-wrapper::before,
body.privacy-shield-active button::before,
body.privacy-shield-active .no-shield::before,
body.privacy-shield-active [data-no-shield="true"]::before {
  display: none !important;
}

/* Privacy Shield Mode (Activated on Snipping Tool, Win+Shift+S, PrtScn, Window Blur / Inactive) */
body.privacy-shield-active .photo-shield-wrapper img,
body.privacy-shield-active .photo-shield-protected,
body.privacy-shield-active .candidate-photo,
body.privacy-shield-active [data-photo-shield] img,
body.privacy-shield-active .aspect-\\[4\\/3\\] img,
body.privacy-shield-active .aspect-square img {
  filter: blur(45px) brightness(0.5) !important;
  opacity: 0.3 !important;
  transition: filter 0.05s ease, opacity 0.05s ease !important;
}

/* Shield Notice Badge rendered over blurred photo */
body.privacy-shield-active .photo-shield-wrapper::before {
  content: "🔒 PRIVACY SHIELD ACTIVE\A SCREEN CAPTURE BLOCKED";
  white-space: pre-wrap;
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fbbf24;
  font-family: var(--font-heading, serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Flash alert animation on unauthorized right click attempt */
@keyframes photoShieldPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); border-color: rgba(239, 68, 68, 0.9); }
  50% { box-shadow: 0 0 25px 8px rgba(239, 68, 68, 0.6); border-color: rgba(239, 68, 68, 1); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.photo-shield-alert {
  animation: photoShieldPulse 0.8s ease-out;
}

/* Print Blackout Protection: Complete elimination of images in print or Save-to-PDF */
@media print {
  body.privacy-shield-active,
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .photo-shield-wrapper img,
  .photo-shield-protected,
  .photo-shield-container img,
  .candidate-photo,
  [data-photo-shield] img,
  img[src*="photos"],
  img[src*="avatar"] {
    display: none !important;
    visibility: hidden !important;
  }
  
  .photo-shield-wrapper::after {
    content: "🔒 CONFIDENTIAL CANDIDATE PORTFOLIO\A VIVAHIFY SECURITY SHIELD\A PRINTING & REPRODUCTION STRICTLY FORBIDDEN";
    white-space: pre-wrap;
    display: block !important;
    padding: 30px 15px;
    background: #000000 !important;
    color: #ffd700 !important;
    border: 2px solid #ffd700;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   Luxury Black Tie & Champagne Gold / Obsidian Theme Contrast Engine
   ========================================================================== */
html.dark[data-theme-color="#000000"] body,
html.dark body:has(.black-theme-active) {
  background-color: #06070a !important;
}

/* Ensure bright gold gradient buttons always have bold high-contrast text */
.bg-gradient-to-r.from-amber-400 {
  color: #020617;
  font-weight: 800;
}
.bg-gradient-to-r.from-amber-400:hover {
  filter: brightness(1.1);
}

/* Safe contrast fallback for gold glass buttons */
.bg-gold-glass-btn,
a.bg-gold-glass-btn,
button.bg-gold-glass-btn {
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}



