/* Netlify CSS fixes */

/* Fallback styles for basic layout */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: #0f172a;
}

body.dark {
  background-color: #0f172a;
  color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

a {
  color: #475569;
  text-decoration: none;
}

body.dark a {
  color: #94a3b8;
}

button, .button {
  display: inline-block;
  background-color: #475569;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 500;
}

body.dark button, body.dark .button {
  background-color: #94a3b8;
  color: #1e293b;
}

/* Header and navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border-bottom: 1px solid #e2e8f0;
}

body.dark header {
  background-color: #1e293b;
  border-bottom-color: #334155;
}

nav {
  display: flex;
  gap: 1rem;
}

/* Basic layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Form elements */
input, textarea, select {
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background-color: white;
}

body.dark input, body.dark textarea, body.dark select {
  border-color: #475569;
  background-color: #1e293b;
  color: #f8fafc;
}

/* Cards */
.card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.dark .card {
  background-color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
