body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  align-items: center;
  background: var(--initial-loader-bg, #fff);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
  transition: opacity 0.2s ease-out;
}

.loading {
  position: relative;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  block-size: 55px;
  inline-size: 55px;
}

.loading .effect-1,
.loading .effect-2,
.loading .effect-3 {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  block-size: 100%;
  border-inline-start: 3px solid #ef9d1b;
  inline-size: 100%;
}

.loading .effect-1 {
  animation: rotate 1s ease infinite;
}

.loading .effect-2 {
  animation: rotate-opacity 1s ease infinite 0.1s;
}

.loading .effect-3 {
  animation: rotate-opacity 1s ease infinite 0.2s;
}

.loading .effects {
  transition: all 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate-opacity {
  0% {
    opacity: 0.1;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: rotate(1turn);
  }
}

.loading-progress {
    margin: 20px auto;
    width: 200px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(239, 157, 27, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    width: 0;
    height: 100%;
    background-color: #ef9d1b;
    transition: width 0.2s ease-out;
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #ef9d1b;
}

.loading-text {
    text-align: center;
    margin: 10px 0;
    color: #666;
    font-size: 16px;
}
