:root {
  --bg: #1b1712;
  --card-bg: #fdfaf5;
  --ink: #2b241d;
  --muted: #7a6f60;
  --accent: #b5652f;
  --accent-dark: #8f4c1f;
  --border: #e3d9c8;
  --error: #a83232;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--ink);
  padding: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 24px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 18px;
  font-size: 0.95rem;
}

select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.caption {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

button {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover:not(:disabled) {
  background: var(--accent-dark);
}

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

.status {
  margin-top: 16px;
  font-size: 0.95rem;
  min-height: 1.2em;
  text-align: center;
}

.status.success {
  color: #3a7a3a;
}

.status.error {
  color: var(--error);
}
