/**
 * Reading Progress Indicator Styles
 * Fixed progress bar at the top of the page
 */

.reading-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 6px;
	background-color: #2d7a6e;
	z-index: 10000;
	transition: width 0.1s ease-out;
	will-change: width;
}

/* Smooth progress bar with shadow */
.reading-progress-bar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.3) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	animation: shimmer 2s infinite;
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

/* Optional: Make progress bar taller on hover */
.reading-progress-bar:hover {
	height: 4px;
}

/* Ensure it works on all pages */
body {
	position: relative;
}
