/* static/ios/playPending.css */

/* ── Spinner (used in artwork overlay if ever needed) ── */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

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

/* ── Row-level loading state: fade the whole row, block interaction ── */
.song-row--loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Spinning indicator inside the artwork slot when loading */
.song-row--loading .song-row-art::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Row-level error state ── */
.song-row--error {
    opacity: 0.65;
    transition: opacity 0.15s ease;
}

/* Error badge pills (network / server) — styled inline via Tailwind classes in HTML */

/* ── Network error pulse on the badge ── */
.song-row--error .error-badge--network {
    animation: pulse-badge 1.2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* ── Dead CSS cleanup: old overlay classes removed ── */