.root {
    &:global(.uui-horizontal-direction) {
        gap: 12px 18px;
    }

    &:global(.uui-vertical-direction) {
        > * {
            margin-bottom: 12px;
        }

        :last-child {
            margin-bottom: 0;
        }
    }
}
