@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

.bodyload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #fff;
}

.progress-bar {
  width: 300px;
  height: 20px;
  background: linear-gradient(#000 0 0) 0/0% no-repeat #eee;
  transition: background-size 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.percentage {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  color: #111;
  transition: color 0.3s;
}

/* Tambahkan class untuk progress di atas 50% */
.percentage.progress-white {
  color: #fff;
}

.loadertext {
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111;
}

.dot-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
}

.dot-loader .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  opacity: 0.7;
  animation: dot-bounce 1s infinite alternate;
}

.dot-loader .dot:nth-child(2) {
  background: #888;
  animation-delay: 0.2s;
}

.dot-loader .dot:nth-child(3) {
  background: #ccc;
  animation-delay: 0.4s;
}

@keyframes dot-bounce {
  to {
    opacity: 1;
    transform: translateY(-8px) scale(1.2);
  }
}