/* CSS variables for colors, spacing, typography, etc. */

:root {
	/* Tell the browser this is a dark UI.
	 *
	 * The one line that fixes the ugliest thing about the dropdowns: a <select>
	 * popup list is drawn by the operating system and cannot be styled by CSS
	 * at all. Without this it renders in the OS light theme, so a white list
	 * with black text and a light scrollbar hangs off a dark control. It also
	 * darkens the native scrollbars, checkboxes, radios and date pickers, and
	 * gives the form controls sensible default text colours before any of our
	 * own rules land. There is no light theme here - a single :root, no
	 * [data-theme] and no prefers-color-scheme block - so this is simply true. */
	color-scheme: dark;

	/* Colors */
	--color-primary: #4f46e5;
	--color-primary-hover: #4338ca;
	--color-secondary: #6b7280;
	--color-success: #10b981;
	--color-danger: #ef4444;
	--color-warning: #f59e0b;

	/* Background colors */
	--bg-primary: #0f172a;
	--bg-secondary: #1e293b;
	--bg-tertiary: #334155;
	--bg-card: #1e293b;

	/* Text colors */
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;

	/* Border colors */
	--border-color: #334155;
	--border-focus: #4f46e5;

	/* Spacing */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2rem;
	--spacing-2xl: 3rem;

	/* Border radius */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;
	--radius-full: 9999px;

	/* Typography */
	--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-2xl: 1.5rem;
	--font-size-3xl: 2rem;

	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 200ms ease;
	--transition-slow: 300ms ease;
}
