/* Default Theme (Dark) works as fallback or explicit class */
:root {
    /* Helper Palette */
    --color-dark-bg: #1a1a1a;
    --color-dark-surface: #252525;
    --color-dark-surface-hover: #2a2a2a;
    --color-dark-border: #333333;
    --color-text-main: #e0e0e0;
    --color-text-muted: #888888;
    --color-primary: #4fc3f7; /* Light Blue */
    --color-primary-dark: #03a9f4;
    
    /* Semantic Variables (Default/Dark) */
    --bg-body: #1a1a1a;
    --bg-container: #1a1a1a;
    --bg-card: #252525;
    --bg-card-hover: #2a2a2a;
    --bg-active: #3a3a3a;
    
    --bg-input: #252525;
    --border-input: #444444;
    
    --bg-modal: #2a2a2a;
    --bg-modal-overlay: rgba(0, 0, 0, 0.7);
    
    --text-primary: #e0e0e0;
    --text-secondary: #aaaaaa;
    --text-muted: #666666;
    
    --border-color: #333333;
    --border-active: #4fc3f7;
    
    --accent-color: #4fc3f7;
    --accent-glow: rgba(79, 195, 247, 0.5);
    
    --btn-bg: #333333;
    --btn-bg-hover: #444444;
    --btn-text: #ffffff;
}

/* Antique White Theme */
[data-theme="antique"] {
    --bg-body: #f5e6d3; /* Cream/Beige */
    --bg-container: #f5e6d3;
    --bg-card: #e8d0b3;
    --bg-card-hover: #dec2a0;
    --bg-active: #dcc09b;
    
    --bg-input: #fff8f0;
    --border-input: #c7b299;
    
    --bg-modal: #fbf0e3;
    --bg-modal-overlay: rgba(60, 50, 40, 0.6);
    
    --text-primary: #4a3b2a; /* Dark Brown */
    --text-secondary: #6e5d4e;
    --text-muted: #8b7d70;
    
    --border-color: #c7b299;
    --border-active: #8b5a2b; /* Leather brown */
    
    --accent-color: #8b5a2b;
    --accent-glow: rgba(139, 90, 43, 0.3);
    
    --btn-bg: #e8d0b3;
    --btn-bg-hover: #dec2a0;
    --btn-text: #4a3b2a;
}

/* Forest Green Theme */
[data-theme="forest"] {
    --bg-body: #0a1f12; /* Deep Dark Green */
    --bg-container: #0a1f12;
    --bg-card: #152e20;
    --bg-card-hover: #1e3d2b;
    --bg-active: #254a35;
    
    --bg-input: #10261b;
    --border-input: #2a503a;
    
    --bg-modal: #152e20;
    --bg-modal-overlay: rgba(0, 20, 10, 0.8);
    
    --text-primary: #e0f2e5; /* Very light green/white */
    --text-secondary: #a3c2b0;
    --text-muted: #5e7a68;
    
    --border-color: #2a503a;
    --border-active: #4caf50; /* Bright Green */
    
    --accent-color: #66bb6a;
    --accent-glow: rgba(76, 175, 80, 0.4);
    
    --btn-bg: #1e3d2b;
    --btn-bg-hover: #2a503a;
    --btn-text: #e0f2e5;
}

/* Orange Sunset Theme */
[data-theme="sunset"] {
    --bg-body: #1a0f0d; /* Very dark reddish brown */
    --bg-container: #1a0f0d;
    --bg-card: #2d1b18;
    --bg-card-hover: #3e2622;
    --bg-active: #4e312d;
    
    --bg-input: #2d1b18;
    --border-input: #5d352c;
    
    --bg-modal: #2d1b18;
    --bg-modal-overlay: rgba(40, 10, 5, 0.8);
    
    --text-primary: #ffe0d5; 
    --text-secondary: #dcaaa0;
    --text-muted: #8d6e68;
    
    --border-color: #5d352c;
    --border-active: #ff7043; /* Sunset Orange */
    
    --accent-color: #ff7043;
    --accent-glow: rgba(255, 112, 67, 0.4);
    
    --btn-bg: #3e2622;
    --btn-bg-hover: #4e312d;
    --btn-text: #ffe0d5;
}
