﻿/* theme.css — single source of truth */
:root {
    /* Brand palette (adjust to your menu’s exact colors) */
    --brand-primary: #0056b3; /* menu blue */
    --brand-accent: #b32121; /* top ribbon red (if you keep it) */
    --brand-surface: #fbfbfb;
    --brand-text: #212529;
    --brand-radius: .5rem;
}

/* Map to Bootstrap variables */
:root {
    --bs-primary: var(--brand-primary);
    --bs-link-color: var(--brand-primary);
    --bs-link-hover-color: color-mix(in srgb, var(--brand-primary) 80%, black);
    --bs-body-bg: var(--brand-surface);
    --bs-body-color: var(--brand-text);
    --bs-border-radius: var(--brand-radius);
}

/* Map to Telerik components (lightweight runtime overrides) */
.k-button-solid-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

    .k-button-solid-primary:hover {
        filter: brightness(.95);
    }

.k-card, .k-window {
    border-radius: var(--brand-radius);
}

.k-grid .k-table-thead, .k-grid .k-grid-header {
    background: color-mix(in srgb, var(--brand-primary) 6%, white);
}
