/* Cursor-style generation progress — social media video/image tools */
.nl-gen-progress {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 255, 157, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  text-align: start;
}

.nl-gen-progress-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.nl-gen-progress-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff9d;
  box-shadow: 0 0 10px #00ff9d;
  flex-shrink: 0;
  animation: nl-gen-pulse 1.4s ease-in-out infinite;
}

@keyframes nl-gen-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.nl-gen-progress-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.nl-gen-progress-timer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.nl-gen-progress-timer-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.nl-gen-progress-timer {
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #00ff9d;
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.35);
}

.nl-gen-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 255, 157, 0.12);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.nl-gen-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ffb2, #00ff88);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.45);
  transition: width 0.8s ease;
}

.nl-gen-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.nl-gen-step {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.25s ease;
}

.nl-gen-step.is-active {
  color: rgba(255, 255, 255, 0.88);
}

.nl-gen-step.is-done {
  color: rgba(0, 255, 157, 0.65);
}

.nl-gen-step-icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.nl-gen-step.is-active .nl-gen-step-icon {
  border-color: #00ff9d;
  box-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.nl-gen-step.is-active .nl-gen-step-icon::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #00ff9d;
  animation: nl-gen-pulse 1.2s ease-in-out infinite;
}

.nl-gen-step.is-done .nl-gen-step-icon {
  border-color: #00ff9d;
  background: rgba(0, 255, 157, 0.2);
}

.nl-gen-step.is-done .nl-gen-step-icon::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid #00ff9d;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.nl-gen-progress-hint,
.nl-gen-progress-overdue {
  margin: 0.7rem 0 0;
  font-size: 0.67rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.nl-gen-progress-overdue {
  color: rgba(255, 200, 100, 0.9);
}

.nl-gen-progress.is-overdue .nl-gen-progress-pulse {
  background: #ffc864;
  box-shadow: 0 0 10px rgba(255, 200, 100, 0.5);
  animation-duration: 1s;
}

.nl-gen-progress.is-complete .nl-gen-progress-pulse {
  background: #00ff9d;
  animation: none;
}

.socila-playground-card .sample-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.nl-gen-progress-host {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 160px;
  padding: 0.75rem 0;
}

.seo-tools-output .nl-gen-progress-host {
  min-height: 200px;
}

.ui-result-preview.nl-gen-progress-host,
.ui-result-preview .nl-gen-progress-host {
  min-height: 220px;
}

html[data-theme="light"] .socila-page .nl-gen-progress {
  background: var(--nl-surface-2, #f4f6f8);
  border-color: var(--nl-border, rgba(0, 0, 0, 0.1));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .socila-page .nl-gen-progress-title {
  color: var(--nl-text, #1a1a1a);
}

html[data-theme="light"] .socila-page .nl-gen-progress-timer-label,
html[data-theme="light"] .socila-page .nl-gen-progress-hint {
  color: var(--nl-text-muted, #5c6670);
}

html[data-theme="light"] .socila-page .nl-gen-step {
  color: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .socila-page .nl-gen-step.is-active {
  color: var(--nl-text, #1a1a1a);
}

html[data-theme="light"] .socila-page .nl-gen-step.is-done {
  color: var(--nl-accent-strong, #00885f);
}

/* Sound Lab — same progress UI as social media studio */
.nl-sound-lab-page .suno-result .nl-gen-progress-host {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  padding: 0.75rem 0;
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-progress {
  background: var(--nl-surface-2, #f4f6f8);
  border-color: var(--nl-border, rgba(0, 0, 0, 0.1));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-progress-title {
  color: var(--nl-text, #1a1a1a);
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-progress-timer-label,
html[data-theme="light"] .nl-sound-lab-page .nl-gen-progress-hint {
  color: var(--nl-text-muted, #5c6670);
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-step {
  color: rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-step.is-active {
  color: var(--nl-text, #1a1a1a);
}

html[data-theme="light"] .nl-sound-lab-page .nl-gen-step.is-done {
  color: var(--nl-accent-strong, #00885f);
}
