/* AUTH */

.auth-page {
  min-height: 100vh;

  display: grid;

  grid-template-columns:
    minmax(420px, .92fr)
    minmax(480px, 1.08fr);
}

.auth-brand-panel {
  position: relative;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  padding:
    38px 48px
    34px;

  overflow: hidden;

  color: white;

  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(255,255,255,.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(255,255,255,.07),
      transparent 26%
    ),
    #111113;
}

.auth-brand-panel::after {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  right: -310px;
  bottom: -310px;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 50%;

  box-shadow:
    0 0 0 70px
      rgba(255,255,255,.025),
    0 0 0 140px
      rgba(255,255,255,.018);
}

.auth-brand-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-top .brand-mark {
  background: white;
  color: #111113;
}

.brand-word {
  font-size: 20px;
  font-weight: 720;
}

.auth-brand-content {
  position: relative;
  z-index: 2;

  max-width: 600px;

  margin:
    auto 0;
}

.auth-pill {
  width: fit-content;

  margin-bottom: 24px;

  padding:
    8px 11px;

  border:
    1px solid
    rgba(255,255,255,.13);

  background:
    rgba(255,255,255,.055);

  border-radius: 30px;

  color:
    rgba(255,255,255,.72);

  font-size: 12px;
  font-weight: 650;
}

.auth-brand-content h1 {
  margin: 0;

  font-size:
    clamp(
      48px,
      5.2vw,
      78px
    );

  line-height: .98;

  letter-spacing: -.055em;
}

.auth-brand-content > p {
  max-width: 520px;

  margin: 22px 0 36px;

  font-size: 17px;
  line-height: 1.65;

  color:
    rgba(255,255,255,.62);
}

.auth-feature-list {
  display: grid;
  gap: 15px;
}

.auth-feature {
  display: grid;

  grid-template-columns:
    38px 1fr;

  gap: 12px;

  align-items: start;
}

.auth-feature > span {
  color:
    rgba(255,255,255,.28);

  font-size: 12px;
  font-weight: 700;
}

.auth-feature strong {
  font-size: 14px;
}

.auth-feature p {
  margin: 3px 0 0;

  color:
    rgba(255,255,255,.45);

  font-size: 13px;
}

.auth-footer {
  position: relative;
  z-index: 2;

  color:
    rgba(255,255,255,.28);

  font-size: 11px;
}

.auth-form-panel {
  display: grid;
  place-items: center;

  padding: 40px;

  background: #fbfbfa;
}

.auth-box {
  width: min(420px, 100%);
}

.mobile-auth-logo {
  display: none;
}

.auth-heading {
  margin-bottom: 25px;
}

.auth-heading h2 {
  margin: 9px 0 8px;

  font-size: 34px;
  letter-spacing: -.035em;
}

.auth-heading p {
  margin: 0;

  color: var(--text-soft);
  line-height: 1.5;
}

.auth-switch {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 4px;

  margin-bottom: 24px;

  padding: 4px;

  background: #eeeeec;

  border-radius: 12px;
}

.auth-switch-button {
  height: 39px;

  border: 0;

  background: transparent;

  border-radius: 9px;

  font-weight: 620;
  font-size: 13px;

  cursor: pointer;
}

.auth-switch-button.active {
  background: white;

  box-shadow:
    0 1px 4px
    rgba(0,0,0,.06);
}

.form-error {
  padding: 11px 12px;

  margin-bottom: 15px;

  color: #a72d2d;
  background: #fdecec;

  border-radius: 10px;

  font-size: 13px;
}

.auth-legal {
  max-width: 340px;

  margin:
    20px auto 0;

  text-align: center;

  font-size: 11px;
  line-height: 1.6;

  color: #a0a0a4;
}
