.container-fluid {
  overflow: hidden;
  height: 100vh;
}

.login-brand {
  position: absolute;
  top: 2em;
  left: 2rem;
  display: flex;
  font-family: "Tomorrow", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

.form-container {
  display: grid;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 4rem);

  .form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30rem;
    background: rgba(var(--background-color-rgb), 0.1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow:
      rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
      rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;

    .logo {
      display: flex;
      justify-content: center;
      margin-bottom: 1rem;

      img {
        width: 50px;
        height: 50px;
      }
    }

    .title {
      font-weight: bold;
    }
  }
}

.mfa-container {
  max-width: 80vw;
  margin: 0 auto;
  padding: 20px;
}
.mfa-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 2em;
  height: 70vh;
  align-items: center;

  & > * {
    display: grid;
    flex-direction: column;
    justify-content: center;
    height: 50vh;
  }
}
.configuration-section ol {
  margin-left: 20px;
}
.configuration-section li {
  margin-bottom: 10px;
}
.mfa-image {
  max-width: 400px;
  height: auto;
  margin: 15px 0;
}

.main-alert {
  position: fixed;
  bottom: 0;
}

.mfa-form {
  display: grid;
  gap: 1rem;
  align-items: center;
  height: 50vh;
  justify-items: center;
  margin-top: 5em;
}

/* Rings animation */

.abstract-background {
  position: fixed;
  top: 0;
  left: -50vw;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: flex; /* Center the rings */
  justify-content: center;
  align-items: center;
}

.glowing-rings {
  position: relative; /* Container for the rings */
  width: 100%;
  height: 100%;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0; /* Start with zero width */
  height: 0; /* Start with zero height */
  border: 2px solid var(--primary-color); /* Border for the ring */
  border-radius: 50%;
  transform: translate(-50%, -50%); /* Center the ring */
  animation: expandRing 8s infinite ease-out; /* Animation for expansion */
}

.ring-1 {
  animation-delay: 0s;
}

.ring-2 {
  animation-delay: 2s; /* Stagger the animations */
  border-color: var(--admin-color);
}

.ring-3 {
  animation-delay: 4s;
  border-color: var(--primary-color);
}

.ring-4 {
  animation-delay: 6s;
  border-color: var(--admin-color);
}

.ring-5 {
  animation-delay: 8s;
  border-color: var(--primary-color);
}

/* Add more ring classes with different delays and colors */

@keyframes expandRing {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    border-width: 2px;
  }
  50% {
    opacity: 0.5;
    border-width: 1px;
  }
  100% {
    width: 2000px; /* Max size of the ring */
    height: 2000px;
    opacity: 0;
    border-width: 0px;
  }
}

body:before {
  content: "";
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 182px;
  opacity: 0.12;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}
