#tab-area{
    width: 90%;
    margin: auto;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.tab-button{
    display: inline-flex;
    height: 100%;
    width: max-content;
    vertical-align: top;
    border: 1px solid lightgray;
    padding-left: 20px;
    padding-right: 20px;
    color: darkgray;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-radius: 30px;
}
#subscription-stats-box{
    display: block;
    height: auto;
    width: 90%;
    margin: auto;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    margin-top: 30px;
    max-width: 1100px;
}
#subscription-stats-box-section1{
    width: 100%;
    height: auto;
}


#subscription-stats-box-section2{
    width: 100%;
    height: auto;
}

#subscription-stats-boxes{
    height: 110px;
    display: flex;
    flex-wrap: wrap;
}

#subscription-stats-boxes-heading{
width: 100%;
height: 55px;
background-color: #fafafa;
border-top: 1px solid lightgray;
border-bottom: 1px solid lightgrey;
display: flex;
align-items: center;
box-sizing: border-box;
padding-left: 20px;
font-weight: 500;
}


.subscription-stats-boxes-text{
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 20px;
    color: darkgray;
    }
#subscription-color{
    width: 10px;
    height: 10px;
    background-color: #6cbb6c;
    border-radius: 50%;
    margin-right: 10px;
}

#subscription-heading{
    width: 90%;
    margin: auto;
    text-align: center;
    margin-top: 60px;
    font-size: 1.4rem;
    font-weight: 600;
}


#subscription-subheading{
    width: 90%;
    margin: auto;
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    max-width: 500px;
    color: darkgrey;
}

#subscription-setbox{
    width: 100%;
    height: auto;
    margin-top: 20px;
}

#duration-switch{
    display: flex;
    width: 90%;
    margin: auto;
    max-width: 300px;
    height: 50px;
    cursor: pointer;
    border: 1px solid lightgray;
}
.duration-switch-option{
    width: 100%;
    display: flex;
    color: darkgray;
    justify-content: center;
    align-items: center;
}

.duration-switch-option:hover{
    background-color: #fafafa;
}

#currency-switch{
    display: block;
    width: 90%;
    margin: auto;
    height: 50px;
    border: 1px solid lightgray;
    margin-top: 15px;
    box-sizing: border-box;
    padding-left: 15px;
    max-width: 300px;
    /* font-weight: 600; */
    font-family: 'Poppins';
    font-size: 1rem;
    color: darkgray;
}

#plans-collection{
    width: 90%;
    display: block;
    margin: auto;
    height: auto;
    margin-top: 80px;
    margin-bottom: 40px;
    max-width: 1100px;
}

.plans-box{
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #f1f1f1;
    border-radius: 30px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    height: auto;
    margin-bottom: 90px;
    padding-bottom: 30px;
}

#plan-profile-picture{
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #c3dbff;
    margin: auto;
    top: -40px;
    object-fit: cover;
}

#plan-name{
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: -15px;
    width: 100%;
    text-align: center;
}

#plan-shortdescription{
    text-align: center;
    margin-top: 13px;
  color: darkgray;
}

#plan-price{
    text-align: center;
    margin-top: 20px;
    font-size: 2.1rem;
    font-weight: 700;
}

#plan-cycle{
    font-size: 1rem;
}

#plan-action-button{
    width: 80%;
    height: 45px;
    margin: auto;
    text-align: center;
    border: 1px solid #c2f0c2;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: #62a162;
    background-color: #fafffa;
}
#active-dot{
    width: 10px;
    height: 10px;
    background-color: #6cbb6c;
    border-radius: 50%;
    margin-right: 10px;
}

#line{
    margin: auto;
    margin-top: 38px;
    width: 90%;;
    border-top: 1px solid lightgray;
}

#whatsincluded{
    text-align: center;
    background-color: #fcfcfd;
    width: max-content;
    display: block;
    margin: auto;
    margin-top: -14px;
    padding-left: 15px;
    padding-right: 15px;
    color: #b1b1b1;
}

#feature-collection{
    width: 90%;
    margin: auto;
    margin-top: 20px;
    height: auto;
}

#feature-box{
    display: flex;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
}

#feature-box-icon{
    width: 45px;
    height: 100%;
    display: flex;
    align-items: center;
}

#feature-box-icon > img{
    width: 25px;
    height: 25px;
}

#feature-box-text{
 width: calc(100% - 45px);
 height: max-content;
 min-height:100%;
 display: flex;
 align-items: center;
}

#cancel-mesage{
    width: 90%;
    text-align: center;
    margin: auto;
    margin-top: 20px;
    font-size: 0.9rem;
}

#buy-premium-button{
    width: 80%;
    height: 45px;
    margin: auto;
    text-align: center;
    border: 1px solid black;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    color: white;
    font-weight: 600px;
    background-color: black;    
}

#buy-premium-button:hover{
 background-color: #3489DB;
 border: 1px solid #3489DB;
 color: white;
 cursor: pointer;
 transition: all 0.3s ease-in-out;
}


#idea-afterpurchasemessage{
    display: flex;
     width: calc(100% - 40px);
     height: auto;
     background-color: #faffcd;
     margin: auto;
     border-radius: 20px;
     margin-top: 30px;
     box-sizing: border-box;
     padding-top: 10px;
     max-width: 300px;
     padding-bottom: 10px;
   }

   #billing-duration{
    font-weight: normal;
    font-size: 0.9rem;
   }


   
#idea-afterpurchasemessage-imgarea{
    width: 40px;
    height: 100%;
   }
   
   #idea-afterpurchasemessage-imgarea > img{
     display: block;
     width: 25px;
     height: auto;
     margin: auto;
   }
   
   #idea-afterpurchasemessage-text{
     width: calc(100% - 50px);
     height: 100%;
     font-size: 0.9rem;
    }

#cancelsubscription-btn{
    width: max-content;
    background-color: #fafafa;
    padding: 5px;
    color: #333333;
    border: 1px solid lightgray;
    border-radius: 10px;
    margin-left: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

#cancelsubscription-btn:hover{
    background-color: black;
    color: white;
    border: 1px solid black;
    transition: all 0.3s ease-in-out;
}

#cancel-warning{
    width: 90%;
    margin: auto;
    margin-top: 15px;
}


/*-----------------------------------Modal----------------------------------------*/


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.cancel-modal-content {
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: max-content;
    width: 85%;
    max-width: 350px;
    border-radius: 20px;
    background-color: white;
    padding-bottom: 25px;
}

#cancel-modal-header{
    display: flex;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid lightgray;
}

#cancel-modal-header-text{
    width: calc(100% - 50px);
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 15px;
    font-weight: 500;
}

#cancel-modal-header-cross{
    width: 50px;
    height: 50px;
    background-color: #eeeeee;
    border-left: 1px solid lightgray;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 20px;
}
#cancel-modal-header-cross > img{
    width: 20px;
    height: 20px;
}


.modal-buttons {
    display: flex;
    width: 90%;
    margin: auto;
    height: 40px;
    margin-top: 20px;
    gap: 10px;;
}

.modal-action-button{
    width: 100%;
    border: 1px solid lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer
}

.modal-action-button:hover{
    background-color: black;
    color: white;
    transition: all 0.3s ease-in-out;
}


#nsfw-warning-message,#subs-warning-message{
    display: flex;
    width: 90%;
    margin: auto;
    height: auto;
    margin-top: 30px;
    background-color: #FFD9D9;
    box-sizing: border-box;
    padding: 10px;
 border-radius:20px;
 padding-top: 20px;
 padding-bottom: 20px;
 margin-bottom: 20px;
 max-width: 1200px;
}

#nsfw-warning-message-icon,#subs-warning-message-icon{
    width: 65px;
    height: 100%;
}


#nsf2-icon-div, #subs-warning-message-icon{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

#nsf2-icon-div > img,#subs-icon-div > img{
    width: 28px;
    height: 28px;
    display: block;
    margin: auto;
    }
#nsfw-warning-message-text{
    width: calc(100% - 65px);
    height: auto;
    font-size: 0.9rem;
}

#subs-warning-message-text{
    width: calc(100% - 65px);
    height: auto;
    font-size: 0.9rem;
    margin-left: 10px;
}

/*-----------------------------------media queries-----------------------------------*/
@media (min-width: 550px) {
/* #subscription-setbox{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
}
#duration-switch{
    width: 250px;
}
#currency-switch{
    width: 140px;
} */
}
@media (min-width: 768px) {
#subscription-stats-box-section1{
    display: flex;
}
#subscription-stats-box-section1 > #subscription-stats-boxes{
    width: 100%;
   }

   #subscription-stats-box{
border: none;
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    margin-top: 30px;
    max-width: 1100px;
}

#subscription-stats-boxes{
    border-right: 1px solid lightgray;
}
}


@media (min-width: 1000px) {

    #plans-collection{
        width: 90%;
    display: flex;
    margin: auto;
    height: auto;
    margin-top: 100px;
    margin-bottom: 40px;
    max-width: 830px;
    gap: 30px;
    justify-content: space-evenly;
    }
    
    .plans-box{
        width: 90%;
        max-width: 400px;
        margin-bottom: 20px;
        height: max-content;
    }
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
