:root {
  color-scheme: light dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  --background: #f5f5f5;
  --foreground: #1f2933;
  --accent: #1d4ed8;
  --accent-contrast: #ffffff;
  --border: #d1d5db;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

.container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lead {
  margin: 0;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 20px 25px -15px rgba(15, 23, 42, 0.25);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-field {
  gap: 0.25rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
}

.help-text {
  margin: 0;
  color: #475569;
  font-size: 0.9rem;
}

label {
  font-weight: 600;
}

input[type="file"],
select {
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
}

.button {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button:hover:not(:disabled),
.button:focus-visible:not(:disabled) {
  background: #1e40af;
}

#status {
  min-height: 2rem;
  font-weight: 500;
}

#status[data-variant="error"] {
  color: #dc2626;
}

#status[data-variant="success"] {
  color: #16a34a;
}

@media (max-width: 600px) {
  .container {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }
}
