.main-content {
    padding: 20px 0;
}

/* Style des cartes de playlist */
.playlist-card-link {
    text-decoration: none;
    color: var(--text-muted-sn);
    display: block;
    height: 100%;
    background: var(--text-muted-sn);
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.playlist-card-link:hover {
    transform: translateY(-5px);
    background: var(--text-muted-sn);
}

.playlist-card-image {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    aspect-ratio: 1;
}

.playlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.playlist-card-link:hover .playlist-card-image img {
    transform: scale(1.05);
}

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-card-link:hover .playlist-overlay {
    opacity: 1;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.btn-play:hover {
    transform: scale(1.1);
    background-color: #f8f9fa;
}

.playlist-card-content {
    padding: 15px;
}

.playlist-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-card-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Style de l'en-tête de playlist détaillée */
.playlist-header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 2rem;
}

.playlist-cover {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-info {
    padding: 20px 0;
}

.playlist-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-type i {
    font-size: 1.1rem;
}

.playlist-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
    color: white;
    line-height: 1.2;
}

.playlist-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.playlist-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.playlist-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Style des actions de playlist */
.playlist-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn-play-all {
    padding: 12px 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: #fff;
    color: #000;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-play-all:hover {
    transform: scale(1.05);
    background: #f8f9fa;
}

.btn-outline-secondary {
    padding: 12px 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.track-cover {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.track-title {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 3px;
}

.track-title:hover {
    color: rgba(255, 255, 255, 0.8);
}

.artist-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.artist-link:hover {
    color: white;
}

.track-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.track-actions .btn-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-actions .btn-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .playlist-header {
        padding: 20px;
    }

    .playlist-info h1 {
        font-size: 2rem;
    }

    .playlist-cover {
        margin-bottom: 20px;
    }

    .playlist-description {
        font-size: 1rem;
    }

    .table-tracks {
        font-size: 0.9rem;
    }

    .track-actions {
        gap: 10px;
    }

    .track-actions .btn-link {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .playlist-header {
        padding: 15px;
    }

    .playlist-info h1 {
        font-size: 1.5rem;
    }

    .playlist-meta {
        flex-wrap: wrap;
    }

    .playlist-actions {
        flex-direction: column;
    }

    .btn-play-all, 
    .btn-outline-secondary {
        width: 100%;
        justify-content: center;
    }

    .track-cover {
        width: 35px;
        height: 35px;
    }

    .track-actions {
        flex-direction: column;
        gap: 5px;
    }

    .table-tracks th:nth-child(4),
    .table-tracks td:nth-child(4) {
        display: none;
    }
}
