/*
 * Temporary bridge for legacy workspace event code and custom HTML that still uses
 * Bootstrap-era text utility classes from persisted .gebra exports. Remove this file
 * after all imported workspaces have been migrated to semantic platform-owned classes.
 */

.text-danger,
.text-danger a {
    color: var(--app-status-danger) !important;
}

.text-primary,
.text-primary a {
    color: var(--app-link-default) !important;
}

.text-success,
.text-success a {
    color: var(--app-status-success) !important;
}

.text-info,
.text-info a {
    color: var(--app-status-info) !important;
}

.text-warning,
.text-warning a {
    color: var(--app-status-warning) !important;
}

.text-muted,
.text-muted a {
    color: var(--app-text-muted) !important;
}

.text-brixxlite,
.text-brixxlite a,
.text-accent-lite,
.text-accent-lite a {
    color: var(--app-accent-lite) !important;
}

.text-brixxdark,
.text-brixxdark a,
.text-accent-dark,
.text-accent-dark a {
    color: var(--app-accent-dark) !important;
}

/* Legacy grids historically forced text utility colors to white when a row was selected. */
tr.selected .text-danger,
tr.selected .text-danger a,
tr.selected .text-primary,
tr.selected .text-primary a,
tr.selected .text-success,
tr.selected .text-success a,
tr.selected .text-info,
tr.selected .text-info a,
tr.selected .text-warning,
tr.selected .text-warning a,
tr.selected .text-muted,
tr.selected .text-muted a,
tr.selected .text-brixxlite,
tr.selected .text-brixxlite a,
tr.selected .text-accent-lite,
tr.selected .text-accent-lite a,
tr.selected .text-brixxdark,
tr.selected .text-brixxdark a,
tr.selected .text-accent-dark,
tr.selected .text-accent-dark a {
    color: var(--app-base-white) !important;
}
