/* Auth pages — layered on top of the base site styles.
   Base styles are in ../styles.css */

.auth-shell {
  min-height: calc(100vh - 64px - 200px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.auth-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.auth-card .sub {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
}
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(245,179,1,0.15);
}
.btn-block {
  display: block;
  width: 100%;
  padding: 13px 20px;
  text-align: center;
  margin-top: 8px;
}
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 13px;
  margin: 22px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .1s ease;
}
.google-btn:hover { transform: translateY(-1px); text-decoration: none; }
.google-btn svg { width: 18px; height: 18px; }
.auth-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.auth-foot a { color: var(--brand); }
.alert {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}
.alert.error {
  background: rgba(248,113,113,0.12);
  border: 1px solid rgba(248,113,113,0.4);
  color: #fecaca;
}
.alert.ok {
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.4);
  color: #bbf7d0;
}
.alert.visible { display: block; }
