#componentManagementRBACCreateFullScreen {
    position: absolute;
    box-sizing: border-box;
    z-index: 100;
    border-top-left-radius: 1.332vh;
    border-top-right-radius: 1.332vh;
    top: 0vh;
    width: 100%;
    background: rgba(20, 23, 32, 0.68);
    height: 100vh;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.4s ease, visibility 0s 0.4s;
    pointer-events: none;
    overflow: hidden;
}

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

.comp-mgmt-rbac-create-fullscreen{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.comp-mgmt-rbac-create-fullscreen__close{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 155.4vh;
    height: 2.664vh;
    padding: 0;
}

.comp-mgmt-rbac-create-fullscreen__close-btn{
    background: none;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D0D0D1;
    cursor: pointer;
}

.comp-mgmt-rbac-create-fullscreen__content{
    display: flex;
    flex-direction: row;
    width: 125.652vh;
    height: 85.692vh;
    gap: 2.22vh;
    overflow: hidden;
}

.rbac-add{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 84.36vh;
    height: 85.692vh;
    border-radius: 1.332vh;
    background: #141720;
    padding: 30.525vh 12.987vh 0;
}

.rbac-users {
    width: 39.072vh;
    height: 85.692vh;
    display: flex;             
    flex-direction: column;     
    overflow: hidden;
    border-radius: 1.332vh;
    padding: 2.22vh ;
    gap: 1.332vh;
    background: rgba(247, 241, 236, 0.06);
}

.rbac-add__title{
    font-family: Inter;
    font-weight: 700;
    font-size: 2.22vh;
    line-height: 2.664vh;
    text-align: center;
    color: #D0D0D1;
    margin-bottom: 2.664vh;;
}

.rbac-add__search{
    position: relative;
    display: flex;
    align-items: center;
    width: 58.386vh;
    height: 4.44vh;
    border-radius: 0.888vh;
    background: transparent;
    margin-bottom: 2.664vh;
}

.rbac-add__search-input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 8.214vh 0 1.332vh;
    font-family: Inter;
    font-weight: 500;
    font-size: 1.554vh;
    line-height: 2.664vh;
    color: #D0D0D1;
}

.rbac-add__search-input::placeholder{
    color: #7B8087;
    opacity: 1; 
}

.rbac-add__search-img{
    position: absolute;
    right: 1.332vh;
    width: 2.664vh;
    height: 2.664vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;  
    cursor: pointer;
}

.rbac-add__btn{
    background: #313649;
    border: none;
    width: 26.64vh;
    height: 5.328vh;
    border-radius: 0.888vh;
    padding: 1.332vh;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7B8087;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.rbac-add__btn--active{
    background: #313649;
    border-color: #6F82BF;
    color: #D0D0D1;
}

.rbac-users__title{
    font-family: Inter;
    font-weight: 700;
    font-size: 1.776vh;
    line-height: 2.664vh;
    text-align: center;
    color: #D0D0D1;
    margin-bottom: 1.332vh;
}

.rbac-schema {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.332vh;
}

.rbac-schema__row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.rbac-connector--horizontal {
    position: relative;
    width: 4.551vh;
    margin-left: -0.333vh;
    margin-right: 0.75vh;  
}

.rbac-connector--curve {
    position: relative;
    width: 8.88vh;
    margin-left: 8.3vh;
    margin-bottom: -0.9vh;
    margin-top: -0.3vh;
}

.rbac-connector--vertical {
    position: relative;
    margin-bottom: -0.8vh;
    margin-top: -0.3vh;
}

.rbac-schema__node {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    background: rgba(247, 241, 236, 0.06);
    width: max-content;
    padding: 0 1.332vh;
    border-radius: 0.888vh;
    height: 2.664vh;
    font-family: Inter;
    font-weight: 700;
    font-size: 1.554vh;
    line-height: 2.664vh;
    color: #6F82BF;
}
.rbac-users-list__user {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: rgba(247, 241, 236, 0.06);
    padding: 0.888vh 1.332vh;
    border-radius: 0.888vh;
    margin-bottom: 1.332vh;
    align-items: center;
    max-width: 30.192vh;
}

.rbac-users-list__user-title{
    font-family: Inter;
    font-weight: 700;
    font-size: 1.776vh;
    line-height: 2.664vh;
    color: #D0D0D1;
    /* Обрезка длинного текста с многоточием */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 24vh;
}

.rbac-users-list{
    margin: 0;
    flex: 1;             
    overflow-y: auto;     
    overflow-x: hidden;
    min-height: 0;    
}

.rbac-schema--level-2 .rbac-schema__row{
    flex-direction: column;
    align-items: center;
}

#componentManagementRBACCreateFullScreen,
#componentManagementRBACCreateFullScreen * {
    box-sizing: border-box;
}

.comp-mgmt-rbac-create-fullscreen {
    height: 100%;
    padding: 2.22vh;
    gap: 2.22vh;
}

.comp-mgmt-rbac-create-fullscreen__close {
    flex-shrink: 0;
}

.comp-mgmt-rbac-create-fullscreen__close-btn,
.comp-mgmt-rbac-create-fullscreen__close-btn svg {
    width: 2.664vh;
    height: 2.664vh;
}

.comp-mgmt-rbac-create-fullscreen__content {
    max-width: 100%;
    flex-shrink: 0;
}

.rbac-add,
.rbac-users {
    flex-shrink: 0;
}

.rbac-add__title {
    width: 58.386vh;
}

.rbac-add__search {
    background: rgba(247, 241, 236, 0.06);
    border: var(--app-border-width) solid rgba(247, 241, 236, 0.08);
}

.rbac-add__btn {
    border: var(--app-border-width) solid rgba(247, 241, 236, 0.08);
    border-radius: 5.328vh;
    font-family: Inter, sans-serif;
    font-size: 1.776vh;
    line-height: 2.664vh;
}

.rbac-add__btn--active {
    border-color: #6F82BF;
}

.rbac-add__btn:hover,
.rbac-add__btn:focus-visible,
.rbac-add__search:focus-within {
    outline: var(--app-border-width) solid #6F82BF;
    outline-offset: calc(-1 * var(--app-border-width));
}

.rbac-users__title {
    width: 34.632vh;
    padding: 0;
    margin: 0 0 1.332vh;
}

.rbac-schema {
    align-items: center;
    margin: 0 0 1.332vh;
}

.rbac-schema__node {
    border-radius: 0.666vh;
}

.rbac-users-list {
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #313649 transparent;
}

.rbac-users-list__user {
    width: 30.192vh;
    border: var(--app-border-width) solid rgba(247, 241, 236, 0.08);
    gap: 0.888vh;
    margin-left: auto;
    margin-right: auto;
}

.rbac-users-list__user-title {
    width: 23.976vh;
    min-width: 0;
}

.rbac-users-list__user-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    width: 2.664vh;
    height: 2.664vh;
    padding: 0;
    color: #D0D0D1;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.rbac-users-list__user-clear svg {
    display: block;
    flex-shrink: 0;
    width: 2.664vh;
    height: 2.664vh;
}

.rbac-users-list__user-clear:hover {
    background: transparent;
}

.rbac-users-list__user-clear:hover circle {
    fill-opacity: 0.12;
}

.rbac-users-list__user-clear:focus-visible {
    outline: var(--app-border-width) solid #6F82BF;
    outline-offset: calc(-1 * var(--app-border-width));
}

.rbac-add__search-img svg {
    width: 2.664vh;
    height: 2.664vh;
}

.rbac-connector svg path {
    fill: #6F82BF;
}
