/* Light theme — layered on top of dashboard components */

html[data-theme="light"] body {
  background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%) !important;
  color: #111827 !important;
}

html[data-theme="light"] body:before {
  opacity: 0.35;
}

html[data-theme="light"] .card-surface,
html[data-theme="light"] .card-surface-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.98) 100%) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .nav-blur {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .feed-title {
  color: #0f172a !important;
}

html[data-theme="light"] .manual-textarea {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .nav-input-box {
  background: #fff !important;
  color: #111 !important;
}

html[data-theme="light"] .toast-notification {
  background: #fff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .toast-notification span:last-child {
  color: #111827 !important;
}

html[data-theme="light"] .loading-card {
  background: #fff !important;
  color: #111 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .pa-market-pill {
  background: #fff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .list-group-item.text-light {
  color: #374151 !important;
}

html[data-theme="light"] .ticker-chip {
  color: #1e293b !important;
}

html[data-theme="light"] .empty-state {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.98) 100%) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .empty-state h6 {
  color: #0f172a !important;
}

html[data-theme="light"] .empty-state .empty-state-hint,
html[data-theme="light"] .empty-state p.small {
  color: #64748b !important;
}

html[data-theme="light"] .pa-empty-feed .empty-state-illu {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}

html[data-theme="light"] .loading-overlay {
  background: rgba(248, 250, 252, 0.72) !important;
}

html[data-theme="light"] .text-muted {
  color: #6b7280 !important;
}

html[data-theme="light"] .form-text {
  color: #6b7280 !important;
}

html[data-theme="light"] .form-label {
  color: #111827 !important;
}

html[data-theme="light"] .pa-topbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .pa-topbar-kicker {
  color: #6b7280;
}

html[data-theme="light"] .pa-icon-btn {
  background: rgba(243, 244, 246, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
  color: #374151;
}

html[data-theme="light"] .pa-icon-btn:hover {
  background: rgba(224, 242, 254, 0.8);
  border-color: rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

html[data-theme="light"] .pa-sidebar-footer {
  border-top-color: rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .pa-desk-live-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

html[data-theme="light"] .pa-market-pill {
  color: #374151;
}

html[data-theme="light"] .pa-sidebar-collapse {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(243, 244, 246, 0.7);
  color: #6b7280;
}

html[data-theme="light"] .pa-sidebar-collapse:hover {
  background: rgba(224, 242, 254, 0.8);
  border-color: rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

html[data-theme="light"] .pa-notif-toast__title {
  color: #0f172a;
}

html[data-theme="light"] .pa-notif-toast__meta {
  color: #6b7280;
}
