body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #000; /* Background color to black */
  color: #46CA77; /* Text color to #46CA77 */
}

.container {
  text-align: center;
  margin-top: -70px; /* Adjust this value to move the text and progress bar upwards */
}

.progress-bar {
  width: 100%;
  max-width: 500px; /* Add a max width for consistency across devices */
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px auto; /* Center horizontally with margin */
  position: relative; /* Necessary for positioning children */
  height: 30px;
}

.progress {
  height: 100%;
  background-color: #4caf50;
  width: 0; /* This width is dynamically set by JavaScript */
}

.percentage-center {
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for exact centering */
  font-size: 1rem; /* Ensure consistent font size */
  font-weight: bold; /* Bold text for visibility */
  color: #000; /* Text color for the percentage */
  white-space: nowrap; /* Prevent text wrapping */
  pointer-events: none; /* Ensure the percentage text doesn't block user interaction */
}
