:root {
  --bg: #f9f9f9;
  --text: #222;
  --accent: #375a7f;
  --input-bg: #fff;
}

body.dark {
  --bg: #1e1e1e;
  --text: #eaeaea;
  --accent: #4ea0f0;
  --input-bg: #2a2a2a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--accent);
  color: #fff;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

main {
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input[type="text"],
select,
input[type="file"] {
  padding: 0.75rem;
  font-size: 1rem;
  background: var(--input-bg);
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--text);
}

button[type="submit"] {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  align-self: flex-start;
  transition: background 0.2s ease;
}

button[type="submit"]:hover {
  background: #2c4564;
}
