.scroll-btn {
  position: fixed;
  bottom: 20px;
  left: -80px; /* Start off-screen */
  display: flex; /* Initially display as flex */
  background-color: #0056b3;
  color: #f0f8ff;
  border: none;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px #2a7fda;
  transition: left 0.5s ease, opacity 0.5s ease; /* Smooth sliding and fading */
  opacity: 0;
  animation: bounce-btn 1s ease-in-out infinite;
  z-index: 9999;
}

@keyframes bounce-btn {
  0% {
    bottom: 20px;
  }

  25% {
    bottom: 25px;
  }

  75% {
    bottom: 20%;
  }

  75% {
    bottom: 15px;
  }
}

.scroll-btn.show {
  left: 20px; /* Move to visible position */
  opacity: 1; /* Make the button fully visible */
}

.scroll-btn:hover {
  background-color: #2a7fda;
  animation: none;
  color: #f0f8ff;
}

/* Container for the progress bar */
#progressContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #f0f0f0; /* Light background for the bar */
  z-index: 9999; /* Ensure the progress bar is above other content */
}

/* The actual progress bar */
#progressBar {
  height: 100%;
  width: 0; /* Start with width 0 */
  background-color: #0e0e0e; /* Progress bar color */
  transition: width 0.2s ease; /* Smooth transition when the width changes */
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #0056b3;
  color: #f0f8ff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  display: none; /* Hidden by default */
  z-index: 9999;
}

.cookie-popup a {
  color: #f0f8ff !important;
  transition: all 0.3s ease;
}

.cookie-popup a:hover {
  color: #f0f0f0 !important;
  text-decoration: underline;
}

.cookie-popup p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.accept-button {
  background-color: #101520;
  color: #f0f8ff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.accept-button:hover {
  background-color: #0e0e0e;
  color: #f0f8ff;
}
