/* Jukebox App Styles Wrapper */
.jukebox-page-section {
    font-family: 'Poppins', sans-serif;
}
.jukebox-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: #111424; /* Dark violet/blue de l'image */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    min-height: 550px;
}

/* Left Pane (Design rayures) */
.jb-left-pane {
    width: 35%;
    position: relative;
    background: linear-gradient(135deg, var(--main-color, rgb(0, 58, 174)) 0%, rgba(0, 30, 100, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 30px;
    /* Motif Rayures ! */
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 5px, transparent 5px, transparent 10px), linear-gradient(135deg, var(--main-color, rgb(0, 58, 174)) 0%, rgba(0, 30, 100, 1) 100%); 
}
.jb-left-content {
    z-index: 2;
}
.jb-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.8;
}
.jb-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.jb-subtitle-bottom {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.8;
}

/* Right Pane */
.jb-right-pane {
    width: 65%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.jb-header {
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.jb-label {
    color: var(--main-color, rgb(0, 58, 174));
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.jb-album-title {
    color: #fff;
    font-size: 28px;
    margin-top: 5px;
    font-weight: 700;
}

/* Playlist */
.jb-playlist {
    flex: 1;
    overflow-y: auto;
    padding: 0 40px 100px 40px; /* Espace pour la barre de contrôle */
}
#jb-track-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jb-track-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}
.jb-track-item:hover, .jb-track-item.active {
    color: #fff;
    /* Petit effet de glissement au survol */
    padding-left: 10px; 
}
.jb-track-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    color: var(--main-color, rgb(0, 58, 174));
    opacity: 0;
    transition: opacity 0.2s ease;
}
.jb-track-item.active .jb-track-icon, .jb-track-item:hover .jb-track-icon {
    opacity: 1;
}
.jb-track-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}
.jb-track-duration {
    font-size: 13px;
    opacity: 0.7;
}

/* Player Bar */
.jb-player-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0b0d18;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid var(--main-color, rgb(0, 58, 174)); /* Liseré couleur principale */
}
.jb-player-info {
    width: 30%;
    color: #fff;
}
.jb-playing-label {
    display: block;
    font-size: 10px;
    opacity: 0.6;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
#jb-current-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.jb-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.jb-ctrl-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0;
    transition: color 0.2s ease;
}
.jb-ctrl-btn:hover {
    color: #fff;
}
.jb-play-circle {
    width: 40px;
    height: 40px;
    background: var(--main-color, rgb(0, 58, 174));
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 58, 174, 0.3);
}
.jb-play-circle svg {
    width: 20px;
    height: 20px;
}

.jb-progress-area {
    width: 35%;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}
.jb-progress-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}
.jb-progress-bar-wrap:hover {
    height: 6px;
}
.jb-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--main-color, rgb(0, 58, 174));
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    .jukebox-wrapper { flex-direction: column; }
    .jb-left-pane { width: 100%; padding: 50px 20px; }
    .jb-right-pane { width: 100%; height: 500px;}
    .jb-player-bar { flex-direction: column; gap: 15px; text-align: center; }
    .jb-player-info { width: 100%; }
    .jb-progress-area { width: 100%; }
}
