:root {
  color-scheme: dark light;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cw-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

::-moz-selection {
  background: rgba(47, 121, 255, 0.35);
  color: #0f172a;
}

::selection {
  background: rgba(47, 121, 255, 0.35);
  color: #0f172a;
}

.form-input,
.form-textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(47, 121, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(47, 121, 255, 0.15);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


body[data-theme="light"] {
  background-color: #f8fafc;
  color: #0f172a;
}

body[data-theme="light"] .bg-white\/5 {
  background-color: rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .bg-slate-900\/60,
body[data-theme="light"] .bg-slate-900\/70 {
  background-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .border-white\/10 {
  border-color: rgba(15, 23, 42, 0.12);
}

body[data-theme="light"] .border-white\/5 {
  border-color: rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .text-slate-300 {
  color: #475569;
}

body[data-theme="light"] .text-slate-400 {
  color: #475569;
}

body[data-theme="light"] .text-slate-500 {
  color: #64748b;
}

body[data-theme="light"] .text-slate-600 {
  color: #475569;
}

body[data-theme="light"] .text-slate-700 {
  color: #1e293b;
}

body[data-theme="light"] .text-brand-200 {
  color: #2563eb;
}

body[data-theme="light"] .bg-white {
  background-color: #ffffff;
}
