/* Custom Scrollbar for elegance */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FBFBFA;
}
::-webkit-scrollbar-thumb {
    background: #C7C5C0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8C8984;
}

/* Fix webkit autofill styling for dark mode forms */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #1A1918 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Form selection highlights */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Disable text selection globally */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standard */
}

/* Safely re-enable text selection for form fields */
input, textarea, select {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}