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

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

  25% {
    bottom: 25px;
  }

  75% {
    bottom: 20%;
  }

  75% {
    bottom: 15px;
  }
}

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

.scroll-btn:hover {
  background-color: #002678;
  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: #002678; /* 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: #333;
  color: #fff;
  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 p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

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

.accept-button:hover {
  background-color: #002678;
  color: #fff;
}

.bouncing-mouse {
  position: absolute;
  justify-content: center;
  left: 2.5rem;
  display: flex;
  padding: 0;
  transform: translateX(-50%);
  bottom: 4rem;
  z-index: 1;
}

.mouse {
  border: 2px solid #f0f8ff;
  height: 35px;
  width: 22px;
  border-radius: 15px;
}

.mouse-btn {
  position: absolute;
  border: 1.35px solid #f0f8ff;
  border-radius: 10px;
  width: 0px;
  height: 8px;
  animation: bouncing-mouse 2s ease-in-out infinite;
}

.text {
  position: absolute;
  bottom: -3.3rem;
  display: flex;
  font-size: 0.7rem;
}

@keyframes bouncing-mouse {
  0% {
    transform: translateY(14px);
  }

  50% {
    transform: translateY(7px);
  }

  100% {
    transform: translateY(14px);
  }
}

@media screen and (max-width: 1040px) {
  /* .bouncing-mouse {
    display: none;
  } */
}

.tradingview-widget-container {
  height: 4rem !important;
  background: #26205e;
  z-index: -9;
}

.tradingview-widget-copyright {
  display: none;
}
