.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 7px;
    background-color: #414141;
    color: #d7d7d7;
    font-size: large;
    font-weight: 400;
}

.tab {
    overflow: hidden;
}

.tab button {
    border: none;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    padding: 7px 10px;
    transition: 1s;
    font-size: 12px;
    background-color:transparent;
}

.innertab {
    border-radius: 100px;
    background-color: #fff;
    width: fit-content;
    padding: 5px;
    transition: all 1s ease-in;
    height: 42px;
}


.tab button:hover {
  background-color: #ddd;
}


.tab button.active {
  background-color: #93644f;
  color:#ddcfc8;
  
}

.tab button{
    background-color: #f1f2f4;
    color:#515d5f;
    z-index: 3;
    width:100px;
}


.tabcontent {
  display: none;
  padding: 6px 12px;
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
  
@keyframes fadeEffect {
from {opacity: 0;}
to {opacity: 1;}
}

.btn_wrapper {
}

.btn_inner{
    border-radius: 100px;
    background-color: #e9e9e9;
    opacity: 0.7;
    width: fit-content;
    padding: 5px;
}

.btn_sw {
    display: inline-block;
    width: 100px;
    padding: 7px 10px;
    transition: 1s;
    font-size: 12px;
    position: relative;
    text-align: center;
    transition: background 600ms ease, color 600ms ease;
}

.btn_left {
    border-right: 0px;
}

.btn_right {
    border-left: 0px;
}

input[type="radio"].toggle {
    display: none;
    & + label{
        cursor: pointer;
        min-width: 60px;
        color: #686868;
        &:hover{
            background-color: transparent;
            border: none;
            color: #686868;
        }
        &:after{
            background: #93644f;
            border-radius:20px;
            content: "";
            height: 100%;
            position: absolute;
            top: 0;
            transition: left 200ms cubic-bezier(0.77, 0, 0.175, 1);
            width: 100%;
            z-index: -1;
        }
    }
    &.toggle-left + label {
        border-right: 0;
        &:after{
            left: 100%
        }
    }
    &.toggle-right + label{
        margin-left: 0px;
        &:after{
            left: -100%;
        }
    }
    &:checked + label {
        cursor: default;
        transition: color 200ms;
        color:#fff;
        &:after{
            left: 0;
        }
    }
}