.blockish-tab {
    &.blockish-tab-top-level {
        .blockish-tab-button {
            padding: 2px 10px 2px 30px;
            color: #000000e0;

            &::after {
                content: "";
                height: 2px;
                left: -1px;
                right: 0;
                margin: 0 auto;
                width: 5%;
                bottom: -1px;
                background: #1677ff;
                opacity: 0;
                transition: opacity .3s ease, width .5s ease, background .3s ease;
            }

            &::before {
                content: "";
                left: 0;
                top: 0;
                box-shadow: 0 0 0 0 #0000;
                pointer-events: none;
                position: absolute;
                transition: all .1s linear;
                background-color: #000000e0;
            }

            &.blockish-tab-active {
                color: #1677ff;

                &::after {
                    background: #1677ff;
                    width: calc(100% + 2px);
                    opacity: 1;
                }

                &::before {
                    box-shadow: 0 0 0 2px #1677ff;
                    background-color: #1677ff;
                }
            }

            &.blockish-tab-content-button {
                &::before {
                    mask: url(../icons/pencil.svg) no-repeat 10px 85%;
                    mask-size: 14px 14px;
                }
            }

            &.blockish-tab-layout-button {
                &::before {
                    mask: url(../icons/pencil.svg) no-repeat 10px 85%;
                    mask-size: 14px 14px;
                }
            }

            &.blockish-tab-style-button {
                &::before {
                    mask: url(../icons/style.svg) no-repeat 10px 85%;
                    mask-size: 14px 14px;
                }
            }

            &.blockish-tab-advanced-button {
                &::before {
                    mask: url(../icons/advance.svg) no-repeat 10px 85%;
                    mask-size: 14px 14px;
                }
            }


        }
    }

    &.blockish-tab-normal {
        .components-tab-panel__tabs {
            border-bottom: 1px solid #e0e0e0;
            // margin-bottom: 16px;
        }

        .blockish-tab-button {
            padding: 0;
            color: #000000e0;
            width: 100%;
            justify-content: center;

            &.blockish-tab-active {
                color: #1677ff;
            }

            &::before {
                display: none;
            }
        }
    }
}