/*
 * Style entry point (loaded after the Syncfusion Fluent 2 theme), following the Erp model:
 * tokens, page blocks, forms, desktop shell (copied from Erp), then the EventManager additions.
 */
@import url("css/tokens.css");
@import url("css/components.css");
@import url("css/forms.css");
@import url("css/shell.css");
@import url("css/eventmanager.css");
@import url("css/reconnect-modal.css");

/* Aligns the Syncfusion theme (Fluent 2) with the tokens (taken from Erp). */
.e-btn.e-primary,
.e-btn.e-primary:focus {
    background-color: var(--erp-color-accent);
    border-color: var(--erp-color-accent);
    color: var(--erp-color-accent-contrast);
}

.e-btn.e-primary:hover {
    background-color: var(--erp-color-accent-hover);
    border-color: var(--erp-color-accent-hover);
}

.e-btn.e-danger {
    background-color: var(--erp-color-danger);
    border-color: var(--erp-color-danger);
    color: var(--erp-color-accent-contrast);
}

.e-grid {
    font-family: var(--erp-font-family);
}

/* Syncfusion components in the application font (Open Sans) instead of the theme's Segoe UI. */
.e-control,
.e-css,
.e-btn,
.e-input-group input.e-input,
.e-dialog .e-dlg-header {
    font-family: var(--erp-font-family);
}

/* Grid headers: light blue-grey band, navy titles (BrusselsNI look). */
.e-grid .e-gridheader,
.e-grid .e-headercell,
.e-grid .e-detailheadercell {
    background-color: var(--vk-color-table-header);
}

.e-grid .e-headercell .e-headertext {
    color: var(--vk-color-navy);
    font-weight: 600;
}
