:root {
  --terracotta: #BA5626;
  --terracotta-dark: #873F1D;
  --khaki: #A89572;
  --khaki-dark: #74592D;
  --gold: #D0A45A;
  --cream: #F6F2EC;
  --cream-dark: #DCD3C0;
  --text: #4A3B28;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--cream);
  margin: 0 auto;
  max-width: 900px;
  padding: 0 1rem 3rem;
}

h1, h2, h3 {
  font-family: 'Noto Serif', Georgia, serif;
  color: var(--khaki-dark);
  font-weight: 700;
}

a {
  color: var(--terracotta);
}
a:hover {
  color: var(--terracotta-dark);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--gold);
  margin-bottom: 1.5rem;
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 40px;
  width: auto;
}
.brand-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--khaki-dark);
  letter-spacing: 0.02em;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  background: #fff;
}
th, td {
  border: 1px solid var(--cream-dark);
  padding: 0.5rem 0.7rem;
  text-align: left;
}
th {
  background: var(--cream-dark);
  color: var(--khaki-dark);
}

.error { color: #b00020; }

form { margin: 0 0 0.75rem; }
form p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.6rem 0;
}
form p label {
  min-width: 160px;
  flex-shrink: 0;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], select {
  border: 1px solid var(--cream-dark);
  border-radius: 3px;
  padding: 0.4rem 0.5rem;
  font-family: inherit;
  font-size: 1rem;
}

button, input[type="submit"] {
  background: var(--terracotta);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 0.55rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover, input[type="submit"]:hover {
  background: var(--terracotta-dark);
}
