/*
  GenzTech — Light Theme  v5.0
  Inspired by Smart Sphere Club: white/blue, 3D depth, bold typography
  ============================================================ */

/* ══════════════════════════════════════════════════════════
   1. ROOT VARIABLES & BASE
   ══════════════════════════════════════════════════════════ */
html.light-theme {
  --lt-bg:          #f4f7fb;
  --lt-bg2:         #eef2f8;
  --lt-surface:     #ffffff;
  --lt-surface2:    #f0f4fa;
  --lt-border:      rgba(30,80,180,0.12);
  --lt-text:        #0d1b3e;
  --lt-text2:       #3d5a8a;
  --lt-text3:       #7a93bb;
  --lt-blue:        #1877f2;
  --lt-blue2:       #0a5dc2;
  --lt-cyan:        #00b4d8;
  --lt-accent:      #e8f0fe;
  --lt-shadow:      0 4px 24px rgba(24,119,242,0.10);
  --lt-shadow-lg:   0 12px 48px rgba(24,119,242,0.18);
  background: var(--lt-bg) !important;
  color: var(--lt-text) !important;
}

/* ══════════════════════════════════════════════════════════
   2. HIDE DARK-ONLY ELEMENTS
   ══════════════════════════════════════════════════════════ */
html.light-theme #starfield-far,
html.light-theme #starfield-mid,
html.light-theme #starfield-near,
html.light-theme #constellation-lines,
html.light-theme #data-particles,
html.light-theme .cosmic-fog,
html.light-theme .noise-overlay {
  opacity: 0 !important;
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   3. LIGHT BACKGROUND SYSTEM — geometric grid + orbs
   ══════════════════════════════════════════════════════════ */
html.light-theme body {
  background: var(--lt-bg) !important;
  color: var(--lt-text) !important;
  position: relative;
}

html.light-theme body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(24,119,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,119,242,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

html.light-theme body::after {
  content: '';
  position: fixed;
  top: -30vh;
  right: -20vw;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(24,119,242,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ══════════════════════════════════════════════════════════
   4. NAVIGATION
   ══════════════════════════════════════════════════════════ */
html.light-theme nav {
  background: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid var(--lt-border) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

html.light-theme nav a,
html.light-theme nav .nav-link {
  color: var(--lt-text2) !important;
}

html.light-theme nav a:hover,
html.light-theme nav .nav-link:hover {
  color: var(--lt-blue) !important;
}

html.light-theme nav .glow-text {
  color: var(--lt-text) !important;
  text-shadow: none !important;
}

html.light-theme #gz-nav-lang {
  background: rgba(24,119,242,0.08) !important;
  border: 1px solid rgba(24,119,242,0.2) !important;
}

html.light-theme #gz-lang-en {
  color: var(--lt-text2) !important;
}

/* ══════════════════════════════════════════════════════════
   5. HERO SECTION — Split panel 3D inspired
   ══════════════════════════════════════════════════════════ */
html.light-theme #hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #f4f7fb 40%, #dbeafe 100%) !important;
  position: relative;
  overflow: hidden;
}

html.light-theme .hero-gradient {
  background: none !important;
}

/* Large decorative circle — 3D sphere feel */
html.light-theme #hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle at 35% 35%,
    rgba(255,255,255,0.9) 0%,
    rgba(24,119,242,0.25) 40%,
    rgba(0,180,216,0.15) 70%,
    transparent 100%);
  border-radius: 50%;
  box-shadow:
    inset -20px -20px 60px rgba(24,119,242,0.2),
    inset 10px 10px 40px rgba(255,255,255,0.8),
    0 30px 80px rgba(24,119,242,0.15);
  pointer-events: none;
  z-index: 1;
  animation: lt-sphere-float 8s ease-in-out infinite;
}

html.light-theme #hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -8%;
  width: 35vw;
  height: 35vw;
  max-width: 450px;
  max-height: 450px;
  background: radial-gradient(circle at 60% 60%,
    rgba(0,180,216,0.15) 0%,
    rgba(24,119,242,0.08) 50%,
    transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: lt-sphere-float 10s ease-in-out infinite reverse;
}

@keyframes lt-sphere-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(2deg); }
  66%       { transform: translateY(10px) rotate(-1deg); }
}

html.light-theme .hero-headline,
html.light-theme .hero-word,
html.light-theme .glitch-text {
  color: var(--lt-text) !important;
  -webkit-text-fill-color: var(--lt-text) !important;
  text-shadow: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

html.light-theme .hero-subtitle {
  color: var(--lt-text2) !important;
}

html.light-theme .hero-subtitle .text-facebook-blue,
html.light-theme .hero-subtitle [class*="blue"] {
  color: var(--lt-blue) !important;
}

html.light-theme .hero-description,
html.light-theme .hero-description-secondary {
  color: var(--lt-text2) !important;
}

/* ══════════════════════════════════════════════════════════
   6. FEATURE HIGHLIGHTS GRID (hero bottom cards)
   ══════════════════════════════════════════════════════════ */
html.light-theme .feature-highlight,
html.light-theme [class*="feature-highlight"] {
  background: rgba(255,255,255,0.8) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow) !important;
  backdrop-filter: blur(12px) !important;
}

html.light-theme .feature-highlight p,
html.light-theme .feature-highlight span,
html.light-theme [class*="feature-highlight"] p,
html.light-theme [class*="feature-highlight"] span {
  color: var(--lt-text) !important;
}

html.light-theme .feature-highlight .text-gray-500,
html.light-theme [class*="feature-highlight"] .text-gray-500 {
  color: var(--lt-text3) !important;
}

/* ══════════════════════════════════════════════════════════
   7. PERFORMANCE METRICS (stat cards)
   ══════════════════════════════════════════════════════════ */
html.light-theme #performance {
  background: linear-gradient(180deg, var(--lt-bg) 0%, var(--lt-bg2) 100%) !important;
}

html.light-theme .stat-card-premium .glass-card-premium {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow-lg) !important;
  backdrop-filter: none !important;
}

html.light-theme .stat-card-premium .glass-card-premium:hover {
  box-shadow: 0 20px 60px rgba(24,119,242,0.22) !important;
  transform: translateY(-4px) scale(1.02) !important;
}

html.light-theme .gradient-text-animated {
  background: linear-gradient(135deg, var(--lt-blue) 0%, var(--lt-cyan) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

html.light-theme .text-cyan {
  color: var(--lt-cyan) !important;
}

html.light-theme .stat-card-premium p {
  color: var(--lt-text2) !important;
}

html.light-theme .stat-glow {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   8. FACEBOOK AUTOMATION SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #facebook-automation {
  background: var(--lt-bg) !important;
}

html.light-theme #facebook-automation h2,
html.light-theme #facebook-automation h3 {
  color: var(--lt-text) !important;
}

html.light-theme #facebook-automation p,
html.light-theme #facebook-automation span {
  color: var(--lt-text2) !important;
}

/* ══════════════════════════════════════════════════════════
   9. FEATURE CARDS (glass cards)
   ══════════════════════════════════════════════════════════ */
html.light-theme .glass-card,
html.light-theme [class*="glass-card"],
html.light-theme .feature-card,
html.light-theme [class*="feature-card"] {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow) !important;
  backdrop-filter: none !important;
}

html.light-theme .glass-card:hover,
html.light-theme [class*="glass-card"]:hover {
  box-shadow: var(--lt-shadow-lg) !important;
  border-color: rgba(24,119,242,0.25) !important;
}

html.light-theme .glass-card h3,
html.light-theme .glass-card h4,
html.light-theme [class*="glass-card"] h3,
html.light-theme [class*="glass-card"] h4 {
  color: var(--lt-text) !important;
}

html.light-theme .glass-card p,
html.light-theme [class*="glass-card"] p {
  color: var(--lt-text2) !important;
}

html.light-theme .glass-card .text-gray-400,
html.light-theme [class*="glass-card"] .text-gray-400 {
  color: var(--lt-text3) !important;
}

/* ══════════════════════════════════════════════════════════
   10. BENEFITS SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #benefits {
  background: linear-gradient(180deg, var(--lt-bg2) 0%, var(--lt-bg) 100%) !important;
}

html.light-theme .benefit-card,
html.light-theme [class*="benefit-card"],
html.light-theme [class*="benefit"] {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow) !important;
}

html.light-theme .benefit-card h3,
html.light-theme [class*="benefit"] h3 {
  color: var(--lt-text) !important;
}

html.light-theme .benefit-card p,
html.light-theme [class*="benefit"] p {
  color: var(--lt-text2) !important;
}

html.light-theme .benefit-glow {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════
   11. FEATURES SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #features {
  background: var(--lt-bg) !important;
}

html.light-theme #features h2,
html.light-theme #features h3 {
  color: var(--lt-text) !important;
}

html.light-theme #features p,
html.light-theme #features span {
  color: var(--lt-text2) !important;
}

/* ══════════════════════════════════════════════════════════
   12. PRICING SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #pricing {
  background: linear-gradient(180deg, var(--lt-bg) 0%, var(--lt-bg2) 100%) !important;
}

html.light-theme .pricing-card,
html.light-theme [class*="pricing"] {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow) !important;
}

html.light-theme .pricing-card h3,
html.light-theme [class*="pricing"] h3 {
  color: var(--lt-text) !important;
}

html.light-theme .pricing-card p,
html.light-theme [class*="pricing"] p,
html.light-theme .pricing-card li,
html.light-theme [class*="pricing"] li {
  color: var(--lt-text2) !important;
}

html.light-theme .pricing-card .text-gray-400,
html.light-theme [class*="pricing"] .text-gray-400 {
  color: var(--lt-text3) !important;
}

/* ══════════════════════════════════════════════════════════
   13. TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
html.light-theme .testimonial-card,
html.light-theme [class*="testimonial"] {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow) !important;
}

html.light-theme .testimonial-card p,
html.light-theme [class*="testimonial"] p {
  color: var(--lt-text2) !important;
}

html.light-theme .testimonial-card .text-gray-300,
html.light-theme [class*="testimonial"] .text-gray-300 {
  color: var(--lt-text2) !important;
}

/* ══════════════════════════════════════════════════════════
   14. CONTACT SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #contact {
  background: linear-gradient(135deg, #e8f0fe 0%, var(--lt-bg) 100%) !important;
}

html.light-theme #contact h2,
html.light-theme #contact h3 {
  color: var(--lt-text) !important;
}

html.light-theme #contact p,
html.light-theme #contact label {
  color: var(--lt-text2) !important;
}

html.light-theme #contact input,
html.light-theme #contact textarea,
html.light-theme #contact select {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  color: var(--lt-text) !important;
}

html.light-theme #contact input::placeholder,
html.light-theme #contact textarea::placeholder {
  color: var(--lt-text3) !important;
}

html.light-theme #contact input:focus,
html.light-theme #contact textarea:focus {
  border-color: var(--lt-blue) !important;
  box-shadow: 0 0 0 3px rgba(24,119,242,0.12) !important;
  outline: none !important;
}

html.light-theme #mainContactForm,
html.light-theme [id*="contact"] .glass-card,
html.light-theme [id*="contact"] [class*="glass"] {
  background: var(--lt-surface) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow-lg) !important;
}

/* ══════════════════════════════════════════════════════════
   15. SLIDES SECTION
   ══════════════════════════════════════════════════════════ */
html.light-theme #slides-presentation {
  background: var(--lt-bg2) !important;
}

html.light-theme #slides-presentation h2,
html.light-theme #slides-presentation p {
  color: var(--lt-text) !important;
}

/* Override inline dark backgrounds on slide cards */
html.light-theme .gz-slide-inner {
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%) !important;
  border: 1px solid rgba(24,119,242,0.18) !important;
  box-shadow: 0 8px 32px rgba(24,119,242,0.10) !important;
}

/* Keep text readable in light slides */
html.light-theme .gz-slide-inner .gz-title,
html.light-theme .gz-slide-inner [style*="color:white"],
html.light-theme .gz-slide-inner [style*="color: white"] {
  color: #0d1b3e !important;
  -webkit-text-fill-color: #0d1b3e !important;
}

/* Gradient text spans inside titles — keep their gradient */
html.light-theme .gz-slide-inner .gz-title span[style*="background"] {
  -webkit-text-fill-color: transparent !important;
}

html.light-theme .gz-slide-inner .gz-sub,
html.light-theme .gz-slide-inner [style*="rgba(255,255,255,0.6)"] {
  color: #3d5a8a !important;
}

html.light-theme .gz-slide-inner .gz-num {
  opacity: 0.85 !important;
}

/* Tags in light mode */
html.light-theme .gz-slide-inner .gz-tag {
  background: rgba(24,119,242,0.07) !important;
}

/* Grid overlay in slides — lighter */
html.light-theme .gz-slide-inner::before {
  background-image:
    linear-gradient(rgba(24,119,242,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,119,242,0.06) 1px, transparent 1px) !important;
}

/* Deco emoji opacity */
html.light-theme .gz-slide-inner .gz-deco {
  opacity: 0.12 !important;
  color: #1877f2 !important;
}

/* Slide controls */
html.light-theme .gz-btn {
  background: rgba(24,119,242,0.08) !important;
  border-color: rgba(24,119,242,0.2) !important;
  color: #1877f2 !important;
}

html.light-theme .gz-btn:hover {
  background: rgba(24,119,242,0.18) !important;
  border-color: #1877f2 !important;
}

html.light-theme .gz-counter {
  color: #3d5a8a !important;
}

html.light-theme .gz-dot {
  background: rgba(24,119,242,0.2) !important;
}

html.light-theme .gz-dot.active {
  background: #1877f2 !important;
}

html.light-theme .gz-progress {
  background: rgba(24,119,242,0.12) !important;
}

/* Behind slides — lighter shadow layers */
html.light-theme .gz-slide.behind-1 .gz-slide-inner {
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fe 100%) !important;
  border-color: rgba(24,119,242,0.12) !important;
}

html.light-theme .gz-slide.behind-2 .gz-slide-inner,
html.light-theme .gz-slide.behind-3 .gz-slide-inner {
  background: linear-gradient(135deg, #f4f7fb 0%, #e8f0fe 100%) !important;
  border-color: rgba(24,119,242,0.08) !important;
}

/* ══════════════════════════════════════════════════════════
   16. FOOTER
   ══════════════════════════════════════════════════════════ */
html.light-theme footer {
  background: #f0f4fa !important;
  border-top: 1px solid rgba(24,119,242,0.12) !important;
  color: #3d5a8a !important;
}

html.light-theme footer * {
  color: #3d5a8a !important;
}

html.light-theme footer a {
  color: #3d5a8a !important;
}

html.light-theme footer a:hover {
  color: #1877f2 !important;
}

html.light-theme footer p,
html.light-theme footer span {
  color: #7a93bb !important;
}

html.light-theme footer .text-gray-700 {
  color: rgba(24,119,242,0.3) !important;
}

/* ══════════════════════════════════════════════════════════
   17. SECTION HEADINGS — universal
   ══════════════════════════════════════════════════════════ */
html.light-theme section h1,
html.light-theme section h2,
html.light-theme section h3,
html.light-theme section h4 {
  color: var(--lt-text) !important;
}

html.light-theme section p,
html.light-theme section span:not(.cta-button span):not(.relative.z-10) {
  color: var(--lt-text2) !important;
}

html.light-theme .text-gray-300,
html.light-theme .text-gray-400,
html.light-theme .text-gray-500 {
  color: var(--lt-text3) !important;
}

html.light-theme .text-white {
  color: var(--lt-text) !important;
}

/* ══════════════════════════════════════════════════════════
   18. BADGES & TAGS
   ══════════════════════════════════════════════════════════ */
html.light-theme .badge,
html.light-theme [class*="badge"],
html.light-theme [class*="tag"],
html.light-theme .inline-flex.items-center.gap-2 {
  background: var(--lt-accent) !important;
  color: var(--lt-blue) !important;
  border-color: rgba(24,119,242,0.2) !important;
}

/* ══════════════════════════════════════════════════════════
   19. CTA BUTTONS — keep blue
   ══════════════════════════════════════════════════════════ */
html.light-theme .cta-button,
html.light-theme [class*="cta-button"],
html.light-theme .bg-facebook-blue {
  background: var(--lt-blue) !important;
  color: #ffffff !important;
}

html.light-theme .cta-button span,
html.light-theme [class*="cta-button"] span,
html.light-theme .bg-facebook-blue span {
  color: #ffffff !important;
}

/* Submit button SVG icon — always white */
html.light-theme button[type="submit"] svg,
html.light-theme button[type="submit"] svg path,
html.light-theme button[type="submit"] span {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Contact form wrapper in light mode */
html.light-theme .contact-form-wrapper .glass-card-premium {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.15) !important;
  box-shadow: 0 8px 40px rgba(24,119,242,0.10) !important;
  backdrop-filter: none !important;
}

/* Contact info cards */
html.light-theme #contact .grid .glass-card-premium {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.12) !important;
  box-shadow: 0 4px 20px rgba(24,119,242,0.08) !important;
}

html.light-theme #contact .grid h4 {
  color: #0d1b3e !important;
}

html.light-theme #contact .grid p {
  color: #3d5a8a !important;
}

/* Contact section heading badge */
html.light-theme #contact .inline-block.rounded-full {
  background: rgba(24,119,242,0.08) !important;
  border-color: rgba(24,119,242,0.2) !important;
}

html.light-theme .cta-button:hover,
html.light-theme [class*="cta-button"]:hover {
  background: var(--lt-blue2) !important;
  box-shadow: 0 8px 24px rgba(24,119,242,0.35) !important;
}

/* ══════════════════════════════════════════════════════════
   20. ICON WRAPPERS
   ══════════════════════════════════════════════════════════ */
html.light-theme .icon-wrapper,
html.light-theme [class*="icon-wrapper"],
html.light-theme .w-12.h-12.rounded-full,
html.light-theme .w-16.h-16.rounded-full {
  background: var(--lt-accent) !important;
}

html.light-theme .icon-wrapper svg,
html.light-theme [class*="icon-wrapper"] svg {
  color: var(--lt-blue) !important;
}

/* ══════════════════════════════════════════════════════════
   21. DIVIDERS & BORDERS
   ══════════════════════════════════════════════════════════ */
html.light-theme .border-white\/10,
html.light-theme [class*="border-white"] {
  border-color: var(--lt-border) !important;
}

html.light-theme hr {
  border-color: var(--lt-border) !important;
}

/* ══════════════════════════════════════════════════════════
   22. 3D FLOATING DECORATIVE ELEMENTS (light theme exclusive)
   ══════════════════════════════════════════════════════════ */

/* Small floating orbs */
html.light-theme .floating-orb,
html.light-theme [class*="floating-orb"] {
  background: radial-gradient(circle, rgba(24,119,242,0.15), transparent) !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
}

/* Metric pulse ring */
html.light-theme .metric-pulse {
  border-color: rgba(24,119,242,0.2) !important;
}

/* ══════════════════════════════════════════════════════════
   23. MODAL / OVERLAY
   ══════════════════════════════════════════════════════════ */
html.light-theme .modal,
html.light-theme [class*="modal"],
html.light-theme [id*="modal"] {
  background: var(--lt-surface) !important;
  color: var(--lt-text) !important;
  border: 1px solid var(--lt-border) !important;
  box-shadow: var(--lt-shadow-lg) !important;
}

html.light-theme [id*="modal"] h2,
html.light-theme [id*="modal"] h3,
html.light-theme [id*="modal"] p,
html.light-theme [id*="modal"] label {
  color: var(--lt-text) !important;
}

html.light-theme [id*="modal"] input,
html.light-theme [id*="modal"] textarea {
  background: var(--lt-bg) !important;
  border: 1px solid var(--lt-border) !important;
  color: var(--lt-text) !important;
}

/* ══════════════════════════════════════════════════════════
   24. SCROLLBAR (light)
   ══════════════════════════════════════════════════════════ */
html.light-theme ::-webkit-scrollbar {
  width: 6px;
}
html.light-theme ::-webkit-scrollbar-track {
  background: var(--lt-bg2);
}
html.light-theme ::-webkit-scrollbar-thumb {
  background: rgba(24,119,242,0.3);
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════
   25. THEME TOGGLE BUTTON STYLES
   ══════════════════════════════════════════════════════════ */
.gz-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

.gz-theme-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: rotate(20deg);
}

html.light-theme .gz-theme-toggle {
  border: 1.5px solid rgba(24,119,242,0.25) !important;
  background: rgba(24,119,242,0.08) !important;
  color: var(--lt-blue) !important;
}

html.light-theme .gz-theme-toggle:hover {
  background: rgba(24,119,242,0.15) !important;
  border-color: rgba(24,119,242,0.4) !important;
}

/* Sun icon (shown in dark mode) */
.gz-theme-toggle .icon-sun { display: block; }
.gz-theme-toggle .icon-moon { display: none; }

html.light-theme .gz-theme-toggle .icon-sun { display: none; }
html.light-theme .gz-theme-toggle .icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════
   26. SECTION BACKGROUNDS — alternating
   ══════════════════════════════════════════════════════════ */
html.light-theme section:nth-child(even) {
  background: var(--lt-bg2) !important;
}

html.light-theme section:nth-child(odd) {
  background: var(--lt-bg) !important;
}

/* Override specific sections */
html.light-theme #hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #f4f7fb 40%, #dbeafe 100%) !important;
}

/* ══════════════════════════════════════════════════════════
   27. SMOOTH TRANSITION ON THEME SWITCH
   ══════════════════════════════════════════════════════════ */
html.light-theme *,
html.light-theme *::before,
html.light-theme *::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* But don't transition animations */
html.light-theme [class*="animate"],
html.light-theme [class*="transition-all"] {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
}

/* ══════════════════════════════════════════════════════════
   26. AI HUMAN AGENT & TOOL PAGES — PAGE CARDS
   ══════════════════════════════════════════════════════════ */

/* Page card container */
html.light-theme .page-card {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.15) !important;
  box-shadow: 0 2px 12px rgba(24,119,242,0.08) !important;
}
html.light-theme .page-card:hover {
  border-color: rgba(24,119,242,0.35) !important;
  background: #f0f6ff !important;
  box-shadow: 0 4px 20px rgba(24,119,242,0.15) !important;
}
html.light-theme .page-card.enabled {
  border-color: rgba(34,197,94,0.4) !important;
  background: #f0fff4 !important;
}

/* Page name & ID */
html.light-theme .page-name {
  color: #0d1b3e !important;
}
html.light-theme .page-id {
  color: #3d5a8a !important;
}
html.light-theme .page-meta-item {
  color: #3d5a8a !important;
}

/* Page avatar fallback (letter avatar) */
html.light-theme .page-avatar {
  background: rgba(24,119,242,0.12) !important;
  color: #1877f2 !important;
}

/* Page chip sidebar */
html.light-theme .page-chip {
  background: #ffffff !important;
  border-color: rgba(24,119,242,0.15) !important;
}
html.light-theme .page-chip:hover {
  background: #f0f6ff !important;
}
html.light-theme .page-chip-name {
  color: #3d5a8a !important;
}
html.light-theme .page-chip-all {
  background: #f4f7fb !important;
}
html.light-theme .page-chip-all:hover {
  background: #e8f0fe !important;
}
html.light-theme .page-chip-all-icon {
  background: rgba(24,119,242,0.1) !important;
  color: #1877f2 !important;
}
html.light-theme .page-chip-all-label {
  color: #3d5a8a !important;
}
html.light-theme .page-selector-label {
  color: #7a93bb !important;
}

/* Page selector scrollbar */
html.light-theme .page-selector::-webkit-scrollbar-thumb {
  background: rgba(24,119,242,0.2) !important;
}

/* AI toggle pill */
html.light-theme .ai-toggle-pill {
  background: rgba(24,119,242,0.08) !important;
  border-color: rgba(24,119,242,0.2) !important;
}
html.light-theme .ai-toggle-pill.off .ai-toggle-knob {
  background: rgba(24,119,242,0.5) !important;
}
html.light-theme .ai-toggle-label-on {
  color: #1877f2 !important;
}
html.light-theme .ai-toggle-label-off {
  color: #7a93bb !important;
}

/* Buttons in page cards */
html.light-theme .btn-sm.gray {
  background: rgba(24,119,242,0.06) !important;
  color: #3d5a8a !important;
  border-color: rgba(24,119,242,0.15) !important;
}
html.light-theme .btn-sm.gray:hover {
  background: rgba(24,119,242,0.12) !important;
  color: #1877f2 !important;
}

/* ══════════════════════════════════════════════════════════
   27. CONVERSATION LIST (Hội thoại tab)
   ══════════════════════════════════════════════════════════ */
html.light-theme .conv-list-title {
  color: #0d1b3e !important;
}
html.light-theme .conv-list-count {
  color: #7a93bb !important;
}
html.light-theme .conv-search input {
  background: #ffffff !important;
  border-color: rgba(24,119,242,0.15) !important;
  color: #0d1b3e !important;
}
html.light-theme .conv-search input::placeholder {
  color: #7a93bb !important;
}
html.light-theme .conv-search input:focus {
  background: #f0f6ff !important;
  border-color: rgba(24,119,242,0.4) !important;
}
html.light-theme .conv-search-icon {
  color: #7a93bb !important;
}
html.light-theme .conv-item {
  border-bottom-color: rgba(24,119,242,0.06) !important;
}
html.light-theme .conv-item:hover {
  background: rgba(24,119,242,0.04) !important;
}
html.light-theme .conv-item.active {
  background: rgba(24,119,242,0.08) !important;
  border-left-color: #1877f2 !important;
}
html.light-theme .conv-item.pending {
  border-left-color: #f97316 !important;
}
html.light-theme .conv-page-tag {
  color: #3d5a8a !important;
  background: rgba(24,119,242,0.08) !important;
}
html.light-theme .conv-last {
  color: #7a93bb !important;
}
html.light-theme .conv-items-wrap::-webkit-scrollbar-thumb {
  background: rgba(24,119,242,0.2) !important;
}

/* ══════════════════════════════════════════════════════════
   28. STAT CARDS (Tổng quan tab)
   ══════════════════════════════════════════════════════════ */
html.light-theme .stat-card,
html.light-theme [class*="stat-card"] {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.12) !important;
  box-shadow: 0 2px 12px rgba(24,119,242,0.07) !important;
}
html.light-theme .stat-card h3,
html.light-theme .stat-card .stat-value,
html.light-theme [class*="stat-card"] h3 {
  color: #0d1b3e !important;
}
html.light-theme .stat-card p,
html.light-theme .stat-card .stat-label,
html.light-theme [class*="stat-card"] p {
  color: #3d5a8a !important;
}

/* ══════════════════════════════════════════════════════════
   29. TOOL PAGE GENERAL — sidebar, headers, tables
   ══════════════════════════════════════════════════════════ */
/* Sidebar nav in tool pages */
html.light-theme .sidebar,
html.light-theme [class*="sidebar"],
html.light-theme #sidebar {
  background: #ffffff !important;
  border-right: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .sidebar a,
html.light-theme .sidebar .nav-item,
html.light-theme #sidebar a {
  color: #3d5a8a !important;
}
html.light-theme .sidebar a:hover,
html.light-theme .sidebar .nav-item:hover,
html.light-theme #sidebar a:hover {
  background: rgba(24,119,242,0.07) !important;
  color: #1877f2 !important;
}
html.light-theme .sidebar a.active,
html.light-theme .sidebar .nav-item.active,
html.light-theme #sidebar a.active {
  background: rgba(24,119,242,0.1) !important;
  color: #1877f2 !important;
}

/* Tool page main content area */
html.light-theme .tool-main,
html.light-theme .main-content,
html.light-theme #mainContent {
  background: #f4f7fb !important;
}

/* Table overrides */
html.light-theme table {
  background: #ffffff !important;
  color: #0d1b3e !important;
}
html.light-theme th {
  background: #f0f4fa !important;
  color: #3d5a8a !important;
  border-color: rgba(24,119,242,0.1) !important;
}
html.light-theme td {
  color: #0d1b3e !important;
  border-color: rgba(24,119,242,0.06) !important;
}
html.light-theme tr:hover td {
  background: rgba(24,119,242,0.03) !important;
}

/* Config page name */
html.light-theme .config-page-name {
  color: #0d1b3e !important;
}

/* Generic white text overrides for tool pages */
html.light-theme .tool-human-agent h1,
html.light-theme .tool-human-agent h2,
html.light-theme .tool-human-agent h3,
html.light-theme .tool-human-agent p,
html.light-theme .tool-human-agent span:not([class*="badge"]):not([class*="tag"]) {
  color: #0d1b3e !important;
}

/* ══════════════════════════════════════════════════════════
   30. AUTO-POST PAGE — Override bg-space-black and dark elements
   ══════════════════════════════════════════════════════════ */

/* Beat specificity of body.bg-space-black from main.css */
html.light-theme body.bg-space-black,
html.light-theme body[class*="bg-space"],
html.light-theme body[class*="bg-dark"],
html.light-theme body.text-white {
  background: #f4f7fb !important;
  background-color: #f4f7fb !important;
  color: #0d1b3e !important;
}

/* Page body / content area */
html.light-theme .page-body {
  background: #f4f7fb !important;
}

/* Stat cards */
html.light-theme .stat-card {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.12) !important;
  box-shadow: 0 2px 12px rgba(24,119,242,0.07) !important;
}
html.light-theme .stat-card .label,
html.light-theme .stat-card .stat-label { color: #3d5a8a !important; }
html.light-theme .stat-card .value,
html.light-theme .stat-card .stat-value { color: #0d1b3e !important; }
html.light-theme .stat-card .sub { color: #7a93bb !important; }
html.light-theme .stat-blue .value,
html.light-theme .stat-blue .stat-value { color: #1877f2 !important; }
html.light-theme .stat-green .value,
html.light-theme .stat-green .stat-value { color: #15803d !important; }
html.light-theme .stat-yellow .value,
html.light-theme .stat-yellow .stat-value { color: #b45309 !important; }
html.light-theme .stat-red .value,
html.light-theme .stat-red .stat-value { color: #dc2626 !important; }

/* Cards */
html.light-theme .card {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
  box-shadow: 0 2px 12px rgba(24,119,242,0.06) !important;
}
html.light-theme .card-header {
  background: #f4f7fb !important;
  border-bottom: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .card-title { color: #0d1b3e !important; }
html.light-theme .card-body {
  background: #ffffff !important;
  color: #0d1b3e !important;
}

/* AI section */
html.light-theme .ai-section {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .ai-header {
  background: #e8f0fe !important;
  border-bottom: 1px solid rgba(24,119,242,0.15) !important;
  color: #1d4ed8 !important;
}
html.light-theme .ai-result-item {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
  color: #0d1b3e !important;
}
html.light-theme .ai-result-item:hover {
  background: #e8f0fe !important;
  border-color: rgba(24,119,242,0.25) !important;
}
html.light-theme .ai-grid {
  background: #f4f7fb !important;
}

/* Form controls */
html.light-theme .form-control {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.2) !important;
  color: #0d1b3e !important;
}
html.light-theme .form-control:focus {
  border-color: #1877f2 !important;
  box-shadow: 0 0 0 3px rgba(24,119,242,0.1) !important;
}
html.light-theme .form-control::placeholder { color: #7a93bb !important; }
html.light-theme .form-label,
html.light-theme label { color: #3d5a8a !important; }
html.light-theme select.form-control option {
  background: #ffffff !important;
  color: #0d1b3e !important;
}

/* Tab bar */
html.light-theme .tab-bar {
  background: #eef2f8 !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .tab-btn {
  background: transparent !important;
  color: #3d5a8a !important;
}
html.light-theme .tab-btn.active {
  background: #ffffff !important;
  color: #1877f2 !important;
  box-shadow: 0 1px 4px rgba(24,119,242,0.12) !important;
}

/* Facebook preview */
html.light-theme .fb-preview-wrap {
  background: #f0f2f5 !important;
  border: 1px solid #e5e7eb !important;
}
html.light-theme .fb-post-header,
html.light-theme .fb-post-text,
html.light-theme .fb-action-bar { background: #ffffff !important; }
html.light-theme .fb-page-name { color: #050505 !important; }
html.light-theme .fb-page-info,
html.light-theme .fb-post-time,
html.light-theme .fb-action-btn,
html.light-theme .fb-reaction-count { color: #65676b !important; }

/* Upload zone */
html.light-theme .upload-zone {
  background: #f4f7fb !important;
  border: 2px dashed rgba(24,119,242,0.25) !important;
  color: #3d5a8a !important;
}
html.light-theme .upload-zone:hover {
  background: #e8f0fe !important;
  border-color: #1877f2 !important;
}
html.light-theme .media-mode-tabs {
  background: #eef2f8 !important;
}
html.light-theme .media-mode-btn { color: #3d5a8a !important; }
html.light-theme .media-mode-btn.active {
  background: #ffffff !important;
  color: #1877f2 !important;
}

/* Hashtag & emoji */
html.light-theme .hashtag-chip {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}
html.light-theme .emoji-bar {
  background: #f4f7fb !important;
  border-top: 1px solid rgba(24,119,242,0.08) !important;
}
html.light-theme .emoji-btn:hover { background: #e8f0fe !important; }

/* Post list */
html.light-theme .post-item {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .post-item:hover { background: #f4f7fb !important; }
html.light-theme .post-content { color: #0d1b3e !important; }
html.light-theme .post-action-btn { color: #3d5a8a !important; }
html.light-theme .post-action-btn:hover { color: #1877f2 !important; }

/* Schedule panel */
html.light-theme .golden-btn {
  background: linear-gradient(135deg,#f59e0b,#d97706) !important;
  color: #ffffff !important;
}
html.light-theme .tip-item,
html.light-theme .tip-text { color: #3d5a8a !important; }
html.light-theme .tip-icon { color: #1877f2 !important; }

/* Page dropdown in auto-post */
html.light-theme .page-check-list {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.12) !important;
}
html.light-theme .page-check-item {
  color: #0d1b3e !important;
}
html.light-theme .page-check-item:hover {
  background: #e8f0fe !important;
}
html.light-theme .page-subtitle { color: #3d5a8a !important; }

/* Topbar in auto-post */
html.light-theme .topbar,
html.light-theme .top-bar,
html.light-theme header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(24,119,242,0.1) !important;
}
html.light-theme .topbar *,
html.light-theme .top-bar * { color: #0d1b3e !important; }
html.light-theme .topbar .btn-primary,
html.light-theme .top-bar .btn-primary { color: #ffffff !important; }

/* Page title & breadcrumb */
html.light-theme .page-title-bar,
html.light-theme .breadcrumb-bar {
  background: transparent !important;
}
html.light-theme .page-title-bar h1,
html.light-theme .page-title-bar h2 { color: #0d1b3e !important; }
html.light-theme .page-title-bar p,
html.light-theme .page-title-bar span { color: #3d5a8a !important; }

/* ══════════════════════════════════════════════════════════
   MULTI-VARIANT PANEL — Light Theme
   ══════════════════════════════════════════════════════════ */
html.light-theme #variantPanel {
  border-color: rgba(124,58,237,0.25) !important;
  background: #faf7ff !important;
}
html.light-theme #variantPanel > div:first-child {
  background: rgba(124,58,237,0.08) !important;
}
html.light-theme #variantPanel span[style*="color:#a78bfa"] {
  color: #6d28d9 !important;
}
html.light-theme #variantPanel span[style*="color:rgba(255,255,255,0.4)"] {
  color: #6b7280 !important;
}
html.light-theme #variantPanel span[style*="color:rgba(255,255,255,0.5)"] {
  color: #6b7280 !important;
}
html.light-theme #variantPanel div[style*="color:rgba(255,255,255,0.5)"] {
  color: #6b7280 !important;
}
html.light-theme #variantPanel div[style*="color:rgba(255,255,255,0.35)"] {
  color: #9ca3af !important;
}
html.light-theme #varAIMode,
html.light-theme #varManualMode {
  background: transparent !important;
}
html.light-theme #varAIResults > div {
  border-color: rgba(124,58,237,0.2) !important;
  background: #f5f0ff !important;
}
html.light-theme #varAIResults span[style*="color:#a78bfa"] {
  color: #6d28d9 !important;
}
html.light-theme #varAIResults div[style*="color:rgba(255,255,255,0.7)"] {
  color: #374151 !important;
}
html.light-theme #varManualList > div {
  border-color: rgba(30,80,180,0.12) !important;
  background: #ffffff !important;
}
html.light-theme #varManualList textarea {
  background: #f8faff !important;
  border-color: rgba(30,80,180,0.15) !important;
  color: #0d1b3e !important;
}
html.light-theme #variantPanel div[style*="border-top:1px solid rgba(139,92,246"] {
  background: rgba(124,58,237,0.04) !important;
  border-top-color: rgba(124,58,237,0.2) !important;
}
html.light-theme #variantToggleBtn {
  background: rgba(124,58,237,0.1) !important;
  border-color: rgba(124,58,237,0.3) !important;
  color: #6d28d9 !important;
}
html.light-theme #varPageCount {
  color: #6d28d9 !important;
}

/* ===== Sticky columns - Light Theme Fix ===== */
html.light-theme thead th:nth-child(1),
html.light-theme tbody td:nth-child(1) {
  background: #ffffff !important;
}
html.light-theme thead th:nth-child(2),
html.light-theme tbody td:nth-child(2) {
  background: #ffffff !important;
  box-shadow: 4px 0 8px rgba(0,0,0,.06) !important;
}
html.light-theme thead th:nth-child(1),
html.light-theme thead th:nth-child(2) {
  background: #f4f7fb !important;
}
html.light-theme tbody tr:hover td:nth-child(1),
html.light-theme tbody tr:hover td:nth-child(2) {
  background: #f0f4fa !important;
}

/* ===== Stats Row - Light Theme Fix ===== */
html.light-theme .stat-mini {
  background: #ffffff !important;
  border: 1px solid #dddfe2 !important;
  border-radius: 10px;
}
html.light-theme .stat-mini .lbl {
  color: #65676b !important;
  font-size: 11px;
  font-weight: 600;
}
html.light-theme .stat-mini .val {
  color: #1c1e21 !important;
}
html.light-theme #sActiveAcc { color: #1a7f37 !important; }
html.light-theme #sLockedAcc { color: #d93025 !important; }
html.light-theme #sTotalSpend { color: #1877f2 !important; }
html.light-theme #sTotalBalance { color: #1a7f37 !important; }

/* ===== Table toggle switch (checkbox) - Light Theme Fix ===== */
html.light-theme .toggle-cell input[type="checkbox"],
html.light-theme td input[type="checkbox"].row-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 36px !important;
  height: 20px !important;
  border-radius: 10px !important;
  background: #ccd0d5 !important;
  border: none !important;
  cursor: pointer !important;
  position: relative !important;
  transition: background .2s !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
html.light-theme .toggle-cell input[type="checkbox"]::after,
html.light-theme td input[type="checkbox"].row-toggle::after {
  content: '' !important;
  position: absolute !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: #fff !important;
  top: 2px !important;
  left: 2px !important;
  transition: left .2s !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.3) !important;
}
html.light-theme .toggle-cell input[type="checkbox"]:checked,
html.light-theme td input[type="checkbox"].row-toggle:checked {
  background: #1877f2 !important;
}
html.light-theme .toggle-cell input[type="checkbox"]:checked::after,
html.light-theme td input[type="checkbox"].row-toggle:checked::after {
  left: 18px !important;
}

/* ===== Action buttons - Light Theme Fix ===== */
html.light-theme .btn-toggle-on {
  background: rgba(26,127,55,.1) !important;
  border-color: rgba(26,127,55,.35) !important;
  color: #1a7f37 !important;
}
html.light-theme .btn-toggle-off {
  background: rgba(180,120,0,.08) !important;
  border-color: rgba(180,120,0,.3) !important;
  color: #b47800 !important;
}
html.light-theme .btn-edit-target {
  background: rgba(24,119,242,.08) !important;
  border-color: rgba(24,119,242,.3) !important;
  color: #1877f2 !important;
}
html.light-theme .btn-delete {
  background: rgba(217,48,37,.06) !important;
  border-color: rgba(217,48,37,.25) !important;
  color: #d93025 !important;
}
html.light-theme .btn-edit-panel {
  background: rgba(24,119,242,.08) !important;
  border-color: rgba(24,119,242,.3) !important;
  color: #1877f2 !important;
}

/* ===== Settings Modal - Light Theme Fix ===== */
html.light-theme #settingsModal .modal-overlay,
html.light-theme #settingsModalBox {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.15) !important;
  box-shadow: 0 12px 48px rgba(24,119,242,0.18) !important;
}
html.light-theme #settingsModalBox [style*="background:#1a1f2e"] {
  background: #ffffff !important;
}
html.light-theme #settingsModalTitle {
  color: #0d1b3e !important;
}
html.light-theme #settingsModalSub {
  color: #3d5a8a !important;
}
html.light-theme #settingsModalBody {
  color: #0d1b3e !important;
}
html.light-theme #settingsModalBody [style*="color:#fff"],
html.light-theme #settingsModalBody [style*="color: #fff"] {
  color: #0d1b3e !important;
}
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.6)"],
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.75)"],
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.8)"] {
  color: #3d5a8a !important;
}
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.4)"],
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.3)"],
html.light-theme #settingsModalBody [style*="color:rgba(255,255,255,.5)"] {
  color: #7a93bb !important;
}
html.light-theme #settingsModalBody [style*="background:rgba(255,255,255,.03)"] {
  background: #f4f7fb !important;
  border-color: rgba(24,119,242,0.12) !important;
}
html.light-theme #settingsModalBody [style*="border:1px solid rgba(255,255,255,.08)"],
html.light-theme #settingsModalBody [style*="border:1px solid rgba(255,255,255,.05)"] {
  border-color: rgba(24,119,242,0.1) !important;
}
html.light-theme #settingsModalBody label[style*="background:rgba(255,255,255,.03)"] {
  background: #f8faff !important;
  border-color: rgba(24,119,242,0.12) !important;
}
html.light-theme #settingsModalBody label[style*="background:rgba(255,255,255,.03)"]:hover {
  background: #e8f0fe !important;
}
html.light-theme #settingsModalBody [style*="border-bottom:1px solid rgba(255,255,255,.05)"] {
  border-bottom-color: rgba(24,119,242,0.08) !important;
}
html.light-theme #settingsModalBox > div:first-child {
  background: #ffffff !important;
  border-bottom-color: rgba(24,119,242,0.1) !important;
}
html.light-theme #settingsModalBox > div:last-child {
  background: #f4f7fb !important;
  border-top-color: rgba(24,119,242,0.1) !important;
}
html.light-theme #settingsModalBox button[onclick*="closeSettingsModal"] {
  background: rgba(24,119,242,0.06) !important;
  border-color: rgba(24,119,242,0.2) !important;
  color: #3d5a8a !important;
}
html.light-theme #settingsModalIcon {
  background: rgba(24,119,242,0.08) !important;
}
/* Settings cards in light mode */
html.light-theme .settings-card {
  background: #ffffff !important;
  border: 1px solid rgba(24,119,242,0.12) !important;
  box-shadow: 0 2px 8px rgba(24,119,242,0.06) !important;
}
html.light-theme .settings-card:hover {
  background: #f0f6ff !important;
  border-color: rgba(24,119,242,0.3) !important;
  box-shadow: 0 4px 16px rgba(24,119,242,0.12) !important;
  transform: translateY(-1px);
}
html.light-theme .settings-card-title {
  color: #0d1b3e !important;
}
html.light-theme .settings-card-desc {
  color: #3d5a8a !important;
}
html.light-theme .settings-card-status {
  color: #7a93bb !important;
}
html.light-theme .settings-card-arrow {
  color: #7a93bb !important;
}
html.light-theme .settings-card-icon {
  background: rgba(24,119,242,0.08) !important;
}
html.light-theme #panel-settings > div {
  color: #0d1b3e !important;
}
html.light-theme #panel-settings > div > div:first-child > div:first-child {
  color: #0d1b3e !important;
}
html.light-theme #panel-settings > div > div:first-child > div:last-child {
  color: #7a93bb !important;
}

/* ===== Loading row & spinner - Light Theme Fix ===== */
html.light-theme .loading-row td {
  color: #65676b !important;
}
html.light-theme .spinner {
  border-color: rgba(0,0,0,.12) !important;
  border-top-color: #1877f2 !important;
}

/* ===== Table row text - Light Theme Fix ===== */
html.light-theme tbody td {
  color: #1c1e21 !important;
}
html.light-theme tbody td a {
  color: #1877f2 !important;
}
html.light-theme tbody tr:hover td {
  background: #f0f4fa !important;
}
