/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reading-progress-container.visible {
  opacity: 1;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0085a1 0%, #00b4d8 100%);
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 4px rgba(0, 133, 161, 0.3);
}

/* Reading stats indicator */
.reading-stats {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9em;
  min-width: 120px;
}

.reading-stats.visible {
  opacity: 1;
}

.reading-stats-progress {
  font-weight: 600;
  color: #0085a1;
  font-size: 1.2em;
  margin-bottom: 4px;
}

.reading-stats-remaining {
  color: #6c757d;
  font-size: 0.85em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reading-progress-container {
    height: 3px;
  }
  
  .reading-stats {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.85em;
    min-width: 100px;
  }
  
  .reading-stats-progress {
    font-size: 1.1em;
  }
}

/* Hide on print */
@media print {
  .reading-progress-container,
  .reading-stats {
    display: none;
  }
}