/*
Theme Name:  Rsgdx LVJR App
Theme URI:   https://lvjr-app.rsgdx.com
Author:      rsgdx
Author URI:  https://rsgdx.com
Description: Service management platform theme for LVJR — work orders, dispatch, estimates, invoicing, and reporting across employees, subcontractors, and clients. Hosted at lvjr-app.rsgdx.com.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rsgdxlvjr
Tags:        custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   DESIGN TOKENS
   Loaded first so custom-style.css can reference these variables freely.
   ========================================================================== */

:root {

	/* --- Backgrounds ---
	   Near-black dominant, with a faint warm/red undertone in surfaces so
	   the palette reads as cohesive with the red primary rather than a
	   plain gray dark-mode with red accents bolted on. */
	--rsgdxlvjr-color-bg:           #0f0f0f;
	--rsgdxlvjr-color-surface:      #1a1414;
	--rsgdxlvjr-color-surface-alt:  #221a1a;
	--rsgdxlvjr-color-surface-high: #2b2020;

	/* --- Borders --- */
	--rsgdxlvjr-color-border:       #3a2a2a;
	--rsgdxlvjr-color-border-light: #523a3a;

	/* --- Primary — dark red, not bright. Variable name kept as "blue" for
	   historical/internal consistency with the wiki's convention (an
	   arbitrary, fully brand-configurable primary color) — the name
	   doesn't appear anywhere visible. --- */
	--rsgdxlvjr-color-blue:         #7a1f1f;
	--rsgdxlvjr-color-blue-hover:   #621919;
	--rsgdxlvjr-color-blue-light:   #b45050;
	--rsgdxlvjr-color-blue-faint:   #241111;

	/* --- Text --- */
	--rsgdxlvjr-color-text:         #f2f0f0;
	--rsgdxlvjr-color-text-muted:   #ab9d9d;
	--rsgdxlvjr-color-text-subtle:  #6f6262;

	/* --- Accent — a brighter red, used sparingly for highlights/CTAs
	   distinct from the darker brand-primary red. --- */
	--rsgdxlvjr-color-accent:       #a83232;
	--rsgdxlvjr-color-accent-hover: #8c2828;
	--rsgdxlvjr-color-accent-faint: #2a1414;

	/* --- Status — error brightened relative to primary so alerts still
	   read distinctly against a red brand palette. --- */
	--rsgdxlvjr-color-success:      #00a32a;
	--rsgdxlvjr-color-warning:      #dba617;
	--rsgdxlvjr-color-error:        #e5484d;

	/* --- Typography --- */
	--rsgdxlvjr-font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	--rsgdxlvjr-font-mono:  "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

	/* --- Type scale --- */
	--rsgdxlvjr-text-xs:   0.75rem;
	--rsgdxlvjr-text-sm:   0.875rem;
	--rsgdxlvjr-text-base: 1rem;
	--rsgdxlvjr-text-md:   1.125rem;
	--rsgdxlvjr-text-lg:   1.25rem;
	--rsgdxlvjr-text-xl:   1.5rem;
	--rsgdxlvjr-text-2xl:  1.875rem;
	--rsgdxlvjr-text-3xl:  2.25rem;
	--rsgdxlvjr-text-4xl:  3rem;

	/* --- Spacing --- */
	--rsgdxlvjr-space-1:  0.25rem;
	--rsgdxlvjr-space-2:  0.5rem;
	--rsgdxlvjr-space-3:  0.75rem;
	--rsgdxlvjr-space-4:  1rem;
	--rsgdxlvjr-space-5:  1.25rem;
	--rsgdxlvjr-space-6:  1.5rem;
	--rsgdxlvjr-space-8:  2rem;
	--rsgdxlvjr-space-10: 2.5rem;
	--rsgdxlvjr-space-12: 3rem;
	--rsgdxlvjr-space-16: 4rem;
	--rsgdxlvjr-space-20: 5rem;

	/* --- Layout --- */
	--rsgdxlvjr-max-width-content: 860px;
	--rsgdxlvjr-max-width-wide:    1200px;
	--rsgdxlvjr-sidebar-width:     280px;
	--rsgdxlvjr-header-height:     56px;

	/* --- Radius --- */
	--rsgdxlvjr-radius-sm:   4px;
	--rsgdxlvjr-radius-md:   6px;
	--rsgdxlvjr-radius-lg:   10px;
	--rsgdxlvjr-radius-xl:   16px;
	--rsgdxlvjr-radius-full: 9999px;

	/* --- Shadows --- */
	--rsgdxlvjr-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
	--rsgdxlvjr-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
	--rsgdxlvjr-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

	/* --- Transitions --- */
	--rsgdxlvjr-transition:    150ms ease;
	--rsgdxlvjr-transition-md: 250ms ease;

}