/* Flowtune-inspired analysis modal — reskinned in Noctanotes' identity.
   Assumes design-system.css is loaded for :root custom properties. */

.progress-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(28, 27, 27, .45);
  z-index: 100; align-items: center; justify-content: center; padding: 24px;
}
.progress-modal-overlay.open { display: flex; }

.progress-modal {
  background: var(--panel); border: var(--border); border-radius: var(--radius-lg);
  max-width: 420px; width: 100%; padding: 44px 40px; text-align: center;
}

.progress-modal-icon {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.progress-modal-kicker {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

.progress-modal-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.progress-modal-sub {
  font-size: 13.5px; color: var(--ink-soft); margin-bottom: 26px; min-height: 18px;
}
.progress-modal-sub.error { color: var(--err); font-weight: 600; }

.progress-modal-bar-bg {
  height: 6px; background: var(--line); border-radius: 100px; overflow: hidden; margin-bottom: 10px;
}
.progress-modal-bar {
  height: 100%; background: var(--accent); border-radius: 100px; width: 0%;
  transition: width .4s ease;
}
.progress-modal-bar.error { background: var(--err); }

.progress-modal-pct {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 22px;
}

.progress-modal-file {
  display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: var(--panel-soft); border: var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: 12px; color: var(--ink-soft); font-family: var(--font-mono);
}
