/* ========================================
   TD WATERHOUSE PROFESSIONAL THEME
   Trading Bot Design System
   ======================================== */

:root {
    /* ========== BRANDING ========== */
    /* Change these for easy rebranding */
    --brand-name: "KnoxBot";
    --brand-name-full: "KnoxBot Trading Suite";
    --brand-tagline: "Solana Trading Intelligence";

    /* ========== TD BRAND COLORS ========== */
    /* Primary - TD Green */
    --td-green: #00A862;
    --td-green-dark: #008A52;
    --td-green-darker: #006B3F;
    --td-green-light: #E8F5F0;
    --td-green-glow: rgba(0, 168, 98, 0.15);

    /* Primary Color Mappings */
    --primary-color: var(--td-green);
    --primary-hover: var(--td-green-dark);
    --primary-active: var(--td-green-darker);
    --primary-light: var(--td-green-light);

    /* Secondary - TD Blue */
    --td-blue: #0055A4;
    --td-blue-dark: #003D7A;
    --td-blue-light: #E6F0F9;

    /* Secondary Color Mappings */
    --secondary-color: var(--td-blue);
    --secondary-hover: var(--td-blue-dark);
    --secondary-light: var(--td-blue-light);

    /* ========== STATUS COLORS ========== */
    --success-color: #00A862;
    --success-bg: #E8F5F0;
    --success-border: #B8E6D5;

    --warning-color: #FF8C00;
    --warning-bg: #FFF4E6;
    --warning-border: #FFD9A3;

    --danger-color: #D32F2F;
    --danger-hover: #B71C1C;
    --danger-bg: #FFEBEE;
    --danger-border: #FFCDD2;

    --info-color: #0055A4;
    --info-bg: #E6F0F9;
    --info-border: #B3D4F5;

    /* ========== BACKGROUND COLORS ========== */
    --bg-body: #F5F7FA;              /* Light gray-blue body */
    --bg-primary: #FFFFFF;            /* Pure white for main content */
    --bg-secondary: #FAFBFC;          /* Subtle off-white */
    --bg-tertiary: #F0F2F5;           /* Light gray for subtle sections */
    --bg-dark: #1E2532;               /* Dark navy for special elements */
    --bg-darker: #141821;             /* Darker navy */

    /* ========== TEXT COLORS ========== */
    --text-primary: #1E2532;          /* Dark navy for primary text */
    --text-secondary: #5A6C7D;        /* Medium gray for secondary text */
    --text-tertiary: #8B95A5;         /* Light gray for tertiary text */
    --text-inverse: #FFFFFF;          /* White text for dark backgrounds */
    --text-muted: #A8B2C1;            /* Very light gray for muted text */

    /* ========== BORDER COLORS ========== */
    --border-light: #E8ECEF;          /* Light border */
    --border-medium: #D1D9E0;         /* Medium border */
    --border-dark: #B8C1CC;           /* Dark border */
    --border-accent: var(--td-green); /* Green accent border */

    /* ========== SURFACE & ELEVATION ========== */
    --surface-color: #FFFFFF;         /* Default surface color for cards/containers */
    --surface-0: #FFFFFF;
    --surface-1: #FAFBFC;
    --surface-2: #F5F7FA;
    --surface-3: #F0F2F5;

    /* ========== SHADOWS (TD Bank Card Style) ========== */
    --shadow-xs: 0 1px 2px rgba(30, 37, 50, 0.04);
    --shadow-sm: 0 2px 4px rgba(30, 37, 50, 0.06);
    --shadow-md: 0 4px 8px rgba(30, 37, 50, 0.08);
    --shadow-lg: 0 8px 16px rgba(30, 37, 50, 0.1);
    --shadow-xl: 0 12px 24px rgba(30, 37, 50, 0.12);
    --shadow-2xl: 0 16px 32px rgba(30, 37, 50, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(30, 37, 50, 0.06);

    /* Elevated Card Shadow */
    --shadow-card: 0 2px 8px rgba(30, 37, 50, 0.08),
                   0 1px 3px rgba(30, 37, 50, 0.06);
    --shadow-card-hover: 0 8px 20px rgba(30, 37, 50, 0.12),
                         0 2px 6px rgba(30, 37, 50, 0.08);

    /* ========== SPACING (8px Grid System) ========== */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* ========== BORDER RADIUS ========== */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ========== LAYOUT ========== */
    --container-max-width: 1200px;  /* Main container max-width */

    /* ========== TYPOGRAPHY ========== */
    --font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', 'SF Mono', Consolas, monospace;
    --font-display: 'Inter', sans-serif;

    /* Font Sizes */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* ========== TRANSITIONS ========== */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ========== Z-INDEX SCALE ========== */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1100;
    --z-fixed: 1200;
    --z-modal-backdrop: 1300;
    --z-modal: 1400;
    --z-popover: 1500;
    --z-tooltip: 1600;

    /* ========== SPECIAL EFFECTS ========== */
    --gradient-green: linear-gradient(135deg, #00A862 0%, #008A52 100%);
    --gradient-blue: linear-gradient(135deg, #0055A4 0%, #003D7A 100%);
    --gradient-success: linear-gradient(135deg, #00A862 0%, #00D47A 100%);
    --gradient-danger: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);

    /* TD Bank Brand Gradient */
    --gradient-td: linear-gradient(135deg, #00A862 0%, #0055A4 100%);

    /* Shimmer Effect */
    --shimmer: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
}
