/* ═══════════════════════════════════════════════════════
   DARK BACKGROUND TEXT COLOR FIX - MAXIMUM VISIBILITY
   Ensures pure white text on all blue/dark backgrounds
   ═══════════════════════════════════════════════════════ */

/* Dark Background Classes - Pure White Text with Strong Shadows */
.bg-slate-950, .bg-slate-950 *,
.bg-slate-900, .bg-slate-900 *,
.bg-slate-800, .bg-slate-800 *,
[class*="bg-slate-9"] *, 
[class*="bg-slate-8"] *,
.bg-blue-900, .bg-blue-900 *,
.bg-blue-800, .bg-blue-800 *,
.bg-blue-700, .bg-blue-700 *,
[class*="bg-blue-9"] *, 
[class*="bg-blue-8"] *, 
[class*="bg-blue-7"] *,
.bg-teal-900, .bg-teal-900 *,
.bg-teal-800, .bg-teal-800 * {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
    font-weight: 700 !important;
}

/* Inline Style Dark Backgrounds - Pure White */
section[style*="background:#0f172a"] *,
section[style*="background:#1e293b"] *,
section[style*="background:#334155"] *,
div[style*="background:#0f172a"] *,
div[style*="background:#1e293b"] *,
div[style*="background:#334155"] *,
div[style*="background:linear-gradient"] *:not(.bg-white):not([class*="bg-slate-5"]):not([class*="bg-gray-"]):not([class*="bg-white"]) {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
    font-weight: 700 !important;
}

/* Headings on Dark Backgrounds - Maximum Brightness */
.bg-slate-950 h1, .bg-slate-950 h2, .bg-slate-950 h3, .bg-slate-950 h4, .bg-slate-950 h5, .bg-slate-950 h6,
.bg-slate-900 h1, .bg-slate-900 h2, .bg-slate-900 h3, .bg-slate-900 h4, .bg-slate-900 h5, .bg-slate-900 h6,
[class*="bg-slate-9"] h1, [class*="bg-slate-9"] h2, [class*="bg-slate-9"] h3,
section[style*="background:#0f172a"] h1,
section[style*="background:#0f172a"] h2,
section[style*="background:#0f172a"] h3,
section[style*="background:#0f172a"] h4,
div[style*="background:#0f172a"] h1,
div[style*="background:#0f172a"] h2,
div[style*="background:#0f172a"] h3 {
    color: #FFFFFF !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5) !important;
    font-weight: 900 !important;
}

/* Paragraphs on Dark Backgrounds - Clean White */
.bg-slate-950 p, .bg-slate-950 span, .bg-slate-950 div, .bg-slate-950 li,
.bg-slate-900 p, .bg-slate-900 span, .bg-slate-900 div, .bg-slate-900 li,
.bg-slate-800 p, .bg-slate-800 span, .bg-slate-800 div, .bg-slate-800 li,
[style*="background:#0f172a"] p,
[style*="background:#1e293b"] p,
[style*="background:#334155"] p,
[style*="background:#0f172a"] span,
[style*="background:#1e293b"] span,
[style*="background:#0f172a"] li,
[style*="background:#1e293b"] li {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
    font-weight: 600 !important;
}

/* Pure white text enhancement */
.text-white, [class*="text-white"],
[style*="color:white"], [style*="color:#fff"] {
    color: #FFFFFF !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
}

/* Slate text on dark backgrounds - Make them white */
.bg-slate-950 .text-slate-200,
.bg-slate-950 .text-slate-300,
.bg-slate-950 .text-slate-400,
.bg-slate-900 .text-slate-200,
.bg-slate-900 .text-slate-300,
.bg-slate-900 .text-slate-400 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
}

/* Strong/Bold text on dark backgrounds */
.bg-slate-950 strong, .bg-slate-950 b,
.bg-slate-900 strong, .bg-slate-900 b,
[style*="background:#0f172a"] strong,
[style*="background:#0f172a"] b,
[style*="background:#1e293b"] strong {
    color: #FFFFFF !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 14px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.7) !important;
}

/* Links on dark backgrounds - Bright cyan */
.bg-slate-950 a, .bg-slate-900 a,
[style*="background:#0f172a"] a,
[style*="background:#1e293b"] a {
    color: #67e8f9 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
}

/* Buttons on dark backgrounds */
.bg-slate-950 button, .bg-slate-900 button,
[style*="background:#0f172a"] button {
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
    font-weight: 800 !important;
}

/* Exception: Keep white/light backgrounds with dark text */
.bg-white, .bg-white *,
.bg-slate-50, .bg-slate-50 *,
.bg-slate-100, .bg-slate-100 *,
[class*="bg-white"] *,
[class*="bg-slate-5"] *,
[class*="bg-gray-5"] *,
[style*="background:white"] *,
[style*="background:#fff"] * {
    color: #1e293b !important;
    text-shadow: none !important;
}

.bg-white h1, .bg-white h2, .bg-white h3,
.bg-slate-50 h1, .bg-slate-50 h2,
[class*="bg-white"] h1, [class*="bg-white"] h2 {
    color: #0f172a !important;
    text-shadow: none !important;
}

/* Small text enhancement */
.bg-slate-950 small, .bg-slate-900 small,
[style*="background:#0f172a"] small {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7) !important;
}

/* Labels on dark backgrounds */
.bg-slate-950 label, .bg-slate-900 label,
[style*="background:#0f172a"] label {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7) !important;
}

/* Career Insurance section - Insurance Benefits */
.bg-slate-950 h4, .bg-slate-900 h4,
[style*="background:#0f172a"] h4 {
    color: #FFFFFF !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
}

/* Special targeting for dim text elements */
.text-slate-400, .text-slate-300 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
}

/* Override bg-slate specific text colors on dark backgrounds */
.bg-slate-950 .text-slate-400,
.bg-slate-900 .text-slate-400,
.bg-slate-950 .text-slate-300,
.bg-slate-900 .text-slate-300 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8) !important;
}

/* Inside dark gradient containers */
[class*="from-slate-9"] *, [class*="to-slate-9"] * {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
}
