.music-player-container {
    max-width: 100%;
    margin: 0;
}

.music-track {
    position: relative;
    margin-bottom: 50px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.track-main {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.track-cover {
    width: 80px;
    height: 80px;
    border-radius: 0px;
    overflow: visible;
    flex-shrink: 0;
    position: relative;
}

.track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.track-cover .vinile {
    width: 76px;
    height: 76px;
    background-color: black;
    background-image: url(../../assets/images/bg_vinile.png);
    position: absolute;
    top: 2px;
    left: 24px;
    border-radius: 50%;
    z-index: 0;
    transition: all .5s ease-in-out;
}

.track-cover.playing .vinile {
    left: 45px;
    animation: rotate 2s linear infinite;
}

.track-cover.playing .vinile .foro {
    width: 14px;
    height: 14px;
    background-color: #F8F9FA;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin-top: -7px;
    margin-left: -7px;
    border-radius: 50%;
}

.track-cover .vinile img {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    margin-top: -25px;
    margin-left: -25px;
    border-radius: 50%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.default-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--e-global-color-primary, #6200EE), #03DAC6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.waveform-container {
    flex: 1;
}

.waveform {
    width: 100%;
    height: 50px;
    cursor: pointer;
    min-height: 40px;
    display: block !important;
    visibility: visible !important;
}

.track-controls-wrapper {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 25px;
    padding: 6px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-controls-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-controls button {
    background: var(--e-global-color-primary, #6200EE);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.track-controls button:hover {
    transform: scale(1.1);
}

.track-controls button svg {
    width: 12px !important;
    height: 12px !important;
    color: var(--e-global-color-text, #333) !important;
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-btn {
    background: transparent !important;
    border: none;
    padding: 0 5px !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-btn svg {
    width: 20px !important;
    height: 20px !important;
    color: var(--e-global-color-text, #333) !important;
}

.time-display {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
}

@media (max-width: 768px) {
    .music-track {
        margin-bottom: 20px;
    }
    
    .track-main {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
    
    .waveform {
        height: 40px !important;
        min-height: 40px !important;
        width: 100% !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .waveform-container {
        width: 100%;
        min-height: 40px;
    }
    
    .track-controls-wrapper {
        position: static;
        transform: none;
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .track-controls-title {
        max-width: 120px;
        font-size: 12px;
    }
}