/**
 * Inline CSS Utilities - Dark Mode Overrides
 *
 * Dark mode overrides for inline-css.css utility classes.
 * This ensures background colors are properly inverted for dark mode.
 *
 * Generated: 2025-12-10
 */

/**
 * Background Color Overrides
 * Light backgrounds become dark
 */
.bg-ccc { background: #333 !important; }
.bg-ddd { background: #2a2a2a !important; }
.bg-eee { background: #222 !important; }
.bg-f9 { background: #2a2a2a !important; }
.bg-aliceblue { background: #1a2a3a !important; }
/* .bg-555 stays the same - it's already dark */

/**
 * Border Color Overrides
 */
.border-bottom-light { border-bottom: 1px solid #555 !important; }

/**
 * Border Combinations - Dark Mode
 */
.bg-555-border-bottom-light {
    background: #444 !important;
    border-bottom: 1px solid #555 !important;
}

.bg-aliceblue-border-bottom-gray {
    background: #1a2a3a !important;
    border-bottom: 1px solid #555 !important;
}

/**
 * Text Color Adjustments
 * Ensure text remains readable on dark backgrounds
 */
.text-uppercase-fw600-fs08,
.text-center-fs09-fw500 {
    color: #fff !important;
}

/**
 * Email Interface Selected State
 * Override inline styles from epost/index.php
 */
.nordiska-epost .bg-selected {
    background: #4a4a00 !important;
    color: #fff !important;
}

/* Force all child elements in selected message to have white text */
.nordiska-epost .bg-selected,
.nordiska-epost .bg-selected *,
.nordiska-epost .bg-selected a,
.nordiska-epost .bg-selected .meta-from a,
.nordiska-epost .bg-selected .meta-holder,
.nordiska-epost .bg-selected .meta-holder a,
.nordiska-epost .bg-selected .subject-holder,
.nordiska-epost .bg-selected .subject-holder a {
    color: #fff !important;
}

/* Override inline color styles on selected messages */
.nordiska-epost .bg-selected [style*="color"],
.nordiska-epost .bg-selected a[style*="color"] {
    color: #fff !important;
}
