/**
 * SPMS Theme Defaults — Static CSS Variable Fallback
 * Sales Plan Map System
 *
 * Purpose: Provides sensible default values for all CSS custom properties
 * used across the plugin. The PHP-injected styles (output_css_variables()
 * in class-spms-theme.php) fire on wp_head and override these values at
 * runtime. This file is the safety net — if PHP injection fails for any
 * reason, the plugin UI remains styled rather than falling back to browser
 * defaults.
 *
 * Enqueued by: class-spms-core.php → enqueue_public_assets()
 * Load order:  Before spms-public.css so the PHP inline overrides take precedence.
 *
 * NOTE: These values mirror the defaults() method in class-spms-theme.php.
 * If you change a default there, update it here too.
 */

:root {
    /* ── Primary / Accent ─────────────────────────────────────── */
    --spms-primary:             #2563eb;
    --spms-primary-dark:        #1d4ed8;
    --spms-primary-text:        #ffffff;

    /* ── Header ───────────────────────────────────────────────── */
    --spms-header-bg:           #1e3a5f;
    --spms-header-text:         #ffffff;

    /* ── Footer ───────────────────────────────────────────────── */
    --spms-footer-bg:           #1e3a5f;
    --spms-footer-text:         #ffffff;

    /* ── Dashboard Tabs ───────────────────────────────────────── */
    --spms-tab-active-bg:       #2563eb;
    --spms-tab-active-text:     #ffffff;

    /* ── Popup / Modal Gradient ───────────────────────────────── */
    /* These are only output by PHP when a company override is active.
       Fallback here ensures JS helpers get a value even without override. */
    --spms-popup-header-start:  #667eea;
    --spms-popup-header-end:    #764ba2;

    /* ── Buttons ──────────────────────────────────────────────── */
    --spms-btn-primary:         #2563eb;
    --spms-btn-primary-hover:   #1d4ed8;
    --spms-btn-primary-text:    #ffffff;

    /* ── Form & UI Elements ───────────────────────────────────── */
    --spms-link-color:          #2563eb;
    --spms-border-active:       #2563eb;
    --spms-spinner-color:       #2563eb;
    --spms-status-badge-bg:     #2563eb;
    --spms-sortable-border:     #2563eb;

    /* ── Map Controls ─────────────────────────────────────────── */
    --spms-control-active:      #2563eb;
}
