.sso-cloud-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sso-cloud-layer[hidden] {
  display: none;
}

.sso-cloud {
  position: absolute;
  width: var(--cloud-width);
  height: 1.35rem;
  border-radius: 999px;
  background: #fff;
  filter: drop-shadow(0 0.3rem 0.65rem rgba(80, 30, 140, 0.1));
  animation: sso-cloud-drift var(--cloud-duration, 12s) ease-in-out infinite;
  animation-delay: var(--cloud-delay, 0s);
  will-change: translate;
}

.sso-cloud::before,
.sso-cloud::after {
  position: absolute;
  bottom: 0.25rem;
  border-radius: 50%;
  background: inherit;
  content: '';
}

.sso-cloud::before {
  left: 16%;
  width: 43%;
  height: 2.3rem;
}

.sso-cloud::after {
  right: 13%;
  width: 34%;
  height: 1.9rem;
}

#sru-sso-gate > .sru-sso-card {
  position: relative;
  z-index: 1;
}

.sso-cloud-top {
  top: calc(50% - 13rem);
  left: calc(50% - 2.125rem);
  --cloud-width: 4.25rem;
  --cloud-duration: 7.5s;
  --cloud-delay: -8s;
  --cloud-drift-x: 1.2rem;
  --cloud-drift-y: -0.6rem;
}

.sso-cloud-upper-left {
  top: calc(50% - 9.5rem);
  left: calc(50% - 16.25rem);
  --cloud-width: 8.5rem;
  --cloud-duration: 18s;
  --cloud-delay: -3s;
  --cloud-drift-x: -0.75rem;
  --cloud-drift-y: -0.25rem;
}

.sso-cloud-upper-right {
  top: calc(50% - 10.5rem);
  left: calc(50% + 9.5rem);
  --cloud-width: 5.25rem;
  --cloud-duration: 9s;
  --cloud-delay: -10s;
  --cloud-drift-x: 1.5rem;
  --cloud-drift-y: 0.45rem;
}

.sso-cloud-left {
  top: calc(50% - 1.5rem);
  left: calc(50% - 18rem);
  --cloud-width: 9rem;
  --cloud-duration: 20s;
  --cloud-delay: -5s;
  --cloud-drift-x: -0.8rem;
  --cloud-drift-y: -0.25rem;
}

.sso-cloud-right {
  top: calc(50% + 0.5rem);
  left: calc(50% + 12rem);
  --cloud-width: 4rem;
  --cloud-duration: 6.5s;
  --cloud-delay: -7s;
  --cloud-drift-x: 1.45rem;
  --cloud-drift-y: 0.5rem;
}

.sso-cloud-lower-left {
  top: calc(50% + 8.5rem);
  left: calc(50% - 15.5rem);
  --cloud-width: 5.5rem;
  --cloud-duration: 14s;
  --cloud-delay: -11s;
  --cloud-drift-x: -0.7rem;
  --cloud-drift-y: 0.35rem;
}

.sso-cloud-bottom {
  top: calc(50% + 12rem);
  left: calc(50% - 2.75rem);
  --cloud-width: 8.5rem;
  --cloud-duration: 17s;
  --cloud-delay: -4s;
  --cloud-drift-x: 0.75rem;
  --cloud-drift-y: 0.3rem;
}

.sso-cloud-lower-right {
  top: calc(50% + 9rem);
  left: calc(50% + 8.5rem);
  --cloud-width: 7.5rem;
  --cloud-duration: 11s;
  --cloud-delay: -1s;
  --cloud-drift-x: 0.8rem;
  --cloud-drift-y: -0.35rem;
}

@keyframes sso-cloud-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: var(--cloud-drift-x) var(--cloud-drift-y);
  }
}

@media (max-width: 575.98px) {
  .sso-cloud-upper-left {
    left: calc(50% - 11.75rem);
    --cloud-width: 4rem;
  }

  .sso-cloud-upper-right {
    left: calc(50% + 6.75rem);
    --cloud-width: 5.25rem;
  }

  .sso-cloud-left {
    left: calc(50% - 12rem);
    --cloud-width: 7rem;
  }

  .sso-cloud-right {
    left: calc(50% + 7.5rem);
    --cloud-width: 3.75rem;
  }

  .sso-cloud-lower-left {
    left: calc(50% - 11rem);
    --cloud-width: 4.75rem;
  }

  .sso-cloud-lower-right {
    left: calc(50% + 6.5rem);
    --cloud-width: 5.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sso-cloud {
    animation: none;
    translate: 0 0;
    will-change: auto;
  }
}

#app.sso-preauth {
  position: fixed;
  z-index: 38;
  inset: 0;
  height: 100vh;
  direction: ltr;
  overflow: hidden;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

#app.sso-preauth > .row {
  height: 100%;
}

#app.sso-preauth.sso-initializing {
  display: flex;
  align-items: center;
  justify-content: center;
}

#app.sso-preauth.sso-initializing > .row {
  display: none;
}

.sso-initial-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.sso-initial-message {
  width: min(32rem, calc(100% - 2rem));
  line-height: 1.6;
}

.sso-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 7rem);
  text-align: start;
}

.sso-welcome::after {
  position: absolute;
  z-index: -1;
  inset-inline-start: -16rem;
  inset-block-end: -27rem;
  width: clamp(24rem, 40vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgba(255, 255, 255, 0.04),
    0 0 0 5rem rgba(255, 255, 255, 0.03);
  content: '';
  pointer-events: none;
}

.sso-welcome-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.sso-welcome-footer {
  right: 35px;
}

.sso-welcome-logo {
  display: block;
  width: 8.25rem;
  height: auto;
  margin-block-end: 2rem;
}

.sso-welcome-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.sso-welcome-eyebrow::before {
  width: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  content: '';
}

.sso-welcome h1 {
  line-height: 1.25;
}

.sso-welcome-description {
  max-width: 38rem;
  line-height: 1.8;
}

.sso-welcome-features {
  display: grid;
  gap: 0.75rem;
}

.sso-welcome-feature {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3rem;
}

.sso-welcome-feature-index {
  display: inline-grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sso-gate-status {
  line-height: 1.6;
}

body #sru-sso-gate {
  inset: 0 auto 0 0;
  width: min(41.666667vw, 64rem);
  max-width: none;
  padding: clamp(1.25rem, 3vw, 3rem);
  background: transparent;
}

@media (max-width: 991.98px) {
  #app.sso-preauth {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .sso-welcome {
    min-height: 0;
    padding: 2.5rem clamp(1.25rem, 6vw, 4rem);
  }

  #app.sso-preauth > .row {
    height: auto;
  }

  #app.sso-preauth.sso-initializing {
    position: fixed;
    inset: 0;
    display: flex;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .sso-welcome::after {
    inset-inline-start: -20rem;
    inset-block-end: -32rem;
  }

  .sso-welcome-content {
    max-width: 42rem;
  }

  body #sru-sso-gate {
    position: relative;
    inset: auto;
    width: 100%;
    height: 26rem;
    min-height: 26rem;
    padding: 1rem 1.25rem;
  }

  .sso-cloud-top {
    top: 0.5rem;
  }

  .sso-cloud-upper-left {
    top: 2.75rem;
  }

  .sso-cloud-upper-right {
    top: 2rem;
  }

  .sso-cloud-left {
    top: calc(50% - 1rem);
  }

  .sso-cloud-right {
    top: calc(50% + 0.5rem);
  }

  .sso-cloud-lower-left {
    top: calc(100% - 7rem);
  }

  .sso-cloud-bottom {
    top: calc(100% - 4.5rem);
  }

  .sso-cloud-lower-right {
    top: calc(100% - 7rem);
  }
}

@media (max-width: 575.98px) {
  .sso-welcome {
    padding-block: 2rem;
  }

  .sso-welcome-description {
    font-size: 1.05rem;
  }
}
