:root {
  color-scheme: dark;
}
html[data-spv1-theme="light"] {
  color-scheme: light;
}
html[data-spv1-theme="light"] body {
  background: #f1f5f9 !important;
  color: #111827 !important;
}
html[data-spv1-theme="light"] [class*="bg-[#"] {
  background-color: #ffffff !important;
  background-image: none !important;
}
html[data-spv1-theme="light"] [class~="text-white"],
html[data-spv1-theme="light"] [class~="text-slate-100"],
html[data-spv1-theme="light"] [class~="text-slate-200"],
html[data-spv1-theme="light"] [class~="text-slate-300"] {
  color: #1f2937 !important;
}
html[data-spv1-theme="light"] [class~="text-slate-400"],
html[data-spv1-theme="light"] [class~="text-slate-500"],
html[data-spv1-theme="light"] [class~="text-slate-600"] {
  color: #586174 !important;
}
html[data-spv1-theme="light"] [class*="border-[#"] {
  border-color: #d5dbe5 !important;
}
html[data-spv1-theme="light"] .glass-card {
  background: rgba(255,255,255,.96) !important;
  border-color: #d5dbe5 !important;
}
html[data-spv1-theme="light"] input,
html[data-spv1-theme="light"] textarea,
html[data-spv1-theme="light"] select {
  background-color: #fff !important;
  color: #111827 !important;
  border-color: #cbd5e1 !important;
}
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] body { font-family: var(--spv1-font, "Tajawal", sans-serif) !important; }

html[data-spv1-theme="light"] body[class*="bg-[#"] { background-color: #f1f5f9 !important; }
