/* Elementor Podcast Player Styles */

.epp-player {
    background-color: #1a1a2e;
    padding: 20px 25px;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.epp-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.epp-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Play/Pause Button */
.epp-play-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background-color: #6c5ce7;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.epp-play-btn:hover {
    background-color: #5b4cdb;
    transform: scale(1.05);
}

.epp-play-btn:active {
    transform: scale(0.98);
}

.epp-play-btn svg {
    fill: #ffffff;
    /* Iconen schalen mee met button grootte (40%) */
    width: 40%;
    height: 40%;
}

.epp-play-btn .epp-icon-play {
    margin-left: 8%; /* Visual centering for play icon */
}

/* Progress Wrapper */
.epp-progress-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Time Display */
.epp-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
}

.epp-separator {
    opacity: 0.5;
}

/* Progress Bar */
.epp-progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.epp-progress-fill {
    height: 100%;
    background-color: #6c5ce7;
    border-radius: 10px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.epp-progress-handle {
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.epp-player:hover .epp-progress-handle,
.epp-progress-bar:active .epp-progress-handle {
    opacity: 1;
}

/* Loading State */
.epp-player.epp-loading .epp-play-btn {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 480px) {
    .epp-player {
        padding: 15px 18px;
    }
    
    .epp-controls {
        gap: 15px;
    }
    
    .epp-time {
        font-size: 12px;
    }
}

/* Alternative Light Theme (add class .epp-light to player) */
.epp-player.epp-light {
    background-color: #f8f9fa;
}

.epp-player.epp-light .epp-title {
    color: #2d3436;
}

.epp-player.epp-light .epp-time {
    color: rgba(45, 52, 54, 0.7);
}

.epp-player.epp-light .epp-progress-bar {
    background-color: rgba(0, 0, 0, 0.1);
}
