/*
 * ViraKit — Global Design Tokens
 *
 * Shared CSS custom properties for values that were duplicated (as raw
 * literals) across the bundled modules' stylesheets. This file only ever
 * declares tokens at :root — it must never declare any --sa-*, --pu-*,
 * --wcca-*, --esw-*, --vira-*, or --wp-ahs-* name, since those namespaces
 * already belong to each bundled module's own local theming system
 * (in particular wp-user-dashboard's admin-configurable --sa-* variables,
 * injected at runtime — see panel-colors.php).
 *
 * Every value below is the literal that was already repeated verbatim
 * across two or more of the project's CSS files at the time this file was
 * introduced — nothing here is a new design decision.
 */

:root {
	/* Colors — iOS-flat palette shared by the ViraKit hub, module-settings
	   panel, and wp-ajax-header-search's admin UI. */
	--vk-color-primary: #007aff;
	--vk-color-text: #1c1c1e;
	--vk-color-text-muted: #8e8e93;
	--vk-color-text-muted-strong: #636366;
	--vk-color-border: #e5e5ea;
	--vk-color-bg: #f2f2f7;
	--vk-color-surface: #ffffff;

	/* WP-classic palette shared by price-updater and wc-category-attributes
	   (kept intentionally separate from the iOS-flat palette above — these
	   two visual languages coexist on purpose, see plan notes). */
	--vk-color-text-muted-classic: #646970;
	--vk-color-border-classic: #dcdcde;

	/* Typography */
	--vk-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
	--vk-font-ui-classic: Tahoma, Arial, sans-serif;

	/* Radius scale — for files that had no local radius token at all. */
	--vk-radius-sm: 8px;
	--vk-radius-md: 12px;
	--vk-radius-lg: 16px;

	/* Shadows */
	--vk-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
	--vk-shadow-primary-glow: 0 2px 8px rgba(0, 122, 255, 0.25);

	/* Overlay / modal backdrop */
	--vk-overlay-backdrop: rgba(0, 0, 0, 0.45);

	/* Motion */
	--vk-transition-fast: 0.15s ease;
	--vk-transition-base: 0.2s ease;

	/*
	 * z-index scale — reserved for future adoption. Existing hardcoded
	 * z-index values across the project are intentionally NOT retrofitted
	 * onto this scale in this pass (stacking-context regressions are hard
	 * to verify without a live browser). Documented here so future work
	 * has a scale to migrate onto instead of inventing more magic numbers.
	 */
	--vk-z-dropdown: 50;
	--vk-z-sticky: 100;
	--vk-z-overlay: 100000;
	--vk-z-modal: 100010;
	--vk-z-popover: 100020;
	--vk-z-toast: 100030;
}
