:root{--theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;--bg-primary: #0a0e1a;--bg-secondary: #0f1428;--bg-tertiary: #1a1f3a;--bg-card: rgba(15, 20, 40, 0.85);--bg-card-solid: #0f1428;--bg-card-hover: rgba(26, 31, 58, 0.9);--bg-input: rgba(255, 255, 255, 0.05);--bg-table-header: rgba(20, 25, 45, 0.8);--bg-table-row: rgba(15, 20, 40, 0.4);--bg-table-row-hover: rgba(0, 212, 170, 0.05);--text-primary: #ffffff;--text-secondary: #94a3b8;--text-muted: #64748b;--text-inverse: #0a0e1a;--border-color: rgba(255, 255, 255, 0.08);--border-color-light: rgba(255, 255, 255, 0.12);--border-color-focus: rgba(0, 212, 170, 0.5);--shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);--shadow-hover: 0 20px 50px rgba(0, 212, 170, 0.15);--overlay-bg: rgba(0, 0, 0, 0.5);--glass-bg: rgba(15, 20, 40, 0.8);--glass-border: rgba(255, 255, 255, 0.1);--grid-opacity: 0.015;--navbar-bg: rgba(10, 14, 26, 0.95);--navbar-border: rgba(255, 255, 255, 0.08)}[data-theme="light"]{--bg-primary: #f5f5f0;--bg-secondary: #eceae5;--bg-tertiary: #e0ddd6;--bg-card: #ffffff;--bg-card-solid: #ffffff;--bg-card-hover: #f8f8f5;--bg-input: #f0eee9;--bg-table-header: #e8e6e0;--bg-table-row: #ffffff;--bg-table-row-hover: rgba(0, 150, 120, 0.1);--text-primary: #111111;--text-secondary: #333333;--text-muted: #666666;--text-inverse: #ffffff;--border-color: #d0ccc5;--border-color-light: #bbb7b0;--border-color-focus: rgba(0, 150, 120, 0.6);--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);--shadow-hover: 0 6px 20px rgba(0, 150, 120, 0.15);--overlay-bg: rgba(0, 0, 0, 0.5);--glass-bg: rgba(255, 255, 255, 0.98);--glass-border: #d0ccc5;--grid-opacity: 0;--navbar-bg: #ffffff;--navbar-border: #d0ccc5;--accent-primary: #00a080}.theme-switch-wrapper{display:flex;align-items:center;gap:10px}.theme-switch-wrapper .theme-icon-moon,.theme-switch-wrapper .theme-icon-sun{font-size:14px;transition:color 0.3s ease, opacity 0.3s ease}.theme-switch-wrapper .theme-icon-moon{color:#a78bfa;opacity:1}.theme-switch-wrapper .theme-icon-sun{color:#64748b;opacity:0.5}[data-theme="light"] .theme-switch-wrapper .theme-icon-moon{color:#64748b;opacity:0.5}[data-theme="light"] .theme-switch-wrapper .theme-icon-sun{color:#fbbf24;opacity:1}.theme-switch{position:relative;display:inline-block;width:44px;height:24px}.theme-switch input{opacity:0;width:0;height:0}.theme-switch input:checked+.slider{background:linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%)}.theme-switch input:checked+.slider:before{transform:translateX(20px)}.theme-switch input:focus+.slider{box-shadow:0 0 0 3px rgba(0,212,170,0.2)}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);transition:0.3s ease}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s ease;box-shadow:0 2px 4px rgba(0,0,0,0.2)}.slider.round{border-radius:24px}.slider.round:before{border-radius:50%}.theme-preference-toggle{display:inline-flex;border:1px solid var(--border-color);border-radius:8px;overflow:hidden;background:var(--bg-input);padding:4px;gap:4px}.theme-preference-toggle .theme-option{display:flex;align-items:center;gap:8px;padding:10px 20px;border:none;border-radius:6px;background:transparent;color:var(--text-secondary);font-size:14px;font-weight:500;cursor:pointer;transition:all 0.2s ease}.theme-preference-toggle .theme-option i{font-size:14px}.theme-preference-toggle .theme-option:hover:not(.active){background:var(--bg-card-hover);color:var(--text-primary)}.theme-preference-toggle .theme-option.active{background:var(--accent-primary);color:#0a0e1a;box-shadow:0 2px 4px rgba(0,212,170,0.3)}.theme-preference-toggle .theme-option.active i{color:#0a0e1a}@media (max-width: 576px){.theme-preference-toggle{width:100%;justify-content:center}.theme-preference-toggle .theme-option{flex:1;justify-content:center;padding:10px 12px}.theme-preference-toggle .theme-option span{display:none}.theme-preference-toggle .theme-option i{font-size:18px}}[data-theme="light"] .theme-preference-toggle .theme-option.active{background:#059669;color:#ffffff;box-shadow:0 2px 4px rgba(5,150,105,0.3)}[data-theme="light"] .theme-preference-toggle .theme-option.active i{color:#ffffff}[data-theme="light"]{color:#111111 !important}[data-theme="light"] .dashboard-container{background:#f5f5f0 !important;color:#111111 !important}[data-theme="light"] .dashboard-container::before{opacity:0 !important}[data-theme="light"] .dashboard-header{background:#ffffff !important;border-bottom:2px solid #d0ccc5 !important;box-shadow:0 2px 8px rgba(0,0,0,0.1) !important}[data-theme="light"] .dashboard-header h1,[data-theme="light"] .dashboard-header h2,[data-theme="light"] .dashboard-header h3,[data-theme="light"] .dashboard-header h4,[data-theme="light"] .dashboard-header h5,[data-theme="light"] .dashboard-header h6,[data-theme="light"] .dashboard-header p,[data-theme="light"] .dashboard-header span{color:#111111 !important}[data-theme="light"] .dashboard-title,[data-theme="light"] .section-title h2{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .dashboard-subtitle,[data-theme="light"] .section-title p{color:#333333 !important}[data-theme="light"] .summary-card{background:#ffffff !important;border:2px solid #d0ccc5 !important;box-shadow:0 2px 8px rgba(0,0,0,0.08) !important}[data-theme="light"] .summary-card .card-content h3,[data-theme="light"] .summary-card .card-content .value{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .summary-card .card-content p,[data-theme="light"] .summary-card .card-content .label{color:#333333 !important}[data-theme="light"] .summary-card .card-icon{background:#eceae5 !important;border:1px solid #d0ccc5 !important}[data-theme="light"] .stocks-table{background:#ffffff !important;border:2px solid #c0bbb3 !important;box-shadow:0 2px 8px rgba(0,0,0,0.1) !important}[data-theme="light"] .stocks-table thead{background:#e0ddd6 !important;border-bottom:2px solid #c0bbb3 !important}[data-theme="light"] .stocks-table thead th{color:#111111 !important;font-weight:700 !important;text-transform:uppercase;font-size:0.75rem;letter-spacing:0.5px}[data-theme="light"] .stocks-table tbody tr{border-bottom:1px solid #d0ccc5 !important;background:#ffffff !important}[data-theme="light"] .stocks-table tbody tr:nth-child(even){background:#f8f7f4 !important}[data-theme="light"] .stocks-table tbody tr:hover{background:#e8f5f0 !important}[data-theme="light"] .stocks-table td{color:#111111 !important}[data-theme="light"] .stock-symbol{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .stock-name{color:#444444 !important}[data-theme="light"] .dashboard-tabs{background:#ffffff !important;border:2px solid #c0bbb3 !important;border-radius:12px !important;overflow:hidden}[data-theme="light"] .dashboard-tabs .nav-link{color:#333333 !important;font-weight:600 !important}[data-theme="light"] .dashboard-tabs .nav-link.active{color:#ffffff !important;background:#00a080 !important;border-color:#00a080 !important}[data-theme="light"] .dashboard-tabs .nav-link:hover:not(.active){color:#111111 !important;background:#eceae5 !important}[data-theme="light"] .section-header{border-color:#c0bbb3 !important}[data-theme="light"] .section-header h2,[data-theme="light"] .section-header h3{color:#111111 !important}[data-theme="light"] .stocks-section,[data-theme="light"] .opportunities-section,[data-theme="light"] .watch-out-section{background:transparent !important}[data-theme="light"] .stocks-section h2,[data-theme="light"] .stocks-section h3,[data-theme="light"] .stocks-section h4,[data-theme="light"] .opportunities-section h2,[data-theme="light"] .opportunities-section h3,[data-theme="light"] .opportunities-section h4,[data-theme="light"] .watch-out-section h2,[data-theme="light"] .watch-out-section h3,[data-theme="light"] .watch-out-section h4{color:#111111 !important}[data-theme="light"] .text-muted{color:#666666 !important}[data-theme="light"] .btn-primary{background:#00a080 !important;color:#ffffff !important;border:none !important;font-weight:600 !important}[data-theme="light"] .btn-primary:hover{background:#008866 !important}[data-theme="light"] .btn-secondary{background:#ffffff !important;color:#111111 !important;border:2px solid #c0bbb3 !important;font-weight:600 !important}[data-theme="light"] .btn-secondary:hover{background:#eceae5 !important}[data-theme="light"] .btn-outline-warning{border:2px solid #e68a00 !important;color:#c07000 !important;font-weight:600 !important}[data-theme="light"] .btn-outline-warning:hover{background:#e68a00 !important;color:#ffffff !important}[data-theme="light"] .ai-analysis-card,[data-theme="light"] .stock-detail-card{background:#ffffff !important;border:2px solid #c0bbb3 !important;box-shadow:0 2px 8px rgba(0,0,0,0.08) !important}[data-theme="light"] .ai-analysis-card .ai-analysis-header,[data-theme="light"] .ai-analysis-card .metric-label,[data-theme="light"] .stock-detail-card .ai-analysis-header,[data-theme="light"] .stock-detail-card .metric-label{color:#444444 !important;font-weight:600 !important}[data-theme="light"] .ai-analysis-card .metric-value,[data-theme="light"] .stock-detail-card .metric-value{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .forecast-value,[data-theme="light"] .current-price{color:#111111 !important;font-weight:600 !important}[data-theme="light"] .price,[data-theme="light"] .price-value{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .forecast-cell .badge{font-weight:600 !important}[data-theme="light"] .text-success,[data-theme="light"] .positive{color:#047857 !important;font-weight:600 !important}[data-theme="light"] .text-danger,[data-theme="light"] .negative{color:#b91c1c !important;font-weight:600 !important}[data-theme="light"] .text-warning{color:#b45309 !important;font-weight:600 !important}[data-theme="light"] .badge-signal,[data-theme="light"] .signal-badge{font-weight:700 !important}[data-theme="light"] .badge-signal.buy,[data-theme="light"] .badge-signal.badge-buy,[data-theme="light"] .signal-badge.buy,[data-theme="light"] .signal-badge.badge-buy{background:#047857 !important;color:#fff !important}[data-theme="light"] .badge-signal.wait,[data-theme="light"] .badge-signal.badge-wait,[data-theme="light"] .signal-badge.wait,[data-theme="light"] .signal-badge.badge-wait{background:#b45309 !important;color:#fff !important}[data-theme="light"] .badge-signal.sell,[data-theme="light"] .badge-signal.badge-sell,[data-theme="light"] .signal-badge.sell,[data-theme="light"] .signal-badge.badge-sell{background:#b91c1c !important;color:#fff !important}[data-theme="light"] .badge{font-weight:600 !important}[data-theme="light"] .stock-detail-expanded{background:#f0eee9 !important;border-top:2px solid #c0bbb3 !important}[data-theme="light"] .stock-detail-expanded *{color:#111111}[data-theme="light"] .event-item,[data-theme="light"] .event-card,[data-theme="light"] .macro-event-item,[data-theme="light"] .stock-event-card{background:#ffffff !important;border:2px solid #c0bbb3 !important;color:#111111 !important;box-shadow:0 2px 6px rgba(0,0,0,0.06) !important}[data-theme="light"] .event-item h3,[data-theme="light"] .event-item h4,[data-theme="light"] .event-item h5,[data-theme="light"] .event-item .event-title,[data-theme="light"] .event-card h3,[data-theme="light"] .event-card h4,[data-theme="light"] .event-card h5,[data-theme="light"] .event-card .event-title,[data-theme="light"] .macro-event-item h3,[data-theme="light"] .macro-event-item h4,[data-theme="light"] .macro-event-item h5,[data-theme="light"] .macro-event-item .event-title,[data-theme="light"] .stock-event-card h3,[data-theme="light"] .stock-event-card h4,[data-theme="light"] .stock-event-card h5,[data-theme="light"] .stock-event-card .event-title{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .event-item p,[data-theme="light"] .event-item .event-description,[data-theme="light"] .event-card p,[data-theme="light"] .event-card .event-description,[data-theme="light"] .macro-event-item p,[data-theme="light"] .macro-event-item .event-description,[data-theme="light"] .stock-event-card p,[data-theme="light"] .stock-event-card .event-description{color:#333333 !important}[data-theme="light"] .event-item .event-meta,[data-theme="light"] .event-item .event-date,[data-theme="light"] .event-card .event-meta,[data-theme="light"] .event-card .event-date,[data-theme="light"] .macro-event-item .event-meta,[data-theme="light"] .macro-event-item .event-date,[data-theme="light"] .stock-event-card .event-meta,[data-theme="light"] .stock-event-card .event-date{color:#666666 !important}[data-theme="light"] a:not(.btn):not(.nav-link){color:#0369a1 !important;font-weight:500 !important}[data-theme="light"] a:not(.btn):not(.nav-link):hover{color:#0284c7 !important;text-decoration:underline !important}[data-theme="light"] .refresh-status-component{background:#ffffff !important;border:2px solid #c0bbb3 !important}[data-theme="light"] .refresh-status-component span,[data-theme="light"] .refresh-status-component p{color:#333333 !important}[data-theme="light"] .navbar{background:#ffffff !important;border-bottom:2px solid #d0ccc5 !important;box-shadow:0 2px 8px rgba(0,0,0,0.08) !important}[data-theme="light"] .navbar .nav-link{color:#333333 !important;font-weight:500 !important}[data-theme="light"] .navbar .nav-link:hover{color:#111111 !important}[data-theme="light"] .navbar .navbar-brand{color:#111111 !important;font-weight:700 !important}[data-theme="light"] .card,[data-theme="light"] .panel{background:#ffffff !important}
