/* ============================================
   Shared Empty State Base
   ============================================ */
.il-empty-state,
.lp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 32px;
  /* max-width: 440px; */
  margin: 40px auto;
  background: var(--bg-secondary, #fafbfc);
  border: 2px dashed var(--border-color, #d1d5db);
  border-radius: 16px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.il-empty-state:hover,
.lp-empty:hover {
  border-color: var(--accent, #5b5fef);
}

/* Icon container — soft glow ring */
.il-empty-icon,
.lp-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
}

.il-empty-icon::before,
.lp-empty-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.35;
  z-index: 0;
}

.il-empty-icon i,
.lp-empty-icon i {
  position: relative;
  z-index: 1;
  font-size: 30px;
}

/* Title */
.il-empty-title,
.lp-empty h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #1f2937);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

/* Description text */
.il-empty-text,
.lp-empty p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #6b7280);
  margin: 0 0 28px;
  max-width: 320px;
}

/* Button */
.il-empty-btn,
.lp-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.il-empty-btn:hover,
.lp-empty-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.il-empty-btn:active,
.lp-empty-btn:active {
  transform: translateY(0);
}

.il-empty-btn i,
.lp-empty-btn i {
  font-size: 13px;
}

/* ============================================
   Import List — indigo accent
   ============================================ */
.il-empty-icon {
  background: color-mix(in srgb, var(--accent, #5b5fef) 14%, transparent);
}
.il-empty-icon i {
  color: var(--accent, #5b5fef);
}
.il-empty-btn {
  background: var(--accent, #5b5fef);
}
.il-empty-btn:hover {
  background: var(--accent-hover, #4a4ed6);
}

/* ============================================
   Live Products — amber accent (store-slash = "not live yet")
   ============================================ */
.lp-empty-icon {
  background: rgba(245, 158, 11, 0.14);
}
.lp-empty-icon i {
  color: #f59e0b;
}
.lp-empty-btn {
  background: #f59e0b;
}
.lp-empty-btn:hover {
  background: #d97e06;
}

/* ============================================
   Dark theme overrides
   ============================================ */
[data-theme="dark"] .il-empty-state,
[data-theme="dark"] .lp-empty {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .il-empty-state:hover,
[data-theme="dark"] .lp-empty:hover {
  border-color: var(--accent, #7c7ff5);
}

[data-theme="dark"] .il-empty-title,
[data-theme="dark"] .lp-empty h4 {
  color: var(--text-primary-dark, #e5e7eb);
}

[data-theme="dark"] .il-empty-text,
[data-theme="dark"] .lp-empty p {
  color: var(--text-muted-dark, #9ca3af);
}

[data-theme="dark"] .il-empty-icon,
[data-theme="dark"] .lp-empty-icon {
  background: color-mix(in srgb, var(--accent, #7c7ff5) 18%, transparent);
}

[data-theme="dark"] .lp-empty-icon {
  background: rgba(245, 158, 11, 0.18);
}
