:root {
  --green: oklch(52% 0.15 158);
  --green-dark: oklch(42% 0.15 158);
  --bg: #FAFAF7;
  --text: #111;
  --text-muted: #666;
  --border: #E8E8E4;
  --font-heading: 'MuseoModerno', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
  min-height: 44px;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 44px;
}
.btn-secondary:hover {
  background: var(--green);
  color: #fff;
}

/* Wordmark */
.wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.03em;
}

/* Powered-by badge */
.powered-by {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #999;
  text-decoration: none;
  transition: color 0.15s ease;
}
.powered-by:hover { color: var(--green); }

/* ── Auth page layout ─────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 2rem;
}
.auth-brand { text-align: center; }
.auth-box {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.auth-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.auth-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.4rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.auth-submit { width: 100%; margin-top: 0.25rem; }
.auth-footer {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}
.auth-footer a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover { text-decoration: underline; }
.auth-link {
  font-size: 0.84rem;
  color: var(--green);
  text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }

/* ── Form field utilities ─────────────────────────────── */
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease;
  min-height: 44px;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--green); }
.form-input.error { border-color: #D93025; }
.form-error {
  font-size: 0.8rem;
  color: #D93025;
  margin-top: 0.35rem;
  display: none;
}
.form-error.show { display: block; }
.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.location-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 0.775rem;
  line-height: 1.45;
  padding: 9px 10px;
  border-radius: 7px;
  margin-top: 6px;
}
.location-warning svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  stroke: #92400E;
}
