@use '../../utils' as *;

/*----------------------------------------*/
/*  7.8 Pricing css
/*----------------------------------------*/


.th-pricing-area{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.th-pricing-box-wrap{
    border: 1px solid #2F2F2F;
    border-radius: 16px;
    padding: 40px;
    transition: .3s;
    &:hover{
        border: 1px solid var(--primary-color-2);
        transition: .3s;
    }
    @media #{$md}{
       padding: 20px;
    }
    @media #{$xs}{
       padding: 30px;
    }
}

.th-pricing-box-heading-wrap{
    & .title{
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        color: var(--secondary-color);
    }
    & .th-para{
        padding-top: 8px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        color: var(--text-color);
        padding-bottom: 24px;
        border-bottom: 1px solid #2F2F2F;
    }
    & .th-price{
        padding-top: 44px;
        font-size: 56px;
        line-height: 1;
        font-weight: 600;
        color: var(--primary-color-2);
        & span{
            color: var(--text-color);
            font-size: 16px;
            line-height: 1;
            font-weight: 400;
            text-transform: uppercase;
        }
        @media #{$md,$xs}{
            margin-bottom: 20px;
        }
    }
}

.th-pricing-list{
    & ul{
        & li{
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--text-color);
            transition: .3s;
            margin-bottom: 20px;
            & span{
                & img{
                    margin-right: 8px;
                }
            }
            &:last-child{
                margin-bottom: 0;
            }
        }
    }
}

.th-pricing-btn{
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--primary-color-2);
    border: 1px solid #4C40F7;
    border-radius: 100px;
    padding: 12px;
    margin-top: 48px;
    transition: .3s;
    text-align: center;
    text-transform: uppercase;
    & span{
        & img{
            transition: .3s;
        }
    }
    &:hover{
        background: var(--primary-color-2);
        transition: .3s;
        color: var(--secondary-color);
        & span{
            & img{
                filter: brightness(0) invert(1);
                transition: .3s; 
            }
        }
    }
}


// pricing toggle 

// test
.toggle-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    background: #121212;
    padding: 16px 24px;
    border-radius: 100px;
}

.toggle-label{
  font-size:16px;
  line-height: 24px;
  color:var(--secondary-color);
}

.save{
    font-size: 14px;
    color: #6366f1;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 5px;
    line-height: 20px;
}

.switch{
  position:relative;
  width:60px;
  height:30px;
}

.switch input{
  display:none;
}

.slider{
  position:absolute;
  cursor:pointer;
  background:var(--secondary-color);
  border-radius:50px;
  top:0;
  left:0;
  right:0;
  bottom:0;
  transition:.4s;
}

.slider:before{
  content:"";
  position:absolute;
  height:22px;
  width:22px;
  left:4px;
  bottom:4px;
  background:#6366f1;
  border-radius:50%;
  transition:.4s;
}

input:checked + .slider:before{
  transform:translateX(30px);
}

// .pricing-cards{
//   display:flex;
//   justify-content:center;
//   gap:30px;
//   flex-wrap:wrap;
// }

// .card{
//   background:#111827;
//   padding:30px;
//   width:300px;
//   border-radius:15px;
//   border:1px solid rgba(255,255,255,0.08);
// }

// .price{
//   font-size:38px;
//   color:#6366f1;
//   margin:20px 0;
// }

// @media(max-width:768px){
//   .pricing-cards{
//     flex-direction:column;
//     align-items:center;
//   }
// }