.sifency-toggle-wrapper {
    width: 100%
}

.sifency-toggle-nav {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px
}

.sifency-content-toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: color .3s
}

.sifency-content-toggle-label.active {
    color: #333
}

.sifency-content-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    font-size: 16px
}

.toggle-slider,
.toggle-slider:before {
    position: absolute;
    transition: .4s
}

.sifency-content-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.toggle-slider {
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px
}

.toggle-slider:before {
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--sifency-addons-whitecolor);
    border-radius: 50%
}

input:checked+.toggle-slider {
    background-color: var(--e-global-color-primary)
}

input:checked+.toggle-slider:before {
    transform: translateX(26px)
}

.sifency-toggle-content-container {
    position: relative
}

.sifency-toggle-content-wrap {
    display: none;
    width: 100%
}

.sifency-toggle-content-wrap.active {
    display: block
}

.sifency-toggle-effect-fade .sifency-toggle-content-wrap.active {
    animation: .5s sifencyFadeIn
}

.sifency-toggle-effect-slide .sifency-toggle-content-wrap.active {
    animation: .5s sifencySlideRight
}

.sifency-toggle-effect-flip {
    perspective: 1000px
}

.sifency-toggle-effect-flip .sifency-toggle-content-wrap.active {
    animation: .6s cubic-bezier(.25, .8, .25, 1) sifencyFlipIn
}

@keyframes sifencyFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes sifencySlideRight {
    from {
        opacity: 0;
        transform: translateX(-20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes sifencyFlipIn {
    from {
        opacity: 0;
        transform: rotateY(90deg)
    }

    to {
        opacity: 1;
        transform: rotateY(0)
    }
}

.sifency-toggle-layout-square .toggle-slider {
    border-radius: 4px
}

.sifency-toggle-layout-square .toggle-slider:before {
    border-radius: 2px
}

.sifency-toggle-layout-pill .sifency-content-toggle-switch {
    width: auto;
    height: auto;
    background: 0 0
}

.sifency-toggle-layout-pill .toggle-slider {
    display: none
}

.sifency-toggle-layout-pill .sifency-toggle-nav {
    background: #f1f1f1;
    display: inline-flex;
    padding: 5px;
    border-radius: 50px;
    gap: 0
}

.sifency-toggle-layout-pill .sifency-content-toggle-label {
    padding: 10px 25px;
    border-radius: 50px;
    margin: 0;
    transition: .3s
}

.sifency-toggle-layout-pill .sifency-content-toggle-label.active {
    background: var(--e-global-color-primary);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
}

.sifency-toggle-layout-minimal .toggle-slider {
    background: 0 0;
    border: 2px solid #ccc
}

.sifency-toggle-layout-minimal .toggle-slider:before {
    background: #ccc;
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px
}

.sifency-toggle-layout-minimal input:checked+.toggle-slider {
    background: 0 0;
    border-color: var(--e-global-color-primary)
}

.sifency-toggle-layout-minimal input:checked+.toggle-slider:before {
    background: var(--sifency-addons-whitecolor);
    transform: translateX(26px)
}