.youtube-audio-player {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.yap-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.yap-video-container {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.yap-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
}

.yap-play-pause {
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}

.yap-play-pause:hover {
    background: #cc0000;
}

.yap-play-pause:active {
    transform: scale(0.95);
}

.yap-time {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

.yap-progress {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: height 0.2s;
}

.yap-progress:hover {
    height: 8px;
}

.yap-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #ff0000;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.yap-progress::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.yap-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #ff0000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.yap-progress::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.yap-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yap-volume-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.yap-volume-icon:hover {
    transform: scale(1.1);
}

.yap-volume {
    width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.yap-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #666;
    border-radius: 50%;
    cursor: pointer;
}

.yap-volume::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #666;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 600px) {
    .yap-controls {
        flex-wrap: wrap;
    }
    
    .yap-progress {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }
    
    .yap-volume {
        width: 60px;
    }
}
