body {
  margin: 0;
}

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

#loading-bg {
  /* position: absolute;
  display: block;
  background: var(--initial-loader-bg, #fff);
  block-size: 100%;
  inline-size: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: #f5f5f5;
  position: relative;
}

.loading-logo {
  /* position: absolute;
  inset-block-start: 40%;
  inset-inline-start: calc(50% - 45px); */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
  margin-right: 10px;
}

.loading-logo img {
  width: 150px; /* Atur ukuran logo sesuai keinginan, misalnya 150px */
  height: auto;
}

.loading {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid transparent;
  block-size: 55px;
  border-radius: 50%;
  inline-size: 55px;
  inset-block-start: 50%;
  inset-inline-start: calc(50% - 35px);
}

.loading .effect-1,
.loading .effect-2,
.loading .effect-3 {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid transparent;
  block-size: 100%;
  border-inline-start: 3px solid var(--initial-loader-color, #eee);
  border-radius: 50%;
  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);
  }
}

/* Base alert */
.alert {
  position: relative;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 1rem;
  font-family: Arial, sans-serif;
}

/* Primary */
.alert-success {
  background-color: #cfffdb;
  border-color: #a9fe9e;
  /* color: #089814; */
  color: #0C2E66;
}

/* Danger */
.alert-danger {
  background-color: #f8d7da;
  border-color: #f1aeb5;
  color: #842029;
}

/* Optional close button style */
.alert .btn-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
}

.alert .btn-close:hover {
  opacity: 1;
}
