/* ============================================
   DARK THEME COMPONENT OVERRIDES
   
   Base dark theme colors are defined in variables.css
   This file only contains component-specific overrides
   that don't automatically inherit theme colors
   ============================================ */

/* Form elements - Need explicit styling as they don't inherit from body */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] button {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Code blocks - If you use them */
[data-theme="dark"] code,
[data-theme="dark"] pre {
    background-color: var(--bg-secondary);
    border-color: var(--border-primary);
}

/* Cart icon - Invert for dark theme */
[data-theme="dark"] .cart-link img {
    filter: invert(1);
}

/* Cart count badge - Invert colors for dark theme */
[data-theme="dark"] .cart-count {
    background: var(--bg-inverse);
    color: var(--text-inverse);
}
