:root {
  color-scheme: light;
  --ink: #2a1e1a;
  --paper: #fdfaf6;
  --accent: #b0473b;
  --accent-dark: #8a3730;
  --muted: #6b5c54;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e7ddd3;
}

.site-header .brand {
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 1.1rem;
}

.site-header nav a {
  margin-left: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.site-header nav a:hover { color: var(--accent); }

main { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; }

.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { color: var(--muted); margin-bottom: 1.5rem; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.cta:hover { background: var(--accent-dark); }

.auth-form { max-width: 360px; }

.auth-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-form input {
  padding: 0.6rem 0.75rem;
  border: 1px solid #d9cdc2;
  border-radius: 6px;
  font-size: 1rem;
}

.auth-form button.cta {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.form-error {
  background: #fbe4e1;
  color: var(--accent-dark);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.inline-form { display: inline; }

.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.link-button:hover { color: var(--accent); }

.muted { color: var(--muted); font-size: 0.9rem; }

.tz-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.tz-picker select {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #d9cdc2;
}

.slot-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slot-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid #e7ddd3;
  border-radius: 6px;
  background: #fff;
}

.slot-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin: 1rem 0 1.5rem;
}

.slot-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.slot-form input,
.slot-form select {
  padding: 0.5rem 0.6rem;
  border: 1px solid #d9cdc2;
  border-radius: 6px;
  font-size: 0.95rem;
}

.slot-form button.cta {
  border: none;
  cursor: pointer;
  height: fit-content;
}

.slot-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.slot-table th,
.slot-table td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #e7ddd3;
}

.row-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.manual-booking-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.manual-booking-form input {
  padding: 0.3rem 0.5rem;
  border: 1px solid #d9cdc2;
  border-radius: 6px;
  font-size: 0.85rem;
}
