.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

:root,
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
}

:focus {
    outline: none !important;
    box-shadow: none !important;
}

:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

::-moz-focus-inner {
    border: 0;
    outline: 0;
}

:-moz-focusring {
    outline: none;
}

.btn:focus,
.btn:focus-visible,
.form-control:focus,
.form-control:focus-visible,
.form-select:focus,
.form-select:focus-visible,
.form-check-input:focus,
.form-check-input:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

[class^="rz-"]:focus,
[class*=" rz-"]:focus,
[class^="rz-"]:focus-visible,
[class*=" rz-"]:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid #26b050;
    outline-offset: 2px;
}

:root {
    --yms-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --yms-font-size-base: 0.9rem;
    --yms-font-size-small: 0.8rem;
    --yms-font-weight-normal: 500;
    --yms-letter-spacing: 0.01em;
    --yms-text-color: #333;
}

body,
input,
button,
select,
textarea {
    font-family: var(--yms-font-family);
    font-size: var(--yms-font-size-base);
    font-weight: var(--yms-font-weight-normal);
    letter-spacing: var(--yms-letter-spacing);
    color: var(--yms-text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--yms-font-family);
    font-weight: 600;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
    }

.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: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 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");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* A) Button focus suppression */
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

button:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

button:active:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Fix for Firefox */
button::-moz-focus-inner {
    border: 0 !important;
    outline: 0 !important;
}

/* B) .icon-button class */
.icon-button {
    appearance: none;
    -webkit-appearance: none;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.1s ease-in-out;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

    .icon-button:hover {
        padding: 10px;
        border-radius: 4px;
        background-color: gray !important;
        color: #fff !important;
        transform: scale(1.05);
    }

        .icon-button:hover::before {
            content: "";
            position: absolute;
            border-radius: 8px;
            background-color: gray;
            z-index: -1;
        }

/* C) Radzen DataGrid overrides */
.rz-button.rz-primary.rz-shade-default,
.rz-button.rz-primary.rz-shade-default:focus,
.rz-button.rz-primary.rz-shade-default:hover {
    background: linear-gradient(to top, #e2000b, #d64343) !important;
}

.rz-custom-header {
    width: 100%;
}

.rz-group-header {
    height: 40px;
    padding: 0;
    background-color: #E6E7E8 !important;
}

.rz-pager .rz-pagesize-text {
    display: none;
}

.rz-data-row {
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.1s ease-in-out;
}

    .rz-data-row:hover,
    .rz-data-row:focus-visible {
        background-color: #eeeeee;
    }

    .rz-data-row.rz-selected {
        background-color: #eeeeee !important;
        color: inherit;
    }

.rz-data-grid {
    height: 100%;
    width: 100%;
}

.rz-datatable thead tr th {
    background-color: #FFFFFF;
    border-bottom: 2px solid #E6E7E8;
    padding-bottom: 3px;
}

.rz-button.rz-light {
    background-color: #E6E7E8 !important;
}

.rz-dropdown {
    cursor: pointer !important;
}

.rz-dropdown-item {
    cursor: pointer !important;
}

.rz-dropdown-items rz-dropdown-list {
    cursor: pointer !important;
}

.rz-dropdown-items > li.rz-dropdown-item[aria-label="2147483647"] > span {
    display: inline-block !important;
    visibility: hidden !important;
    position: relative !important;
    cursor: pointer !important;
}

    .rz-dropdown-items > li.rz-dropdown-item[aria-label="2147483647"] > span::after {
        content: "All" !important;
        display: inline-block !important;
        visibility: visible !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        color: black !important;
        cursor: pointer !important;
    }


.all-page-size ul.rz-dropdown-items li.rz-dropdown-item[aria-label="2147483647"] > span {
    color: transparent !important;
    position: relative !important;
    cursor: pointer !important;
}

    .all-page-size ul.rz-dropdown-items li.rz-dropdown-item[aria-label="2147483647"] > span::after {
        content: "All" !important;
        display: block !important;
        color: black !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        cursor: pointer !important;
    }

.all-page-size .rz-helper-hidden-accessible + .rz-dropdown-label.rz-inputtext {
    color: transparent !important;
    text-indent: -9999px !important;
    position: relative !important;
    cursor: pointer !important;
}

    .all-page-size .rz-helper-hidden-accessible + .rz-dropdown-label.rz-inputtext::after {
        content: "All" !important;
        display: block !important;
        color: black !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        text-indent: 0 !important;
        white-space: nowrap !important;
        cursor: pointer !important;
    }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    isolation: isolate;
    -webkit-transform: translateZ(0);
    will-change: opacity, transform;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.text-danger {
    font-size: 11.5px;
    position: absolute;
}

.invalid-feedback {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rz-validation-valid + .invalid-feedback {
    display: none;
}

.rz-validation-invalid + .invalid-feedback {
    opacity: 1;
    display: block;
}

.btn-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-primary:hover {
        transform: translateY(-0.5px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.rz-datatable table {
    table-layout: fixed !important;
}

.rz-cell-data,
.rz-column-title {
    min-width: 0 !important;
}

.rz-cell-data {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rz-datatable {
    overflow-x: auto;
}

.rz-data-grid,
.rz-data-grid .rz-datatable {
    overflow-x: auto;
    width: 100%;
}
    .rz-data-grid .rz-grid-table {
        min-width: 100%;
    }
        .rz-data-grid .rz-grid-table th,
        .rz-data-grid .rz-grid-table td {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

.card-body {
    overflow-x: auto;
}

.rz-grid-table td {
    background-color: #fff;
}

.rz-data-row:hover td,
.rz-data-row:focus-visible td {
    background-color: #eeeeee;
}

.rz-data-row.rz-selected td {
    background-color: #eeeeee !important;
}

.rz-grid-table.rz-grid-gridlines-both > thead > tr > th:not(:last-child),
.rz-grid-table.rz-grid-gridlines-both > tbody > tr > td:not(:last-child) {
    border-inline-end-color: #E6E7E8 !important;
}

.rz-grid-table.rz-grid-gridlines-both > tbody > tr > td {
    border-bottom-color: #E6E7E8 !important;
}

.flex-item-containing-grid {
    min-width: 0;
}

.card.w-100 {
    min-width: 0;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

    .modal-actions .rz-button {
        width: auto;
    }

    .modal-actions button[type="submit"] {
        min-width: 140px;
    }

.rz-pager-page.rz-state-active {
    color: black !important;
}

.rz-pager {
    border-radius: 0 !important;
    background-color: white;
    border-top: 1px solid #E6E7E8;
}

.rz-data-grid {
    border-radius: 0 !important;
}

.rz-datagrid .rz-state-selected {
    transition: none !important;
}

.squelch-transitions * {
    transition: none !important;
}

/* D) .yms-* classes */
yms-data-grid,
yms-detail-panel {
    display: block;
    width: 100%;
    max-width: var(--yms-grid-max-width, 100%);
    margin-inline: auto;
    box-sizing: border-box;
}

.yms-grid-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    overflow: hidden;
}

.yms-grid-header-row {
    display: flex;
    width: 100%;
    align-items: center;
    padding-left: 8px;
    box-sizing: border-box;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-right: 15px;
}

.yms-grid-header-row .column-text {
    white-space: nowrap;
}

.yms-header-spacer {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .yms-header-spacer > .icon-container {
        display: flex;
        align-items: flex-start;
        height: 100%;
        font-size: smaller;
    }

.rz-grid-table thead > tr > th:has(> .yms-grid-header-row) {
    width: 100%;
}

.rz-grid-table thead > tr > th {
    box-sizing: border-box;
}

.yms-grid-header-row > .icon-button,
.yms-grid-header-row > button.icon-button {
    flex: 0 0 auto;
}

.rz-datatable-tbody > tr:nth-child(even) {
    background: #fafbfc;
}

.rz-datatable-tbody > tr:nth-child(even):hover,
.rz-datatable-tbody > tr:nth-child(odd):hover {
    background: #f0f3f5;
}

.yms-grid-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
    font-size: 14px;
}

.yms-grid-error {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #dc3545;
    font-size: 14px;
}

.yms-grid-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px 6px 16px;
    border-bottom: 1px solid #E6E7E8;
    background: #fff;
    flex-shrink: 0;
}

.yms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--yms-font-size-small);
    transition: all 0.1s ease-in-out;
}

    .yms-btn:hover {
        background: #E6E7E8;
    }

.yms-card-grid {
    display: grid;
    gap: 12px;
    padding: 12px;
    flex: 1;
    overflow-y: auto;
}

.yms-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.yms-card-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 6px 6px 0 0;
}

.yms-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--yms-text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yms-card-subtitle {
    font-size: var(--yms-font-size-small);
    color: #666;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yms-card-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.yms-card-detail {
    display: flex;
    justify-content: space-between;
    font-size: var(--yms-font-size-small);
    padding: 2px 0;
    color: var(--yms-text-color);
}

.yms-card-label {
    color: #888;
    font-size: var(--yms-font-size-small);
}

.yms-card-pager {
    padding: 8px 12px;
    border-top: 1px solid #E6E7E8;
    flex-shrink: 0;
}

.spinner-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    top: 50%;
    left: 50%;
    margin-left: -3px;
    margin-top: -3px;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0.3
    }

    40% {
        opacity: 1
    }
}

.column-chooser-panel {
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 360px;
    max-width: 480px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chooser-scale-in 200ms ease;
}

@keyframes chooser-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes chooser-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.column-chooser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

    .column-chooser-header span {
        font-size: 16px;
        font-weight: 600;
        color: #222;
    }

.column-chooser-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #666;
    transition: background-color 0.15s, color 0.15s;
    width: 36px;
    height: 36px;
}

    .column-chooser-close:hover {
        background-color: #f0f0f0;
        color: #333;
    }

    .column-chooser-close svg {
        width: 20px;
        height: 20px;
    }

.column-chooser-search {
    padding: 12px 20px 8px;
    flex-shrink: 0;
}

.column-chooser-search-wrapper {
    position: relative;
}

.column-chooser-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    display: flex;
    width: 16px;
    height: 16px;
}

.column-chooser-search input {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: var(--yms-font-size-base);
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

    .column-chooser-search input:focus {
        border-color: rgba(0,0,0,0.15);
    }

.column-chooser-list {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: 8px 12px;
    scrollbar-width: thin;
}

.column-chooser-item {
    padding: 6px 8px;
    border-radius: 6px;
    transition: background-color 0.15s;
    border-bottom: 1px solid #f0f0f0;
    min-width: 0;
}

    .column-chooser-item:hover {
        background-color: #e8f0fe;
    }

    .column-chooser-item:last-child {
        border-bottom: none;
    }

.column-chooser-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    user-select: none;
    min-width: 0;
    flex: 1;
}

.column-chooser-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #c4c9d1;
    border-radius: 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .column-chooser-checkbox:active {
        transform: scale(0.92);
    }

    .column-chooser-checkbox:checked {
        border-color: rgba(0,0,0,0.15);
        background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='none'%20stroke='white'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='3.5%208.5%207%2012%2013%205'/%3E%3C/svg%3E"), linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 100%);
        background-size: 12px 12px;
        background-position: center;
        background-repeat: no-repeat;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.15);
        animation: column-chooser-check-pop 180ms ease-out;
        background-color: #696969;
    }

    .column-chooser-checkbox:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
    }

    .column-chooser-checkbox:focus-visible:checked {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.15), 0 0 0 3px rgba(0,0,0,0.15);
    }

.column-chooser-item:hover .column-chooser-checkbox {
    border-color: rgba(0,0,0,0.15);
}

@keyframes column-chooser-check-pop {
    0% {
        transform: scale(0.6);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.0);
    }
}

@media (forced-colors: active) {
    .column-chooser-checkbox {
        background-color: Canvas;
        color: CanvasText;
    }

    .column-chooser-checkbox:focus-visible {
        outline: 2px solid CanvasText;
    }
}

.column-chooser-label-text {
    font-size: var(--yms-font-size-base);
    color: var(--yms-text-color);
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.column-chooser-empty {
    padding: 24px 20px;
    text-align: center;
    color: #999;
    font-size: var(--yms-font-size-base);
}

@media (max-width: 768px) {
    .yms-grid-toolbar,
    .rz-pager {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .rz-pager {
        overflow-x: auto;
    }

    .yms-grid-header-row {
        padding-left: 4px;
        gap: 2px;
    }

    .yms-grid-header-row > .icon-button {
        padding: 4px;
    }

    .rz-textbox input,
    .rz-numeric input,
    .rz-datepicker input,
    .rz-dropdown input,
    input.rz-textbox,
    input.rz-inputtext,
    .rz-data-grid input,
    .rz-data-grid select,
    .rz-data-grid textarea,
    .column-chooser-search input {
        font-size: 16px;
    }

    .icon-container,
    .yms-btn,
    .column-chooser-close {
        min-width: 44px;
        min-height: 44px;
    }

    .column-chooser-panel {
        min-width: min(92vw, 360px);
        max-width: min(92vw, 360px);
        max-height: min(70dvh, 70vh);
    }

    .column-chooser-header {
        padding: 12px 16px;
    }

    .column-chooser-header span {
        font-size: 15px;
    }

    .column-chooser-search {
        padding: 10px 16px 6px;
    }

    .column-chooser-list {
        padding: 6px 8px;
    }
}
