/* Minimal custom CSS for complex components that need it */
/* Progress bar custom styling */
.sw-progress-bar {
    position: relative;
    height: 6px;
    background: #333333;
    border-radius: 9999px;
    cursor: pointer;
    overflow: hidden;
}
.sw-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
    border-radius: 9999px;
    transition: width 0.1s ease;
    width: 0%;
}
.sw-progress-handle {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    border-radius: 9999px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    left: 0%;
}
.sw-progress-bar:hover .sw-progress-handle {
    opacity: 1;
}

/* Modal backdrop */
.sw-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}
.sw-modal.active {
    display: flex;
}

/* Loading spinner */
.sw-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #333333;
    border-radius: 9999px;
    border-top-color: #ff6b6b;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom scrollbar */
.sw-custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.sw-custom-scrollbar::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.sw-custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 9999px;
}
.sw-custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

/* Active nav item styling */
.sw-nav-item.active {
    color: #ff6b6b;
}
.sw-nav-item.active i {
    transform: scale(1.1);
}

/* Music icon animation - only when playing */
#swAlbumArt.is-playing i.fa-music {
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

