/**
 * Empty States - Pixel-Approved Design System
 * Provides enhanced visual feedback for empty containers, error states, and loading states.
 */

.empty-state-enhanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(20, 30, 35, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  margin: 1rem 0;
  transition: all 0.3s ease;
  min-height: 300px;
}

.empty-state-illustration {
  width: 200px;
  height: 200px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback icons when images are loading or fail */
.empty-state-icon {
  font-size: 4rem;
  color: var(--neon-cyan, #00f0ff);
  opacity: 0.5;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.empty-state-title {
  font-family: var(--font-tech, "Space Mono", monospace);
  font-size: 1.2rem;
  color: var(--neon-cyan, #00f0ff);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.empty-state-message {
  font-family: var(--font-read, "Inter", sans-serif);
  font-size: 0.95rem;
  color: var(--text-muted, #6b7a8f);
  max-width: 400px;
  line-height: 1.5;
}

.empty-state-action {
  margin-top: 1.5rem;
}

.empty-state-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--neon-cyan, #00f0ff);
  color: var(--neon-cyan, #00f0ff);
  font-family: var(--font-tech, "Space Mono", monospace);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.empty-state-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Specific Style Variations */
.empty-state-enhanced.error {
  border-color: rgba(255, 42, 109, 0.2);
}

.empty-state-enhanced.error .empty-state-title {
  color: var(--neon-danger, #ff2a6d);
}

.empty-state-enhanced.error .empty-state-icon {
  color: var(--neon-danger, #ff2a6d);
}

.empty-state-enhanced.warning .empty-state-title {
  color: var(--neon-amber, #ffb000);
}

/* Animation */
@keyframes pulse-subtle {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.empty-state-illustration img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.2));
  animation: pulse-subtle 4s infinite ease-in-out;
}
