/* Text Visibility Fix for Enhanced Cards */

/* Universal text visibility rules */
.enhanced-card * {
    position: relative !important;
    z-index: 10 !important;
}

/* Header text - force white with strong shadow */
.enhanced-card-header *,
.enhanced-card-header h1,
.enhanced-card-header h2,
.enhanced-card-header h3,
.enhanced-card-header h4,
.enhanced-card-header h5,
.enhanced-card-header h6,
.enhanced-card-header p,
.enhanced-card-header span,
.enhanced-card-header div,
.bank-name,
.loan-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
    z-index: 100 !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    font-weight: 600 !important;
}

/* Specific bank name styling */
.bank-name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.7) !important;
}

/* Loan title styling */
.loan-title {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

/* Enhanced card title and subtitle overrides */
.enhanced-card-title {
    color: white !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.7) !important;
    z-index: 100 !important;
}

.enhanced-card-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    z-index: 100 !important;
}

/* Prevent any background interference */
.enhanced-card-header::before {
    z-index: 1 !important;
}

.enhanced-card-header::after {
    z-index: 1 !important;
}