/**
 * Power Reading Progress Bar - Styles
 * Version: 1.0.0
 */

#rpb-container {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
}

#rpb-container.rpb-top {
    top: 0;
}

#rpb-container.rpb-bottom {
    bottom: 0;
}

#rpb-progress-bar {
    width: 0%;
    transition: width 0.3s ease;
}

#rpb-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3b78e7;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(59, 120, 231, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

#rpb-scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(59, 120, 231, 0.5);
}

#rpb-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #rpb-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}