/*! WiFiFlow Design System — Single Source of Truth
 *  All colors, typography, spacing, and component tokens.
 *  Every page (dashboard, standalone, captive portal) imports this file.
 */

:root {
    /* ── Brand Colors ── */
    --wf-primary:        #1e3a8a;
    --wf-primary-hover:  #1e40af;
    --wf-primary-light:  #3b82f6;
    --wf-primary-bg:     #e0f2fe;

    --wf-accent:         #14b8a6;
    --wf-accent-hover:   #0d9488;
    --wf-accent-light:   #99f6e4;
    --wf-accent-bg:      #f0fdfa;

    /* ── Semantic Colors ── */
    --wf-success:        #10b981;
    --wf-success-bg:     #ecfdf5;
    --wf-warning:        #f59e0b;
    --wf-warning-bg:     #fffbeb;
    --wf-danger:         #ef4444;
    --wf-danger-bg:      #fef2f2;
    --wf-info:           #3b82f6;
    --wf-info-bg:        #eff6ff;

    /* ── Neutrals ── */
    --wf-text:           #1f2937;
    --wf-text-secondary: #4b5563;
    --wf-text-muted:     #596370;
    --wf-text-light:     #737b8b;

    --wf-bg:             #f8fafc;
    --wf-bg-alt:         #f1f5f9;
    --wf-surface:        #ffffff;
    --wf-border:         #e5e7eb;
    --wf-border-light:   #f3f4f6;

    /* ── Typography ── */
    --wf-font-family:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --wf-font-mono:      'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --wf-font-size-xs:   0.8125rem;
    --wf-font-size-sm:   0.875rem;
    --wf-font-size-base: 1rem;
    --wf-font-size-lg:   1.125rem;
    --wf-font-size-xl:   1.25rem;
    --wf-font-size-2xl:  1.5rem;
    --wf-font-size-3xl:  1.875rem;
    --wf-font-size-4xl:  2.25rem;
    --wf-line-height:    1.6;
    --wf-heading-weight: 700;

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

    /* ── Borders & Radius ── */
    --wf-radius-sm:  0.375rem;
    --wf-radius-md:  0.5rem;
    --wf-radius-lg:  0.75rem;
    --wf-radius-xl:  1rem;
    --wf-radius-full: 9999px;

    /* ── Shadows ── */
    --wf-shadow-sm:  0 1px 2px 0 rgba(0,0,0,0.05);
    --wf-shadow-md:  0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --wf-shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --wf-shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

    /* ── Transitions ── */
    --wf-transition: 0.2s ease;
    --wf-transition-slow: 0.3s ease;

    /* ── Layout ── */
    --wf-sidebar-width:      260px;
    --wf-sidebar-mini-width:  80px;
    --wf-header-height:       64px;
    --wf-footer-height:       56px;
}

/* ── Dark mode support (future) ── */
@media (prefers-color-scheme: dark) {
    :root {
        /* Override when dark mode is implemented */
    }
}
