.dl-shared-related-entities-dialog {
    max-height: 85vh;

    &__body {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 320px;

        &_isDeleteDialog {
            min-height: 0;
        }
    }

    &__list {
        margin-top: var(--g-spacing-4);
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: var(--g-spacing-4);
        overflow-y: auto;
    }

    &__current-row {
        margin-bottom: 0;
        &_isDeleteDialog {
            margin-bottom: var(--g-spacing-4);
        }
    }

    &__empty-state,
    &__error-state {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    &__button-retry {
        margin-top: var(--g-spacing-5);
    }

    &__info {
        margin-bottom: var(--g-spacing-4);
    }
}
