/* AI-Header: Global theme color definitions for light and dark modes */
/* Date: 2025-07-13 */

/* Light theme global background and text colors */
[data-bs-theme="light"] {
    /* Enhanced body and page background - keep white */
    background-color: #ffffff;
    color: #212529;
}

/* Dark theme global background and text colors */
[data-bs-theme="dark"] {
    /* Enhanced body and page background - use black for consistency */
    background-color: #000000;
    color: #ffffff;

    /* Bootstrap token overrides for black dark theme */
    /* Core surfaces */
    --bs-body-bg: #000000;           /* page background */
    --bs-body-color: #e9ecef;        /* readable text */
    --bs-card-bg: #000000;           /* card surface */
    --bs-tertiary-bg: #1a1a1a;       /* subtle surfaces, buttons, notes */
    --bs-border-color: rgba(255,255,255,0.08);

    /* Accents */
    --bs-primary: #8b2e36;           /* burgundy accent */
    --bs-link-color: #ff8a8a;        /* links used in top-row */
    --bs-link-hover-color: #ffb3b3;

    /* Exchange-specific colors */
    --exchange-border: #444;         /* border color for tabs and buttons */

    /* Alerts (keep subtle tints burgundy-friendly) */
    --bs-danger: #dc3545;
    --bs-danger-bg-subtle: rgba(220, 53, 69, 0.08);
    --bs-danger-border-subtle: rgba(220, 53, 69, 0.25);
    --bs-warning-bg-subtle: rgba(255, 193, 7, 0.08);
    --bs-warning-border-subtle: rgba(255, 193, 7, 0.25);
}
