:root {
    --card-bg: #fff;
    --border-color: #eee;
    --text-color: #333;
    --text-muted: #666;
    --hover-bg: #f8f9fa;
    --primary-color: #2196f3;
    --primary-dark: #1976d2;
}

/* Main content wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Widget sections */
.widget-section {
    margin-bottom: 2rem;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.widget-section .section-title {
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

/* Song list container */
.song-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-color);
}

/* Song item layout */
.song-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--card-bg);
    transition: background-color 0.2s;
}

.song-item:hover {
    background: var(--hover-bg);
}

.song-info {
    flex: 1;
    min-width: 0; /* Allows text truncation */
    padding-right: 1rem;
}

.song-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-meta {
    font-size: 0.9em;
    color: var(--text-muted);
}

.song-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
}

.action-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--hover-bg);
}

.action-btn.play {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-btn.play:hover {
    background: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .song-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .song-info {
        width: 100%;
        padding-right: 0;
    }

    .song-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        justify-content: center;
    }
} 