/* =============================================
   NGX Pulse — Light Mode Overrides
   One toggle, every page. Add via:
   <link href="/light-mode.css" rel="stylesheet">
   ============================================= */

/* === BASE === */
[data-theme="light"] body {
    background: #F5F7FA !important;
    color: #0F172A;
}

/* === NAVBAR === */
[data-theme="light"] .navbar,
[data-theme="light"] .ticker-bar,
[data-theme="light"] .market-status-bar,
[data-theme="light"] .search-modal-inner,
[data-theme="light"] .alert-modal-inner {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .navbar-links li a:hover,
[data-theme="light"] .navbar-links li a.active {
    background: #EEF6F2 !important;
}
[data-theme="light"] .search-trigger,
[data-theme="light"] .search-modal-input,
[data-theme="light"] .email-input {
    background: #fff;
    border-color: #E2E8F0;
    color: #0F172A;
}
[data-theme="light"] .search-trigger:hover,
[data-theme="light"] .search-modal-input:focus,
[data-theme="light"] .email-input:focus {
    border-color: rgba(5, 150, 105, 0.4);
}

/* === TICKER === */
[data-theme="light"] .ticker-bar::before,
[data-theme="light"] .ticker-bar::after {
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff);
}

/* === CARDS === */
[data-theme="light"] .homepage-brief-card,
[data-theme="light"] .home-link-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .trending-card,
[data-theme="light"] .mobile-stat-card,
[data-theme="light"] .promo-banner-inner,
[data-theme="light"] .email-signup-inner,
[data-theme="light"] .table-section,
[data-theme="light"] .whale-card {
    background: #fff !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
}
[data-theme="light"] .homepage-brief-card::before {
    background: linear-gradient(135deg, rgba(5,150,105,0.12), transparent 35%, rgba(37,99,235,0.10));
}
[data-theme="light"] .homepage-brief-card::after,
[data-theme="light"] .stat-card::after {
    display: none;
}
[data-theme="light"] .stat-card:hover {
    background: #F8FAFC !important;
    transform: translateY(-2px);
}
[data-theme="light"] .stat-card .stat-icon {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
[data-theme="light"] .homepage-pill,
[data-theme="light"] .search-trigger .shortcut {
    background: #F1F5F9;
    border-color: #E2E8F0;
}
[data-theme="light"] .home-link-card:hover {
    background: #F8FAFC !important;
    transform: translateY(-2px);
}

/* === TRENDING / TABS === */
[data-theme="light"] .trending-tabs,
[data-theme="light"] .table-tabs,
[data-theme="light"] .table-filters,
[data-theme="light"] .sector-strip {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .table-tab,
[data-theme="light"] .filter-chip,
[data-theme="light"] .sector-chip,
[data-theme="light"] .trending-tab {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #475569;
}
[data-theme="light"] .table-tab.active,
[data-theme="light"] .filter-chip.active,
[data-theme="light"] .sector-chip.active,
[data-theme="light"] .trending-tab.active {
    background: #059669 !important;
    color: #fff !important;
}

/* === TABLE === */
[data-theme="light"] .table-wrapper,
[data-theme="light"] .table-header {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .terminal-table {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .terminal-table thead th {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}
[data-theme="light"] .terminal-table tbody td {
    background: #fff !important;
    border-color: #E2E8F0 !important;
    color: #0F172A !important;
}
[data-theme="light"] .terminal-table tbody tr:hover td {
    background: #F8FAFC !important;
}

/* === WHALE CARD / ALERT === */
[data-theme="light"] .whale-item {
    background: rgba(0,0,0,0.03) !important;
    border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .whale-item:hover {
    background: rgba(0,0,0,0.06) !important;
}

/* === DISCLOSURE CARD === */
[data-theme="light"] .disclosure-card {
    background: #fff !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06), 0 4px 16px rgba(15,23,42,0.04);
}
[data-theme="light"] .disclosure-card:hover {
    background: #F8FAFC !important;
    border-color: rgba(5,150,105,0.3) !important;
    transform: translateY(-2px);
}

/* === EMAIL SIGNUP === */
[data-theme="light"] .email-signup {
    background: #F8FAFC;
    border-color: #E2E8F0;
}
[data-theme="light"] .email-signup-inner {
    background: #fff;
    border-color: #E2E8F0;
}

/* === FOOTER === */
[data-theme="light"] .site-footer {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .site-footer * {
    color: #475569 !important;
}
[data-theme="light"] .footer-menu-col h4 {
    color: #0F172A !important;
}
[data-theme="light"] .footer-links a {
    color: #64748B !important;
}
[data-theme="light"] .footer-links a:hover {
    color: #059669 !important;
}
[data-theme="light"] .footer-brand {
    color: #0F172A !important;
}
[data-theme="light"] .footer-copy {
    color: #94A3B8 !important;
}
[data-theme="light"] .footer-made {
    background: #F8FAFC;
    border-color: #E2E8F0;
    color: #64748B;
}

/* === PROMO BANNER === */
[data-theme="light"] .promo-banner,
[data-theme="light"] .promo-banner-inner {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}

/* === SKELETON === */
[data-theme="light"] .skeleton-bar {
    background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%) !important;
}

/* === TEXT COLORS === */
[data-theme="light"] .homepage-copy,
[data-theme="light"] .home-link-copy,
[data-theme="light"] .email-left p,
[data-theme="light"] .footer-desc,
[data-theme="light"] .market-news-ticker .news-item,
[data-theme="light"] .brief-value,
[data-theme="light"] .footer-brand {
    color: #475569 !important;
}
[data-theme="light"] .stat-label,
[data-theme="light"] .table-tab,
[data-theme="light"] .filter-chip {
    color: #475569;
}
[data-theme="light"] .homepage-copy h1,
[data-theme="light"] .homepage-copy h2,
[data-theme="light"] .homepage-copy h3 {
    color: #0F172A !important;
}
[data-theme="light"] .homepage-copy p {
    color: #475569 !important;
}
[data-theme="light"] .whale-title,
[data-theme="light"] .whale-label {
    color: #0F172A !important;
}
[data-theme="light"] .whale-sublabel,
[data-theme="light"] .whale-meta {
    color: #64748B !important;
}

/* === NASD TABLE === */
[data-theme="light"] .nasd-table-container,
[data-theme="light"] .data-table-wrapper {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .data-table thead th {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}
[data-theme="light"] .data-table tbody td {
    background: #fff !important;
    border-color: #E2E8F0 !important;
    color: #0F172A !important;
}
[data-theme="light"] .data-table tbody tr:hover td {
    background: #F8FAFC !important;
}

/* === BLOG === */
[data-theme="light"] .blog-hero,
[data-theme="light"] .blog-post-content,
[data-theme="light"] .blog-card {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}
[data-theme="light"] .blog-card:hover {
    background: #F8FAFC !important;
}
[data-theme="light"] .blog-sidebar {
    background: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

/* === CONTACT / STATIC PAGES === */
[data-theme="light"] .contact-section,
[data-theme="light"] .static-content,
[data-theme="light"] .page-content {
    background: #fff !important;
    border-color: #E2E8F0 !important;
}

/* === SCROLLBAR === */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #F1F5F9 !important;
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #CBD5E1 !important;
}

/* === CHART CANVAS (stock page) === */
[data-theme="light"] canvas {
    filter: none;
}
