/**
 * ServerSea Admin - design tokens.
 *
 * This file defines the redesign's palette/spacing/radius/shadow scale as
 * CSS custom properties only - it sets no selectors of its own. It is
 * loaded AFTER styles.css/plugins.css/theme-1.css (see layouts/template.php)
 * so every token here is available to ss-admin-components.css and to any
 * future page-specific override, without touching or forking the 11k+ line
 * legacy Clip-Two stylesheet stack underneath it.
 *
 * Dark-mode values are defined but unused for now (see redesign plan -
 * dark mode is a future phase, not implemented here). They're grouped
 * here so that work has a real starting point later instead of a blank
 * page.
 */
:root {
	/* Brand */
	--ss-primary: #2f5fd7;
	--ss-primary-hover: #2650b8;
	--ss-primary-active: #1f439a;
	--ss-primary-soft: #eaf0fd;
	--ss-accent: #0ea5a0;

	/* Semantic */
	--ss-success: #16a34a;
	--ss-success-soft: #e8f7ee;
	--ss-warning: #d97706;
	--ss-warning-soft: #fdf2e2;
	--ss-danger: #dc2626;
	--ss-danger-soft: #fbeaea;
	--ss-info: #0891b2;
	--ss-info-soft: #e5f5f8;

	/* Surfaces */
	--ss-bg: #f4f6f9;
	--ss-surface: #ffffff;
	--ss-surface-muted: #f7f8fa;
	--ss-border: #e3e7ed;
	--ss-border-strong: #cdd3dd;

	/* Text */
	--ss-text: #1c2333;
	--ss-text-secondary: #5b6472;
	--ss-text-muted: #8b93a1;
	--ss-text-inverse: #ffffff;

	/* Sidebar / header */
	--ss-sidebar-bg: #111a2e;
	--ss-sidebar-bg-active: #1c2a48;
	--ss-sidebar-text: #aab4c8;
	--ss-sidebar-text-active: #ffffff;
	--ss-header-bg: #ffffff;
	--ss-header-border: #e3e7ed;

	/* Radius */
	--ss-radius-sm: 4px;
	--ss-radius-md: 6px;
	--ss-radius-lg: 10px;

	/* Spacing */
	--ss-space-xs: 4px;
	--ss-space-sm: 8px;
	--ss-space-md: 16px;
	--ss-space-lg: 24px;
	--ss-space-xl: 32px;

	/* Shadows */
	--ss-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
	--ss-shadow-md: 0 2px 8px rgba(16, 24, 40, 0.08);
	--ss-shadow-lg: 0 8px 24px rgba(16, 24, 40, 0.12);

	/* Control sizing - deliberately compact/information-dense, not the
	   oversized inputs some "modern dashboard" kits default to. */
	--ss-control-height: 36px;
	--ss-control-height-sm: 30px;
	/* "Inter" is loaded via Google Fonts in layouts/template.php and
	   login.php (see the GOOGLE FONTS block in each) - both keep this
	   same system-font fallback stack so the page still renders
	   correctly if that request is ever blocked/slow. */
	--ss-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Dark-mode token set - not activated anywhere yet (no [data-theme] toggle
   exists in the app). Kept here, unused, as the future starting point the
   redesign plan calls for. */
[data-theme="dark"] {
	--ss-bg: #0b1120;
	--ss-surface: #131b2e;
	--ss-surface-muted: #182238;
	--ss-border: #263248;
	--ss-border-strong: #33415c;
	--ss-text: #e7eaf0;
	--ss-text-secondary: #aab4c8;
	--ss-text-muted: #7c8598;
}
