:root {
    --dark: #d3957e;
    --mdark: #182434;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 23px;
}

h3 {
    font-size: 21px;
}

h4 {
    font-size: 19px;
}

h5 {
    font-size: 17px;
}
.wp-block-heading h1 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}
h2.wp-block-heading  {
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 20px;
}
h3.wp-block-heading  {
    font-size: 17px;
    margin-bottom: 20px;
    margin-top: 20px;
}
h4.wp-block-heading  {
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 20px;
}
h5.wp-block-heading  {
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 20px;
}
h6.wp-block-heading  {
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 20px;
}
body {
    direction: rtl;
    font-family: Vazirmatn, serif;
    background: #FFFFFF;
    line-height: 1.8em;
    font-size: 14px;
}

.bg-dark {
    background-color: var(--mdark) !important;
}

a {
    text-decoration: none;
}

.row-space {
    margin-top: 60px;
}

.panel-sidebar p {
    color: var(--mlight);
    margin-bottom: 0;
}
.panel-sidebar > li {
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #598392;
}
.panel-sidebar > li:last-child{
    border-bottom: 0;
}
.panel-sidebar li a {
    color: white;
    display: block;
    font-weight: bold;
}

.panel-sidebar li a span {
    font-size: 17px;
    margin-left: 10px;
}
.panel-sidebar li .sub-side-menu a {
    color: var(--light);
    display: block;
    font-weight: normal;
}
.panel-sidebar li:last-child a {
    border-bottom: 0;
}

.panel-sidebar {
    list-style: none;
    padding: 15px;
    background: var(--mdark);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
    min-height: 400px;
}


.plan-needed p{
    font-size: 16px;
}
.plan-needed{
    text-align: center  ;
}
.dark-btn {
    background: var(--mdark);
    color: white;
    padding: 2px 10px;
    border-radius: 8px;
    border: 0;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}
.form-group label {
    margin-bottom: 5px;
}

#loader {
    height: 60px;
    margin: auto;
    display: none;
    filter: brightness(0) invert(1);
}

.code-reply{
    min-height: 30px;
    color : var(--dark)
}
.login-img {
    max-height: 350px;
}

.form-holders {
    height: 100%;
    display: flex;
    align-items: center;
}

#mobile-box input:focus, #otp-box input:focus{
    outline: none;
}
#mobile-box input::placeholder, #otp-box input::placeholder{
    color : var(--mdark);
    font-size: 12px;
}
#mobile-box input, #otp-box input {
    width: 100%;
    background: var(--dark);
    border: 0;
}
#mobile-box, #otp-box {
    width: 440px;
max-width: 100%;
}

#otp-box {
    display: none;
}
.login-forms{
    background-color: var(--mdark);
    height: 100vh;
    display: flex;
    gap : 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}
.login-sec{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 100px;
    box-shadow: 0 0 6px 4px #12455942;
}
.login-side{
    width: 60%;
}
.form-control.otp , .form-holders input[type=tel]{
    background-color: var(--light);
}
.login-result {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    min-height: 60px;
}
.send-otp , .check-otp{
    position: absolute;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    aspect-ratio: 1;
    margin: 5px;
    background: var(--mdark);
    color: white;
    border: 0;
    padding: 5px;
    display: flex;
    align-items: center ;
    height: 30px;
    cursor: pointer;
}
.login-forms label {
    font-weight: bold;
    margin-bottom: 5px;
}
#otp-box{
    position: relative;
}
.form-control.otp::placeholder{
    text-align: left;
    line-height: 40px;
}
.form-control.mobile , .form-control.otp{
    height: 40px;
    border-radius: 50px;
    text-align: left;
    direction: ltr;
    margin-bottom: 0;
}
#mobile-box {
    position: relative;
}

#profile-page{
    background: var(--mdark);
    min-height: 100vh;
    padding: 20px;
}
.purchase-item p .persian-date{
    display: inline-block;
}
.purchase-item p {
    margin-bottom: 0;
    flex : 0 0 25%;
}
.purchase-item{
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: space-between;
}
.purchase-wrapper{
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--mdark);
    padding: 6px;
    border-radius: 10px;
    color: white;
    border: 2px solid var(--dark);
}
.user-profile .purchase-wrapper{
    background: #283f5e;
    color: white;
    margin-bottom: 20px;
    border: 0;
}
.purchase-number{
    background: var(--dark);
    color: var(--mdark);
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-weight: 700;
    border-radius: 50px;
    padding-top: 5px;
}
.panel-content{
    width: 1000px;
    max-width: 100%;
    margin: auto;
}
.purchases-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-logo{
    max-height: 30px;
}
.profile-header{
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 25px;
}
.logout-icon{
    filter: brightness(0) invert(1);
    max-height: 20px;
}
.tab-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.tab-button{
    background: var(--mdark);
    border : 1px solid var(--dark);
    flex: 1;
    padding: 5px;
    border-radius: 9px;
    text-align: center;
    cursor: pointer;
    color : white;
}
.tab-button.active{
    background: var(--dark);
    border : 1px solid var(--dark);
    color : var(--mdark);
}
.tab-item{
    display: none;
}
.tab-item.active{
    display: block;
}
@media only screen and (max-width: 1024px) {
    .purchase-item{
        font-size: 12px;
    }
}@media only screen and (max-width: 768px) {
    .purchase-item{
        flex-direction: column;
        font-size: 13px;
    }
}