/* Fix for Go to Top button z-index */
.cd-top {
  z-index: 10000 !important; /* Higher than loginbut1's z-index of 9999 */
  position: fixed !important; /* Ensure position is explicitly set */
  bottom: 40px !important; /* Keep consistent positioning */
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out {
  z-index: 10000 !important; /* Ensure z-index is maintained in all states */
  position: fixed !important; /* Maintain position in all states */
}

/* Adjust bottom position when login button is visible */
@media (max-width: 1399px) {
  .cd-top {
    bottom: 60px !important; /* Position above the login button */
  }
}
