body {
  margin: 0px;
}

.silvi-app-loader-overlay {
  align-items: center;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity 0.3s ease;
  width: 100vw;
  z-index: 9999;

  &.loaded {
    opacity: 0;
  }
}

.silvi-app-loader-container {
  height: 12rem;
  width: 16rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  text-align: center;
}
.silvi-app-loader-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  animation: shine 2.6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.shine {
  position: relative;
  overflow: hidden;

  &:hover,
  &:focus {
    &::before {
      animation: shine 2s;
    }
  }
}
.shine::before {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 100%
  );
  content: "";
  display: block;
  height: 100%;
  left: -75%;
  position: absolute;
  top: 0;
  transform: skewX(-25deg);
  width: 50%;
  z-index: 2;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.silvi-app-loader-icon {
  height: 150px;
  margin: auto;
  max-width: 100%;
}

.silvi-app-loader-text {
  color: var(--text-color-gray-dark);
  font-family: "Public Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}
