.scroll-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(240, 240, 240, 0.3);
    position: fixed;
    top: 0; /* Will be updated by JavaScript */
    left: 0;
    z-index: 9998;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    width: 0%;
    transition: width 0.2s ease-out;
    border-radius: 0 2px 2px 0;
}

.back-button {
    background: none;
    border: none;
    color: inherit;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.back-button:hover {
    opacity: 0.8;
}

.back-button i {
    font-size: 20px;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.scroll-to-top i {
    font-size: 20px;
    margin-bottom: 2px;
}

.scroll-percentage {
    font-size: 12px;
    font-weight: bold;
}