/* Custom Plyr styles for podcast/audio player */
.plyr--audio .plyr__controls {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #e1e5e9;
}

.plyr--audio .plyr__control {
    color: #2c3e50;
    transition: all 0.2s ease;
}

.plyr--audio .plyr__control:hover {
    background: #f8f9fa;
    color: #00b3ff;
    transform: scale(1.05);
}

.plyr--audio .plyr__control.plyr__tab-focus {
    background: #00b3ff;
    color: white;
}

/* Progress bar */
.plyr--audio .plyr__progress__buffer {
    color: #e1e5e9;
}

.plyr--audio .plyr__progress__container {
    margin: 15px 0;
}

.plyr--audio .plyr__progress input[type='range']::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #00b3ff var(--value, 0%), #e1e5e9 var(--value, 0%));
    height: 6px;
    border-radius: 3px;
}

.plyr--audio .plyr__progress input[type='range']::-webkit-slider-thumb {
    background: #00b3ff;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 179, 255, 0.3);
    height: 18px;
    width: 18px;
}

/* Time display */
.plyr__time {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

/* Volume control */
.plyr--audio .plyr__volume input[type='range']::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #00b3ff var(--value, 0%), #e1e5e9 var(--value, 0%));
    height: 4px;
    border-radius: 2px;
}

/* Player container with episode info */
.audio-player-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.audio-player-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.audio-player-info {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.audio-player-episode {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.audio-player-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.audio-player-show {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

.audio-player-controls {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

/* Custom play button */
.plyr__control--overlaid {
    background: #00b3ff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 179, 255, 0.4);
    transition: all 0.3s ease;
}

.plyr__control--overlaid:hover {
    background: #0099cc;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 179, 255, 0.5);
}

.plyr__control--overlaid svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive design */
@media (max-width: 768px) {
    .audio-player-container {
        padding: 20px;
        margin: 15px 0;
    }
    
    .audio-player-title {
        font-size: 20px;
    }
    
    .audio-player-show {
        font-size: 14px;
    }
    
    .plyr--audio .plyr__controls {
        padding: 15px;
    }
}

/* Animation for play state */
.plyr--playing .plyr__controls {
    box-shadow: 0 4px 25px rgba(0, 179, 255, 0.15);
}

/* Custom icons size */
.plyr__control svg {
    width: 20px;
    height: 20px;
}

.plyr__control--overlaid svg {
    width: 24px;
    height: 24px;
}