#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 {
    /* Default logo - will be updated dynamically by JavaScript */
    --lpx-logo: url('/images/logo/icon.svg');
    --lpx-logo-icon: url('/images/logo/icon.svg');
}

.select2-dropdown {
    z-index: 9999999 !important;
}

.select2-container--default
.select2-selection--single {
    --tw-bg-opacity: 1;
    background-color: rgb(249 251 253 / var(--tw-bg-opacity)) !important;
    height: 40px !important;
    min-width: 150px;
    background-color: #f0f4f7 !important;
    border-radius: 0.5rem !important;
    border-color: #e8eef3 !important;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 38px !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 35px !important;
    }

.select2-selection--single {
    border: 1px solid #323a461a !important;
}

.select2-selection__rendered {
    border-radius: 4px !important;
}

.select2-selection__arrow {
    border-radius: 4px !important;
}

.btn-custom.btn {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.765625rem !important;
}


.table-responsive {
    white-space: nowrap !important;
}

.text-eclipse {
    max-width: 200px;
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.select2-disabled .select2-selection {
    pointer-events: none;
    opacity: 0.75;
}

    .select2-disabled .select2-selection > span {
        background-color: inherit !important;
    }

/* ── Permission Management Modal ── */

/* Divider giữa các quyền trong danh sách */
.lpx-scroll-pills-container .tab-pane > div > .field {
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem !important;
}

/* Quyền cuối cùng không cần border */
.lpx-scroll-pills-container .tab-pane > div > .field:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0 !important;
}

/* Tăng khoảng cách padding cho vùng chứa permission */
.lpx-scroll-pills-container .tab-pane > div {
    padding: 0.25rem 0.5rem;
}
