/* altcss/empty-state.css */
empty-state {
  display: block;
  width: 100%;
  min-height: calc(100vh - 120px);
  position: relative;
}

.empty-state-container {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Content */
.empty-state-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  padding: 60px 40px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon */
.empty-state-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.empty-state-icon {
  font-size: 80px;
  position: relative;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Title and subtitle */
.empty-state-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #3498db 0%, #9b59b6 50%, #e74c3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .empty-state-title {
  background: linear-gradient(135deg, #00ffff 0%, #a78bfa 50%, #ff00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-state-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 48px 0;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Action buttons */
.empty-state-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.empty-state-btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  position: relative;
  overflow: hidden;
}

.empty-state-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.empty-state-btn:hover::before {
  width: 300px;
  height: 300px;
}

.empty-state-btn.primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

[data-theme="dark"] .empty-state-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.empty-state-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

[data-theme="dark"] .empty-state-btn.primary:hover {
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.empty-state-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.empty-state-btn.secondary:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.empty-state-btn .btn-icon {
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.empty-state-btn span {
  position: relative;
  z-index: 1;
}

/* Feature cards */
.empty-state-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .empty-state-content {
    padding: 40px 20px;
  }

  .empty-state-icon {
    font-size: 60px;
  }

  .empty-state-title {
    font-size: 32px;
  }

  .empty-state-subtitle {
    font-size: 16px;
  }

  .empty-state-actions {
    flex-direction: column;
    width: 100%;
  }

  .empty-state-btn {
    width: 100%;
    justify-content: center;
  }

  .empty-state-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }
}