    *::-webkit-scrollbar-track {
        border-radius: 5px;
        background-color: #242424;
        opacity: 0;
    }

    *::-webkit-scrollbar {
        width: 5px;
        background-color: #242424;
        opacity: 0;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #F5F5F5;
        border-radius: 5px;
    }

    body {
        font-family: "Space Mono", monospace;
        min-height: 80vh;
        position: relative;
        overflow: hidden;
    }

    h1 {
        color: #f0f0f0;
        font-size: 30px;
    }

    p {
        color: #f0f0f0;
        font-size: 20px;
        text-align: center;
    }

    .item {
        position: absolute;
        width: 200px;
        height: 100px;
        background: #242424;
        color: #fff;
        overflow: auto;
        /* Enable scrolling */
        border-radius: 12px;
        touch-action: none;
        user-select: none;
        top: 150px;
        left: 150px;
        opacity: 0.7;

        /* Hide the scrollbar */
        scrollbar-width: none;
        /* For Firefox */
        -ms-overflow-style: none;
        /* For Internet Explorer and Edge */
    }

    .item-content {
        text-align: center;
    }

    .item::-webkit-scrollbar {
        display: none;
        /* For Chrome, Safari, and Opera */
    }

    .slider {
        -webkit-appearance: none;
        margin: 0;
        width: 100%;
        height: 25px;
        background: #d3d3d3;
        outline: none;
        opacity: 0.7;
        -webkit-transition: .2s;
        transition: opacity .2s;
    }

    .slider:hover {
        opacity: 1;
    }

/* Make slider thumb a circle */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #360758;
    cursor: pointer;
    border-radius: 50%; /* <-- Make it a circle */
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #360758;
    cursor: pointer;
    border-radius: 50%; /* <-- Make it a circle */
}


    #opacityRange {
        border-radius: 20px;
        pointer-events: auto;
        width: 75%
            /* Ensure the slider can handle its own events */
    }

    #mydivheader {
        display: none;
        padding: 10px;
        cursor: move;
        z-index: 10;
        background-color: rgb(54, 7, 88);
        color: #fff;
        text-align: center;
        font-size: 25px;
        font-weight: bold;
    }

    input {
        position: relative;
        display: inline-block;
        font-size: 20px;
        box-sizing: border-box;
        transition: all 0.5s;
    }

    input[type="text"] {
        margin-bottom: 15px;
        background: #d3d3d344;
        width: 75%;
        height: 35px;
        border: none;
        outline: none;
        padding: 0 25px;
        border-radius: 10px 10px 10px 10px;
    }

    #settings {
        text-align: center;
        display: block;
        /* Ensure it's block for height calculation */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        background-color: #131313;
        margin-bottom: 15px;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        border-radius: 20px;
          box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    }

    #settings.open {
        max-height: 700px;
        /* Adjust this value based on the content height */
    }

    .settings-icon {
        position: absolute;
        top: 13px;
        left: 5px;
        background-color: transparent;
        border: none;
        color: white;
        font-size: 25px;
        cursor: pointer;
        z-index: 11;
        /* Ensure it appears above other elements */
    }



    .settings-icon:hover {
        color: #d3d3d3;
        /* Change color on hover */
    }

    .reload-icon {
        position: absolute;
        top: 13px;
        right: 5px;
        background-color: transparent;
        border: none;
        color: white;
        font-size: 25px;
        cursor: pointer;
        z-index: 11;
        /* Ensure it appears above other elements */
    }

    .progress {
        height: 200px;
    }

    .progress>svg {
        height: 100%;
        display: block;
    }



/* Custom select field styling */
.custom-select {
    position: relative;
    display: inline-block;
    width: 75%;
    font-size: 20px;
    color: #fff;
    background: #d3d3d344;
    border-radius: 10px;
    border: none;
    outline: none;
    padding: 10px 40px 10px 20px;
    margin-bottom: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
}

/* Dropdown arrow */
.custom-select::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
    transform: translateY(-50%);
}

/* Dropdown options styling */
.custom-select option {
    background: #131313;
    color: #fff;
    border-radius: 0;
    font-size: 18px;
}

/* Focus and hover states */
.custom-select:focus, .custom-select:hover {
    background: #360758;
    color: #fff;
    outline: none;
}

/* Remove default arrow for Chrome */
select.custom-select::-ms-expand {
    display: none;
}

.icon-btn {
    background: #360758;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 8px;
}
.icon-btn:hover {
    background: #4e0ca6;
}

#bxp_list li {
    width: 80%;
    margin: 2px auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* optional: puts button at the end */
    padding: 4px 0;
}

/* Optional: style the delete button */
.delete-button {
    margin-left: 12px;
    background: #360758;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.delete-button:hover {
    background: #4e0ca6;
}

#clearAllButton {
    margin-bottom: 10px;
    background: #a80000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px 8px 14px;
    font-size: 18px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
    margin-top: 10px;
}
#clearAllButton i {
    font-size: 20px;
}
#clearAllButton:hover {
    background: #d32f2f;
    color: #fff;
}