.search-result {
    margin-top: 10px;
    text-align: center;
    grid-column: 1 / -1;
    padding: 30px 20px;
}
.search-result p { color: #FF4500; margin-bottom: 12px; font-size: 18px; }

.song-count {
    grid-column: 1 / -1;
    text-align: center;
    color: #98c379;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 8px 16px;
    background-color: rgba(45, 92, 77, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(152, 195, 121, 0.2);
}

.favorite-indicator {
    grid-column: 1 / -1;
    text-align: center;
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.artist-search-indicator {
    grid-column: 1 / -1;
    text-align: center;
    color: #98c379;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 10px;
    background-color: #2d5c4d;
    border-radius: 5px;
    border: 1px solid rgba(152, 195, 121, 0.3);
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6d757b;
}
.loading-state::after {
    content: ''; display: inline-block;
    width: 20px; height: 20px;
    border: 2px solid #61afef; border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    color: #cc6666;
    padding: 30px 20px;
    background-color: rgba(204, 102, 102, 0.1);
    border-radius: 8px;
    border: 1px solid #cc6666;
    margin: 10px 0;
}
.error-message button {
    margin-top: 15px; padding: 10px 20px;
    background: #61afef; color: white;
    border: none; border-radius: 6px; cursor: pointer;
    font-size: 14px;
}
.error-message button:hover { background: #4a9de0; }

/* Utility Classes */
.hidden { display: none !important; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* IMPROVE ANTI-ALIASING */
#chordCanvas {
    image-rendering: auto; 
    image-rendering: high-quality;
}