.login-page {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(181, 154, 125, 0.28), transparent 34%),
    radial-gradient(circle at bottom right, rgba(111, 78, 55, 0.16), transparent 34%),
    #faf7f2;
}

.login-card {
  width: min(430px, 100%);
  border: 1px solid rgba(111, 78, 55, 0.14);
  border-radius: 34px;
  padding: 34px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 24px 70px rgba(90, 62, 50, 0.14);
  backdrop-filter: blur(18px);
}

.login-card h1 {
  margin-bottom: 10px;
  color: #4a342b;
  font-size: 2rem;
  line-height: 1.1;
}

.login-description {
  margin-bottom: 24px;
  color: #8c7a6b;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form .primary-button {
  width: 100%;
  margin-top: 4px;
}

.auth-switch {
  margin-top: 22px;
  border-top: 1px solid rgba(111, 78, 55, 0.12);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #8c7a6b;
  font-size: 0.9rem;
}

.auth-switch button {
  background: transparent;
  color: #6f4e37;
  font-weight: 800;
  text-decoration: underline;
}

.slug-input-row {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0 0 0 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  background: #fffdf9;
  overflow: hidden;
}

.slug-input-row span {
  color: #8c7a6b;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.slug-input-row input {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.slug-input-row input:focus {
  box-shadow: none;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: #8c7a6b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.check-slug-button {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 420px) {
  .slug-input-row {
    grid-template-columns: 1fr;
    padding: 10px 12px 0;
  }

  .slug-input-row input {
    padding-left: 0;
  }
}