/* General reset and styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0a1930; /* Sets the background of the page */
    color: #fff; /* Sets default text color to white for better contrast */
    font-family: Arial, sans-serif; /* Optional: Set a default font */
}

.slider_image_wrapper {
    position: relative;
    width: 85%;
    max-width: 85vw;
    margin: 0 auto;
    overflow: hidden;
}

.slider_image_container {
    position: relative;
    width: 100%;
}

.slider_image_before,
.slider_image_after {
    width: 100%;
    height: auto;
    display: block;
}

.slider_image_after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: inset(0 50% 0 0);
    will-change: clip-path;
}

.slider_controls {
    margin-top: 10px;
    text-align: center;
    width: 95%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.slider_input {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    background: repeating-linear-gradient(
        45deg,
        #555, /* Dark grey */
        #555 10px,
        #333 10px,
        #333 20px
    ); /* Creates a patterned background */
    height: 16px;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 0;
}

/* Style for the thumb (circle) */
.slider_input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background-color: rgba(128, 128, 128, 0.5); /* Translucent grey */
    border: 3px solid #000000; /* Darker border for contrast */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); /* Optional shadow for better visibility */
}

.slider_input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background-color: rgba(128, 128, 128, 0.8); /* Translucent grey */
    border: 3px solid #000000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.slider_input::-ms-thumb {
    width: 25px;
    height: 25px;
    background-color: rgba(128, 128, 128, 0.8); /* Translucent grey */
    border: 3px solid #000000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .slider_input::-webkit-slider-thumb {
        width: 15px;
        height: 15px;
    }

    .slider_image_wrapper {
        width: 90%;
    }

    .slider_controls {
        width: 100%;
    }
}

.upload_buttons {
    margin-top: 20px;
    text-align: center;
}

.upload_buttons input {
    margin: 10px 0;
}
