





.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(212, 162, 76, .16) 0, transparent 28%),
    radial-gradient(circle at left bottom, rgba(37, 99, 235, .12) 0, transparent 30%),
    var(--bg);
}

.auth-card {
  width: min(100%, 520px);
  padding: 26px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 22px;
  background: var(--bg-header);
}

.auth-brand {
  width: min(100%, 280px);
  min-height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  overflow: hidden;
}

.auth-brand-wide,
.auth-brand-symbol {
  position: relative;
  display: inline-flex;
  width: 280px;
  min-height: 86px;
  align-items: center;
  justify-content: flex-start;
}

.auth-brand-symbol {
  display: none;
  width: 72px;
}

.auth-brand img {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
}

body[data-theme="dark"] .auth-brand .brand-logo-light {
  display: none;
}

body[data-theme="dark"] .auth-brand .brand-logo-dark {
  display: block;
}

body[data-theme="light"] .auth-brand .brand-logo-light {
  display: block;
}

body[data-theme="light"] .auth-brand .brand-logo-dark {
  display: none;
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.04;
}

.auth-copy p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.6;
}

.auth-actions {
  justify-content: space-between;
}

@media (max-width: 560px) {
  .auth-shell {
    padding: 14px;
  }

  .auth-card {
    padding: 20px;
  }

  .auth-brand {
    width: 72px;
  }

  .auth-brand-wide {
    display: none;
  }

  .auth-brand-symbol {
    display: inline-flex;
  }

  .auth-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
