.spotify-player-container {
    position: fixed;
    bottom: -400px;
    left: 0;
    right: 0;
    height: 400px;
    background-color: #121212;
    color: #fff;
    z-index: 1000;
    transition: bottom 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.spotify-player-container.active {
    bottom: 0;
}

.spotify-player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #000;
    border-bottom: 1px solid #333;
}

.spotify-logo img {
    height: 30px;
}

.spotify-control-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.spotify-control-button:hover {
    background-color: rgba(255,255,255,0.1);
}

#spotify-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotify-status {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.spotify-login-button {
    background-color: #1DB954;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

.spotify-login-button i {
    margin-right: 10px;
    font-size: 20px;
}

.spotify-login-button:hover {
    background-color: #1ed760;
}

.spotify-track-info {
    display: flex;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.spotify-track-artwork {
    width: 120px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
}

.spotify-track-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.spotify-track-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.spotify-track-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.spotify-track-artist {
    font-size: 18px;
    color: #b3b3b3;
    margin-bottom: 5px;
}

.spotify-track-album {
    font-size: 14px;
    color: #b3b3b3;
}

.spotify-progress-container {
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

.spotify-progress-bar {
    width: 100%;
    height: 4px;
    background-color: #535353;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.spotify-progress {
    height: 100%;
    background-color: #1DB954;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.spotify-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #b3b3b3;
}

.spotify-controls-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.spotify-play-pause {
    width: 50px;
    height: 50px;
    font-size: 22px;
    background-color: #fff;
    color: #000;
    margin: 0 20px;
}

.spotify-play-pause:hover {
    transform: scale(1.05);
    background-color: #fff;
}

.spotify-play-button {
    background-color: #1DB954;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s ease;
}

.spotify-play-button:hover {
    background-color: #1ed760;
    transform: scale(1.05);
}

.spotify-play-button i {
    font-size: 16px;
}

.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.track-item .spotify-play-button {
    opacity: 0.7;
    transform: scale(0.9);
}

.track-item:hover .spotify-play-button {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .spotify-player-container {
        height: 500px;
        bottom: -500px;
    }
    
    .spotify-track-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .spotify-track-artwork {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .spotify-track-details {
        text-align: center;
    }
}
