:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --panel: #fffdf9;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #14532d;
  --accent-soft: #d1fae5;
  --danger: #991b1b;
  --danger-soft: #fee2e2;
  --border: #d9d3c7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 83, 45, 0.12), transparent 25%),
    linear-gradient(180deg, #f7f3ed 0%, var(--bg) 100%);
  min-height: 100vh;
}

.container-fluid {
  width: 100%;
  max-width: none;
}

.site-shell {
  padding: 20px 24px 28px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 24px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.nav form {
  margin: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  width: 100%;
}

.flash-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.flash {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.flash.success {
  background: var(--accent-soft);
  border-color: #86efac;
}

.flash.error {
  background: var(--danger-soft);
  border-color: #fca5a5;
  color: var(--danger);
}

.form-grid {
  display: grid;
  gap: 16px;
  max-width: 420px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.hero {
  display: grid;
  gap: 12px;
}

@media (max-width: 640px) {
  .site-shell {
    padding: 14px;
  }

  .site-header,
  .panel {
    padding: 20px;
    border-radius: 18px;
  }
}
