.auth-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth__brand-panel {
  flex: 1;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.auth__logo-wrapper {
  width: 70%;
  max-width: 400px;
  padding: 20px;
}

.auth__logo-wrapper img {
  width: 100%;
  height: auto;
}

.auth__form-panel {
  flex: 1;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

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

.auth__maintenance-notice {
  margin-bottom: 24px;
  padding: 16px;
  background-color: lightgoldenrodyellow;
  border-radius: 4px;
  border-left: 4px solid #6c757d;
  color: #212529;
}

.auth__maintenance-notice h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth__maintenance-notice p {
  margin-bottom: 0;
  line-height: 1.5;
}

.auth__form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.625rem;
}

.auth__links {
  display: flex;
}

.auth__link {
  color: var(--neutral-color);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.auth__link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.auth__link + .auth__link {
  margin-left: 1.5rem;
}

.auth__form .form-field:nth-child(3) label {
  margin-top: 0.25rem;
}

.auth__form-wrapper--narrow {
  max-width: 320px;
}

/* Form title */
.auth__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--neutral-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth__subtitle {
  font-size: 1rem;
  color: var(--neutral-medium-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-requirements {
  margin: 1rem 1.5rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--neutral-color);
}

.form-requirements li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 500;
}

.form-requirements li::marker {
  font-weight: 700;
  color: var(--black);
}

.auth__code-sent-message {
  margin-top: 0.5rem;
}

.auth__code-entry-form {
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .auth-container {
    flex-direction: column;
  }

  .auth__brand-panel {
    min-height: 40vh;
  }

  .auth__logo-wrapper {
    width: 50%;
    max-width: 200px;
  }

  .auth__form-panel {
    padding: 1.5rem;
  }

  .auth__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}
