/**
 * Ad Profit Doctor — light theme overrides (toggle via body.active-light-mode)
 */
html[data-apd-theme="light"],
body.active-light-mode {
  --color-bg-1: #f4f6f9;
  --color-blackest: #ffffff;
  --color-dark: #eef1f6;
  --color-lessdark: #e2e8f0;
  --color-extra06: #f8fafc;
  --color-heading: #0f172a;
  --color-body: #334155;
  --color-border: #dbe3ec;
  --shadow-primary: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html[data-apd-theme="light"] body,
body.active-light-mode {
  background-color: #f4f6f9 !important;
  color: #0f172a !important;
}

/* Logo swap — works before body class via html[data-apd-theme] */
.logo .logo-dark {
  display: none;
}

html[data-apd-theme="light"] .logo a img.logo-light,
body.active-light-mode .logo a img.logo-light {
  display: none !important;
}

html[data-apd-theme="light"] .logo .logo-dark,
body.active-light-mode .logo .logo-dark {
  display: block !important;
  height: 48px !important;
  width: auto !important;
  max-height: none !important;
  object-fit: contain;
}

.rbt-dashboard-header .logo .logo-dark {
  height: 56px !important;
}

.popup-mobile-menu .logo .logo-dark {
  height: 36px !important;
}

.rainbow-footer .logo .logo-dark {
  height: 44px !important;
}

html[data-apd-theme="light"] .rainbow-header.header-default,
html[data-apd-theme="light"] .rbt-dashboard-header.rainbow-header,
body.active-light-mode .rainbow-header.header-default,
body.active-light-mode .rbt-dashboard-header.rainbow-header {
  background: #ffffff !important;
  border-bottom: 1px solid #dbe3ec !important;
}

html[data-apd-theme="light"] .mainmenu-nav .mainmenu > li > a,
html[data-apd-theme="light"] .popup-mobile-menu .mainmenu li a,
body.active-light-mode .mainmenu-nav .mainmenu > li > a,
body.active-light-mode .popup-mobile-menu .mainmenu li a {
  color: #0f172a !important;
}

body.active-light-mode a.btn-default,
body.active-light-mode button.btn-default,
body.active-light-mode div.btn-default {
  background: #2b7fff !important;
  background-image: none !important;
  color: #fff !important;
}

body.active-light-mode a.btn-default.btn-border,
body.active-light-mode button.btn-default.btn-border {
  background: transparent !important;
  color: #2b7fff !important;
  border-color: #2b7fff !important;
}

html[data-apd-theme="light"] .rainbow-card.box-card-style-default:not([class*="p-"]) .inner,
body.active-light-mode .rainbow-card.box-card-style-default:not([class*="p-"]) .inner {
  padding: 1.5rem;
}

body.active-light-mode .rainbow-card,
body.active-light-mode .rainbow-card.box-card-style-default,
body.active-light-mode .dash-stat-card,
body.active-light-mode .dash-feature-card,
body.active-light-mode .dash-table-card,
body.active-light-mode .report-deck-section,
body.active-light-mode .report-deck-provider-card,
body.active-light-mode .report-deck-kpi,
body.active-light-mode .report-cost-chart,
body.active-light-mode .analyst-rec-card,
body.active-light-mode .apply-ai-confirm-box,
body.active-light-mode .apply-ai-action-card,
body.active-light-mode .lp-action,
body.active-light-mode .lp-shot-card img {
  background: #ffffff !important;
  border-color: #dbe3ec !important;
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

body.active-light-mode .report-deck-kpi.is-hero {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
}

body.active-light-mode .report-deck-kpi.is-highlight {
  background: #ecfeff !important;
  border-color: #99f6e4 !important;
}

body.active-light-mode .report-deck-kpi .label,
body.active-light-mode .report-deck-section-header h4,
body.active-light-mode .dash-stat-title,
body.active-light-mode .dash-feature-eyebrow,
body.active-light-mode .dash-hero-eyebrow {
  color: #0369a1 !important;
}

body.active-light-mode .report-deck-kpi .value,
body.active-light-mode .dash-stat-value,
body.active-light-mode .title,
body.active-light-mode h1,
body.active-light-mode h2,
body.active-light-mode h3,
body.active-light-mode h4,
body.active-light-mode h5 {
  color: #0f172a !important;
}

body.active-light-mode .report-deck-kpi .hint,
body.active-light-mode .report-score-breakdown,
body.active-light-mode .description,
body.active-light-mode .b2,
body.active-light-mode .b3,
body.active-light-mode p {
  color: #475569 !important;
}

body.active-light-mode .report-deck-note {
  background: #eff6ff !important;
  border-left-color: #2b7fff !important;
  color: #1e293b !important;
}

body.active-light-mode .report-deck-table,
body.active-light-mode .dash-table,
body.active-light-mode .lp-table {
  color: #0f172a !important;
}

body.active-light-mode .report-deck-table th,
body.active-light-mode .dash-table th,
body.active-light-mode .lp-table th {
  background: #f8fafc !important;
  color: #0f172a !important;
}

body.active-light-mode .report-deck-table td,
body.active-light-mode .dash-table td,
body.active-light-mode .lp-table td {
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-apd-theme="light"] .report-platform-nav__label,
body.active-light-mode .report-platform-nav__label {
  color: #0f172a !important;
}

body.active-light-mode .rainbow-badge-card {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}

body.active-light-mode .report-platform-nav {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

body.active-light-mode .report-section-link {
  background: #2b7fff !important;
  background-image: none !important;
  color: #ffffff !important;
}

body.active-light-mode .bg-color-blackest {
  background: #eef1f6 !important;
}

body.active-light-mode .apply-ai-changes-modal .modal-content,
body.active-light-mode .apply-ai-changes-modal .modal-body,
body.active-light-mode .apply-ai-changes-modal .modal-footer {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.active-light-mode .apply-ai-modal-subtitle,
body.active-light-mode .apply-ai-modal-muted,
body.active-light-mode .apply-ai-action-desc {
  color: #475569 !important;
}

body.active-light-mode .apply-ai-action-title,
body.active-light-mode .apply-ai-section-title,
body.active-light-mode .modal-title {
  color: #0f172a !important;
}

body.active-light-mode .popup-mobile-menu .inner {
  background: #ffffff !important;
}

body.active-light-mode .report-cost-chart__bar.is-actual {
  background: #2b7fff !important;
  background-image: none !important;
}

body.active-light-mode .report-cost-chart__bar.is-target {
  background: #94a3b8 !important;
}

body.active-light-mode .analyst-health-badge.is-good {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #15803d !important;
}

body.active-light-mode .analyst-health-badge.is-watch {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #b45309 !important;
}

body.active-light-mode .analyst-health-badge.is-critical {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
}

/* ── Marketing: hero / home ── */
body.active-light-mode .slider-area.slider-bg-image.bg-banner1,
body.active-light-mode .slider-area.slider-bg-image.bg-banner2 {
  background-image: none !important;
  background-color: #f4f6f9 !important;
}

body.active-light-mode .slider-area[data-black-overlay]::before,
body.active-light-mode [data-black-overlay]::before {
  display: none !important;
  opacity: 0 !important;
}

body.active-light-mode .slider-area.slider-style-1 .inner .title,
body.active-light-mode .slider-area.slider-style-1 .inner .title.display-one,
body.active-light-mode .slider-area.slider-style-1.variation-default .inner .title {
  color: #0f172a !important;
}

body.active-light-mode .slider-area.slider-style-1 .inner .description,
body.active-light-mode .slider-area.slider-style-1 .inner .list-style--1,
body.active-light-mode .slider-area.slider-style-1 .inner .list-style--1 li {
  color: #475569 !important;
}

body.active-light-mode .slider-area .bg-shape,
body.active-light-mode .slider-style-1.variation-default .slider-frame::before {
  display: none !important;
}

/* ── Breadcrumb / inner pages ── */
body.active-light-mode .breadcarumb-style-1,
body.active-light-mode .breadcrumb-area.breadcarumb-style-1 {
  background: #f4f6f9 !important;
  background-image: none !important;
}

body.active-light-mode .breadcrumb-inner .title,
body.active-light-mode .breadcrumb-inner ul.page-list li,
body.active-light-mode .breadcrumb-inner ul.page-list li a {
  color: #0f172a !important;
}

body.active-light-mode .rainbow-pricing-area {
  background: #ffffff !important;
}

/* ── Pricing cards (style-aiwave) ── */
body.active-light-mode .rainbow-pricing.style-aiwave {
  padding: 0 !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave::before,
body.active-light-mode .rainbow-pricing.style-aiwave::after {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  opacity: 1 !important;
  visibility: visible !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave:hover::after,
body.active-light-mode .rainbow-pricing.style-aiwave.active::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave .pricing-table-inner {
  background: #ffffff !important;
  border: 1px solid #dbe3ec !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave .pricing-header .title,
body.active-light-mode .rainbow-pricing.style-aiwave .pricing-header .price-text {
  color: #0f172a !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave .pricing-header .subtitle,
body.active-light-mode .rainbow-pricing.style-aiwave .pricing-header .pricing .text {
  color: #64748b !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave .list-style--1 li {
  color: #475569 !important;
}

body.active-light-mode .rainbow-pricing.style-aiwave .pricing-header .icon {
  background: #eff6ff !important;
  color: #2b7fff !important;
}

/* ── Decorative dark-theme backgrounds ── */
body.active-light-mode .bg-flashlight::before {
  display: none !important;
}

body.active-light-mode .footer-style-default .footer-top {
  background: #ffffff !important;
  border-top: 1px solid #dbe3ec;
}

body.active-light-mode .rainbow-footer.footer-style-default {
  background: #f8fafc !important;
}

body.active-light-mode .copyright-style-one {
  background: #f1f5f9 !important;
}

/* ── Sample report deck on marketing page ── */
body.active-light-mode .sample-report-page .report-deck {
  background: transparent !important;
}

body.active-light-mode .sample-report-page .report-deck-summary-bar {
  background: #f8fafc !important;
  border-color: #dbe3ec !important;
}

body.active-light-mode .sample-report-page .report-deck-summary-bar .label,
body.active-light-mode .sample-report-page .report-deck-strategic-col h5,
body.active-light-mode .sample-report-page .report-platform-nav__label {
  color: #0369a1 !important;
}

body.active-light-mode .sample-report-page .report-deck-summary-bar .value {
  color: #0f172a !important;
}

body.active-light-mode .sample-report-page .report-deck-deep-dive + .report-deck-deep-dive {
  border-top-color: #e2e8f0 !important;
}

body.active-light-mode .sample-report-page .report-deck-table td,
body.active-light-mode .sample-report-page .report-deck-table tbody td {
  color: #0f172a !important;
}

body.active-light-mode .sample-report-page .report-deck-note,
body.active-light-mode .sample-report-page .report-deck-insight {
  color: #1e293b !important;
}

body.active-light-mode .sample-report-page .report-cost-chart__label,
body.active-light-mode .sample-report-page .report-cost-chart__value {
  color: #475569 !important;
}

body.active-light-mode .sample-report-page .report-cost-chart__track {
  background: #e2e8f0 !important;
}

body.active-light-mode .sample-report-page .report-deck .rainbow-card p,
body.active-light-mode .sample-report-page .report-deck .rainbow-card li,
body.active-light-mode .sample-report-page .report-deck ul.mb-0 {
  color: #475569 !important;
}

body.active-light-mode .header-transparent.sticky,
body.active-light-mode .header-transparent.header-sticky.sticky {
  background: #ffffff !important;
  box-shadow: 0 1px 0 #dbe3ec;
}

body.active-light-mode .header-default.header-transparent {
  background: transparent !important;
}

body.active-light-mode .header-default.header-transparent.sticky {
  background: #ffffff !important;
}

body.active-light-mode .list-style--1 li i,
body.active-light-mode .list-style--1 i {
  color: #2b7fff !important;
}

body.active-light-mode .sample-report-page .report-deck-cover .report-deck-subtitle {
  color: #475569 !important;
}

body.active-light-mode .hamberger-button {
  color: #0f172a !important;
}
