.custom-scrollbar::-webkit-scrollbar, 
textarea::-webkit-scrollbar, 
input::-webkit-scrollbar { width: 8px; height: 8px; }
.custom-scrollbar::-webkit-scrollbar-track, 
textarea::-webkit-scrollbar-track, 
input::-webkit-scrollbar-track { background: #0f172a; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb, 
textarea::-webkit-scrollbar-thumb, 
input::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover, 
textarea::-webkit-scrollbar-thumb:hover, 
input::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Custom Checkbox (Inherited) */
input[type="checkbox"].tw-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #1e293b;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid #334155;
    border-radius: 0.25em;
    display: grid;
    place-content: center;
    cursor: pointer;
}
input[type="checkbox"].tw-checkbox::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #3b82f6;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="checkbox"].tw-checkbox:checked::before { transform: scale(1); }

/* Checkered Preview (Inherited) */
.bg-checkered {
    background-color: #0f172a;
    background-image: 
        linear-gradient(45deg, #1e293b 25%, transparent 25%, transparent 75%, #1e293b 75%, #1e293b),
        linear-gradient(45deg, #1e293b 25%, transparent 25%, transparent 75%, #1e293b 75%, #1e293b);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Range Slider (Inherited) */
input[type=range].tw-range { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range].tw-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px; width: 18px; border-radius: 50%;
    background: #3b82f6; cursor: pointer; margin-top: -7px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
input[type=range].tw-range::-webkit-slider-runnable-track {
    width: 100%; height: 4px; cursor: pointer; background: #334155; border-radius: 2px;
}

.dropzone-active { border-color: #3b82f6 !important; background-color: rgba(30, 41, 59, 0.8) !important; }