/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent, #6366f1) 0%, #8b5cf6 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

/* Ensure it appears above header */
.docs-header {
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

/* Pulse effect when reaching milestones */
@keyframes progress-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.reading-progress-bar.milestone {
    animation: progress-pulse 0.5s ease-in-out;
}
