.auth {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
}

.auth__sidebar {
  background: linear-gradient(90deg, var(--color--base--light-blue) 0%, var(--color--base--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

.auth__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space--large);
  position: relative;
}

.auth__logo-container {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.auth__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.auth__illustration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32rem;
  max-width: 40vw;
}

.auth__form {
  width: 100%;
  max-width: 320px;
}

.auth__main .flash {
  position: absolute;
  width: 100%;
  top: var(--space--base);
  left: 50%;
  transform: translateX(-50%);
  padding-inline: var(--space--base);
  z-index: var(--z-index--ceiling);
  margin: 0;
}

.auth__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

@media (min-width: 820px) {
  .auth {
    flex-direction: row;
  }

  .auth__sidebar {
    width: fit-content;
  }
}

@media (min-width: 1000px) {
  .auth__sidebar {
    width: 50%;
  }
}
