﻿:root {
    --rz-primary: rgba(39,170,225,1);
    --rz-paginator-numeric-button-selected-color: white;
    --rz-primary-lighter: rgba(39,170,225,0.8);
    --rz-dropdown-item-selected-color: white;
    --rz-checkbox-checked-hover-background-color: var(--rz-primary);
    --rz-dropdown-item-selected-hover-color: black;
    --rz-grid-header-background-color: lightgray;
    --rz-dropdown-item-hover-background-color: rgba(39,170,225,0.5);
}

.rz-data-grid-data {
    border-block: inherit;
}

.rz-datatable-emptymessage {
    text-align: center;
}

.rz-grid-table-fixed .rz-frozen-cell {
    right: 0;
    background: inherit;
    border-left: 2px solid #e0e0e0;
}

.rz-datatable-thead th .rz-column-title-content, .rz-grid-table thead th .rz-column-title-content {
    white-space: initial;
}

.rz-datatable-thead th .rz-column-title, .rz-grid-table thead th .rz-column-title {
    font-size: 11px;
    font-weight: bold;
    padding: 0px 5px;
    line-height: 1.5;
    text-overflow: inherit;
}

.rz-button.rz-primary.rz-shade-default, .rz-primary.rz-shade-default {
    font-size: 10px;
  
    padding: 0px;
    width: 70px;
    min-height: 0;
    min-width: 0;
    letter-spacing: 0.80px;
    font-family: Roboto, sans-serif;
}

.rz-button.rz-secondary.rz-shade-default, .rz-secondary.rz-shade-default {
    background-color: var(--rz-primary);
    float: right;
    font-size: 0.875rem;
    font-family: Roboto, sans-serif;
    
}

th.rz-unselectable-text.rz-frozen-cell {
    background-color: var(--rz-grid-header-background-color);
}

.rz-datatable-data td .rz-cell-data, .rz-grid-table td .rz-cell-data {
    font-size: unset;
}

.rz-grid-table > tbody > tr:nth-of-type(odd) {
    background-color: rgba(242,242,242,1);
}

.rz-grid-table > tbody > tr:nth-of-type(even) {
    background-color: rgba(255,255,255,1);
}

.rz-align-left .rz-paginator-summary {
    padding-top: 10px;
    padding-right: 0;
}

rz-paginator-icon {
    line-height: 1.25;
}

.rz-paginator-page, .rz-paginator-summary {
    font-size: inherit;
}

.rz-paginator-page, .rz-paginator-summary, .rz-paginator .rz-dropdown, .rz-pagesize-text {
    font-size: inherit;
}

.rz-paginator .rz-dropdown {
    height: auto;
    width: 8%;
}

/* Ensure table headers don't overlap sidebars */
.rz-datatable-thead,
.rz-grid-table thead,
.rz-datatable-scrollable-header,
.rz-datatable-scrollable-header-box {
    position: relative !important;
    z-index: 1 !important;
}

.rz-datatable-thead th,
.rz-grid-table thead th {
    position: relative !important;
    z-index: 1 !important;
}

/* Remove stacking context from data grid to allow sidebars to escape */
.rz-datatable,
.rz-data-grid {
    position: relative;
    z-index: auto !important;
}

/* Remove sticky positioning from expanded row template to prevent stacking context issues with sidebars */
.rz-expanded-row-template {
    position: static !important;
}