/* ONETINY WHITE THEME TEXT CONTRAST V1 */

/* All primary content text */
main,
main *:not(svg):not(path):not(line):not(rect):not(circle):not(polyline) {
  color: #172033 !important;
}

/* Headings, totals, table values */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main strong,
main b,
main [class*="font-bold"],
main [class*="font-semibold"],
main [class*="font-extrabold"] {
  color: #111827 !important;
}

/* Secondary descriptions */
main [class*="text-slate-"],
main [class*="text-gray-"],
main [class*="text-zinc-"],
main [class*="text-neutral-"] {
  color: #64748b !important;
}

/* Dashboard white panels */
main section,
main article,
main [class*="rounded-xl"],
main [class*="rounded-2xl"] {
  border-color: #dbe3ee !important;
}

/* Inputs and placeholders */
main input,
main select,
main textarea {
  color: #111827 !important;
  background: #ffffff !important;
}

main input::placeholder,
main textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Keep dark action buttons readable */
main button[class*="bg-slate-9"],
main button[class*="bg-gray-9"],
main button[class*="bg-zinc-9"],
main button[class*="bg-black"],
main a[class*="bg-slate-9"],
main a[class*="bg-black"] {
  color: #ffffff !important;
}

main button[class*="bg-slate-9"] *,
main button[class*="bg-gray-9"] *,
main button[class*="bg-zinc-9"] *,
main button[class*="bg-black"] *,
main a[class*="bg-slate-9"] *,
main a[class*="bg-black"] * {
  color: #ffffff !important;
}

/* Preserve warning and error colors */
main [role="alert"],
main [role="alert"] * {
  color: #b91c1c !important;
}

/* Chart axis labels */
main svg text,
main svg tspan {
  fill: #475569 !important;
}

/* Sidebar always dark */
aside,
aside * {
  color: #e5e7eb !important;
}

aside {
  background: #111820 !important;
}
