/**
 * Val9ja Optimized Audio Player - Lightweight CSS
 * Reduced size, essential styles only
 */

.val9ja-lazy-audio-player {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #222;
    position: relative;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.play-btn {
    background: #f04;
    border: 2px solid #f04;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.play-btn svg {
    transition: opacity 0.2s ease;
}

.play-btn:hover {
    color: #f04;
    background: #fff;
    border-color: #f04;
}

.audio-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-time {
    display: flex;
    gap: 5px;
    font-size: 12px;
    color: #222;
    font-family: monospace;
}

.audio-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.repeat-btn {
    background: none;
    border: none;
    color: #222;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.repeat-btn:hover,
.repeat-btn.active {
    color: #f04;
    background: transparent;
    transform: scale(1.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-icon {
    color: #222;
}

.repeat-btn svg,
.volume-icon {
    transition: color 0.2s ease;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f04;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f04;
    cursor: pointer;
    border: none;
}

.progress-bar {
    background: #444;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    margin-top: 8px;
}

.progress-fill {
    background: #f04;
    height: 100%;
    border-radius: 2px;
    width: 0;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    display: none;
}

.val9ja-download-section {
    margin: 15px 0;
    text-align: center;
}

.val9ja-download-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .val9ja-lazy-audio-player {
        padding: 12px;
    }
    
    .audio-controls {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
    }
    
    .play-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .song-title {
        font-size: 14px;
    }
    
}