/* Detail Center Empty States (Cyberpunk Theme)
 * Provides a unified animated empty state component for analytics/history/data tabs
 * Accessibility: high contrast text, avoids rapid flashing, respects reduced motion.
 */

.dc-empty-state {
  --glow: #00ffc6;
  --glow-alt: #008bff;
  --bg: rgba(0, 20, 25, 0.55);
  position: relative;
  border: 1px solid var(--glow);
  border-radius: 6px;
  padding: 26px 20px 30px;
  margin: 18px auto 26px;
  max-width: 960px;
  width: 100%;
  background: linear-gradient(140deg, rgba(0,255,198,0.08), rgba(0,139,255,0.06) 55%, rgba(0,0,0,0.35));
  overflow: hidden;
  font-family: 'VT323', monospace;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0,255,198,0.3), 0 0 12px -2px rgba(0,255,198,0.5);
}

.dc-empty-state:before,
.dc-empty-state:after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient( to bottom, rgba(0,255,198,0.12) 0 2px, rgba(0,0,0,0) 2px 4px );
  opacity: .18;
  animation: dc-es-scan 9s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
.dc-empty-state:after {
  background: radial-gradient(circle at 50% 15%, rgba(0,255,198,0.25), transparent 70%);
  animation: dc-es-pulse 6s ease-in-out infinite;
  opacity: .28;
}

@media (prefers-reduced-motion: reduce) {
  .dc-empty-state:before, .dc-empty-state:after { animation: none; }
}

@keyframes dc-es-scan { 0%{ transform: translateY(0); } 100%{ transform: translateY(100%); } }
@keyframes dc-es-pulse { 0%,100%{ opacity:.22;} 50%{ opacity:.38;} }

.dc-empty-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg,var(--glow),var(--glow-alt));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 4px rgba(0,255,198,0.65));
}

.dc-empty-headline {
  font-size: 20px;
  letter-spacing: 1px;
  margin: 2px 0 8px;
  text-transform: uppercase;
  color: #d8fff6;
  text-shadow: 0 0 6px rgba(0,255,198,0.6);
}
.dc-empty-sub {
  font-size: 12px;
  line-height: 1.4;
  color: #7fb7c4;
  max-width: 440px;
  margin: 0 auto 14px;
}
.dc-empty-actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.dc-empty-actions button {
  position:relative;
  background: linear-gradient(135deg, rgba(0,255,198,0.15), rgba(0,139,255,0.12));
  border: 1px solid var(--glow);
  color: #dffff7;
  font-size: 11px;
  padding: 8px 16px;
  letter-spacing: .6px;
  border-radius: 28px;
  cursor: pointer;
  transition: background .25s, box-shadow .3s, transform .2s;
  font-family: 'VT323', monospace;
  min-width: 140px;
}
.dc-empty-actions button:hover, .dc-empty-actions button:focus-visible { background: linear-gradient(135deg, rgba(0,255,198,0.25), rgba(0,139,255,0.2)); box-shadow:0 0 0 1px var(--glow), 0 0 14px -2px var(--glow); }
.dc-empty-actions button:active { transform:translateY(1px) scale(.97); }
.dc-empty-actions button[data-variant='ghost'] { background:rgba(0,0,0,0.25); border-style:dashed; }
.dc-empty-actions button[data-variant='ghost']:hover { background:rgba(0,0,0,0.35); }
.dc-empty-micro {
  font-size: 10px;
  opacity: .55;
  letter-spacing: .5px;
  margin-top: 4px;
}

.dc-empty-hint-list { list-style:none; padding:0; margin:14px 0 6px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.dc-empty-hint-list li { font-size:10px; text-transform:uppercase; letter-spacing:.75px; background:rgba(0,255,198,0.08); padding:5px 10px 6px; border:1px solid rgba(0,255,198,0.25); border-radius:18px; }

/* Variant subtle borders */
/* Unified neon theme for all variants (analytics history data) */
.dc-empty-state[data-variant],
.dc-empty-state[data-variant='analytics'],
.dc-empty-state[data-variant='history'],
.dc-empty-state[data-variant='data'] { --glow:#00ffc6; --glow-alt:#35ffc9; }

/* Busy state */
.dc-empty-state[data-busy='1'] { opacity:.92; }
.dc-empty-state[data-busy='1'] .dc-empty-actions button { pointer-events:none; opacity:.55; }
.dc-empty-spinner { width:14px; height:14px; border:2px solid rgba(0,255,198,0.35); border-top-color:#00ffc6; border-radius:50%; animation: dc-spin 0.8s linear infinite; display:inline-block; margin-right:6px; vertical-align:middle; }
@keyframes dc-spin { to { transform:rotate(360deg);} }
