/* Custom Theme Variables - Loaded from colors.json */

/* Light Theme Variables */
html[data-theme="light"] body {
    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    
    /* Background Colors */
    --background-primary: #F9FAFB;
    --background-secondary: #F3F4F6;
    --background-dots: #E5E7EB;
    --background-modal: rgba(255, 255, 255, 0.9);
    
    /* Border Colors */
    --border-primary: #D1D5DB;
    --border-secondary: #E5E7EB;
    
    /* Accent Colors */
    --accent-success: #059669;
    --accent-warning: #D97706;
    --accent-error: #DC2626;
}

/* Dark Theme Variables */
html[data-theme="dark"] body {
    /* Text Colors */
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    
    /* Background Colors */
    --background-primary: #000;
    --background-secondary: #1F2937;
    --background-dots: #1F2937;
    --background-modal: rgba(0, 0, 0, 0.8);
    
    /* Border Colors */
    --border-primary: #4B5563;
    --border-secondary: #374151;
    
    /* Accent Colors */
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
    --accent-error: #EF4444;
}

/* Custom Theme: green_matrix */
html[data-theme="green_matrix"] body {
    /* Text Colors */
    --text-primary: #00FF9C;
    --text-secondary: #00B86B;
    --text-tertiary: #006B45;
    
    /* Background Colors */
    --background-primary: #000000;
    --background-secondary: #001A0D;
    --background-dots: #002915;
    --background-modal: rgba(0, 20, 10, 0.9);
    
    /* Border Colors */
    --border-primary: #004D29;
    --border-secondary: #00331D;
    
    /* Accent Colors */
    --accent-success: #00FF9C;
    --accent-warning: #FFD600;
    --accent-error: #FF0055;
}

/* Custom Theme: neon_v2 */
html[data-theme="neon_v2"] body {
    /* Text Colors */
    --text-primary: #E0E7FF;
    --text-secondary: #E879F9;
    --text-tertiary: #FF00BB;
    
    /* Background Colors */
    --background-primary: #0A0014;
    --background-secondary: #1A0034;
    --background-dots: #370075;
    --background-modal: rgba(10, 0, 20, 0.9);
    
    /* Border Colors */
    --border-primary: #7C3AED;
    --border-secondary: #4C1D95;
    
    /* Accent Colors */
    --accent-success: #00FFC6;
    --accent-warning: #FFB800;
    --accent-error: #FF005C;
}

/* Custom Theme: red_terminal */
html[data-theme="red_terminal"] body {
    /* Text Colors */
    --text-primary: #FFEBEB;
    --text-secondary: #FF6B6B;
    --text-tertiary: #B91C1C;
    
    /* Background Colors */
    --background-primary: #0D0000;
    --background-secondary: #1A0000;
    --background-dots: #2E0000;
    --background-modal: rgba(13, 0, 0, 0.9);
    
    /* Border Colors */
    --border-primary: #7F1D1D;
    --border-secondary: #450A0A;
    
    /* Accent Colors */
    --accent-success: #22C55E;
    --accent-warning: #F59E0B;
    --accent-error: #DC2626;
}

/* Custom Theme: eink */
html[data-theme="eink"] body {
    /* Text Colors */
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-tertiary: #000000;
    
    /* Background Colors */
    --background-primary: #ffffff;
    --background-secondary: #ffffff;
    --background-dots: #ffffff;
    --background-modal: rgba(255, 255, 255, 1);
    
    /* Border Colors */
    --border-primary: #000000;
    --border-secondary: #000000;
    
    /* Accent Colors */
    --accent-success: #000000;
    --accent-warning: #000000;
    --accent-error: #000000;
}

/* Custom Theme: neon */
html[data-theme="neon"] body {
    /* Text Colors */
    --text-primary: #E0E7FF;
    --text-secondary: #e789fa;
    --text-tertiary: #ff00bb;
    
    /* Background Colors */
    --background-primary: #0A0014;
    --background-secondary: #12002A;
    --background-dots: #370075;
    --background-modal: rgba(10, 0, 20, 0.9);
    
    /* Border Colors */
    --border-primary: #3A0CA3;
    --border-secondary: #560BAD;
    
    /* Accent Colors */
    --accent-success: #00F5D4;
    --accent-warning: #FFB700;
    --accent-error: #FF006E;
}

/* Custom Theme: cozy_light */
html[data-theme="cozy_light"] body {
    /* Text Colors */
    --text-primary: #3E2C23;
    --text-secondary: #6E5B4C;
    --text-tertiary: #A38F7B;
    
    /* Background Colors */
    --background-primary: #FFF9F3;
    --background-secondary: #F3E7DC;
    --background-dots: #E8D8C7;
    --background-modal: rgba(255, 248, 240, 0.95);
    
    /* Border Colors */
    --border-primary: #D8C2AE;
    --border-secondary: #E6D3C2;
    
    /* Accent Colors */
    --accent-success: #94C973;
    --accent-warning: #E3A857;
    --accent-error: #D87C6E;
}

/* Custom Theme: amber_retro */
html[data-theme="amber_retro"] body {
    /* Text Colors */
    --text-primary: #FFE9A8;
    --text-secondary: #EAB308;
    --text-tertiary: #CA8A04;
    
    /* Background Colors */
    --background-primary: #0A0600;
    --background-secondary: #1A1200;
    --background-dots: #2B1A00;
    --background-modal: rgba(10, 6, 0, 0.9);
    
    /* Border Colors */
    --border-primary: #854D0E;
    --border-secondary: #713F12;
    
    /* Accent Colors */
    --accent-success: #84CC16;
    --accent-warning: #FACC15;
    --accent-error: #DC2626;
}

/* Custom Theme: macchiato */
html[data-theme="macchiato"] body {
    /* Text Colors */
    --text-primary: #cad3f5;
    --text-secondary: #c6a0f6;
    --text-tertiary: #f5bde6;
    
    /* Background Colors */
    --background-primary: #181926;
    --background-secondary: #1e2030;
    --background-dots: #363a4f;
    --background-modal: rgba(24, 25, 38, 0.9);
    
    /* Border Colors */
    --border-primary: #494d64;
    --border-secondary: #5b6078;
    
    /* Accent Colors */
    --accent-success: #a6da95;
    --accent-warning: #eed49f;
    --accent-error: #ed8796;
}

/* Custom Theme: ocean_wave */
html[data-theme="ocean_wave"] body {
    /* Text Colors */
    --text-primary: #E0F2FE;
    --text-secondary: #7DD3FC;
    --text-tertiary: #38BDF8;
    
    /* Background Colors */
    --background-primary: #02101A;
    --background-secondary: #0A2233;
    --background-dots: #0F2E40;
    --background-modal: rgba(2, 16, 26, 0.9);
    
    /* Border Colors */
    --border-primary: #164E63;
    --border-secondary: #0E7490;
    
    /* Accent Colors */
    --accent-success: #2DD4BF;
    --accent-warning: #FBBF24;
    --accent-error: #F87171;
}

/* Custom Theme: minimal_frost */
html[data-theme="minimal_frost"] body {
    /* Text Colors */
    --text-primary: #E0F2F1;
    --text-secondary: #A7F3D0;
    --text-tertiary: #6EE7B7;
    
    /* Background Colors */
    --background-primary: #001015;
    --background-secondary: #002029;
    --background-dots: #00323D;
    --background-modal: rgba(0, 16, 21, 0.9);
    
    /* Border Colors */
    --border-primary: #115E59;
    --border-secondary: #0F766E;
    
    /* Accent Colors */
    --accent-success: #34D399;
    --accent-warning: #FCD34D;
    --accent-error: #F87171;
}
