/* Authentication pages */
.auth-page {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 2rem 0 4rem;
}

.auth-shell {
  width: min(100% - 2rem, 1120px);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #0f172a, #1d4ed8 48%, #06b6d4);
  box-shadow: var(--shadow);
}

.auth-visual h1 {
  margin: 1rem 0 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.auth-visual p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.auth-visual .feature-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.auth-visual .feature-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-visual .feature-list li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.auth-visual-art {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-card {
  padding: 1.5rem;
}

.auth-card h2 {
  margin: 0 0 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
}

.auth-card .subtext {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-wrap {
  position: relative;
}

.input-wrap .input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.form-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(37, 99, 235, 0.16);
  line-height: 1.6;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.social-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-button {
  min-height: 46px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  font-weight: 700;
}
