/* Album list container with horizontal scroll and gradient fade */
.album-list-wrapper {
    position: relative;
    overflow: hidden;
}

.album-list {
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;

    /* Add padding to the right so content doesn't go under the gradient */
    padding-right: 3rem;

    /* Hide scrollbar for cleaner look (optional) */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.album-list::-webkit-scrollbar {
    display: none;
}

/* Gradient fade overlay on the right side */
.album-list-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 30%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none; /* Allow clicking through the gradient */*/
    z-index: 1;
}

/* Optional: Add a subtle fade on the left side when scrolled */
.album-list-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(
        to left,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    /*pointer-events: none;*/
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show left fade when scrolled */
.album-list-wrapper.scrolled::before {
    opacity: 1;
}
