/*
 * Auth Page Styles
 *
 * Shared styles for login, password reset, and password set pages.
 * Used with the static layout on auth-specific views.
 */

:root {
  --mono: "Roboto Mono", ui-monospace, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --fg: #0a0a0a;
  --muted: rgba(10, 10, 10, 0.5);
  --border: rgba(0, 0, 0, 0.1);
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.auth-nav .wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-nav .wordmark .diamond {
  font-size: 1.1rem;
  opacity: 0.6;
}

.auth-nav .back-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 150ms ease;
}

.auth-nav .back-link:hover { color: var(--fg); }

.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 2.5rem;
}

.auth-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.auth-card .auth-subtitle {
  margin: 0 0 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.auth-card .field {
  margin-bottom: 1.25rem;
}

.auth-card label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-family: var(--sans);
  color: var(--fg);
  outline: none;
  transition: border-color 150ms ease;
  border-radius: 0;
  box-sizing: border-box;
}

.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
  border-color: var(--fg);
}

.auth-card input[type="email"]::placeholder,
.auth-card input[type="password"]::placeholder {
  color: rgba(10, 10, 10, 0.3);
}

.auth-card .button {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-card .auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-card .auth-footer a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.auth-card .auth-footer a:hover {
  color: var(--fg);
}

.auth-notice {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .auth-nav { padding: 1rem 1.25rem; }
  .auth-wrapper { padding: 1.5rem 1rem; }
  .auth-card { padding: 2rem 1.5rem; }
}
