@use '../utils' as *;

/*----------------------------------------*/
/*  2.13 Tab
/*----------------------------------------*/

.tp-toggler-pre,
.tp-toggler-post {
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #848788;
    transition: all .3s;
    &.is-active{
        color: var(--tp-common-black-3);
    }
    &:hover{
        color: var(--tp-common-black-3);
    }
}
.tp-toggler-pre{
    margin-right: 15px;
}
.tp-toggler-post {
    margin-left: 15px;
}
.tp-toggle-input-wrap{
    position: relative;
    width: 76px;
    height: 36px;
    overflow: hidden;
    border-radius: 100px;
    background-color: var(--tp-common-blue);
}
.tp-price-nav {
    &-wrapper{
        display: flex;
        align-items: center;
        justify-content: center;
        & .tp-input-check {
            position: absolute;
            display: block;
            cursor: pointer;
            top: 0;
            left: 0;
            opacity: 0;
            z-index: 6;
            width: 100%;
            height: 100%;
        }
        & .tp-input-check:checked~.tp-switch-toggle {
            left: 4px;
            right: 57.3%;
        }
    }
}
.tp-switch-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    left: 57.3%;
    bottom: 4px;
    z-index: 1;
    border-radius: 100%;
    box-shadow: 0 4px 6px 0 rgba(1, 17, 22, 0.24);
    transition: 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    background: linear-gradient(180deg, #fff 0%, #e1e4e8 100%);
}
.tp-tab-hide {
    display: none;
}