.auth-page {
  height: 100vh;
  display: flex;
}

.auth-cover {
  display: none;
  position: relative;
  flex: 1 1 50%;
  min-height: 0;
  overflow: hidden;
  background-color: #202020;
  transition: flex-basis 0.5s ease;
}

.auth-cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) brightness(1.03) saturate(1.05);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.auth-cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 145, 0, 0.16), rgba(255, 87, 0, 0.08));
  mix-blend-mode: overlay;
  transition: opacity 0.5s ease;
}

.auth-page--focused .auth-cover {
  flex-basis: 0%;
}

.auth-page--focused .auth-cover__image {
  transform: translateX(-25%);
  opacity: 0;
}

.auth-page--focused .auth-cover__overlay {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .auth-cover,
  .auth-cover__image,
  .auth-cover__overlay,
  .auth-panel {
    transition: none;
  }
}

.auth-panel {
  flex: 1 1 50%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  overflow-y: auto;
  background-color: var(--color-surface);
  transition: flex-basis 0.5s ease;
}

.auth-page--focused .auth-panel {
  flex-basis: 100%;
}

@media (max-width: 899px) {
  .auth-panel {
    align-items: flex-start;
    padding-top: var(--space-xl);
  }
}

@media (min-width: 900px) {
  .auth-cover {
    display: block;
  }
}

.auth-card {
  width: 100%;
  max-width: 380px;
}

.auth-brand {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: var(--space-lg);
}

.auth-title {
  font-size: 1.375rem;
  margin-bottom: var(--space-xs);
}

.auth-subtitle {
  margin-bottom: var(--space-lg);
}

.auth-footer {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.auth-footer a {
  font-weight: 600;
}

.auth-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
