/* Podcast Manager Pro - Frontend Styles */

.pmp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pmp-header {
    background: linear-gradient(135deg, #8B5A9F 0%, #A569BD 100%);
    color: white;
    padding: 40px;
    border-radius: 0px;
    margin-bottom: 30px;
    text-align: center;
}

.pmp-header h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.pmp-header p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
}

.back-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Grille des éditions */
.pmp-editions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.pmp-edition-card {
    background: white;
    border-radius: 0px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(139, 90, 159, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pmp-edition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 90, 159, 0.2);
    border-color: #8B5A9F;
}

.pmp-edition-card h2 {
    color: #8B5A9F;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.pmp-edition-card > p {
    color: #A569BD;
    font-size: 1rem;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.pmp-preview {
    font-size: 0.9rem;
    color: #666;
}

.pmp-preview-item {
    margin-bottom: 5px;
    line-height: 1.4;
}

.pmp-preview-more {
    color: #8B5A9F;
    font-weight: 500;
    margin-top: 8px;
}

/* Cards de podcasts */
.pmp-card {
    background: white;
    border-radius: 0px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(139, 90, 159, 0.1);
    transition: all 0.3s ease;
}

.pmp-card:hover {
    box-shadow: 0 8px 25px rgba(139, 90, 159, 0.15);
}

.pmp-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pmp-speakers-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.pmp-speaker-image {
    width: 80px;
    height: 80px;
    border-radius: 0px;
    overflow: hidden;
}

.pmp-speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmp-play-button-mini {
    background: linear-gradient(135deg, #8B5A9F 0%, #A569BD 100%);
    color: white;
    border: none;
    border-radius: 0px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 10px auto 0 auto;
    box-shadow: 0 2px 8px rgba(139, 90, 159, 0.3);
    display: none; /* Masquer le bouton play car il fait doublon */
}
.pmp-info {
    flex: 1;
}

.pmp-speaker-info {
    margin-bottom: 15px;
}

.pmp-speaker-info h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.pmp-speaker-title {
    color: #8B5A9F;
    font-style: italic;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.pmp-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.pmp-podcast-title {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

/* Lecteur audio */
.pmp-audio-player {
    background: linear-gradient(135deg, #8B5A9F 0%, #A569BD 100%);
    border-radius: 0px;
    padding: 15px;
    margin-top: 20px;
    color: white;
    display: block; /* Toujours visible */
}

.pmp-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pmp-play-pause-btn {
    background: transparent;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
    outline: none;
    box-shadow: none;
}

.pmp-play-pause-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.pmp-play-pause-btn:focus {
    outline: none;
    box-shadow: none;
}

.pmp-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pmp-time-display,
.pmp-duration-display {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 45px;
}

.pmp-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    cursor: pointer;
    position: relative;
}

.pmp-progress-fill {
    height: 100%;
    background: white;
    border-radius: 0px;
    width: 0%;
    transition: width 0.1s ease;
}

.pmp-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pmp-volume-icon {
    font-size: 1.1rem;
}

.pmp-volume-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    cursor: pointer;
    position: relative;
}

.pmp-volume-fill {
    height: 100%;
    background: white;
    border-radius: 0px;
    width: 75%;
}

/* Responsive */
@media (max-width: 768px) {
    .pmp-container {
        padding: 15px;
    }
    
    .pmp-header {
        padding: 25px 20px;
    }
    
    .pmp-header h1 {
        font-size: 2.2rem;
    }
    
    .pmp-editions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pmp-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .pmp-speakers-images {
        flex-direction: row;
        justify-content: center;
    }
    
    .pmp-player-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pmp-progress-container {
        order: 3;
        width: 100%;
    }
    
    .pmp-volume-container {
        order: 2;
    }
}

@media (max-width: 480px) {
    .pmp-header h1 {
        font-size: 1.8rem;
    }
    
    .pmp-card {
        padding: 20px;
    }
    
    .pmp-speaker-info h3 {
        font-size: 1.1rem;
    }
    
    .pmp-audio-player {
        padding: 15px;
    }
}