/* Floating Scroll Progress Button */
.scroll-progress-btn {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  /* border removed to avoid static square */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}
.scroll-progress-btn:hover {
  background: #bde7ff;
}
.progress-square {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 38px;
  height: 38px;
  margin: 5px;
}
.progress-bg {
  stroke: #e3f5ff;
}
.progress-bar {
  stroke: #1e90ff;
  transition: stroke-dashoffset 0.2s linear;
}
.progress-icon {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1e90ff;
  pointer-events: none;
}
/* Floating left and right arrows for mobile view */
.floating-arrows {
  display: none;
}
@media (max-width: 768px) {
  .floating-arrows {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 28px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1000;
  }
  .floating-arrow {
    background: rgba(189, 231, 255, 0.8); /* light powder blue with opacity */
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 35px;
    height: 30px;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    font-size: 22px;
    color: #888;
    margin: 0 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    pointer-events: auto;
    transition: background 0.2s;
    opacity: 1;
    line-height: 1;
    padding: 0;
    }
  
    .floating-arrow i {
      font-size: 16px;
      line-height: 1;
    }
  
  .floating-arrow:active {
    background: #f0f0f0;
  }
}
