/* *******************************  GENERAL  ******************************* */


@font-face{
    font-family: "BYekan";
    src: url("../fonts/BYekan/BYekan-webfont.eot") format("eot"),
        url("../fonts/BYekan/BYekan-webfont.woff") format("woff"),
        url("../fonts/BYekan/BYekan-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: unset;
}

body{
    font-family: 'BYekan';
    direction: rtl;
    text-align: right;
}

.container{
    max-width: 1200px;
    margin: auto;
}

textarea {
    resize: none;
}

select{
    cursor: pointer;
}

.custom-select{
    position: relative;
}

.custom-select-icon{
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.Toastify__toast{
    font-family: 'BYekan';
}


/* *******************************  MAIN LAYOUT  ******************************* */


.original-container{
    /* background: linear-gradient(-135deg, #c850c0, #4158d0); */
    background: linear-gradient(#12382881, #3a2a2a7a, #0b2b3a42) , url(../images/back-sidebar.jpeg) no-repeat;
    background-size: cover;
    position: relative;
}

.header{
    color: #fff;
    /* background-color: #9C27B0; */
    background-color: #df88ee;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px;
    font-size: 25px;
}

.header a{
    transition: all 0.4s ease;
}

.header a:hover{
    color: #000;
}

.header-title{
    font-size: 40px;
}

.header-navbar-1{
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-navbar-2{
    display: flex;
    align-items: center;
    font-size: 40px;
    transform: all 0.4s ease;
}

.header-navbar-2:hover{
    cursor: pointer;
    color: #000
}

.header-navbar-3{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    font-size: 20px;
    margin-top: 50px;
}

.header-navbar-3 div{
    width: 100%;
    text-align: center;
}

.header-navbar-3 div a{
    background-color: #fff;
    color: #7b1fa2;
    display: inline-block;
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.header-navbar-3 div a:hover{
    background-color: #000;
    color: #fff;
}

.header-navbar-3 div div a{
    background-color: #fff;
    color: #7b1fa2;
    display: inline-block;
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    transition: all 0.4s ease;
    margin: 20px 0;
}

.header-navbar-3 div div a:hover{
    background-color: #000;
    color: #fff;
}

.mobile-nav{
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #7b1fa2;
    opacity: 0.9;
    transform: translateX(-200%);
    transition: all 0.4s ease;
}

.mobile-nav.open{
    display: block;
    transform: translateX(0);
}

.mobile-nav-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    padding: 30px;
}

.mobile-nav-close-button{
    font-size: 60px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.mobile-nav-close-button:hover{
    color: #000;
}

main{
    min-height: 100vh;
}

.footer{
    color: #fff;
    /* background-color: #9C27B0; */
    background-color: #df88ee;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 30px;
}

/* *******************************  USER LAYOUT  ******************************* */


.articles-boxes{
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.article-box{
    padding: 20px;
    width: 45%;
    /* background: linear-gradient(45deg, #4158d0, #fff); */
    background-color: #ccd4ff;
    border-radius: 10px;
}

.article-title{
    font-size: 28px;
    font-weight: bold;
    transition: all 0.4s ease;
    min-height: 80px;
    word-wrap: break-word;
}

.article-title:hover{
    color:#9C27B0
}

.article-description{
    font-size: 18px;
    padding: 40px 0;
    min-height: 150px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.article-avatar-username-date-time{
    display: flex;
    flex-direction: column;
    font-size: 18px;
    gap: 20px;
}

.article-avatar-username{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.article-avatar{
    width: 50px;
    height: 50px;
    border: 1px solid red;
    border-radius: 50%;
    margin-left: 10px;
}

.article-date-time{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.article-date{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.article-time{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.article-comment-view-like-save{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.article-comment-view{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.article-like-save{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 20px;
}

.divider-line{
    border-width: 2px;
}

.section-single-article{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    min-height: 100vh;
}

.single-article-box{
    padding: 10px;
    /* background: linear-gradient(45deg, #4158d0, #fff); */
    background-color: #ccd4ff;
    border-radius: 10px;
}

.single-article-title{
    font-size: 28px;
    font-weight: bold;
    word-wrap: break-word;
}

.single-article-description{
    font-size: 18px;
    padding: 20px 0;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.single-article-avatar-username-date{
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 18px;
    gap: 100px;
    padding-top: 20px;
}


.single-article-publish-status{
    padding: 10px;
    font-size: 17px;
}

.single-article-verify-status{
    padding: 10px;
    font-size: 17px;
}

.single-article-author{
    padding: 10px;
    font-size: 17px;
}

.section-comments{
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.section-comments-top{
    display: flex;
    justify-content: space-evenly;
}

.comment-boxes{
    padding: 20px 0;
}

.comment-box{
    padding: 20px;
    background-color: #F3F4F6;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comment-description{
    font-size: 18px;
    padding: 20px 5px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.reply-comment-box{
    padding: 20px 5px;
    /* background-color: #E5E7EB; */
    background-color: rgb(156, 39, 176, 0.3);;
    border-radius: 10px;
    margin-top: 20px;
}

.reply-box{
    padding: 20px 5px;
    background-color: #E5E7EB;
    border-radius: 10px;
    margin-bottom: 20px;
}

.section-new-comment{
    padding: 20px;
    /* background-color: #F3F4F6; */
    background-color: rgb(156, 39, 176, 0.3);
    border-radius: 10px;
    margin: 20px 0;
}

.new-comment-description{
    margin-top: 20px;
    padding: 20px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.section-replies{
    padding: 20px;
    background-color: #babdde;
    border-radius: 10px;
}

.panel-single-ticket-top{
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    border-radius: 5px;
}

.ticket-boxes{
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.ticket-box{
    padding: 20px;
    background-color: #F3F4F6;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 70%;
}


/* *******************************  PANEL LAYOUT  ******************************* */


.panel-wrapper{
    display: flex;
    position: relative;
}

.content_section{
    height: 100vh;
    scroll-behavior: auto;
}

.yes-button,
.no-button{
    margin: 20px;
    padding: 5px 10px;
    font-family: "BYekan";
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.add-article-form{
    font-size: 18px;
}

.add-article-form .input-group{
    padding: 10px;
}

.add-article-form .input-group textarea{
    resize: none;
}

.add-article-form .form-input{
    padding: 10px;
    margin-right: 10px;
    font-family: "BYekan";
    font-size: 16px;
    width: 80%;
}

.add-article-form .form-button{
    margin: 20px;
    padding: 5px 10px;
    font-family: "BYekan";
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.create-article-button{
    margin: 10px 0 40px 0;
    padding: 5px 10px;
    font-family: "BYekan";
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.change-password-button{
    margin: 40px 20px;
    padding: 5px 10px;
    font-family: "BYekan";
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.panel-change-avatar-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-image{
    width: 200px;
    height: 200px;
    border: 1px solid red;
    border-radius: 50%;
    margin: 50px 0;
    object-fit: cover;
}

.avatar-group{
  position: relative;
  margin-bottom: 30px;
}

.avatar-group input{
    cursor: pointer;
    height: 100%;
}

.avatar-input-file{
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  border: 1px solid red;
}

.form-control-custom{
    position: relative;
}

.symbol-input100-eye-custom{
    font-size: 18px;
    position: absolute;
    left: 10px;
    bottom: 6px;
    cursor: pointer;
    color: #9a9a9a;
    transition: all 0.4s;
}

.user-followers-followings{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 20px;
}