html,
body {
  min-height: 100%;
}

.login.fullscreen {
  min-height: 100vh;
  color: #f8fbff;
  background:
    radial-gradient(circle at 75% 48%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72) 64%),
    linear-gradient(90deg, rgba(3, 10, 22, 0.08), rgba(2, 8, 18, 0.58)),
    url("/assets/custom/froehlich-galactic-security.webp") center / cover fixed;
}

.login.fullscreen .fullscreen-center {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 36px 18px 30px;
}

.login.fullscreen .fullscreen-body {
  width: min(460px, calc(100vw - 32px));
}

.login.fullscreen .fullscreen-body > p:first-child {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 26px;
  color: rgba(223, 248, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-wrap: balance;
}

.login.fullscreen .fullscreen-body > .hero-unit:not(.alert) {
  width: 100%;
  margin: 0;
  padding: 42px 26px 24px;
  color: #f8fbff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 34%, rgba(5, 18, 18, 0.3)),
    rgba(4, 13, 16, 0.54) !important;
  border: 1px solid rgba(197, 226, 147, 0.3);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 48px rgba(197, 226, 147, 0.08),
    0 28px 84px rgba(0, 0, 0, 0.62),
    0 0 54px rgba(146, 183, 77, 0.2);
  backdrop-filter: blur(26px) saturate(1.28);
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
}

.login.fullscreen .company-logo {
  display: block;
  width: min(320px, 82%);
  max-height: 78px;
  margin: 0 auto 42px;
  object-fit: contain;
}

.login.fullscreen .separator {
  margin: 18px 0;
}

.login.fullscreen .separator::before {
  background: rgba(197, 226, 147, 0.3);
}

.login.fullscreen .separator-text {
  color: rgba(223, 248, 255, 0.82);
  background: transparent;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.login.fullscreen .auth-providers {
  margin: 0;
  padding: 0;
}

.login.fullscreen .auth-providers > form {
  min-width: 100%;
}

.login.fullscreen .auth-provider {
  min-height: 48px;
  margin: 0;
  padding: 0.72rem 1rem;
  color: #06120c !important;
  background: linear-gradient(135deg, #c5e293, #92b74d 58%, #3a491f) !important;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  white-space: normal;
}

.login.fullscreen .auth-provider:hover,
.login.fullscreen .auth-provider:focus-visible {
  color: #06120c !important;
  filter: brightness(1.08);
  outline: 2px solid rgba(126, 232, 255, 0.7);
  outline-offset: 3px;
}

.login.fullscreen .auth-provider .provider-icon {
  color: #06120c;
  fill: currentColor;
}

.login.fullscreen .auth-provider .provider-name {
  overflow-wrap: anywhere;
}

.login.fullscreen .auth-provider--openid-connect .provider-name {
  font-size: 0;
}

.login.fullscreen .auth-provider--openid-connect .provider-name::after {
  content: "Secure Login von Fröhlich Consulting";
  display: inline;
  font-size: 15px;
}

.login.fullscreen .js-footer {
  max-width: 430px;
  margin: 26px auto 0;
  color: rgba(223, 248, 255, 0.82);
  font-size: 14px;
  text-align: center;
}

.login.fullscreen .js-footer::before {
  content: "Sicherer Zugang - Christian Fröhlich Consulting";
  display: block;
  margin-bottom: 12px;
  color: rgba(223, 248, 255, 0.86);
  font-weight: 700;
}

.login.fullscreen .froehlich-account-info {
  margin: 0 0 14px;
  color: rgba(223, 248, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.login.fullscreen .froehlich-account-info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.28rem 0.7rem;
  color: #f8fbff;
  border: 1px solid rgba(197, 226, 147, 0.42);
  border-radius: 8px;
  background: rgba(5, 18, 18, 0.32);
  text-decoration: none;
}

.login.fullscreen .js-footer a {
  color: #c5e293;
  text-decoration-color: rgba(197, 226, 147, 0.5);
  text-underline-offset: 0.18em;
}

.login.fullscreen .js-footer .froehlich-account-info-link {
  color: #f8fbff;
  text-decoration: none;
}

.login.fullscreen .js-footer a:hover,
.login.fullscreen .js-footer a:focus-visible {
  color: #f8fbff;
  text-decoration-color: currentColor;
}

.login.fullscreen .js-footer hr {
  border-color: rgba(223, 248, 255, 0.18);
}

.login.fullscreen .poweredBy {
  margin-top: 54px;
  opacity: 0.28;
  filter: grayscale(1);
}

@media (max-width: 640px) {
  .login.fullscreen .fullscreen-center {
    padding: 24px 14px;
  }

  .login.fullscreen .fullscreen-body {
    width: 100%;
  }

  .login.fullscreen .fullscreen-body > .hero-unit:not(.alert) {
    padding: 34px 20px 22px;
  }

  .login.fullscreen .fullscreen-body > p:first-child {
    padding: 0 20px;
  }

  .login.fullscreen .company-logo {
    width: min(300px, 88%);
    max-height: 72px;
    margin-bottom: 34px;
  }
}
