/**
 * IAO Lottie Widget Styles
 * 
 * Stili per il widget IAO Lottie
 * @package IAO_Theme
 */

/* Base Lottie Styles */
.iao-lottie-container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

.iao-lottie-animation {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Responsive Lottie */
@media (max-width: 768px) {
  .iao-lottie-container {
    max-width: 100%;
  }
  
  .iao-lottie-animation {
    width: 100%;
    height: auto;
  }
}

/* Loading State */
.iao-lottie-container.loading {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iao-lottie-container.loading::before {
  content: 'Loading animation...';
  color: #666;
  font-size: 14px;
}

/* Error State */
.iao-lottie-container.error {
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}

.iao-lottie-container.error::before {
  content: 'Animation failed to load';
  color: #d32f2f;
  font-size: 14px;
}
