.back-to-top-btn { position: fixed; bottom: 20px; right: 20px; display: none; background-color: #007BFF; color: #ffffff; padding: 10px 15px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); cursor: pointer; z-index: 999; /* Ensure it's above other content */ } .back-to-top-link { text-decoration: none; color: inherit; } .arrow-up { margin-right: 5px; }