html, body {
  background: #ffffff !important;
  color: #111827 !important;
}

* {
  color-scheme: light !important;
}

[data-theme="dark"],
.dark,
.theme-dark,
.desktop-theme-dark {
  background: #ffffff !important;
  color: #111827 !important;
}

body,
main,
aside,
nav,
header,
footer,
section,
.container,
.content,
.page,
.page-content,
.dashboard,
.sidebar,
.sidebar *,
.app,
.app-shell,
.desktop,
.desktop-shell,
.desktop-window,
.desktop-panel,
.card,
.panel,
.modal,
.dropdown,
.table,
.table-wrapper {
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}

a,
span,
p,
h1, h2, h3, h4, h5, h6,
label,
td,
th,
li,
div {
  color: #111827 !important;
}

input,
textarea,
select {
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #d1d5db !important;
}

button {
  background-color: #f3f4f6 !important;
  color: #111827 !important;
  border-color: #d1d5db !important;
}

table,
thead,
tbody,
tr,
td,
th {
  background-color: #ffffff !important;
  color: #111827 !important;
}

svg,
i {
  color: #111827 !important;
  fill: currentColor !important;
}

/* Advisor Expert Hub - Assistance full light override */
.bg-gray-900,
.bg-gray-950,
.bg-slate-900,
.bg-slate-950,
.bg-neutral-900,
.bg-neutral-950,
.bg-zinc-900,
.bg-zinc-950,
.bg-black,
[class*="bg-gray-9"],
[class*="bg-slate-9"],
[class*="bg-neutral-9"],
[class*="bg-zinc-9"],
[class*="from-gray-"],
[class*="to-gray-"],
.login-card,
.login-container,
.desktop-login-card,
.widget,
.widget-card,
.dashboard-widget,
.stat-card,
.metric-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111827 !important;
}

.text-white,
.text-gray-100,
.text-gray-200,
.text-gray-300,
.text-slate-100,
.text-slate-200,
.text-slate-300,
[class*="text-gray-"],
[class*="text-slate-"] {
  color: #111827 !important;
}

.border-gray-700,
.border-gray-800,
.border-slate-700,
.border-slate-800,
[class*="border-gray-7"],
[class*="border-gray-8"],
[class*="border-slate-7"],
[class*="border-slate-8"] {
  border-color: #e5e7eb !important;
}

.shadow-2xl,
.shadow-xl,
.shadow-lg {
  box-shadow: 0 16px 40px rgba(15, 23, 42, .12) !important;
}

/* FINAL FORCE LIGHT - Advisor Expert Hub - Assistance */
:root,
html,
body,
[data-theme="dark"],
[data-theme="light"],
.desktop-theme-dark,
.desktop-theme-light {
  --bg-primary: #ffffff !important;
  --bg-secondary: #ffffff !important;
  --bg-tertiary: #ffffff !important;
  --input-bg: #ffffff !important;

  --color-surface: #ffffff !important;
  --color-surface-alt: #ffffff !important;
  --color-bg: #ffffff !important;
  --color-bg-alt: #ffffff !important;

  --text-primary: #111827 !important;
  --text-secondary: #374151 !important;
  --text-tertiary: #6b7280 !important;
  --color-text: #111827 !important;
  --color-text-muted: #6b7280 !important;

  --border-color: #e5e7eb !important;
  --color-border: #e5e7eb !important;
}

[class*="card"],
[class*="widget"],
[class*="panel"],
[class*="dropdown"],
[class*="popover"],
[class*="modal"],
[class*="stat"],
.server-card,
.quick-action-card,
.notification-panel,
.user-menu,
.login-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}

[style*="#0d1117"],
[style*="#111"],
[style*="#000"],
[style*="rgb(13, 17, 23)"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #111827 !important;
}
