﻿.song-card {
    display: flex;
    align-items: center;
    margin: 15px 0;
    background-color: var(--card-bg);
    padding: 10px;
    border-radius: 10px;
}

    .song-card img {
        width: 80px;
        height: 80px;
        margin-right: 15px;
        border-radius: 8px;
    }

.song-info strong {
    font-size: 16px;
}

.song-info em {
    color: #aaa;
    font-size: 14px;
}


.cover-image:hover {
    cursor: pointer;
    box-shadow: 0 0 10px rgb(21, 1, 247);
}

.cover-image.playing {
    border: 3px solid var(--button-bg);
    border-radius: 10px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 var(--pulse-shadow);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px var(--pulse-shadow);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 var(--pulse-shadow);
    }
}

.darkmode-toggle {
    position: absolute;
    top: 15px;
    right: 20px;
    background-color: var(--button-bg);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#btnLyricsClose {
    position: absolute;
    top: 10px;
    right: 10px;
}


.lyrics-button {
    background-color: var(--button-bg);
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .lyrics-button:hover {
        background-color: var(--button-hover-bg);
        transform: translateY(-2px);
    }

    .lyrics-button::before {
        content: "📝";
    }


#lyricsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--container-bg);
    color: var(--text-color);
    padding: 30px 25px;
    border-radius: 15px;
    max-width: 650px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

#modalTitle {
    margin-top: 0;
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

#modalLyrics {
    white-space: pre-wrap;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

#btnLyricsClose {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
}

    #btnLyricsClose:hover {
        color: red;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.lyrics-button-container {
    margin-left: auto;
    margin-right: 10px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.lyrics-button-compact {
    background-color: var(--button-bg);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    width: 70px;
    height: 70px;
    line-height: 1.2;
    white-space: normal;
    transition: background-color 0.3s, transform 0.2s;
}

    .lyrics-button-compact:hover {
        background-color: var(--button-hover-bg);
        transform: translateY(-2px);
    }


