
/* MFAE CRM DARK MODE — VISUAL CORRECTION V1 */
/* Scoped to dark mode and CRM page only. */

[data-mfae-theme="dark"] .mfae-shell
.content:has(.mfae-crm-customer-card)
.mfae-crm-customer-card {
    background: #192b45 !important;
    color: #f1f6ff !important;
    border: 1px solid #344b69 !important;
    border-radius: 11px !important;
    padding: 12px 15px !important;
    margin: 8px 0 !important;
    box-shadow: none !important;
}

/* CRM customer list: remove light outer card surfaces. */

[data-mfae-theme="dark"] .mfae-shell
.content:has(.mfae-crm-customer-card)
.mfae-crm-customer-card > .item {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Readable customer details. */

[data-mfae-theme="dark"] .mfae-shell
.mfae-crm-customer-card strong {
    color: #f4f7ff !important;
}

[data-mfae-theme="dark"] .mfae-shell
.mfae-crm-customer-card .muted,
[data-mfae-theme="dark"] .mfae-shell
.mfae-crm-customer-card p {
    color: #b8cbe6 !important;
}

/* Consistent interactive controls. */

[data-mfae-theme="dark"] .mfae-shell
.mfae-crm-customer-card button {
    background: #213b5d;
    color: #f1f6ff;
    border: 1px solid #405b7e;
}

/* Mobile layout. */

@media (max-width: 600px) {
    [data-mfae-theme="dark"] .mfae-shell
    .mfae-crm-customer-card {
        padding: 10px 12px !important;
    }
}
