/* Auth pages */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-logo {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.auth-sub {
  font-size: 13px;
  color: var(--text-2);
  margin-top: -12px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 9px;
  font-size: 14px;
}

.auth-notice {
  padding: 10px 14px;
  border-radius: var(--r);
  font-size: 13px;
  line-height: 1.5;
}

.auth-notice.success {
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.3);
  color: var(--success);
}

.auth-notice.error {
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid rgba(248, 81, 73, 0.3);
  color: var(--danger);
}

.auth-footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.auth-footer-links a {
  color: var(--accent-2);
}

.auth-footer-links a:hover {
  color: var(--text);
}

.field-hint {
  font-size: 11px;
  margin-top: 2px;
}

.auth-resend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px;
  }
}
