/* Minimalist Player Overrides */
.fs-progress-container {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
}

.fs-time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 2px;
    font-family: 'Inter', sans-serif;
    margin-top: -2px;
}

/* Reset range input */
input[type=range].minimal-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    margin: 0;
    height: 20px;
    /* Touch target height */
    position: relative;
    outline: none;
}

/* Track Styling */
input[type=range].minimal-progress::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    /* Gradient mask for progress fill */
    background-image: linear-gradient(#ffffff, #ffffff);
    background-size: var(--val, 0%) 100%;
    background-repeat: no-repeat;
}

input[type=range].minimal-progress::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
}

input[type=range].minimal-progress::-moz-range-progress {
    height: 2px;
    background-color: #ffffff;
    border-radius: 9999px;
}

/* Thumb Styling */
input[type=range].minimal-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -5px;
    /* (12px thumb - 2px track) / 2 * -1 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    transition: transform 0.1s;
}

input[type=range].minimal-progress:active::-webkit-slider-thumb {
    transform: scale(1.3);
}

input[type=range].minimal-progress::-moz-range-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s;
}

input[type=range].minimal-progress:active::-moz-range-thumb {
    transform: scale(1.3);
}

/* Controls Container */
.fs-controls-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin-top: 10px;
}

/* Secondary Buttons (Shuffle, Prev, Next, Repeat) */
.btn-control {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* larger touch target */
    opacity: 1;
    transition: all 0.2s ease;
}

.btn-control:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.btn-control:active {
    transform: scale(0.95);
}

.btn-control svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

/* Play/Pause Main Button */
.btn-play-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-play-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-play-circle:active {
    transform: scale(0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Play Icon adjustments within the circle */
.btn-play-circle svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    stroke: currentColor;
    /* Center the play icon visually as it usually looks off-center */
    margin-left: 4px;
}

/* Correct margin for pause icon */
.btn-play-circle svg[data-lucide="pause"] {
    margin-left: 0;
    fill: currentColor;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 480px) {
    .fs-controls-main {
        justify-content: space-between;
        padding: 0;
    }

    .btn-play-circle {
        width: 64px;
        height: 64px;
    }

    .btn-control svg {
        width: 24px;
        height: 24px;
    }

    .btn-control {
        padding: 8px;
    }
}