/* DJ S3 Bundle — Modern style (white background) */

/* Track table */
#dj-song-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
}

#dj-song-list-table th {
    padding: 10px 8px;
    color: #6b7280;
    font-weight: 600;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #e5e7eb;
}

#dj-song-list-table td {
    padding: 8px;
    vertical-align: middle;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

#dj-song-list-table tbody tr {
    transition: background .12s;
}

#dj-song-list-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.07);
}

/* Rank — masqué */
td.dj-rank,
th.dj-rank,
#dj-song-list-table th:first-child,
#dj-song-list-table td:first-child {
    display: none;
}

/* Artist & title — couleurs plus douces */
td.dj-artist {
    font-weight: 600;
    color: #374151;
}
td.dj-title {
    color: #6b7280;
}

/* Key badge */
td.dj-key {
    font-weight: 700;
    font-size: 12px;
    color: #4b5563;
}

/* BPM / Tempo */
td.dj-tempo {
    color: #9ca3af;
    font-size: 13px;
}

/* Play / Download buttons — icônes plus grandes */
.dj-play-download a {
    display: inline-block;
    margin: 0 3px;
    opacity: .82;
    transition: opacity .15s;
    vertical-align: middle;
}
.dj-play-download a img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain;
}
.dj-play-download a:hover {
    opacity: 1;
}

/* Download ZIP section */
.download-zip {
    margin-bottom: 16px;
}
.download-zip a {
    display: inline-block;
    transition: opacity .2s;
}
.download-zip a:hover {
    opacity: .85;
}

/* Loading overlay */
.dj-s3-loader {
    position: fixed;
    z-index: 9999;
    width: 300px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -60px;
    color: #1f2937;
    text-align: center;
    padding: 20px;
}
span.dj-s3-loader-close {
    display: block;
    text-align: right;
    cursor: pointer;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
    float: right;
}
.dj-s3-loader p {
    clear: both;
    font-size: 14px;
    color: #374151;
    margin: 0;
}

/* Progress bar */
.loader {
    position: absolute;
    width: 0;
    height: 3px;
    margin-top: 25px;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    animation: line 2s ease-out infinite;
}
@keyframes line {
    0%   { width: 0; opacity: 1; }
    100% { width: 200px; opacity: 0; }
}

@media (max-width: 575px) {
    .dj-s3-loader { width: 90%; left: 0; margin-left: 5%; }
}
