/*
 * The pages before sign-in, in the brand's primary look: the dark space
 * ground with stars and an orange nebula, the form on an anthracite card.
 * Everything else (controls, buttons, colours) comes from webe-ci.css in
 * its dark theme.
 */
.f4l-auth {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--webe-tiefblau);
  color: var(--webe-weiss);
  font-family: var(--webe-font);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.f4l-auth__space {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.f4l-auth__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, #fff, transparent),
    radial-gradient(1px 1px at 60px 190px, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1px 1px at 260px 40px, rgba(255, 255, 255, .7), transparent),
    radial-gradient(2px 2px at 300px 220px, rgba(255, 90, 31, .9), transparent),
    radial-gradient(1px 1px at 160px 240px, rgba(255, 255, 255, .5), transparent);
  background-size: 320px 260px;
  opacity: .5;
  animation: f4l-twinkle 5s ease-in-out infinite alternate;
}

.f4l-auth__stars--far {
  background-size: 470px 390px;
  opacity: .3;
  animation: f4l-twinkle 8s ease-in-out infinite alternate, f4l-drift 90s linear infinite;
}

.f4l-auth__nebula {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -260px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, .26), rgba(255, 90, 31, .07) 40%, rgba(255, 90, 31, 0) 68%);
  animation: f4l-breathe 7s ease-in-out infinite alternate;
}

.f4l-auth__main {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 48px;
  align-items: center;
}

.f4l-auth__brand {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.f4l-auth__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.f4l-auth__claim {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.f4l-auth__mark {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 90, 31, .35)) drop-shadow(0 0 2px rgba(255, 255, 255, .5));
  animation: f4l-hover 6s ease-in-out infinite alternate;
}

.f4l-auth__slogan {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.f4l-auth__slogan span {
  color: var(--webe-signal);
}

.f4l-auth__card {
  background: var(--webe-anthrazit);
  border: 1px solid #2E3239;
  border-radius: var(--webe-radius-card);
  padding: 40px 32px;
}

.f4l-auth__card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--webe-weiss);
}

.f4l-auth__card .f4l-auth__intro {
  margin: 0 0 24px;
  color: #C9CDD2;
}

.f4l-auth__card .form-control {
  background-color: #24282F;
}

.f4l-auth__card .f4l-auth__password {
  position: relative;
}

.f4l-auth__card .f4l-auth__password .form-control {
  padding-right: 48px;
}

.f4l-auth__toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 36px;
  border: 0;
  border-radius: var(--webe-radius);
  background: transparent;
  color: #9AA0A8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.f4l-auth__toggle:hover {
  color: var(--webe-weiss);
}

.f4l-auth__card .btn-primary {
  width: 100%;
  height: 48px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
}

.f4l-auth__links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .9375rem;
}

.f4l-auth__endorse {
  position: relative;
  align-self: flex-end;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  color: #9AA0A8;
}

.f4l-auth__endorse-small {
  font-size: 13px;
}

.f4l-auth__endorse b {
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--webe-weiss);
}

.f4l-auth__endorse-tiny {
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 991.98px) {
  .f4l-auth__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 24px 16px;
    align-items: start;
  }

  .f4l-auth__brand {
    gap: 24px;
  }

  .f4l-auth__mark {
    display: none;
  }

  .f4l-auth__slogan {
    font-size: 36px;
    max-width: none;
  }

  .f4l-auth__card {
    padding: 28px 20px;
  }

  .f4l-auth__endorse {
    padding: 0 16px 20px;
  }
}

@keyframes f4l-twinkle { from { opacity: .2; } to { opacity: .6; } }
@keyframes f4l-drift { from { background-position: 0 0; } to { background-position: 0 -780px; } }
@keyframes f4l-breathe { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.08); opacity: 1; } }
@keyframes f4l-hover { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .f4l-auth *,
  .f4l-auth *::before,
  .f4l-auth *::after {
    animation: none !important;
  }
}
