@use  '../../../../assets/styles/index' as *;

.root {
    padding: 0 24px;
    background: none;
    border: 0;
    outline: none;
    font-family: var(--uui-burger_btn-font);
    font-weight: var(--uui-burger_btn-font-weight, normal);
    line-height: 48px;
    flex-shrink: 0;

    &:global(.uui-enabled) {
        color: var(--uui-burger_btn_caption);
        fill: var(--uui-burger_btn_caption);

        &:global(.-clickable) {
            &:hover {
                color: var(--uui-burger_btn_caption-hover);
                fill: var(--uui-burger_btn_caption-hover);
            }
        }
    }

    &:global(.uui-active) {
        color: var(--uui-burger_btn_caption-active);
        fill: var(--uui-burger_btn_caption-active);
    }

    :global(.uui-icon) {
        padding: 0 12px 0 24px;
    }

    &.button-primary {
        font-size: 18px;
    }

    &.button-secondary {
        font-size: 14px;
        padding-left: 18px;
        margin-left: 48px;
        border-left: 1px var(--uui-burger_btn-border) solid;

        &:hover {
            // border-left-color: @blue;
        }
    }

    &.hasIcon,
    &.dropdown {
        padding-left: 0;
    }

    &.hasIcon {
        @include icon-layout(24px);

        :global(.uui-icon) {
            padding: 0 12px 0 20px;
        }
    }
}
