@source "../../views/**/*.{html,html.erb,erb}", "../../helpers/**/*.rb", "../../javascript/**/*.{js,ts,jsx,tsx}", "../../assets/stylesheets/**/*.{css,tailwind.css}", "../../models/**/*.rb";

@import "tailwindcss";

@variant dark (.dark &);

/* Custom dark mode styles */
html.dark {
  color-scheme: dark;
}

html.dark body {
  background-image: radial-gradient(circle at top, rgba(30, 64, 175, 0.25), rgba(2, 6, 23, 0.95));
  background-color: #020617;
  color: #e2e8f0;
}

html.dark .text-slate-900,
html.dark .text-slate-800 {
  color: #f1f5f9;
}

html.dark .text-slate-700,
html.dark .text-slate-600 {
  color: #e2e8f0;
}

html.dark .text-slate-500,
html.dark .text-slate-400,
html.dark .text-slate-300 {
  color: #94a3b8;
}

html.dark .bg-white\/80,
html.dark .bg-white\/75,
html.dark .bg-white\/70,
html.dark .bg-white\/60,
html.dark .bg-white\/40,
html.dark .bg-white\/20 {
  background-color: rgba(15, 23, 42, 0.85);
}

html.dark .bg-white\/70 {
  background-color: rgba(15, 23, 42, 0.75);
}

html.dark .bg-white\/60 {
  background-color: rgba(15, 23, 42, 0.65);
}

html.dark .bg-white\/40 {
  background-color: rgba(15, 23, 42, 0.45);
}

html.dark .bg-white\/20 {
  background-color: rgba(15, 23, 42, 0.25);
}

html.dark .bg-white\/80:hover,
html.dark .bg-white\/75:hover,
html.dark .bg-white\/70:hover,
html.dark .bg-white\/60:hover,
html.dark .bg-white\/40:hover,
html.dark .bg-white\/20:hover {
  background-color: rgba(30, 41, 59, 0.85);
}

html.dark .bg-white,
html.dark .bg-slate-50\/80,
html.dark .bg-white\/75 {
  background-color: rgba(15, 23, 42, 0.9);
}

html.dark .border-slate-200,
html.dark .border-slate-300,
html.dark .border-slate-100,
html.dark .border-white\/40,
html.dark .border-slate-200\/70 {
  border-color: rgba(94, 109, 136, 0.5);
}

html.dark .bg-gradient-to-br.from-white.to-slate-100,
html.dark .bg-gradient-to-br.from-slate-900.via-slate-800.to-slate-900 {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.45));
}

html.dark .shadow-slate-200\/60,
html.dark .shadow-slate-200\/70 {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.6);
}

html.dark .shadow-slate-900\/40,
html.dark .shadow-slate-900\/20 {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}
