/* ======== PLAYER STYLES ======== */
#audio-player {
    position: relative;
    width: 220px;
    height: 60px;
}

.player-box {
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Buttons */
.audio-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background-color: #ffffff;
    color: #4b2e4c;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease;
}

.audio-btn:active {
    transform: scale(0.9);
}

/* Song title */
#song-title {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .player-box {
        padding: 8px 12px;
        border-radius: 14px;
        gap: 8px;
        font-size: 12px;
    }

    .audio-btn {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    #song-title {
        max-width: 100px;
        font-size: 12px;
    }
}

/* Inside player.css */
body {
    margin: 0;
    padding: 0;
    background: transparent; /* optional if you want it to blend */
    font-family: Arial, sans-serif; /* or your choice */
}

.player-box {
    display: flex;
    align-items: center;
    justify-content: space-between; /* spreads buttons and title nicely */
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(0,0,0,0.75);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
#song-title {
    max-width: 140px; /* more space for longer titles */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.85;
    font-weight: bold;
    text-align: center;
}
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* removes scrollbars */
    background: transparent; /* blends with parent page if needed */
}

