/* Buttons */
.btn {
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-hover);
    text-decoration: none;
}

.btn:visited {
    color: var(--text-inverse);
}

.btn.success {
    background: var(--success-color);
}

.btn.secondary {
    background: var(--secondary-color);
}

.btn.danger {
    background: var(--danger-color);
}

.btn.small {
    font-size: 0.9em;
}

.btn.center {
    text-align: center;
}

.btn.full-width {
    width: 100%;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--primary-color);
    color: var(--text-inverse);
    font-weight: bold;
}

tr:hover {
    background-color: var(--bg-secondary);
}

.rank {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--primary-color);
}

.song-title {
    font-weight: bold;
    color: var(--text-primary);
}

.artist-name {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.play-count {
    font-weight: bold;
    color: var(--primary-color);
}

/* Platform badges */
.platform-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
    margin-right: 5px;
}

.platform-badge.platform-twitch {
    background: var(--twitch-color);
}

.platform-badge.platform-kick {
    background: var(--kick-color);
    color: #000;
}

.platform-badge.platform-youtube {
    background: var(--youtube-color);
}

.platform-badge.platform-discord {
    background: var(--discord-color);
}

/* Platform Logos */
.platform-logo {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Version status badges */
.version-badge {
    padding: 4px 8px;
    color: white;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}

.version-badge.current {
    background: var(--success-color);
}

.version-badge.outdated {
    background: var(--danger-color);
}

.version-badge.unknown {
    background: var(--warning-color);
}

/* Utility classes */
.no-platforms {
    color: var(--text-secondary);
}

.discord-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.discord-badge {
    background: #5865f2;
    color: white;
}

/* Card components */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.card-body {
    /* Minimal styling - mostly inherits from .card */
}

/* Artist disambiguation */
.disambiguation-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.disambiguation-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg, var(--bg-secondary));
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.disambiguation-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.disambiguation-option .artist-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.disambiguation-option .artist-disambiguation {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-style: italic;
}

.disambiguation-option .artist-country {
    color: var(--text-tertiary, #999);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.disambiguation-option .song-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    min-width: 80px;
}

.disambiguation-option .song-count .count {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.disambiguation-option .song-count .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}