/* Modal de Playlist Moderno */
.playlist-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.playlist-preview-modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.playlist-preview-modal.show .modal-content {
    transform: scale(1);
}

/* Header */
.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.playlist-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.playlist-details {
    flex: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.playlist-uploader {
    margin: 4px 0 0 0;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Body */
.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Stats */
.playlist-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Selection Controls */
.selection-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.select-all-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.select-all-checkbox {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
}

.select-all-checkbox:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.select-all-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.select-all-checkbox:indeterminate + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.select-all-checkbox:indeterminate + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 8px;
    height: 2px;
    background: white;
}

.select-all-text {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.selected-count {
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Tracks List */
.tracks-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    gap: 12px;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
}

.track-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.track-checkbox {
    display: none;
}

.track-checkbox + .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    background: white;
}

.track-checkbox:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.track-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.track-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    color: #718096;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 16px;
    flex-shrink: 0;
}

/* Footer */
.modal-footer {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(113, 128, 150, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(113, 128, 150, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(72, 187, 120, 0.3);
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(72, 187, 120, 0.4);
}

/* Scrollbar personalizada */
.tracks-list::-webkit-scrollbar {
    width: 6px;
}

.tracks-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.tracks-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.tracks-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Responsividade */
@media (max-width: 768px) {
    .playlist-preview-modal {
        padding: 10px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .playlist-icon {
        font-size: 2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .playlist-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .selection-controls {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .modal-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .track-item {
        padding: 12px;
        gap: 8px;
    }
    
    .track-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .track-title {
        font-size: 0.9rem;
    }
    
    .track-artist {
        font-size: 0.8rem;
    }
    
    .track-duration {
        font-size: 0.8rem;
        margin-left: 8px;
    }
}

/* Download Options */
.download-options {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-options p {
    margin: 0 0 16px 0;
    font-size: 1rem;
    color: #2d3748;
    text-align: center;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-buttons .btn {
    min-width: 180px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
}

/* Playlist Loading Text */
.playlist-loading-text {
    margin-top: 16px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #667eea;
    font-size: 0.95rem;
}

/* Playlist Counter */
.playlist-counter {
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: inline-block;
    min-width: 80px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.track-item {
    animation: fadeInUp 0.3s ease forwards;
}

.track-item:nth-child(1) { animation-delay: 0.1s; }
.track-item:nth-child(2) { animation-delay: 0.2s; }
.track-item:nth-child(3) { animation-delay: 0.3s; }
.track-item:nth-child(4) { animation-delay: 0.4s; }
.track-item:nth-child(5) { animation-delay: 0.5s; }
.track-item:nth-child(6) { animation-delay: 0.6s; }
.track-item:nth-child(7) { animation-delay: 0.7s; }
.track-item:nth-child(8) { animation-delay: 0.8s; }
.track-item:nth-child(9) { animation-delay: 0.9s; }
.track-item:nth-child(10) { animation-delay: 1.0s; }

/* Modal ZIP Moderno */
.modern-zip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modern-zip-modal.show {
    opacity: 1;
}

.modern-zip-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.modern-zip-modal.show .modern-zip-content {
    transform: scale(1) translateY(0);
}

/* Header do ZIP */
.zip-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.zip-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.zip-icon {
    margin-bottom: 20px;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.zip-header h2 {
    margin: 0 0 8px 0;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.zip-subtitle {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Stats do ZIP */
.zip-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.stat-card {
    background: white;
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Ações do ZIP */
.zip-actions {
    padding: 30px;
    background: white;
}

.modern-download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    min-height: 60px;
}

.modern-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.modern-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-download-btn svg {
    transition: transform 0.3s ease;
}

.modern-download-btn:hover svg {
    transform: translateY(-2px);
}

/* Responsividade do ZIP */
@media (max-width: 768px) {
    .modern-zip-modal {
        padding: 10px;
    }
    
    .modern-zip-content {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .zip-header {
        padding: 30px 20px;
    }
    
    .zip-header h2 {
        font-size: 1.75rem;
    }
    
    .zip-subtitle {
        font-size: 1rem;
    }
    
    .zip-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .zip-actions {
        padding: 20px;
    }
    
    .modern-download-btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-height: 50px;
    }
}

/* Modal de Download ZIP - Mesmo visual do playlist */
.zip-download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.zip-download-modal.show {
    opacity: 1;
}

.zip-download-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zip-download-modal.show .modal-content {
    transform: scale(1);
}

/* Header do ZIP */
.zip-download-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.zip-download-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.zip-download-modal .header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.zip-download-modal .playlist-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.zip-download-modal .playlist-details {
    flex: 1;
}

.zip-download-modal .modal-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.zip-download-modal .playlist-uploader {
    margin: 4px 0 0 0;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.zip-download-modal .close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.zip-download-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Body do ZIP */
.zip-download-modal .modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Stats do ZIP */
.zip-download-modal .playlist-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.zip-download-modal .stat-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.zip-download-modal .stat-item:hover {
    transform: translateY(-2px);
}

.zip-download-modal .stat-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.zip-download-modal .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.zip-download-modal .stat-label {
    font-size: 0.875rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Informações do arquivo ZIP */
.zip-file-info {
    margin-bottom: 24px;
}

.file-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.file-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.file-icon {
    color: #667eea;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 4px;
    word-break: break-all;
}

.file-size {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.file-format {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Preview das músicas */
.tracks-preview {
    margin-bottom: 20px;
}

.tracks-preview h4 {
    margin: 0 0 16px 0;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
}

.zip-download-modal .tracks-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
}

.zip-download-modal .track-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    gap: 12px;
}

.zip-download-modal .track-item:last-child {
    border-bottom: none;
}

.zip-download-modal .track-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
}

.zip-download-modal .track-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.zip-download-modal .track-info {
    flex: 1;
    min-width: 0;
}

.zip-download-modal .track-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zip-download-modal .track-artist {
    color: #718096;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zip-download-modal .track-duration {
    color: #a0aec0;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 12px;
    flex-shrink: 0;
}

.more-tracks {
    padding: 12px 16px;
    text-align: center;
    color: #718096;
    font-style: italic;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Footer do ZIP */
.zip-download-modal .modal-footer {
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
}

.zip-download-modal .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.zip-download-modal .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.zip-download-modal .btn-secondary {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(113, 128, 150, 0.3);
}

.zip-download-modal .btn-secondary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(113, 128, 150, 0.4);
}

.zip-download-modal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.zip-download-modal .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

/* Scrollbar personalizada para ZIP */
.zip-download-modal .tracks-list::-webkit-scrollbar {
    width: 6px;
}

.zip-download-modal .tracks-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.zip-download-modal .tracks-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.zip-download-modal .tracks-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Responsividade do ZIP */
@media (max-width: 768px) {
    .zip-download-modal {
        padding: 10px;
    }
    
    .zip-download-modal .modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .zip-download-modal .modal-header {
        padding: 20px;
    }
    
    .zip-download-modal .modal-title {
        font-size: 1.5rem;
    }
    
    .zip-download-modal .playlist-icon {
        font-size: 2rem;
    }
    
    .zip-download-modal .modal-body {
        padding: 20px;
    }
    
    .zip-download-modal .playlist-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .zip-download-modal .modal-footer {
        padding: 20px;
        flex-direction: column;
    }
    
    .zip-download-modal .btn {
        width: 100%;
        min-width: auto;
    }
    
    .zip-download-modal .track-item {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .zip-download-modal .track-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .zip-download-modal .track-title {
        font-size: 0.85rem;
    }
    
    .zip-download-modal .track-artist {
        font-size: 0.75rem;
    }
    
    .zip-download-modal .track-duration {
        font-size: 0.75rem;
        margin-left: 8px;
    }
}

/* Animações do ZIP */
@keyframes zipBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.zip-download-modal .playlist-icon {
    animation: zipBounce 2s infinite;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.zip-download-modal .stat-item:hover .stat-icon {
    animation: statPulse 0.6s ease;
}
