/* audio.css*/
/* player */
.audio-player-container {
    /*position: fixed; */
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.now-playing {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-left: var(--spacing-md);
    color: var(--color-text-light);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*control volume logic*/

.volume-control {
    margin-left: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    -webkit-appearance: none;
    width: 100px;
    height: 4px;
    background: var(--color-border);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-text);
    cursor: pointer;
    border-radius: 0;
    /* Square aesthetic */
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--color-text);
    cursor: pointer;
    border: none;
    border-radius: 0;
}