/* Amazon Buy Button for Books */
.amazon-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff9900;
  color: #232f3e;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 18px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
}
.amazon-buy-btn:hover {
  background: #f90;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
.amazon-logo {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 1px;
}
.amazon-buy-btn span {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #232f3e;
  letter-spacing: 0.01em;
}
/* Floating Scroll Progress Button */
.scroll-progress-btn {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 48px;
  height: 48px;
  background:rgba(189, 231, 255, 0.8);
  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: #1e3a5f ;
  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: #1e3a5f ;
  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: 45%;
    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 */
    /*background-color: rgb(30, 58, 95, 0.8);  solid color fallback */
    border: 1px solid rgba(189, 231, 255, 0.8);
    border-radius: 0px;
    width: 35px;
    height: 30px;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    font-size: 22px;
    color: #1e3a5f;
    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;
  }
}
