/* FloatingRecordingBar after Stop (Phase 8d): Saving… → Saved · transcribing,
   or Saved on this Mac. The bar stays until the recording is safe. */
.floating-recording-bar.settling .floating-bar-waveform,
.floating-recording-bar.settling .floating-bar-stop-btn {
    display: none;
}

.floating-recording-bar.settling .floating-bar-compact {
    cursor: default;
}

.floating-bar-status {
    padding-right: 6px;
    color: #fff;
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

.floating-recording-bar[data-status="saving"] .recording-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    background: transparent;
    animation: floating-bar-spin 800ms linear infinite;
}

.floating-recording-bar[data-status="saved"] .recording-dot {
    width: auto;
    height: auto;
    background: none;
    animation: none;
}

.floating-recording-bar[data-status="saved"] .recording-dot::before {
    content: '✓';
    color: var(--color-green);
    font-size: var(--font-size-14);
    font-weight: 700;
}

.floating-recording-bar[data-status="queued"] .recording-dot {
    background: var(--color-amber);
    animation: none;
}

@keyframes floating-bar-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .floating-recording-bar[data-status="saving"] .recording-dot { animation: none; }
}

/* macOS ended the capture and it's being rebuilt (Phase 8d) */
.floating-recording-bar.reconnecting .floating-bar-waveform {
    display: none;
}

.floating-recording-bar.reconnecting .recording-dot {
    background: var(--color-amber);
    animation: none;
}

.floating-bar-reconnecting {
    color: #fff;
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}
