/* Progress Bar Container */
#zr-progress-container {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 999999 !important;
    pointer-events: none;
    background: rgba(0,0,0,0.05);
}

/* Moving Bar */
#zr-progress {
    width: 0%;
    height: 100%;
    display: block !important;
    transition: width 0.2s ease-out;
}

/* Admin Bar fix (WordPress Admin Bar check) */
body.admin-bar #zr-progress-container {
    top: 32px !important;
}

/* Mobile Admin Bar fix */
@media screen and (max-width: 782px) {
    body.admin-bar #zr-progress-container {
        top: 46px !important;
    }
}

/* Scroll to Top Button */
#zr-scroll-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none; /* Initially hidden, JS will display it */
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Icon inside the button */
#zr-scroll-top .dashicons {
    color: white !important;
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#zr-scroll-top:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

/* Reading Time Container */
.zr-reading-time { 
    font-weight: bold; 
    margin-bottom: 15px; 
    color: #555; 
    /* Additional inline styles are injected via PHP */
}