
html {
    scrollbar-width: thin!important;
    scrollbar-color: #639794 #cfe3e3!important;
}



:root {
    --kitquote-primary: #8dd8d3;
    --kitquote-secondary: #fd5b58;
    --kitquote-primary-darker: #639794;
    --kitquote-primary-lighter: #E6F6F5;
    --rz-primary: green;
    --rz-primary-dark: blue;
    --rz-primary-light: orange;
    --rz-secondary: red;
    --rz-success: #198754;
    --rz-danger: #dc3545;
    --rz-warning: #ffc107;
    --rz-info: #0dcaf0;
    --rz-text-color: var(--kitquote-primary);
    --rz-body-background-color: white;
    --rz-header-background-color: var(--kitquote-primary);
    --rz-footer-background-color: var(--kitquote-primary);
    --rz-header-color: var(--kitquote-secondary);
    --rz-footer-color: var(--kitquote-secondary);
    --rz-menu-item-color: red;
    --rz-menu-background-color: green;
    --rz-menu-item-hover-background-color: white;
    --rz-sidebar-background-color: var(--kitquote-primary);
}

.rz-primary-text {
    color: var(--kitquote-secondary);
}


.rz-info-text {
    color: var(--rz-info);
}

.rz-success-text {
    color: var(--rz-success);
}

.rz-warning-text {
    color: var(--rz-warning);
}

.rz-danger-text {
    color: var(--rz-danger);
}

.rz-navigation-item-link {
    background-color: var(--kitquote-primary) !important;
    color: var(--kitquote-secondary) !important;
}


.rz-navigation-item-link {
    background-color: var(--kitquote-primary) !important;
    color: #fd5b58 !important;
}


.rz-navigation-item-link-active {
    background-color: var(--kitquote-primary-darker) !important;
    color: white !important;
}


.app-primary-as-background {
    background-color: var(--kitquote-primary) !important;
}



.sidebar-collapsed {
    min-width: 100px !important;
}

.togglebutton {
    background-color: var(--kitquote-primary-darker);
    color: var(--kitquote-secondary);
}

    .togglebutton:hover {
        background-color: var(--kitquote-primary);
        color: var(--kitquote-secondary);
    }



.app-primary-lighter {
    background-color: var(--kitquote-primary-lighter) !important;
    color: var(--kitquote-secondary);
}
.rz-datatable .rz-grid-table thead th {
    background-color: var(--kitquote-primary-darker) !important;
}

.rz-pager {
    background-color: var(--kitquote-primary-darker) !important;
}


.rz-datatable .rz-grid-table tbody tr {
    background-color: var( --kitquote-primary-lighter);
    color: var(--kitquote-primary-darker);
}

.rz-datatable .rz-grid-table tbody tr td span {
    background-color: var( --kitquote-primary-lighter);
    color: var(--kitquote-primary-darker);
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* the radzen layout uses flexbox */
.rz-body {
    min-width: 0; /* CRITICAL — allows overflow */
    overflow-x: auto !important;
    padding: 5px 5px 5px 5px;
    background-color: var(--kitquote-primary-darker);
}

/* the container that will scroll */
.app-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: block; /* IMPORTANT */
    height: 100%;
}

.app-content {
    min-width: 1100px;
    margin-left: 0 !important; /* stops centering */
    height: 100%;
}


/* optional — nicer scrollbar behaviour */
.app-scroll::-webkit-scrollbar {
    height: 10px;
}


/* Prevent grid column compression */
.rz-data-grid {
    min-width: max-content;
    border-radius: 5px;
}

/* Header cells */
.rz-grid-table th {
    white-space: nowrap;
}

/* Data cells */
.rz-grid-table td {
    white-space: nowrap;
}

.rz-grid-table {
    table-layout: auto !important;
}


