/* Image loading progress bar with percentage */
.post-content .image-loading-wrapper {
  position: relative;
  display: block;
  margin: 0 auto 1em;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.post-content .image-progress-container {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-content .image-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: width 0.1s ease;
}

.post-content .image-progress-text {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.post-content .image-loading-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-content .image-loading-wrapper.loaded .image-progress-container {
  display: none;
}

.post-content .image-loading-wrapper.loaded img {
  opacity: 1;
}