/* Styles pour le lecteur de podcast */
.podcast-player-container {
    margin: 2rem 0;
}

.podcast-player {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    border-left: 4px solid #0d7377;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.podcast-player:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.podcast-player .gradient-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0d7377, #ffd700);
}

.podcast-icon {
    background-color: #0d7377;
    color: white;
    border-radius: 50%;
    padding: 0.75rem;
    margin-right: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-play-button {
    background-color: #0d7377;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.podcast-play-button:hover {
    background-color: #0a5c5f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.speed-selector {
    display: flex;
    align-items: center;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
}

.speed-selector label {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.speed-selector select {
    background-color: transparent;
    border: none;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.speed-selector select:focus {
    box-shadow: none;
}

.info-icon-wrapper {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 5;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(243, 244, 246, 0.7);
    color: #9ca3af;
    font-size: 12px;
    cursor: help;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.info-icon:hover {
    background-color: #0d7377;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.info-tooltip {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute;
    opacity: 0;
}

.info-icon-wrapper:hover .info-tooltip {
    visibility: visible;
    width: auto;
    height: auto;
    overflow: visible;
    position: absolute;
    bottom: 30px;
    right: -10px;
    background-color: white;
    color: #6b7280;
    text-align: left;
    border-radius: 6px;
    padding: 6px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.6rem;
    line-height: 1.2;
    font-style: italic;
    opacity: 1;
    z-index: 100;
}

.info-icon-wrapper:hover .info-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 15px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.info-tooltip .font-medium {
    font-weight: 500;
    color: #0d7377;
    font-size: 0.6rem;
}

.hidden-audio {
    display: none;
}

/* Styles responsives */
@media (max-width: 768px) {
    .podcast-player {
        padding: 1rem;
    }
    
    .podcast-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .podcast-play-button {
        margin-bottom: 0.75rem;
    }
}
