.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: white;
    padding: 4px 12px;      /* reduced top/bottom padding */
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    min-height: 36px;       /* ensure a minimal, shorter height */
    background: rgba(34, 34, 34, 0.4);  /* 0.7 = 70% opaque, increase/decrease for more/less transparency */
}

.controls {
    display: flex;
    align-items: center;
    margin-right: 10px;     /* less margin */
    flex-shrink: 0;
}

.track-info {
    flex: 0 1 140px;         /* less wide */
    margin-left: 6px;        /* less margin */
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    min-width: 100px;
}

.track-title {
    font-size: 13px;         /* a little smaller */
    margin: 0 0 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 11px;         /* smaller font */
    margin: 0 0 1px 0;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-indicator {
    font-size: 10px;         /* smaller */
    opacity: 0.7;
    margin: 0;
    white-space: nowrap;
}

.audio-controls {
    flex: 1;
    min-width: 220px;        /* less than before */
    display: flex;
    align-items: center;
    gap: 7px;                /* smaller gap */
}

.time-display {
    font-size: 10px;
    min-width: 40px;
    text-align: right;
}

.progress-container {
    flex: 1;
    height: 6px;        /* less height */
    background: #444;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 60px;    /* less width */
}

.volume-slider {
    flex: 1;
    height: 6px;        /* less height */
    background: #444;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

/* Thumb size for range inputs */
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;        /* smaller thumb */
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

audio {
    display: none; /* Hide the native audio element */
}

.nav-btn,
.play-btn {
    all: unset !important;           /* This is the nuclear option */

    /* Re-apply only what you want */
    background: #4CAF50 !important;
    color: white !important;
    width: 32px !important;          /* slightly bigger for comfort */
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    margin: 0 5px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: 0 0 10px 3px #4CAF50 !important;
    box-sizing: border-box !important;
}

/* Disabled */
.nav-btn:disabled,
.play-btn:disabled {
    background: #666 !important;
    box-shadow: 0 0 8px 2px #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Focus / Active */
.nav-btn:focus,
.play-btn:focus,
.nav-btn:active,
.play-btn:active {
    outline: 0 !important;
    box-shadow: 0 0 14px 5px #4CAF50 !important;
}

.audio-player {
    transition: opacity 0.4s ease-in-out;
    /* Make sure it has position fixed or sticky already */
}