/* Auth login page (V3) */

.app-auth-hero {
  color: var(--app-color-text);
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--app-color-accent) 16%, transparent), transparent 28rem),
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--app-color-primary) 12%, transparent), transparent 26rem),
    linear-gradient(180deg, var(--app-color-surface-alt), var(--app-color-bg));
}

.app-auth-hero > .container {
  max-width: 48rem;
}

.app-auth-section {
  padding: var(--app-space-7) 0 var(--app-space-10);
}

.app-user-section.app-auth-section {
  padding: var(--app-space-7) 0;
}

.app-auth-layout {
  display: grid;
  gap: var(--app-space-5);
  max-width: 28rem;
  margin-inline: auto;
}

.app-auth-form-card {
  display: grid;
  align-content: start;
  gap: var(--app-space-4);
}

.app-auth-form-card__heading {
  margin-bottom: 0;
}

.app-auth-form {
  display: grid;
  gap: var(--app-space-4);
}

.app-auth-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--app-space-3);
}

.app-auth-form__check {
  display: inline-flex;
  align-items: center;
  gap: var(--app-space-2);
  margin: 0;
  color: var(--app-color-text-muted);
  font-size: var(--app-font-size-200);
  font-weight: 700;
  line-height: var(--app-line-height-tight);
  cursor: pointer;
}

.app-auth-form__check .form-check-input {
  margin: 0;
  float: none;
}

.app-auth-form__actions {
  display: grid;
}

.app-auth-form__submit {
  width: 100%;
}

.app-auth-join-channel {
  display: grid;
  gap: var(--app-space-4);
}

.app-auth-join-channel__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--app-space-3);
  width: 100%;
}

.app-auth-join-channel__btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.app-auth-join-channel__footer {
  display: flex;
  justify-content: center;
}

.app-auth-join-channel__footer .app-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 767.98px) {
  .app-auth-desktop {
    display: none;
  }

  .app-auth-section {
    padding-top: 0;
  }

  .app-auth-layout {
    max-width: none;
  }

  .app-layout-v3 > footer {
    margin-top: var(--app-space-2);
  }

  .app-floating-actions {
    display: none;
  }
}

@media (min-width: 768px) {
  .app-auth-mobile {
    display: none;
  }
}
