/* Auth pages (site-base.css provides globals) */

.auth-layout-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-layout-body .auth-page {
  flex: 1 1 auto;
}

.auth-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem);
}

.auth-brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.koto-mark--auth {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.auth-card {
  width: 100%;
  max-width: min(92vw, 28rem);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--site-surface);
}

.auth-title {
  font-family: var(--site-font-serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--site-copper-light);
  margin-bottom: 0.35rem;
}

.auth-sub {
  font-size: 0.9375rem;
  color: var(--site-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--site-text-muted);
  margin-bottom: 0.35rem;
}

.auth-hint {
  font-size: 0.8125rem;
  color: var(--site-text-muted);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--site-border);
  border-radius: 6px;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--site-font);
  font-size: 0.9375rem;
}

.auth-field input:focus {
  outline: 2px solid rgba(184, 115, 51, 0.45);
  outline-offset: 1px;
  border-color: var(--site-copper);
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--site-text-muted);
  margin-bottom: 1.25rem;
}

.auth-check input {
  accent-color: var(--site-copper);
}

.auth-error {
  font-size: 0.9375rem;
  color: var(--site-danger);
  margin-bottom: 1rem;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--site-copper);
  border-radius: 6px;
  background: var(--site-copper);
  color: #1a120c;
  font-family: var(--site-font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.auth-submit:hover {
  background: var(--site-copper-light);
  border-color: var(--site-copper-light);
}

.auth-link {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--site-text-muted);
}

.auth-link a {
  color: var(--site-copper-light);
  text-decoration: none;
  font-weight: 500;
}

.auth-link a:hover {
  text-decoration: underline;
}

.auth-foot {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--site-text-muted);
}

.auth-foot a {
  color: var(--site-copper-light);
  text-decoration: none;
  font-weight: 500;
}

.auth-foot a:hover {
  text-decoration: underline;
}
