/* Auth */

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(340px, 0.9fr) minmax(480px, 1.1fr);
  background: var(--surface);
}

.auth-visual {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 7vw, 92px);
  color: #ffffff;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.25), transparent 25%),
    radial-gradient(circle at 20% 90%, rgba(94, 245, 190, 0.2), transparent 28%),
    linear-gradient(145deg, #4255ca 0%, #6179ed 58%, #8b98f6 100%);
}

.auth-visual::before,
.auth-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.auth-visual::before {
  width: 460px;
  height: 460px;
  right: -170px;
  top: -150px;
}

.auth-visual::after {
  width: 640px;
  height: 640px;
  left: -360px;
  bottom: -420px;
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.auth-visual .brand-mark {
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0 12px 24px rgba(18, 29, 97, 0.16);
}

.auth-visual h1 {
  max-width: 510px;
  margin: 42px 0 18px;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.auth-visual p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.auth-feature-list {
  display: grid;
  gap: 13px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.auth-feature-list li {
  display: flex;
  gap: 11px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.auth-feature-list .feature-check {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #2e57d5;
  background: #ffffff;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(28px, 8vw, 120px);
}

.auth-form-wrap {
  width: min(100%, 410px);
}

.auth-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 31px;
  letter-spacing: -0.045em;
}

.auth-form-wrap > p {
  margin: 0 0 32px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 25px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-muted);
}

.auth-tab {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
}

.auth-tab.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

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

.auth-form .button-primary {
  min-height: 48px;
  margin-top: 7px;
}

.auth-hint {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

