#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;
    }

:root {
    font-size: var(--rz-root-font-size);
}

body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
}

.rz-body {
    --rz-body-padding: 0;
}

a {
    color: var(--rz-link-color);
}

    a:hover,
    a:focus {
        color: var(--rz-link-hover-color);
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Single-row layout */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 20px;
}

    .form-row > .rz-label,
    .form-row > label {
        width: 150px;
        text-align: right;
        font-weight: 600;
    }

    .form-row > *:not(.rz-label):not(label) {
        flex: 1;
    }

/* Two-column row container */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 18px;
}

/* Target the table rows specifically within the Radzen DataGrid */
.rz-datatable-data tr:hover {
    background-color: #f0f4f8 !important; /* Your desired hover color */
    cursor: pointer; /* Optional: changes cursor to a hand */
    transition: background-color 0.2s ease; /* Optional: smooth fade */
}

    /* Ensure the text remains readable if using a dark hover color */
    .rz-datatable-data tr:hover td {
        color: #000000;
    }

/* Removes the custom Radzen styling and shows a standard checkbox appearance */
.rz-checkbox .rz-checkbox-box {
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
    background-color: initial !important;
    border: initial !important;
    width: 13px !important; /* Standard browser size */
    height: 13px !important;
    box-shadow: none !important;
}

    /* Hide the internal Radzen checkmark icon */
    .rz-checkbox .rz-checkbox-box .rz-chkbox-icon {
        display: none !important;
    }

.required-star {
    /*color: red;*/
    color: #8B0000;
    font-weight: bold;
}

/* Begin Added by Don Hoang*/
.ItemTranTable {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #4CAF50;
}

    .ItemTranTable td, #ItemTranTable th {
        border: 1px solid #4CAF50;
        /*padding: 1px;*/
        line-height: 20px;
        padding-left: 5px;
    }

    .ItemTranTable th {
        border: 1px solid #808080;
        padding-top: 1px;
        padding-bottom: 1px;
        text-align: left;
        background-color: #4CAF50;
        color: white;
        line-height: 30px;
        padding-left: 5px;
    }

    .ItemTranTable tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .ItemTranTable tr:hover {
        background-color: lemonchiffon;
        color: darkblue;
    }

    .ItemTranTable a:hover {
        color: #ff0000;
    }

    .ItemTranTable td, .ItemTranTable th {
        font-size: 12px;
    }

.home-login-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(188, 208, 214, 0.40) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.02) 100% );
    backdrop-filter: blur(1px);
}

.login-shell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-panel {
    width: 540px;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(193, 205, 218, 0.82);
    border: 1px solid rgba(120, 136, 153, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
}

.login-panel-header {
    padding: 16px 18px 14px 18px;
    border-bottom: 1px solid rgba(120, 136, 153, 0.35);
    background: rgba(183, 196, 210, 0.55);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-left {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-logo-right {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-left: auto;
}

.brand-text {
    line-height: 1.15;
}

.brand-subtitle {
    font-size: 0.95rem;
    color: #1d1d1d;
}

.brand-title {
    font-size: 1.00rem;
    font-weight: 700;
    color: #1d1d1d;
}

.login-panel-body {
    padding: 28px 22px 18px 22px;
}

.form-group-custom {
    margin-bottom: 14px;
}

.input-icon-box {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-icon {
    width: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border: 1px solid #d4d7db;
    border-right: none;
    color: #4a4f55;
    border-radius: 3px 0 0 3px;
}

.custom-input {
    width: 100% !important;
}

    .custom-input .rz-inputtext,
    .custom-input input {
        width: 100% !important;
        height: 40px !important;
        border-radius: 0 3px 3px 0 !important;
        border: 1px solid #d4d7db !important;
        background: #f7f7f7 !important;
        box-shadow: none !important;
    }

.button-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
/*
.login-btn {
    min-width: 135px;
    height: 38px;
    font-weight: 600;
    border-radius: 3px;
}
*/
.login-btn {
    min-width: 135px;
    min-height: 44px;
    height: 44px;
    font-weight: 600;
    border-radius: 3px;
}


.primary-btn,
.county-btn {
    background: #0d56c5 !important;
    border: none !important;
    color: white !important;
}

    .primary-btn:hover,
    .county-btn:hover {
        filter: brightness(0.95);
    }

.cancel-btn {
    background: #6c757d !important; /* gray */
    border: none !important;
    color: white !important;
}

    .cancel-btn:hover {
        filter: brightness(0.9);
    }

.loading-row {
    margin-top: 14px;
    text-align: center;
}

.error-row {
    margin-top: 14px;
}

.login-panel-footer {
    padding: 16px 22px 20px 22px;
    border-top: 1px solid rgba(120, 136, 153, 0.35);
    color: #2c3742;
    font-size: 0.95rem;
    line-height: 1.45;
}

.footer-section {
    margin-bottom: 16px;
}

    .footer-section:last-child {
        margin-bottom: 0;
    }

.footer-heading {
    font-weight: 600;
    color: #1f2c38;
    margin-bottom: 2px;
}

.login-panel-footer a {
    display: block;
    color: #5b7696;
    text-decoration: none;
    margin-bottom: 2px;
}

    .login-panel-footer a:hover {
        text-decoration: underline;
    }

.site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 600;
}

@@media (max-width: 768px) {
    .home-login-page {
        padding: 20px 12px 85px 12px;
    }

    .login-shell {
        justify-content: center;
    }

    .login-panel {
        width: 100%;
        max-width: 420px;
    }

    .brand-title {
        font-size: 1.65rem;
    }

    .button-row {
        flex-direction: column;
    }

    .login-btn {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}


.validation-summary-errors {
    font-size: 1rem;
}

.validation-message {
    color: #dc3545; /* red */
    font-weight: 600;
    font-size: 0.9rem;
}
/* Password visibility toggle */
.password-input {
    position: relative;
}

    .password-input .rz-inputtext,
    .password-input input {
        padding-right: 40px !important;
    }

    .password-input .toggle-password {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        cursor: pointer;
        color: #4a4f55;
    }

.password-box {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.agency-page {
    padding: 8px;
    background-color: #f3f3f3;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

.section-card {
    padding: 0;
    border: 1px solid #b5b5b5;
    box-shadow: none;
    border-radius: 2px;
    background-color: white;
}

.section-header {
    background-color: #e5e5e5;
    border-bottom: 1px solid #b5b5b5;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.section-body {
    padding: 10px;
    font-size: 14px;
    color: #111;
    line-height: 1.6;
}

.support-row {
    margin-bottom: 6px;
}

.mt-3 {
    margin-top: 10px;
}

.section-body p {
    margin-top: 0;
    margin-bottom: 18px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #dcdcdc;
    letter-spacing: 0.3px;
}


.datatable-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
}

.custom-datatable {
    width: 100%;
    min-width: unset !important; /* ✅ remove forced width */
    max-width: 100%;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    background: #fff;
}

    .custom-datatable .rz-datatable-table {
        width: 100%;
        table-layout: auto;
    }

    .custom-datatable .rz-column-title {
        font-weight: 600;
    }

    .custom-datatable .rz-datatable-thead th {
        background-color: #2f3e4e;
        color: white;
        font-size: 0.85rem;
        padding: 10px 12px;
        border-bottom: 1px solid #d6dde5;
    }

    .custom-datatable .rz-datatable-data td {
        font-size: 0.84rem;
        padding: 9px 12px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .custom-datatable .rz-datatable-data tr:nth-child(even) {
        background-color: #f8fafc;
    }

    .custom-datatable .rz-datatable-data tr:hover {
        background-color: #eef4f9;
    }

    .custom-datatable .rz-paginator {
        border-top: 1px solid #e5ebf1;
        padding: 10px 12px;
    }

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/*
.grid-icon-btn {
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
}*/

.grid-icon-btn {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Smaller screens */
@media (max-width: 992px) {
    .custom-datatable {
        min-width: 1200px;
    }

        .custom-datatable .rz-datatable-thead th,
        .custom-datatable .rz-datatable-data td {
            font-size: 0.8rem;
            padding: 8px 10px;
        }
}

@media (max-width: 768px) {
    .custom-datatable {
        min-width: 1100px;
    }
    /*
    .grid-icon-btn {
        min-width: 30px;
        width: 30px;
        height: 30px;
    }
    */
    .grid-icon-btn {
        min-width: 44px !important;
        width: 44px !important;
        min-height: 44px !important;
        height: 44px !important;
    }
}

.no-scroll-grid ::deep .rz-datatable-scrollable-wrapper,
.no-scroll-grid ::deep .rz-datatable-tablewrapper {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.no-scroll-grid ::deep table {
    width: 100% !important;
    table-layout: fixed !important;
}

.no-scroll-grid ::deep .rz-datatable-data td,
.no-scroll-grid ::deep .rz-column-title {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}



.county-dashboard-shell {
    background: #f5f7fa;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    padding: 1.25rem;
}

.county-dashboard-header {
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #005a9c;
}

.county-dashboard-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003b5c;
    margin: 0;
}

.county-dashboard-subtitle {
    font-size: .95rem;
    color: #52606d;
    margin-top: .25rem;
}

.county-card {
    background: #ffffff;
    border: 1px solid #cbd2d9;
    border-left: 6px solid #005a9c;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow .2s ease, transform .2s ease;
    min-height: 112px;
}

    .county-card:hover {
        box-shadow: 0 4px 14px rgba(16, 24, 40, 0.12);
        transform: translateY(-2px);
    }

.county-card-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.county-icon-wrap {
    width: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4f8;
    border-right: 1px solid #d9e2ec;
}

.county-icon {
    color: #005a9c;
    font-size: 2rem;
}

.county-content {
    flex: 1;
    padding: 1rem 1rem 1rem .95rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.county-label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    /*color: #486581;*/
    color: #334e68;
    margin-bottom: .35rem;
}

.county-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: #102a43;
    line-height: 1.1;
}

.county-note {
    font-size: .8rem;
    /*color: #7b8794;*/
    color: #334e68;
    margin-top: .35rem;
}

.county-card-blue {
    border-left-color: #005a9c;
}

.county-card-gold {
    border-left-color: #c99700;
}

.county-card-green {
    border-left-color: #2f6f3e;
}

.county-card-gray {
    border-left-color: #7b8794;
}

/*
 //Dialog container */
.county-dialog .rz-dialog-titlebar {
    background-color: #f5f7fa;
    border-bottom: 2px solid #005a9c;
    padding: 14px 20px;
}

/*// Title text */
.county-dialog .rz-dialog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #003b5c;
}

/*// Optional: close button */
.county-dialog .rz-dialog-titlebar-close {
    color: #003b5c;
}

.rz-notification {
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
}
.grid-icon-btn .rz-button-text {
    display: none !important;
}


.agency-btn {
    background-color: #1976d2 !important; /* blue */
}

.staff-btn {
    background-color: #2e7d32 !important; /* green */
}

.editor-btn {
    background-color: #ed6c02 !important; /* orange */
}

.manager-btn {
    background-color: #6a1b9a !important; /* purple */
}
/* File Selected */
.file-default {
    border: 2px dashed #ccc;
    padding: 10px;
    background-color: #f9f9f9;
}

.file-selected {
    border: 2px solid #28a745;
    padding: 10px;
    background-color: #e6ffe6;
}

/*Enable text wrapping */
.custom-datatable .rz-cell-data {
    white-space: normal;
    word-break: break-word;
}


.rz-body {
    padding: 0 !important;
}

.rz-body-content {
    padding: 0.5rem !important;
}




.accessible-icon-button button,
.accessible-icon-button {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.accessible-profile-menu .rz-profile-menu,
.accessible-profile-menu .rz-profile-menu-button,
.accessible-profile-menu button {
    min-height: 44px;
    min-width: 44px;
}

.accessible-panel-menu .rz-navigation-item {
    min-height: 44px !important;
    box-sizing: border-box !important;
}

.accessible-panel-menu .rz-navigation-item-link,
.accessible-panel-menu .rz-panel-menu-item-link,
.accessible-panel-menu .rz-navigation-item-wrapper {
    min-height: 44px !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
}

.accessible-target-size .rz-dropdown,
.accessible-target-size .rz-dropdown-trigger,
.accessible-target-size .rz-dropdown-label {
    min-height: 44px !important;
}

.accessible-target-size .rz-dropdown {
    min-width: 44px !important;
}

.accessible-target-size .rz-dropdown-trigger {
    width: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Radzen dropdown popup options */
.rz-dropdown-panel .rz-dropdown-item {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
/* Generic Radzen interactive controls */
.rz-button,
.rz-icon-button,
.rz-sidebar-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
}
/* Radzen PanelMenu clickable items */
.accessible-panel-menu .rz-navigation-item-wrapper,
.accessible-panel-menu .rz-navigation-item-link {
    min-height: 44px !important;
}
/* Profile menu */
.accessible-profile-menu .rz-navigation-item-wrapper {
    min-height: 44px !important;
    min-width: 44px !important;
}
/* Profile menu popup items */
.accessible-profile-menu .rz-navigation-menu > .rz-navigation-item {
    min-height: 44px !important;
}

.accessible-profile-menu .rz-navigation-menu
.rz-navigation-item-wrapper {
    min-height: 44px !important;
}
/* Grid action buttons */
.grid-icon-btn {
    min-width: 44px !important;
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
}

.accessible-profile-menu > .rz-navigation-item > .rz-navigation-item-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    min-height: 44px !important;
}

.accessible-profile-menu .rz-navigation-item-link {
    display: flex !important;
    align-items: center !important;
    gap: .35rem;
}

.accessible-profile-menu .item-text {
    display: flex;
    align-items: center;
    line-height: 1;
}
/* Header hamburger button */
.rz-header .rz-button[aria-label="Menu"] {
    background-color: #4340D2 !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    min-width: 44px !important;
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
    /* Hamburger icon */
    .rz-header .rz-button[aria-label="Menu"] .rzi {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }
    /* Hover */
    .rz-header .rz-button[aria-label="Menu"]:hover {
        background-color: #3532B0 !important;
        color: #FFFFFF !important;
    }
    /* Keyboard focus */
    .rz-header .rz-button[aria-label="Menu"]:focus-visible {
        outline: 3px solid #FFFFFF !important;
        outline-offset: 2px !important;
    }

.history-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    width: 100%;
}

.history-icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

    .history-icon-btn .rzi {
        font-size: 20px !important;
    }



.detail-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Radzen DataGrid - blue header */
.rz-data-grid-data .rz-grid-table thead th {
    background-color: #d9eaf7 !important;
    color: #1f3a5f !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #9bbbd4 !important;
}

/* Header text */
.rz-data-grid-data .rz-grid-table thead th .rz-column-title {
    color: #1f3a5f !important;
    font-weight: 700 !important;
}