/* scrollbars.css */
/* Custom scrollbar styling for specified elements (WebKit and Firefox) */

/* Scrollbar styling for #controlsContent (scrollable area within main controls panel) */
/* For WebKit browsers (Chrome, Safari, Edge Chromium) */
#controlsContent::-webkit-scrollbar {
    width: 7px; /* Width of the vertical scrollbar */
    height: 7px; /* Height of the horizontal scrollbar (if it appears) */
}

#controlsContent::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.020); /* Very subtle track background */
    border-radius: 7px; /* Rounded track */
    margin: 2.5px 0; /* Margin around the track */
}

#controlsContent::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.12); /* Color of the scrollbar thumb */
    border-radius: 7px; /* Rounded thumb */
    border: 2px solid transparent; /* Creates padding around thumb, making it appear thinner */
    background-clip: content-box; /* Ensures border doesn't make thumb thicker */
}

#controlsContent::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.25); /* Darker thumb on hover */
}

/* For Firefox */
#controlsContent {
    scrollbar-width: thin; /* "thin" or "auto" or "none" */
    scrollbar-color: rgba(255, 255, 255, 0.12) rgba(255, 255, 255, 0.020); /* thumb_color track_color */
}


/* Scrollbar styling for .modal-body (scrollable area within modals) */
/* For WebKit browsers */
.modal-body::-webkit-scrollbar {
    width: 7px; /* Slightly thinner scrollbar for modals */
    height: 7px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.025); /* Slightly different track for modals if desired */
    border-radius: 7px;
    margin: 2.5px 0;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.13); /* Slightly different thumb for modals */
    border-radius: 7px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.28); /* Darker thumb on hover for modals */
}

/* For Firefox */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.13) rgba(255, 255, 255, 0.025); /* thumb_color track_color for modals */
}
