@import "grid.css";
@import "form.css";

.wr-legacy-switch .k-button-sm {
	padding: 2px 5px !important;
}

/* Loader overlays are hardcoded to OverlayThemeColor="light" in many places, which paints the
   scrim with --kendo-color-light (≈#EBEBEB even in the dark swatch) — a bright wash over a dark
   form/grid. In dark theme, darken the scrim instead so the loader dims rather than lightens. */
html[data-theme="dark"] .k-loader-container-overlay.k-overlay-light {
	background-color: var(--kendo-color-dark, #3D3D3D);
}
/* Custom scrollbars (theme-aware). Track/thumb use Kendo theme tokens so they follow the
   active light/dark swatch; the literal fallbacks keep them sensible if a token is missing. */
*::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

*::-webkit-scrollbar-track {
	background: var(--kendo-color-surface, white);
}

*::-webkit-scrollbar-thumb {
	background: var(--kendo-color-border, #cfcfcf);
	visibility: hidden;
}

*:hover::-webkit-scrollbar-thumb {
	visibility: visible;
	border-radius: 7px;
	border: 0.5px solid var(--kendo-color-surface, white);
}
