/* ── Auth pages (Login + Register) ────────────────────────────────────────── */

.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #F7F6F2;
}

.auth-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 2px 16px rgba(26,26,26,0.07);
}

.auth-card__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A6FA5;
}

.auth-card__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #1A1A1A;
  line-height: 1.2;
}

.auth-card__sub {
  margin: 0 0 28px;
  font-size: 14px;
  color: #6B6B6B;
  line-height: 1.5;
}

/* ── Form ───────────────────────────────────────────────────── */

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

.auth-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
}

.auth-opt {
  font-weight: 400;
  color: #6B6B6B;
}

.auth-input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(26,26,26,0.18);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #1A1A1A;
  background: #FAFAF9;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #4A6FA5;
  box-shadow: 0 0 0 3px rgba(74,111,165,0.15);
  background: #FFFFFF;
}

/* ── Remember / forgot row ──────────────────────────────────── */

.auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1A1A1A;
  cursor: pointer;
}

/* ── Submit ─────────────────────────────────────────────────── */

.auth-submit {
  height: 52px;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 150ms ease, transform 100ms ease;
}

.auth-submit:hover  { background: #333333; }
.auth-submit:active { transform: scale(0.98); }

/* ── Error ──────────────────────────────────────────────────── */

.auth-error {
  margin: 0 0 4px;
  padding: 12px 14px;
  background: #FEF2F2;
  border: 1px solid rgba(181,101,74,0.25);
  border-radius: 10px;
  font-size: 13px;
  color: #B5654A;
  font-weight: 500;
  line-height: 1.4;
}

.auth-error a {
  color: #B5654A;
  text-decoration: underline;
}

/* ── Footer link ────────────────────────────────────────────── */

.auth-footer {
  margin: 20px 0 0;
  font-size: 13px;
  color: #6B6B6B;
  text-align: center;
}

.auth-link {
  color: #4A6FA5;
  text-decoration: none;
  font-weight: 500;
}

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

/* ── Responsive ─────────────────────────────────────────────── */

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