#componentManagementRBACSearchUserPopup {
    position: absolute;
    box-sizing: border-box;
    z-index: 100;
    width: 121.656vh;
    max-height: 45.732vh;
    margin-left: 8.3vh;
    padding: 2.22vh;
    top: calc(var(--rbac-search-user-popup-anchor-bottom, 47.397vh) + 1.332vh);
    bottom: 5.328vh;
    display: flex;
    flex-direction: column;
    gap: 1.332vh;
    background: rgba(247, 241, 236, 0.06);
    border: none;
    outline: var(--app-border-width) solid rgba(247, 241, 236, 0.08);
    outline-offset: calc(-1 * var(--app-border-width));
    border-radius: 1.776vh;
    box-shadow: none;
    visibility: hidden;
    transform: translateY(100%);
    pointer-events: none;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #D0D0D1;
}

#componentManagementRBACSearchUserPopup * {
    box-sizing: border-box;
}

#componentManagementRBACSearchUserPopup.open {
    visibility: visible;
    transform: translateY(0%);
    transition: transform 0.4s ease, visibility 0s;
    pointer-events: auto;
    transition: transform 0.4s ease, visibility 0s;
}

.rbac-search-user-popup{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.444vh;
    min-height: 0;
    background: rgba(20, 23, 32, 0.68);
    border-radius: 1.332vh;
    padding: 0.888vh 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #313649 transparent;
}

.rbac-search-user-popup__content {
    width: 100%;
    flex-shrink: 0;
}

.rbac-search-user-popup__header:empty {
    display: none;
}

.rbac-user-list {
    display: flex;
    flex-direction: column;
    gap: 0.444vh;
}

.rbac-user-list__item {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 117.216vh;
    display: grid;
    grid-template-columns:
        22.644vh
        17.76vh
        17.76vh
        17.76vh
        17.76vh
        14.208vh;
    gap: 1.332vh;
    align-items: center;
    margin: 0;
    padding: 0.444vh 1.332vh;
    cursor: pointer;
    border-radius: 0.666vh;
    overflow: hidden;
}

.rbac-user-list__item::before {
    content: "";
    position: absolute;
    inset: 0 0.444vh;
    z-index: -1;
    border-radius: inherit;
    background: rgba(247, 241, 236, 0.06);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.rbac-user-list__item:hover::before {
    opacity: 1;
}

.rbac-user-list__name {
    font-weight: 700;
    font-size: 1.554vh;
    line-height: 2.664vh;
    width: 15.984vh;
    color: #D0D0D1;
}

.rbac-user-list__patronymic {
    
    font-weight: 500;
    font-size: 1.332vh;
    line-height: 1.776vh;
    width: 15.984vh;
    color: #7B8087;
}

.rbac-user-list__code,
.rbac-user-list__department,
.rbac-user-list__role,
.rbac-user-list__phone,
.rbac-user-list__management {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.444vh 0.888vh;
    font-weight: 500;
    font-size: 1.554vh;
    line-height: 2.664vh;
    color: #D0D0D1;
}

.rbac-user-list__cell_name {
    display: flex;
    align-items: center;
    gap: 1.332vh;
    min-width: 0;
    border-radius: 0.666vh;
    overflow: hidden;
}

.rbac-user-list__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 15.984vh;
    min-width: 0;
}

.rbac-user-list__avatar {
    width: 5.328vh;
    height: 5.328vh;
    position: relative;
    flex-shrink: 0;
    border-radius: 0.888vh;
    background: rgba(247, 241, 236, 0.06);
    outline: var(--app-border-width) solid rgba(247, 241, 236, 0.08);
    outline-offset: calc(-1 * var(--app-border-width));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-project-avatar-search-users-popup {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rbac-user-list__avatar-icon {
    display: block;
    flex-shrink: 0;
    width: 3.996vh;
    height: 3.996vh;
}

#componentManagementRBACSearchUserPopup .table-row-text {
    display: block;
    width: 15.984vh;
    padding: 0;
    font-family: Inter, sans-serif;
    font-size: 1.554vh;
    font-weight: 500;
    line-height: 2.664vh;
    color: #D0D0D1;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

#componentManagementRBACSearchUserPopup .rbac-user-list__name .table-row-text {
    font-weight: 700;
}

#componentManagementRBACSearchUserPopup .rbac-user-list__patronymic .table-row-text {
    font-size: 1.332vh;
    line-height: 1.776vh;
    color: #7B8087;
}

#componentManagementRBACSearchUserPopup .rbac-user-list__code .table-row-text {
    width: 12.432vh;
}

.rbac-user-list__empty {
    padding: 4.44vh 1.332vh;
    font-size: 1.554vh;
    font-weight: 500;
    line-height: 2.664vh;
    text-align: center;
    color: #7B8087;
}

/* Лоадер */
.rbac-loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.332vh;
    padding: 4.44vh 0;
}

.rbac-loader-dot {
    width: 1.776vh;
    height: 1.776vh;
    border-radius: 50%;
    background: #6F82BF;
    animation: rbac-loader-pulse 1.4s ease-in-out infinite;
}

.rbac-loader-dot:nth-child(1) {
    animation-delay: 0s;
}

.rbac-loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.rbac-loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes rbac-loader-pulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}
