#componentManagementRBACRoleAndAccessFullScreen {
    position: absolute;
    box-sizing: border-box;
    z-index: 100;
    padding: 2.22vh 4.44vh;
    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;   
}

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

.comp-rbac-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.664vh; 
    margin-bottom: 1.332vh;
}

.comp-rbac-modal__close {
    background: none;
    border: none;
    padding: 0vh;
    color: #D0D0D1;
    cursor: pointer;
}

.comp-rbac-modal__close-icon {
    width: 2.664vh;
    height: 2.664vh;
    display: block;
}

.comp-rbac-modal__title{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.22vh;
    line-height: 2.664vh;
}

.comp-rbac-modal__body {
    gap: 1.332vh;
    overflow-y: auto;
    max-height: calc(100vh - 6.216vh); 
}

.comp-rbac-modal__access-layout {
    display: flex;
    height: 100%;
    width: 100%;
    gap: 17.649vh;
    align-items: center;
    justify-content: center;
}

.comp-rbac-modal__top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.332vh;
    border-radius: 1.332vh; 
    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));
    padding: 2.22vh;
    height: 67.266vh; 
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.comp-rbac-model__top-layer, .comp-rbac-modal__access-layout-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.comp-rbac-modal__top-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.comp-rbac-modal__top-content .comp-rbac-graph__content {
    justify-content: space-between;
    gap: 6vh;
}

.comp-rbac-modal__top-content .comp-rbac-graph__column--category {
    margin-left: 5vh;
}

.comp-rbac-modal__bottom {
    position: relative;
    margin-top: 2.22vh;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.comp-rbac-modal__access-card {
    display: flex;
    flex-direction: column;
    padding: 1.332vh;
    border-radius: 1.332vh;
    box-sizing: border-box;
    justify-content: center;
}

.comp-rbac-modal__access-card--dashed {
    position: relative;
    outline: none;
}

.comp-rbac-modal__access-card--dashed::after {
    content: "";
    position: absolute;
    inset: -0.111vh;
    background: url("comp-rbac-access-frame.svg") center / 100% 100% no-repeat;
    pointer-events: none;
}

.comp-rbac-modal__access-card--source {
    width: 32.412vh;
    margin-top: 0;
    gap: 1.332vh;
}

.comp-rbac-modal__access-card--result {
    width: 30.858vh;
    margin-top: 0; 
    gap: 1.332vh;
}

.comp-rbac-modal__access-card--actions {
    width: 47.952vh;
    gap: 1.332vh;
}

.comp-rbac-modal__access-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.44vh;
    width: 100%;  
    min-height: 4.44vh;              
    max-width: 41.958vh;         
    padding: 0.888vh 1.332vh;    
    gap: 0.444vh;                
    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: 0.888vh;      
    cursor: pointer;
    box-sizing: border-box;
}

.comp-rbac-modal__access-item-status{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.776vh;      
    line-height: 2.664vh;    
    letter-spacing: 0;
    color: #D0D0D1;
    display: block;  
}

.comp-rbac-modal__access-item-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.776vh;     
    line-height: 2.664vh;    
    letter-spacing: 0;
    color: #D0D0D1;
    display: block; 
    text-align: left;
    white-space: normal;
    width: 25.53vh;
    flex-shrink: 0;
}

.comp-rbac-modal__access-item--row {
    width: 45.288vh;
    max-width: 45.288vh;
    height: auto;
    gap: 0;
}

.comp-rbac-modal__access-item--row .comp-rbac-modal__access-item-name {
    flex: 1;
    min-width: 0;
    width: auto;
    line-height: 2.22vh;
    overflow-wrap: anywhere;
}

.comp-rbac-modal__access-title{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.554vh;     
    line-height: 2.664vh; 
    color: #6F82BF;
}

.comp-rbac-modal__access-item-status--allowed {
    color: #2ECC71;
}

.comp-rbac-modal__access-item-status--denied {
    color: #E5524C;
}

.comp-rbac-modal__access-item-status--limited {
    color: #F2A40E; 
}

.rbac-top-user{
    display: flex;
    align-items: center;
    max-width: 26.64vh;
    height: 4.44vh;
    padding: 0.888vh 1.332vh;
    font-weight: 500;
    font-size: 1.776vh;
    line-height: 2.664vh;
    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: 0.888vh;
    cursor: pointer;
    margin-bottom: 1.332vh;
}

.comp-rbac-graph__content-template{
    height: 50vh;
}

.comp-rbac-graph__column--category{
    margin-left: 0;
}

.comp-rbac-modal__access-sections{
    display: flex;
    flex-direction: column;
    gap: 2.22vh; 
}

.comp-rbac-modal__access-section{
    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));
    border-radius: 1.332vh;
    padding: 2.22vh;
    overflow: visible;
}

.comp-rbac-modal__access-section-title{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 2.22vh;
    line-height: 2.664vh;
    color: #6F82BF;
    margin-bottom: 2.22vh;
}




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

.comp-rbac-modal__title {
    margin: 0;
    color: #D0D0D1;
}

.comp-rbac-modal__access-section {
    width: 150.96vh;
    max-width: 100%;
    align-self: center;
}

.comp-rbac-modal__access-card {
    flex-shrink: 0;
}

.comp-rbac-modal__access-title {
    width: 14.652vh;
    height: 2.22vh;
}

.comp-rbac-modal__access-card--source .comp-rbac-modal__access-item-name {
    width: 13.32vh;
}

.comp-rbac-modal__access-item-status {
    width: 13.32vh;
    flex-shrink: 0;
    text-align: right;
}

.comp-rbac-modal__access-card--result .comp-rbac-modal__access-item-status {
    width: 25.53vh;
    text-align: left;
    color: #D0D0D1;
}

.comp-rbac-modal__access-card--result [data-result-index="0"] .comp-rbac-modal__access-item-status {
    color: #2ECC71;
}

.comp-rbac-modal__access-item:hover {
    background: rgba(247, 241, 236, 0.1);
}

.comp-rbac-modal__access-item:focus-visible,
.comp-rbac-modal__close:focus-visible {
    outline: var(--app-border-width) solid #6F82BF;
    outline-offset: calc(-1 * var(--app-border-width));
}

@media (max-aspect-ratio: 3/2) {
    .comp-rbac-modal__access-layout {
        gap: 2.22vh;
        justify-content: space-between;
    }
}
