﻿.auth-page {
  padding-bottom: 80px;
}

.nav-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.back-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(59, 27, 18, 0.08);
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card {
  max-width: 480px;
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 32px rgba(59, 27, 18, 0.08);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 16px;
}

.auth-header {
  text-align: center;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.auth-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.sms-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sms-input {
  flex: 1;
}

.sms-btn {
  border-radius: 14px;
  border: 1px solid rgba(59, 27, 18, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sms-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.sms-btn:hover:not(:disabled) {
  border-color: rgba(255, 107, 157, 0.5);
  box-shadow: 0 6px 14px rgba(255, 107, 157, 0.15);
}

.auth-input {
  border-radius: 16px;
  border: 1px solid rgba(59, 27, 18, 0.12);
  padding: 12px 14px;
  background: #fff;
  font-size: 14px;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(255, 107, 157, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.12);
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.auth-link-row {
  font-size: 12px;
  text-align: center;
  color: var(--ink-soft);
}

.auth-link-row a {
  color: var(--accent-pink);
  font-weight: 600;
  text-decoration: none;
}

.auth-footnote {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.auth-footnote a {
  color: var(--accent-pink);
  font-weight: 600;
  text-decoration: none;
}
