#spotify-song-card-container {
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spotify-song-card {
    display: flex;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #c6d0e9;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    gap: 16px;
    transition: transform 0.2s ease;
    position: relative;
}

.spotify-song-card:hover {
    transform: translateY(-1px);
}

.spotify-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border: none;
    background-color: rgba(0, 0, 0, 0.05);
    color: #495057;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    z-index: 10;
    padding: 0;
}

.spotify-close-btn:hover {
    background-color: rgba(201, 42, 42, 0.1);
    color: #c92a2a;
}

.spotify-loading-card,
.spotify-error-card {
    min-height: 80px;
    align-items: center;
    justify-content: center;
}

.spotify-song-thumbnail {
    flex-shrink: 0;
}

.spotify-song-thumbnail img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.spotify-song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.spotify-song-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spotify-song-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #191414;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotify-explicit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #191414;
    color: #fff;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.spotify-song-artist {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    font-weight: 500;
}

.spotify-song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    font-size: 13px;
    align-items: center;
}

.spotify-meta-item {
    color: #868e96;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

.spotify-meta-item strong {
    color: #495057;
    margin-right: 4px;
    font-weight: 600;
}

.spotify-meta-item:not(:last-child)::after {
    content: '•';
    margin-left: 12px;
    color: #dee2e6;
    font-weight: normal;
}

.spotify-loading {
    padding: 12px;
    text-align: center;
    color: #868e96;
    font-size: 12px;
    font-weight: 500;
}

.spotify-error {
    padding: 12px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border: none;
    border-radius: 8px;
    color: #c92a2a;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .spotify-song-card {
        padding: 12px;
        gap: 12px;
    }
    
    .spotify-song-thumbnail img {
        width: 80px;
        height: 80px;
    }
    
    .spotify-song-title {
        font-size: 16px;
    }
    
    .spotify-song-artist {
        font-size: 13px;
    }
    
    .spotify-song-meta {
        font-size: 12px;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .spotify-song-card {
        flex-direction: row;
        padding: 10px;
    }
    
    .spotify-song-thumbnail img {
        width: 70px;
        height: 70px;
    }
    
    .spotify-song-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .spotify-meta-item:not(:last-child)::after {
        display: none;
    }
}

