/* COMPREHENSIVE STYLE FIXES - SOLID BACKGROUNDS & PROPER TEXT CONTRAST */

/* Fix all card backgrounds to be solid white */
.card { 
    background: #FFFFFF !important; 
    color: #2E86AB !important;
}

.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.card p, .card span, .card li, .card small, .card .text-muted {
    color: #2E86AB !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
}

/* Specific colored card backgrounds with proper text contrast */
.card.bg-teal, [style*="background: #4ECDC4"], [style*="background:#4ECDC4"] { 
    background: #4ECDC4 !important; 
    color: white !important;
}
.card.bg-teal *, [style*="background: #4ECDC4"] *, [style*="background:#4ECDC4"] * { 
    color: white !important; 
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 !important; 
}

.card.bg-orange, [style*="background: #FF6B35"], [style*="background:#FF6B35"] { 
    background: #FF6B35 !important; 
    color: white !important;
}
.card.bg-orange *, [style*="background: #FF6B35"] *, [style*="background:#FF6B35"] * { 
    color: white !important; 
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 !important; 
}

.card.bg-yellow, [style*="background: #FFE66D"], [style*="background:#FFE66D"] { 
    background: #FFE66D !important; 
    color: #2E86AB !important;
}
.card.bg-yellow *, [style*="background: #FFE66D"] *, [style*="background:#FFE66D"] * { 
    color: #2E86AB !important; 
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important; 
}

.card.bg-green, [style*="background: #00FF7F"], [style*="background:#00FF7F"] { 
    background: #00FF7F !important; 
    color: #2E86AB !important;
}
.card.bg-green *, [style*="background: #00FF7F"] *, [style*="background:#00FF7F"] * { 
    color: #2E86AB !important; 
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important; 
}

.card.bg-pink, [style*="background: #FF1493"], [style*="background:#FF1493"] { 
    background: #FF1493 !important; 
    color: white !important;
}
.card.bg-pink *, [style*="background: #FF1493"] *, [style*="background:#FF1493"] * { 
    color: white !important; 
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 !important; 
}

/* Remove all semi-transparent and gradient backgrounds */
[style*="background: rgba"], [style*="background:rgba"], 
[style*="background: linear-gradient"], [style*="background:linear-gradient"] { 
    background: #FFFFFF !important; 
}

/* Remove all hover effects that change backgrounds */
.card:hover, .btn:hover, .stat-card:hover { 
    background: inherit !important; 
    transform: none !important; 
}

/* Fix button hover states */
.btn:hover { 
    background-color: inherit !important;
    border-color: inherit !important;
}