/* welcome.ftl-specific styles. Depends on base.css (loaded first) for .wordmark and .banner. */
body.auth-body {
  padding: 0;
}
.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.auth-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(43, 33, 24, 0.08);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.auth-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 16px;
}
.auth-card h1 { margin: 0 0 0.25rem; }
.auth-card .subtitle { margin: 0 0 2rem; }
.auth-session {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: #fff;
  color: #3c4043;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}
.google-button:hover {
  background: #f7f7f7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.auth-card .button { width: 100%; }
.auth-signout {
  margin-top: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.auth-signout:hover { color: var(--text); }

.by-line {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.recipe-chip {
  width: 100%;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
  margin: 0 0 1.5rem;
  text-align: left;
}
.recipe-chip .thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.recipe-chip .thumb svg { width: 100%; height: 100%; display: block; }
.recipe-chip .meta { min-width: 0; }
.recipe-chip .meta .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recipe-chip .meta .sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.fine-link {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
}
.fine-link:hover { color: var(--text); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.email-signin-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}
.email-signin-form input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
}
.auth-card .banner {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .auth-card { padding: 2rem 1.5rem; }
}
