:root {
  --bg: #f4f4f1;
  --card: #ffffff;
  --text: #1e1e1e;
  --muted: #5f5f5f;
  --accent: #0b6e4f;
  --accent-dark: #07533b;
  --border: #d9d9d4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 32px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.card {
  background: var(--card);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.field.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.primary,
.secondary,
.link-button {
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.link-button {
  background: none;
  color: var(--accent);
  padding: 0;
}

.inline-form {
  display: inline;
}

.error {
  color: #b00020;
  font-size: 13px;
}

.info {
  color: var(--muted);
}

.button-row {
  display: flex;
  gap: 12px;
}

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}
