html {
	overflow-x: hidden;
}
body {
	overflow-x: hidden;
}

.course-features-box {
  background: linear-gradient(to left, #f0fdfa, #e6f4f1);
  padding: 30px;
  border-radius: 16px;
  color: #333;
  direction: rtl;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 0;
}

.features-title {
    font-family:iranyekan;
  font-size: 22px;
  font-weight: bold;
  color: #008d57;
  margin-bottom: 25px;
  text-align: right;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 2;
  gap: 12px;
  break-inside: avoid;
      font-family:iranyekan;

}

.check-icon {
  display: flex;
  align-items: center;
}

.check-icon svg {
  width: 18px;
  height: 18px;
}


@media (min-width: 768px) {
  .features-list {
    columns: 2;
    column-gap: 40px;
  }
}


@media (max-width: 767px) {
  .course-features-box {
    padding: 20px;
  }

  .features-title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align:center;
  }

  .features-list li {
    font-size: 14px;
    gap: 8px;
  }

  .check-icon svg {
    width: 16px;
    height: 16px;
  }
} 







.quizmaterials {
    font-family: iranyekan;
}

                   .wpProQuiz_button {
                        background-color: #2370A6 !important;
                        border-radius: 12px !important;
                        font-family: iranyekan
                        !important;
                        font-size: 16
                        !important;
                        font-weight: 600
                        !important;
                            margin: 20px auto !important;
                            padding-right: 20px
                            !important;
                                    padding-left: 20px
                            !important;
                    text-align: center !important;
                    }
                    .wpProQuiz_time_limit {
                        background-color: white
                        !important;
                        border: solid 1px #E9EAEB !important;
                        border-radius: 12px !important;
                    }
                    .time {
                        text-align: center;
                    }
                    .quiz-time {
                              margin: 20px auto
                              !important;
                              font-family: iranyekan
                               !important;
                    }
                    
                    .wpProQuiz_progress {
                        background-color: #2370A6 !important;
                    }
                    .wpProQuiz_question_text {
                                  font-family: iranyekan
                               !important;
                                font-size: 16
                        !important;
                        font-weight: 400
                        !important;
                        color: #414651
                            !important;
                    }
                    .wpProQuiz_question_text p {
                        margin-bottom : 0px ;
                    }
                    .wpProQuiz_button.wpProQuiz_QuestionButton {
                        float: none !important;      
                    }
                    .is-selected {
                        border-color: #2370A6
                        !important;
                    }
                    label {
                             font-family: iranyekan
                        !important;
                        border: none 
                        !important;
                    }
                    .wpProQuiz_header,
                    .wpProQuiz_quiz_time,
                    .wpProQuiz_points,
                    .wpProQuiz_response{
                        display: none !important;
                    }
                    .learndash-wrapper .ld-quiz-actions {
                        border-top: none;
                    }
                    p:has(.wpProQuiz_correct_answer) {
                    display: none;
                    }
                    .wpProQuiz_correct_answer {
                        font-weight: 700;
                        font-size: 16;
                        color: #079455;
                    }
                    .wpProQuiz_questionList {
                      display: flex;
                      flex-wrap: wrap;
                      border: 1px solid #E9EAEB
                       !important;
                        border-radius: 12px;
                    }
                    
                    .wpProQuiz_questionList > li {
                      width: calc(50% - 10px);
                      box-sizing: border-box;
                    }
                    .wpProQuiz_questionListItem {
                        background-color: none
                        !important;
                        margin-right: 66px;

                    }
                    .wpProQuiz_questionList:has(.wpProQuiz_questionListItem.wpProQuiz_answerIncorrect) {
                      background: #FEF3F2
                        !important;
                    
                    }
                    .wpProQuiz_questionList:has(.wpProQuiz_questionListItem.wpProQuiz_answerCorrect) {
                      background: #ECFDF3 !important;
                    }
                    .is-selected{
                            background: none
                        !important;
                        color: black
                        !important;
                    }
                    .wpProQuiz_questionListItem.wpProQuiz_answerCorrectIncomplete label {
                      color: #181D27;
                      font-weight: bold
                      !important;
                    }
/*                     .wpProQuiz_questionList:has(input[disabled])
                      :not(:has(.wpProQuiz_answerCorrect))
                      :not(:has(.wpProQuiz_answerIncorrect))
                      :not(:has(.wpProQuiz_answerCorrectIncomplete)) {
                        background: #FFFAEB !important;
                    } */
                    .question-wrapper {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        gap: 8px;
                    }
                    
                    .question-number-box {
                        font-weight: bold;
                        background: #f2f2f2;
                        padding: 4px 10px;
                        border-radius: 6px;
                        color: #333;
                        font-family: IRANYekan, sans-serif;
                        margin-inline-end: 10px;
                        white-space: nowrap;
                        font-size: 14px;
                        line-height: 1.6;
                    }
                    
                    .question-text {
                        flex: 1;
                        font-size: 15px;
                        line-height: 1.6;
                    }
                    .wpProQuiz_question .question-number-box {
                        background-color: #f9f9f9; 
                        padding: 5px 10px;
                        border-radius: 4px; 
                    }
                    
                    .wpProQuiz_question:has(.wpProQuiz_answerCorrectIncomplete) .question-number-box {
                      background: #FFFAEB !important; 
                    }
                    .wpProQuiz_question:has(.wpProQuiz_answerIncorrect) .question-number-box {
                      background: #FEF3F2 !important;
                    }
                    
                    .wpProQuiz_question:has(.wpProQuiz_answerCorrect) .question-number-box {
                      background: #ECFDF3 !important;
                    }
                    .wpProQuiz_reviewQuestion {
                        height: auto;
                        width: 301.333334px;
                        max-height: none
                        !important;
                        overflow-y: visible
                        !important;
                    border: 1px solid #E9EAEB !important;
                    background-color: white
                            !important;
                            padding: 0px
                               !important;
                    }
                    
                    .wpProQuiz_reviewQuestion ol li {
                    
                        margin-left: 0px
                        !important;
                        
                        margin-bottom: 0px
                        !important;
                        border: solid 1px #E9EAEB
                            !important;
                    border-radius: 0 !important;
                    }
.wpProQuiz_reviewQuestion ol li:not([class]) {
    background-color: #FFFAEB !important;
}

                    .wpProQuiz_reviewButtons {
                      text-align: center;
                    }
                    .learndash-quiz-review-legend-item-review{
                        display: none;
                    }
                    .wpProQuiz_reviewText {
                        font-size: 16px;
                        font-weight: 500;
                        color: #535862;
                        font-family: IRANYekan;
                    }
.wpProQuiz_reviewColor.wpProQuiz_reviewQuestion_Target {
	background-color: #FFFAEB !important;
	outline: #D5D7DA !important;
}
.wpProQuiz_reviewQuestionSolved {
	background-color: #2370A6 !important
}
.wpProQuiz_reviewColor.wpProQuiz_reviewColor_Answer {
		background-color: #2370A6 !important;
	outline: #D5D7DA !important;
	box-shadow: 0 0 2px 1px #c4c4c4;

}
.wpProQuiz_reviewQuestionSolvedCorrect {
			background-color: #ABEFC6 !important;
}
.wpProQuiz_reviewQuestionSolvedIncorrect {
				background-color: #FEF3F2  !important;
}

.wpProQuiz_reviewColor.wpProQuiz_reviewColor_AnswerCorrect {
			background-color: #ABEFC6 !important;
	outline: #D5D7DA !important;
}
.wpProQuiz_reviewColor.wpProQuiz_reviewColor_AnswerIncorrect {
				background-color: #FEF3F2  !important;
	outline: #D5D7DA !important;
}







.wpProQuiz_reviewDiv {
  text-align: center; 
}
.wpProQuiz_reviewLegend ol {
  display: inline-block; 
  text-align: left;
  margin: 10px auto;
}

.course_progress_blue.sending_progress_bar {
background: #2370A6 !important;
}
.wpProQuiz_reviewDiv {
	    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.wpProQuiz_questionInput[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wpProQuiz_questionListItem label {
  position: relative;
  padding-right: 40px; 
  padding-left: 0;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
}

.wpProQuiz_questionListItem label::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid #D5D7DA;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.wpProQuiz_questionListItem label::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.wpProQuiz_questionListItem label.is-selected::after {
  background-color: #2370A6;
}

.wpProQuiz_answerCorrect > label.is-selected::after,
.wpProQuiz_answerCorrectIncomplete > label.is-selected::after {
  background-color: white;
}
.wpProQuiz_answerCorrect > label.is-selected::before {
   border: 5px solid green;
}




.wpProQuiz_answerIncorrect > label.is-selected::after {
  background-color: white ; 
}
.wpProQuiz_answerIncorrect > label.is-selected::before {
  border: 5px solid red ;
}




.wpProQuiz_answerCorrectIncomplete > label::after {
  background-color: white ; 
}
.wpProQuiz_answerCorrectIncomplete > label::before {
	    border: 5px solid green ;
}
li.wpProQuiz_questionListItem > label {
  padding-right: 25px !important;
}


.wpProQuiz_sending {
  color: #333;              
  font-size: 16px;           
  font-weight: bold;
	font-family: iranyekan; 
}

.quiz_continue_link {
	display: none !important;
}
.wpProQuiz_reviewQuestion li {
	font-family: iranyekan;
	font-weight: 600;
	font-size:14px;
}
.wpProQuiz_questionListItem {
	margin-right:10px !important;
}


.scorereject {
  display: inline-flex;
  align-items: center;   
  justify-content: center; 
  flex-wrap: nowrap;     
	font-family: iranyekan;
}
.scoreaccept {
  display: inline-flex;
  align-items: center;   
  justify-content: center; 
  flex-wrap: nowrap;     
	font-family: iranyekan;
}
#ld-user-latest-score {
  display: inline;
}
.ld-topic-status {
	display: none;
}

.ld-tabs.ld-tab-count-2 {
	 display: none !important;

}
.topicmaterials {
	font-family: iranyekan;
	font-size: 14px;
	font-weight: 400;
    color: #414651;
	}





.assignment-label {
	font-family: iranyekan !important;
	font-size: 14px;
	font-weight: 600;
    color: #535862;
	 margin-bottom: 15px;
	    margin-top: 20px ;

}
 .mce-txt {
            color: #000 !important;
        }


#drop-area {
    border: 2px dashed #E9EAEB !important;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
		background-color: white;
	border-radius: 12px;

}
#drop-area.highlight {
    border-color: green;

}
#fileElem {
    display: block;
    margin: 10px auto;
}
.upload-text-1 {
	font-family: iranyekan !important;
	font-size: 14px;
	font-weight: 600 !important;
    color: #1E5C89;
}
.upload-text-2 {
    font-family: iranyekan !important;
	font-size: 14px;
	font-weight: 400 !important;
    color: #535862;
}
.upload-text-3 {
    font-family: iranyekan !important;
	font-size: 14px;
	font-weight: 400 !important;
    color: #535862;
}
.submit-btn {
	    font-family: iranyekan !important;
	font-size: 16px;
	font-weight: 600 !important;
	background-color: #2370A6;
	color: white;
	border: none !important;
	border-radius: 12px;
    width: 155px;
    height: 44px;
}
.submit-btn:hover {
    background-color: #2370A6;
    color: white;
}
.assignment-form .submit-btn {
  display: block;
  margin: 30px auto 0 auto; 
}
.pendingstatus {
display: none;
}
.tld-assignment-status.rejected {
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 700;
  color: #414651;
  padding-top: 5px;
  padding-bottom: 5px;
}
.reject-score {
    color: #D92D20;
}
.mentor_comment_assignment {
	  font-family: iranyekan;
  font-size: 16px;
  font-weight: 400;
  color: #181D27;
}
.ld-assignment-status.reviewed {
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
  color: #414651;
}
.assignment-score {
	color: #079455;
}
.topicmaterials p:last-of-type {
	margin-bottom: 0px !important;
}
.tld-assignment-status.published {
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 700;
  color: #414651;
  padding-top: 5px;
  padding-bottom: 5px;
}
.approve-score {
    color: #079455;
}

.ld-content-actions {
  border-top: none !important;
}
.learndash_mark_complete_button {
  background-color: #2370A6 !important;
  border-radius: 12px !important;
  font-family: iranyekan !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: white !important;
	border: black !important;
}
.ld-breadcrumbs {
	display: none !important;
}
.passingquizbox {
    background-color: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #414651;
    padding: 15px;
    border-radius: 12px;
    margin: 10px 0;
	font-family: iranyekan;
	
}
.failingquizbox {
    background-color: #FEF3F2;
    border: 1px solid #FDA29B;
    color: #414651;
    padding: 15px;
    border-radius: 12px;
    margin: 10px 0;
	font-family: iranyekan;

}
.passingscore {
    font-weight: bold;
    color: #079455;
}
.failingscore {
    font-weight: bold;
    color: #D92D20;
}
.ld-alert.ld-alert-warning {
	display: none !important;
}
.ld-total-items {
	color: #535862;
	font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
	text-align: center;
}
.ld-total-items2 {
		color: #535862;
	font-family: iranyekan;
  font-size: 12px;
  font-weight: 600;
		text-align: center;
}

.ld-enrolled-count {

  color: black;
  font-family: iranyekan;
  font-size: 18px;
  font-weight: 600;
}

.ld-enrolled-count2 {

  color: #535862;
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
}
.assigned-topics-count {
	  color: #535862;
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
}
.ld-total-items {
		  color: #535862;
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
}
.ld-total-items3 {
	
  color: black;
  font-family: iranyekan;
  font-size: 14px;
  font-weight: 600;
	text-align: end;
}


.stars a {
  font-family: iranyekan;
  font-size: 20px;
  color: #ccc;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.3s, transform 0.2s;
  cursor: pointer;
}

.stars a:hover,
.stars a.hovered {
  color: #FDB022;
  transform: scale(1.2);
}

.stars a.selected {
	  font-family: iranyekan;
  color: #FDB022;
  font-weight: bold;
}
.stars a.active {
  font-family: iranyekan !important;
  color: #FDB022; 
  font-weight: bold;
}
.form-submit {
	text-align: -webkit-center !important;
}
.comment-form-cookies-consent {
	display: none;
}
.submit {
	  font-family: iranyekan;
	    border: 1px solid;
		background-color: #2370A6;
	color: white;
}
.submit:hover {
  font-family: iranyekan;
  border: 1px solid;
  background-color: #2370A6;
  color: white;
}
.avatar {
	border-radius: 50% !important;
}

@media (max-width: 600px) {
    .avatar-name-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .avatar-td {
        padding-right: 0 !important; 
    }
}
td {
	background-color: #ffffff !important;
}
#students-pagination {
  display: flex;
  flex-direction: row-reverse; 
  gap: 4px; 
}

.subscriber-dropdown {
	 border: 1px solid #D5D7DA !important;;
    border-radius: 8px !important;;
}
.fa-input {
  font-family: Arial, "Font Awesome 6 Free";
  font-weight: 900;
  padding-right: 35px;
  background: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/svgs/solid/id-card.svg")
              no-repeat right 10px center;
  background-size: 18px;
}
#add-selected-users {
    display: block;
    margin: 20px auto 0 auto;
    text-align: center;
}
/* .dialog-message.dialog-lightbox-message {
	width: 500px !important;
} */
@media (max-width: 768px) {
    .acw-table-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        width: 100%;
    }

    #author-courses-table-curriculum th,
    #author-courses-table-curriculum td {
        white-space: nowrap; /* جلوگیری از شکست متن */
    }

    #author-courses-table-curriculum {
        width: max-content; /* اجازه میده جدول عرض خودش رو داشته باشه */
        min-width: 100%;
    }
}
.custom-link {
  font-weight: 500;
  text-decoration: none;
  color: #666;
  transition: color 0.3s;
}

.custom-link:hover {
  color: #2370A6;
}
button[name="mentor_action"][value="approve"] {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #96CAED;
  background: white; /* توجه کن background باید بدون # باشه */
  color: #1E5C89;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  font-family: iranyekan;
  transition: all 0.3s ease;
}

button[name="mentor_action"][value="approve"]:hover {
  background: #1E5C89;
  color: white !important;
}
button[name="mentor_action"][value="reject"] {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #FDA29B;
  background: white;
  color: #B42318;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  font-family: iranyekan;
  transition: all 0.3s ease;
}

button[name="mentor_action"][value="reject"]:hover {
  background: #B42318;
  color: white !important;
}
body.assignment-status-publish .backgroundmentorassignment {
    background-color: #ECFDF3;
}

body.assignment-status-reject .backgroundmentorassignment {
    background-color: #FEF3F2;
}

body.assignment-status-pending .backgroundmentorassignment {
    background-color: #FFFAEB;
}

/* Wrapper */
.my-ldc { --gap:16px; }

/* Grid base (Desktop) */
.my-ldc .my-ldc-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  gap:var(--gap) !important;
  align-items:stretch !important;
}

/* Columns variants from shortcode */
.my-ldc.cols-2 .my-ldc-grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; }
.my-ldc.cols-3 .my-ldc-grid{ grid-template-columns:repeat(3, minmax(0,1fr)) !important; }
.my-ldc.cols-4 .my-ldc-grid{ grid-template-columns:repeat(4, minmax(0,1fr)) !important; }

/* Card */
.my-ldc .my-ldc-card{
  background:#fff;
  border:1px solid #eaeaea;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
  min-width:0;
  height:100%;
  scroll-snap-align:start;
}
.my-ldc .my-ldc-card:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.1); }

/* کارت‌های پرکننده: نگه‌داشتن فضا بدون نمایش */
.my-ldc .my-ldc-card.my-ldc-card--ghost{
  visibility:hidden;     /* دیده نشود ولی فضا را نگه دارد */
  pointer-events:none;   /* قابل کلیک نباشد */
}

/* Thumb 16:9 */
.my-ldc .my-ldc-thumb{
  display:block !important;
  position:relative !important;
  padding-top:56.25% !important;
  background:#f6f7f9 !important;
  overflow:hidden !important;
}
.my-ldc .my-ldc-thumb img{
  position:absolute !important; inset:0 !important;
  width:100% !important; height:100% !important;
  object-fit:cover !important; display:block !important;
}

/* Body */
.my-ldc .my-ldc-body{ padding:12px 14px 14px; }
.my-ldc .my-ldc-title{ font-family: iranyekan; margin:0 0 8px; font-size:16px; line-height:1.4; font-weight:600; }
.my-ldc .my-ldc-title a{ color:#212121; text-decoration:none; }
.my-ldc .my-ldc-title a:hover{ text-decoration:underline; }
.my-ldc .my-ldc-author{ font-size:13px; color:#666; }

/* Progress bar نمونه ساده */
.my-ldc .my-ldc-progress{
  margin-top:8px;
  background:#f1f5f9;
  border-radius:999px;
  height:6px;
  overflow:hidden;
}
.my-ldc .my-ldc-progress-bar{
  height:100%;
  background:#4f46e5;
  width:0%;
  transition:width .3s ease;
}

/* پیام عمومی */
.my-ldc-msg{
  background:#f7fafc; border:1px dashed #cbd5e0;
  padding:12px 14px; border-radius:10px; color:#4a5568;
}

/* موبایل: یک ستون + حذف پرکننده‌ها تا فضای خالی ردیف ایجاد نشود */
@media (max-width: 768px) {
  .my-ldc .my-ldc-grid,
  .my-ldc.cols-2 .my-ldc-grid,
  .my-ldc.cols-3 .my-ldc-grid,
  .my-ldc.cols-4 .my-ldc-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  .my-ldc .my-ldc-card.my-ldc-card--ghost{
    display:none; /* روی موبایل، پرکننده‌ها را کاملاً مخفی کن */
  }
}

/* فیلترها (دکمه‌ها) */
.my-ldc .my-ldc-filters {
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.my-ldc .my-ldc-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 99px;
  background: #FAFAFA;
  font-family: iranyekan, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #414651;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
}

.my-ldc .my-ldc-btn:hover {
  background: #f1f1f1;
}

.my-ldc .my-ldc-btn.active {
  border-radius: 99px;
  background: white;
  color: #414651;
  border: 1.5px solid #ddd;
  border-color: #535862;
}

.my-ldc-author-name {
  font-family: iranyekan, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #535862;
}

/* اگر این دو کلاس قدیمی را لازم دارید */
.course-thumb { flex: 0 0 120px; height: 100%; }
.course-thumb img { width: 100px; height: 80px; object-fit: cover; display: block; }

.quiz-title {
	  font-family: iranyekan, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #181D27;
}
.separator{
	  color: #E9EAEB;
}
.course-title-student {
		  font-family: iranyekan, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #535862;
	
}
.quiz-boxes {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.quiz-box {
  font-family: iranyekan, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #026AA2;
    flex: 0 0 auto;
    min-width: 60px;
    padding: 4px 6px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #B9E6FE;
    border-radius: 6px;
    background: #F0F9FF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.quiz-box .quiz-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
}
.quiz-row {
	    border: 1px solid #E9EAEB;
	    border-radius: 16px;
    display: flex;
    align-items: stretch; /* تصویر و محتوا هم‌ارتفاع */
    gap: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden; /* برای چسباندن کامل تصویر */
}
.quiz-info {
    margin-top: 4px !important;

}
.quiz-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fff;
}

.course-thumb {
    flex: 0 0 120px;
}

.quiz-info {
    flex: 1;
}

.quiz-action {
    flex: 0 0 auto;
}

.quiz-start-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
  font-family: iranyekan, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.quiz-start-button:hover {
    background: white;
	 border: 1px solid #0073aa;
	    color: #0073aa;
}
.quiz-score-label {
  padding: 0 20px;
  font-family: iranyekan, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #535862;

}

/* استایل وضعیت آزمون */
.quiz-box.exam-status.status-passed {
    background-color: #ECFDF3;
    border: 1px solid #ABEFC6;
    color: #067647;
}

.quiz-box.exam-status.status-failed {
    background-color: #FEF3F2;
    border: 1px solid #FECDCA;
    color: #B42318;
}
.course-thumb img {
	    border-radius: 8px;

}
.attempt-date {
		  font-family: iranyekan, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #535862;
	
}
.view-assignment-student {
	  display: inline-block;
    padding: 10px 20px;
  font-family: iranyekan, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1E5C89;	
}
/* وضعیت‌ها */
.quiz-box.assignment-status.status-approved {
  background-color: #ECFDF3;
  border: 1px solid #ABEFC6;
  color: #067647;
}

.quiz-box.assignment-status.status-rejected {
  background-color: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318;
}

.quiz-box.assignment-status.status-pending {
  background-color: #FFFAEB;
  border: 1px solid #FEDF89;
  color: #B54708;
}

/* حالت احتیاط/نامشخص در صورت نیاز */
.quiz-box.assignment-status.status-unknown {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.assignment-date {
		  font-family: iranyekan, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #535862;
	
}
.assignment-score-student {
	  padding: 0 20px;
  font-family: iranyekan, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #535862;
}
.last-seen p {
    display: flex;
    flex-wrap: wrap; /* برای حالت ریسپانسیو */
    align-items: center;
    gap: 12px; /* فاصله دقیق بین آیتم‌ها */
    margin: 0;
}

.last-seen__title {
    font-family: iranyekan;
    font-size: 18;
    font-weight: 500;
    color: #181D27;
}

.last-seen__parent {
    font-family: iranyekan;
    font-size: 16;
    font-weight: 400;
    color: #535862;
}
.last-seen__duration {
    font-family: iranyekan;
    font-size: 14;
    font-weight: 400;
    color: #717680;
}
.lvn-seen {
  display: block;
  margin: 24px 0;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  background: #fff;
	  box-shadow: 0px 14px 13px -17px rgba(0,0,0,0.25);

}

.lvn-seen > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.lvn-thumb {
  width: 100px;
  height: 80px;
  border-radius: 8px !important;
  object-fit: cover;
  flex: 0 0 auto;
}

.lvn-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  opacity: .85;
}

.lvn-title {
  text-decoration: none;
	    font-family: iranyekan;
    font-size: 18;
    font-weight: 500;
    color: #181D27;
}
.lvn-title:hover { text-decoration: underline; }

.lvn-parent,
.lvn-duration {
	font-family: iranyekan;
  margin-left: 6px;
	    font-size: 14;
    font-weight: 400;
    color: #717680;
}

/* ——— فقط ریسپانسیو؛ دسکتاپ بدون تغییر ——— */

/* تبلت و پایین‌تر */
@media (max-width: 1080px) {
  /* آیکن را حذف کن */
  .lvn-icon { display: none !important; }

  /* همه اجزا در یک خط بمانند */
  .lvn-seen > p {
    flex-wrap: nowrap !important;
    gap: 8px;               /* فاصله کمی کمتر برای جاگیری بهتر */
    align-items: center;
    overflow: hidden;       /* از سرریز افقی جلوگیری می‌کند */
  }

  /* سایز عکس ثابت می‌ماند (بدون تغییر) */
  .lvn-thumb {
    width: 100px;           /* همانی که داشتی */
    height: 80px;           /* همانی که داشتی */
    flex: 0 0 auto;
  }

  /* عنوان: کوچکتر + تک‌خط با … و قابلیت جمع‌شدن */
  .lvn-title {
    font-size: 16px;        /* کمی کوچکتر از دسکتاپ */
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;           /* مهم برای ellipsis داخل flex */
    flex: 1 1 auto;         /* اجازه بده عنوان کوچک شود تا جا باز شود */
  }

  /* متادیتا: تک‌خط و کمی کوچکتر، اما قابل‌نمایش کامل */
  .lvn-parent,
  .lvn-duration {
    font-size: 13px;
    line-height: 1.6;
    white-space: nowrap;
    flex: 0 0 auto;         /* اجازه نده اینا شکسته شوند */
    margin-left: 6px;
  }
}

/* موبایل کامپکت‌تر */
@media (max-width: 640px) {
  .lvn-seen { padding: 10px; }

  /* آیکن همچنان مخفی */
  .lvn-icon { display: none !important; }

  .lvn-title {
    font-size: 15px;        /* یک پله کوچکتر برای جا شدن روی یک خط */
  }

  .lvn-parent,
  .lvn-duration {
    font-size: 12.5px;
  }
}

/* خیلی کوچک‌ها */
@media (max-width: 380px) {
  .lvn-title { font-size: 14px; }
  .lvn-parent,
  .lvn-duration { font-size: 12px; }
}

/* احترام به کاهش انیمیشن کاربر (اختیاری) */
@media (prefers-reduced-motion: reduce) {
  .lvn-seen, .lvn-title { transition: none !important; }
}





/* گرید کل */
.lvc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
}

/* کارت دوره */
.lvc-seen {
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 13px -11px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ردیف داخلی: عکس + اطلاعات */
.lvc-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
}

.lvc-col {
  display: flex;
  flex-direction: column;
}

/* تصویر */
.lvc-thumb {
  width: 100px;
  height: 80px;
  border-radius: 8px !important;
  object-fit: cover;
}
.lvc-thumb--placeholder {
  background: #f3f4f6;
  display: block;
}

/* بخش اطلاعات */
.lvc-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lvc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lvc-title {
  font-family: iranyekan, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #181D27;
  text-decoration: none;
  line-height: 1.4;
}
.lvc-title:hover { text-decoration: underline; }

/* Progress bar */
.lvc-progress {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #e5e7eb; /* پس‌زمینه خالی */
  overflow: hidden;
}

.lvc-progress-bar {
  height: 100%;
  background: #2370A6; /* رنگ نوار اصلی */
  border-radius: 4px 0 0 4px;
  transition: width .3s ease;
}

/* نمره */
.lvc-score {
	  font-family: iranyekan, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #717680;
}

.lvc-box-footer {
  margin-top: 10px;
  text-align: left;
}

@media (max-width: 1080px) {
  .lvc-grid {
    grid-template-columns: 1fr; /* تک‌ستونه */
  }
  .lvc-seen {
    padding: 12px; /* کمی جمع‌وجورتر */
  }
  .lvc-row {
    grid-template-columns: 88px 1fr; /* تصویر کوچک‌تر */
    gap: 10px;
    align-items: center;
  }
  .lvc-thumb {
    width: 88px;
    height: 70px;
    aspect-ratio: 5 / 4;   /* نسبت ثابت، کراپ تمیز */
    object-fit: cover;
  }
  .lvc-info-col {
    gap: 14px;
  }
  .lvc-title-row {
    display: flex;
    flex-wrap: wrap;   /* اجازه بده نمره بره خط بعد */
    gap: 6px 10px;
  }
  .lvc-title {
    font-size: 16px;
    line-height: 1.5;
    /* دوخطی با ... برای عنوان‌های بلند */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }
  .lvc-score {
    font-size: 13px;
    line-height: 1.4;
    inline-size: 100%;       /* بیاد زیر عنوان در موبایل */
    margin-top: 2px;
    opacity: .9;
  }
  .lvc-progress {
    height: 5px;
  }
}

/* <=640px: موبایل کامپکت */
@media (max-width: 640px) {
  .lvc-seen {
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 12px -12px rgba(0,0,0,.25); /* سایه نرم‌تر */
  }
  .lvc-row {
    grid-template-columns: 72px 1fr;
    gap: 8px;
  }
  .lvc-thumb {
    width: 72px;
    height: 56px;
    border-radius: 7px !important;
  }
  .lvc-info-col {
    gap: 10px;
  }
  .lvc-title {
    font-size: 15px;
  }
  .lvc-score {
    font-size: 12.5px;
  }
  .lvc-progress {
    height: 4px;
    border-radius: 999px;
  }
  .lvc-progress-bar {
    border-radius: 999px;
  }
}

/* <=380px: خیلی کوچک‌ها */
@media (max-width: 380px) {
  .lvc-row {
    grid-template-columns: 64px 1fr;
    gap: 8px;
  }
  .lvc-thumb {
    width: 64px;
    height: 52px;
  }
  .lvc-title { font-size: 14px; }
  .lvc-score { font-size: 12px; }
}

/* احترام به کاهش انیمیشن کاربر */
@media (prefers-reduced-motion: reduce) {
  .lvc-progress-bar { transition: none; }
}
/* استایل دکمه در حالت لودینگ */
#addtocartcourse.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

#addtocartcourse.loading::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
/* حالت دکمه وقتی محصول در سبد خرید هست */
#addtocartcourse.in-cart {
    background: #fff !important;
    border: 2px solid #2370A6 !important;
    color: #2370A6 !important;
}

.my-ldc-progress {
    height: 8px;           /* ارتفاع نمودار */
    background: #eee;      /* رنگ پس‌زمینه */
    border-radius: 99px;
    margin-top: 50px;
    overflow: hidden;
}

.my-ldc-progress-bar {
    height: 100%;
    background: #0073aa;   /* رنگ خط */
    transition: width 0.3s ease;
}


/* ردیف عنوان آکاردئون */
.e-n-accordion .e-n-accordion-item .e-n-accordion-item-title{
  display: flex !important;
  flex-direction: row !important;   /* ترتیب استاندارد */
  justify-content: space-between !important; /* دو سرِ باکس */
  align-items: center;
  width: 100%;
}

/* متن: اول قرار بگیره (استارت = راستlastseen  در RTL) */
.e-n-accordion .e-n-accordion-item .e-n-accordion-item-title-header{
  order: 1 !important;
  margin: 0 !important;             /* هر auto قبلی حذف شود */
  text-align: right;
}

/* آیکن: دوم قرار بگیره (اند = چپ در RTL) */
.e-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon{
  order: 2 !important;
  margin: 0 !important;             /* جلوی margin-left:auto های قبلی را می‌گیرد */
}
/* تغییر رنگ آیکن */
.e-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon svg {
    fill: #A4A7AE !important;  /* رنگ آیکن */
}
.accordion-title {
	font-family: iranyekan, sans-serif;
  font-size: 18px;
  font-weight: 400 !important;
  color: #181D27;

}
.lesson-duration {
		font-family: iranyekan, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #181D27;
}
.lastseen {
	padding-top: 24px !important; 
	padding-bottom: 24px !important; 
}
.wpProQuiz_questionList {
	background-color: white !important;
}
.accordion-content {
	padding: 0px !important;
}
.accordion-content ul li {
    padding: 10px 24px !important;
	border-bottom-width: 0px !important;
}
.quiz-extra-info-duration {
  font-family: iranyekan, sans-serif !important;;
  font-size: 14px !important;;
  font-weight: 400 !important;;
  color: #535862 !important;;
}
.topic-extra-info-incomplete {
  font-family: iranyekan, sans-serif !important;;
  font-size: 14px !important;;
  font-weight: 400 !important;;
  color: #535862 !important;;
}
.topic-extra-info-complete {
  font-family: iranyekan, sans-serif !important;;
  font-size: 14px !important;;
  font-weight: 400 !important;;
  color: #535862 !important;;
}
.topic-extra-info-pending {
	  font-family: iranyekan, sans-serif;
  font-size: 14px ;
  font-weight: 400 ;
  color: #DC6803 ;
}
.topic-extra-info-reject {
  font-family: iranyekan, sans-serif;
  font-size: 14px ;
  font-weight: 400 ;
  color: #D92D20 ;
}


.accordion-title {
    background-color: #f5f5f5; /* رنگ طوسی پیش‌فرض */
    padding: 10px;
    cursor: pointer;
}

.accordion-title.active {
    background-color: #ffffff !important; /* وقتی باز شد سفید بشه */
}

.course-lessons {
    font-family: iranyekan;
    direction: rtl;
    width: 100%;
    margin: 20px 0;
    background: #ffffff;
    overflow: visible;
}

.lesson-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
  border: 1px solid #E9EAEB !important;

}

.accordion-title {
    cursor: pointer;
    background: #fff;
    padding: 15px 20px;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    background-color: #f5f5f5;
    transition: background-color 0.3s;
    position: relative;
    direction: rtl;
}

.accordion-icon {
    font-size: 18px;
    color: #A4A7AE;
}

.lesson-duration {
    margin-right: auto;
    color: #666;
    font-size: 0.9em;
    white-space: nowrap;
}

.accordion-content {
    display: none;
    background: #ffffff;
    padding: 10px 20px;
}

.accordion-content ul {
    padding: 0;
    list-style: none;
}

.accordion-content li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.accordion-content i {
    color: #A4A7AE;
    min-width: 20px;
    text-align: center;
}

.accordion-content a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.accordion-content a:hover {
    text-decoration: underline;
}

.lesson-item.open .accordion-title {
    background-color: #ffffff;
}

.lessons-heading {
    text-align: right;
    padding: 15px 20px 10px 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin: 20px auto 0 auto;
    max-width: 600px;
}

.lesson-title {
    white-space: nowrap;
}


.topic-icon svg,
.quiz-icon svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 6px;
}

.topic-icon img {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}
.accordion-title.active span,
.accordion-title.active .lesson-duration {
  color: #1E5C89 !important;
}
.accordion-title .accordion-icon.fa-minus {
    color: #1E5C89;
}
















.accordion-content-login ul {
	    padding-right: 0px !important;
}
.accordion-title-login {
	font-family: iranyekan;
	padding: 12px !important;
    border-bottom: 1px solid #D5D7DA !important;
}
.accordion-content-login {
font-family: iranyekan;
}
.accordion-content-login ul li {
    padding: 12px 18px 12px 8px !important;
}
.accordion-content-login ul li a {
 	color:#535862 !important;
}









.topic-item {
  direction: ltr;                /* چون متن فارسی است */
  display: grid;
  grid-template-columns: 56px 1fr; /* ستون چپ ثابت برای آیکون، راست انعطاف‌پذیر */
  gap: 12px;
  padding: 12px 16px;
  list-style: none;              /* اگر li نقطه دارد */
}

/* ستون آیکون: دقیقاً وسط باکس (عمودی و افقی) */
.topic-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;              /* قدری ارتفاع برای وسط‌چینی بهتر */
}

/* اندازه آیکون — اگر در خود <img> set شده، می‌توانی این را حذف کنی */
.topic-icon-col img {
  width: 25px;
  height: 25px;
}

/* ستون محتوا (عنوان + اطلاعات اضافی) */
.topic-content-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
	direction: rtl;
}



/* نمونه استایل برای برچسب‌های وضعیت که خودت قبلاً گذاشتی */
.topic-extra-info-pending,
.topic-extra-info-reject,
.topic-extra-info-complete,
.topic-extra-info-incomplete {
  font-size: 14px;
}
.wpProQuiz_time_limit_expired {
	font-family: iranyekan;
}
.wpProQuiz_checkPage p {
	display: none;
}
.wpProQuiz_button2 {
	font-family: iranyekan !important;
	background-color: #2370A6 !important;
	border-radius: 12px !important;
	    font-size: 12px !important;
    font-weight: 600 !important;
}
.wpProQuiz_loadQuiz {
	display: none !important;
}
.wpProQuiz_question_page {
		display: none !important;

}
.wpProQuiz_questionInput[type="checkbox"] {
	display: none !important;
}
.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_answerCorrectIncomplete label::before {
	border: 5px solid #FEDF89 !important;
}
.wpProQuiz_questionList[data-type="multiple"]:has(.wpProQuiz_answerCorrectIncomplete) {
  background: #FEF3F2 !important;
}
.wpProQuiz_question:has(.wpProQuiz_answerCorrectIncomplete) .question-number-box {
  background-color: #FEF3F2  !important;
}
.wpProQuiz_questionList[data-type="free_answer"] .wpProQuiz_questionListItem label::before {
display: none !important;
}
.wpProQuiz_questionInput[type="text"] {
	  border: 1px solid #E9EAEB !important;
	background: none !important;
}
label:has(.wpProQuiz_questionInput) {
  background: none !important;
}
.wpProQuiz_questionList:has(.wpProQuiz_answerCorrectIncomplete) {
  background-color: #FFFAEB !important;
}
.wpProQuiz_freeCorrect {
	color: #414651;
}
.wpProQuiz_questionList.ui-sortable {
  display: block;
}

.wpProQuiz_questionList.ui-sortable > li {
  display: block;
  margin: 5px 0; /* فاصله بین آیتم‌ها */
}
.wpProQuiz_questionList_containers p {
	font-family: iranyekan;
}
.wpProQuiz_questionList {
		font-family: iranyekan;

}
.wpProQuiz_matrixSortString {
			font-family: iranyekan;

}
.wpProQuiz_cloze input {
	  background: none !important;

}
.wpProQuiz_questionList:has(.wpProQuiz_answerIncorrect) {
  background-color: #FEF3F2 !important;
}
.wpProQuiz_questionList:has(.wpProQuiz_answerCorrect) {
  background-color: #ECFDF3 !important;
}
.ui-sortable:has(.wpProQuiz_answerIncorrect) {
  background-color: #FEF3F2 !important;
}
table, table tr, table th, table td {
  border-right: 0 !important;
  border-left: 0 !important;
  border-top: 1px solid #E9EAEB !important;
  border-bottom: 1px solid #E9EAEB !important;

}
.profile-card__name {
  font-family: iranyekan, sans-serif;
  font-size: 18px ;
  font-weight: 600 ;
  color: #181D27 ;
}
.acw-toggle {
	border: 0px;
	background-color: white !important;

}
.acw-toggle:hover {
	background-color: white !important;
}
.first-td-acc {
	border : 0px !important;
}
tr:has(td.first-td-acc) {
  border: 0 !important;
}
.second-td-acc {
	border : 0px !important;
}
tr:has(td.second-td-acc) {
  border: 0 !important;
}
.acw-curriculum {
	border-top:1px solid #E9EAEB;
    border-right:1px solid #E9EAEB;
	border-left:1px solid #E9EAEB;

	border-radius: 12px;
}
.accordion-header {
		border-radius: 12px 12px 0px 0px;
}
.accordion-item {
		border-bottom:1px solid #E9EAEB;
	border-radius: 12px;

}
.lvc-author {
font-family: iranyekan, sans-serif;
  font-size: 14px ;
  font-weight: 400 ;
  color: #535862 ;
}
.e-off-canvas {
	width: 75% !important;
	right: 0 !important;
}
.explanations p {
	text-align: justify !important;
}
.quiz-question-count {
	font-family: iranyekan, sans-serif; 
	font-size: 12px ; 
	font-weight: 500 ; 
	color: #7A7A7A;
}
.countqu .elementor-shortcode {
	text-align: center;
}




 .lvc-tabs-container .lvc-tab-btn {
        margin-left: 15px; 
        padding: 8px 16px; 
        background: #f8f9fa; 
        border: 1px solid #E9EAEB; 
        border-radius: 99px; 
        text-decoration: none; 
        color: #333; 
        font-family: IRANYekan, sans-serif; 
        font-size: 14px;
        transition: all 0.3s ease;
    }
    .lvc-tabs-container .lvc-tab-btn.active {
        background: #EDF7FF;
        color: #1E5C89;
        border-color: #C3E3FA;
    }
    .lvc-tabs-container .lvc-tab-btn:hover {
        background: #e9ecef;
        border-color: #535862;
    }

.favorite-heart {
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #B42318;
    padding: 8px 12px;
}

.favorite-heart.favorited {
    color: #B42318;
}

.favorite-heart.not-favorited {
    color: #B42318;
}

.favorite-heart.not-logged-in {
    cursor: not-allowed;
    color: #cccccc;
}

.favorite-heart.no-post {
    cursor: default;
    color: #cccccc;
}

.favorite-heart:hover:not(.not-logged-in):not(.no-post) {
    transform: scale(1.05);
}

.favorite-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
	margin-bottom: 1px;
}

.favorite-text {
	    font-size: 14px;
	font-weight: 600 ; 
    font-family: iranyekan;
}

/* wrapper */
.ld-course-image-wrap { display:inline-block; position:relative; }

/* دکمه آیکن (کاملاً بدون پس‌زمینه و بدون padding اضافه) */
.ld-course-image-wrap .favorite-heart{
  position:absolute;
  top:8px;
  right:8px;
  z-index:10;
  width:24px;
  height:24px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:0;
}

/* اندازه ثابت SVG */
.ld-course-image-wrap .favorite-heart svg{ width:24px; height:24px; display:block; }

/* حالت وقتی در علاقه‌مندی نیست: قلب توخالی سفید */
/* فرض می‌کنیم SVG outline دارای stroke="currentColor" و fill="none" است */
.ld-course-image-wrap .favorite-heart.not-favorited svg{
  color: #ffffff; /* stroke سفید */
}
.ld-course-image-wrap .favorite-heart.not-favorited svg path{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* حالت وقتی در علاقه‌مندی هست: قلب توپر قرمز */
.ld-course-image-wrap .favorite-heart.favorited svg{
  color: #e74c3c; /* fill قرمز */
}
.ld-course-image-wrap .favorite-heart.favorited svg path{
  fill: currentColor !important;
  stroke: none !important;
}

/* هاور و فعال: بدون تغییر پس‌زمینه (همون‌طور که خواستی) */
.ld-course-image-wrap .favorite-heart:hover,
.ld-course-image-wrap .favorite-heart:active{
  background:transparent;
  border:0;
}

/* Focus برای دسترسی */
.ld-course-image-wrap .favorite-heart:focus{
  outline:2px solid rgba(0,0,0,0.08);
  outline-offset:2px;
}









.my-cart-item-name {
		font-family: iranyekan, sans-serif; 
	font-size: 16px ; 
	font-weight: 600 ; 
	color: #181D27;
}
.my-course-author {
			font-family: iranyekan, sans-serif; 
	font-size: 14px ; 
	font-weight: 400 ; 
	color: #535862;
}
.my-course-direction {
   font-family: iranyekan, sans-serif; 
	font-size: 14px ; 
	font-weight: 400 ; 
	color: #535862;
}
.my-price-number {
	   font-family: iranyekan, sans-serif; 
	font-size: 20px ; 
	font-weight: 700 ; 
	color: #181D27;
}
.my-price-text {
		   font-family: iranyekan, sans-serif; 
	font-size: 16px ; 
	font-weight: 400 ; 
	color: #535862;
}
.my-discount-number {
			   font-family: iranyekan, sans-serif; 
	font-size: 14px ; 
	font-weight: 700 ; 
	color: #D92D20;
}
.my-discount-currency {
				   font-family: iranyekan, sans-serif; 
	font-size: 10px ; 
	font-weight: 400 ; 
	color: #D92D20;
}
.my-discount-text {
   font-family: iranyekan, sans-serif; 
	font-size: 12px ; 
	font-weight: 500 ; 
	color: #D92D20;
}
.my-wc-cart-products {
	 border: 1px solid #E9EAEB; 
border-radius: 16px;
padding: 20px 28px 20px 40px;
}
.my-wc-cart-wrapper {
	    align-items: flex-start;
}
label[for="my_cart_coupon_code"] {
	   font-family: iranyekan, sans-serif; 

    font-weight: 500;
    color: #414651;
    font-size: 14px;
}

#my_cart_coupon_code::placeholder {
    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #717680; 
	    font-weight: 400;

}
.my-applied-coupons__left {
	    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #067647; 
	    font-weight: 500;
}
.my-line1 {
    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #717680; 
	 font-weight: 400;
	align-content: center;
}
.my-line2 {
    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #079455; 
	 font-weight: 400;
	align-content: center;
}
.my-line3 {
	  font-family: 'iranyekan', sans-serif; 
    font-size: 16px;
    color: #181D27; 
	 font-weight: 400;
	align-content: center;
}

.my-savings-badge {
			  font-family: 'iranyekan', sans-serif; 
    font-size: 12px;
	 font-weight: 500;
	border: 1px solid #ABEFC6;
	border-radius: 99px;
	color:#067647;
	background-color: #ECFDF3;
	padding: 1px 8px;
}
.my-price-number1 {
	    font-family: 'iranyekan', sans-serif; 
    font-size: 16px;
    color: #717680; 
	    font-weight: 700;	
}
.my-price-text1 {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #717680; 
	    font-weight: 400;	
}
.my-price-number2 {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 16px;
    color: #079455; 
	    font-weight: 700;
}
.my-price-text2 {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #079455; 
	    font-weight: 400;	
}
.my-price-number3 {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 20px;
    color: #181D27; 
	    font-weight: 700;
}
.my-price-text3 {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 16px;
    color: #181D27; 
	    font-weight: 400;	
}

@media only screen and (max-width: 768px) {
    .my-wc-cart-wrapper {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 8px !important;
    }
    
    .my-wc-cart-products,
    .my-wc-cart-sidebar {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    .my-cart-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 16px 12px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .my-cart-item-image {
        flex: 0 0 auto !important;
        align-self: center !important;
    }
    
    .my-cart-item-details {
        width: 100% !important;
        text-align: center !important;
    }
    
    .my-cart-item-actions {
        flex: 1 1 100% !important;
        width: 100% !important;
        justify-content: space-between !important;
        gap: 20px !important;
        margin-top: 8px !important;
    }
    
    .my-action-prices {
        align-items: flex-start !important;
    }
    
    .my-cart-coupon-box {
        padding: 12px !important;
        border-radius: 12px !important;
    }
    
    .my-cart-totals-box {
        padding: 12px !important;
        border-radius: 12px !important;
    }
    
    .my-go-checkout {
        padding: 12px 20% !important;
        font-size: 16px !important;
        width: 100% !important;
    }
    
    .my-course-meta {
        justify-content: center !important;
        gap: 16px !important;
        margin-top: 8px !important;
    }
    
    /* بهبود نمایش قیمت‌ها در موبایل */
    .my-sale-price {
        font-size: 1.1rem !important;
    }
    
    .my-discount-price {
        font-size: 0.85rem !important;
    }
    
    /* بهبود نمایش کوپن‌های اعمال شده */
    .my-applied-coupons {
        margin-top: 12px !important;
    }
    
    .my-applied-coupons__left {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    
    /* بهبود نمایش جمع کل */
    .my-line1,
    .my-line2,
    .my-line3 {
        font-size: 0.9rem !important;
    }
    
    .my-line4,
    .my-line5 {
        font-size: 0.9rem !important;
    }
    
    .my-savings-right {
        flex-direction: column !important;
        gap: 4px !important;
        align-items: flex-end !important;
    }
    
    .my-savings-badge {
        font-size: 0.8rem !important;
    }
}

@media only screen and (max-width: 480px) {
    .my-cart-item-actions {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .my-action-prices {
        align-items: center !important;
    }
    
    .my-go-checkout {
        padding: 12px 10% !important;
        font-size: 15px !important;
    }
    
    .my-course-meta {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .my-cart-item-name {
        font-size: 0.95rem !important;
    }
    
    .my-course-meta {
        font-size: 0.85rem !important;
    }
}








/* === Favorite Courses List === */
.favorite-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-list.empty,
.favorite-list.not-logged-in {
    font-style: normal;
    color: #666;
    padding: 8px 0;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    transition: background 0.3s ease;
}

.favorite-item .favorite-thumb img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 1px solid #ddd;
}

.favorite-item .favorite-title {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #414651; 
}

.favorite-item .favorite-title:hover {
    color: #2370A6;
}

.favorite-item .favorite-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #c00;
    padding: 4px 8px;
    transition: color 0.2s ease;
	    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #B42318; 
	    font-weight: 600;

}

.favorite-item .favorite-remove:hover {
    color: #900;
    text-decoration: underline;
}
.dialog-widget-content.dialog-lightbox-widget-content.animated {
    border-radius: 12px !important;

}
/* .dialog-message.dialog-lightbox-message {
	width: 400px !important;
} */
.orderstatus {
    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #414651; 
	 font-weight: 500;
}
.codeorder {
	    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #181D27; 
	 font-weight: 700;
}
.dateorder {
 font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #717680; 
	 font-weight: 400;
}
.costorder {
		    font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #181D27; 
	 font-weight: 700;
}
.orderproducttitle {
	 font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #181D27; 
	 font-weight: 600;
}
.ordercoursedetail {
		 font-family: 'iranyekan', sans-serif; 
    font-size: 12px;
    color: #535862; 
	 font-weight: 400;
}
.orderprice-amount {
		 font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #181D27; 
	 font-weight: 700;
}
.orderprice-currency {
			 font-family: 'iranyekan', sans-serif; 
    font-size: 12px;
    color: #535862; 
	 font-weight: 400;
}
.orderdiscount-amount-number {
				 font-family: 'iranyekan', sans-serif; 
    font-size: 12px;
    color: #D92D20; 
	 font-weight: 700;
}
.orderdiscount-currency {
					 font-family: 'iranyekan', sans-serif; 
    font-size: 10px;
    color: #D92D20; 
	 font-weight: 400;
}
.orderdiscount-text {
						 font-family: 'iranyekan', sans-serif; 
    font-size: 12px;
    color: #717680; 
	 font-weight: 500;
}
.review-section {
							 font-family: 'iranyekan', sans-serif; 
    font-size: 14px;
    color: #1E5C89; 
	 font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .user-orders-simple {
        gap: 15px !important;
    }
    
    /* هدر سفارش - ریسپانسیو */
    .user-orders-simple > div > div:first-child {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 12px 15px !important;
    }
    
    .user-orders-simple > div > div:first-child > span {
        display: none !important;
    }
    
    .user-orders-simple > div > div:first-child > div {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    /* مخفی کردن عکس دوره */
    .course-image {
        display: none !important;
    }
    
    /* مخفی کردن مدت زمان و نویسنده */
    .ordercoursedetail {
        display: none !important;
    }
    
    /* تنظیمات بخش دوره‌ها برای موبایل */
    .course-item {
        flex-direction: column !important;
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .course-info {
        width: 100% !important;
        padding-right: 0 !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .course-details {
        width: 100% !important;
    }
    
    /* جداکننده‌ها مخفی شوند */
    .separator {
        display: none !important;
    }
    
    /* قیمت‌ها و بخش دیدگاه */
    .price-section,
    .review-section {
        width: 100% !important;
        padding: 0 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    /* استایل‌های اضافی برای اطمینان از عدم همپوشانی */
    .orderstatus,
    .codeorder,
    .dateorder,
    .costorder {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: 13px !important;
    }
    
    .orderproducttitle {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}
.msc-toggle {
	border: 0px !important;
	background-color: white !important;
}


.elm-plain-search-wrapper {
  max-width: 520px;
}

.elm-plain-search-input-wrap {
  position: relative;
}

/* استایل اصلی ورودی */
.elm-plain-search-input {
  width: 100%;
  box-sizing: border-box;
  font-family: "iranyekan", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #717680;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #D5D7DA !important;
  border-radius: 12px;
  background: #fff;
  line-height: 1.4;
  transition: border-color 0.2s ease;
}

/* رنگ بوردر هنگام فوکوس (اختیاری) */
.elm-plain-search-input:focus {
  border-color: #b4b6b9;
  outline: none;
}

/* آیکون سمت راست (برای سایت‌های RTL) */
html[dir="rtl"] .elm-plain-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.95;
}

/* فاصله مناسب متن از آیکون */
html[dir="rtl"] .elm-plain-search-input {
  padding-right: 44px; /* برای آیکون + فاصله */
  padding-left: 12px;
}

/* حالت LTR */
html:not([dir="rtl"]) .elm-plain-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.95;
}

html:not([dir="rtl"]) .elm-plain-search-input {
  padding-left: 44px;
  padding-right: 12px;
}
.elm-plain-search-results {
	font-family: iranyekan;
	margin-top: 10px;
  border: 1px solid #D5D7DA !important;
	    text-align: center;
	padding: 2px;
}
/* برای قابل کلیک شدن آیتم‌های نتایج */
.elm-plain-search-item {
  padding: 8px 12px;
  cursor: pointer;
}

/* افکت hover */
.elm-plain-search-item:hover {
  background-color: #f5f6f7;
}
.msc-courses {
	border: 1px solid #E9EAEB;
	box-shadow: 0px 4px 8px -2px var(--ColorsEffectsShadowsshadow-md01);
}
.acf-user-register-fields {
    display: none !important;
}










        .user-connected-courses {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .user-connected-courses li {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
            padding: 10px 12px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .user-connected-courses li:hover {
            background-color: #f8f9fa;
        }

        .user-connected-courses li.selected {
            background-color: white !important;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border: 1px solid #e9eaeb;
        }

        .course-left {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1;
        }

        .course-left img {
            width: 45px;
            height: 36px;
            object-fit: cover;
            border-radius: 4px;
            flex-shrink: 0;
        }

        .course-title {
            font-family: iranyekan;
            font-size: 14px;
            font-weight: 600;
            color: #414651;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .course-badge {
            font-family: iranyekan;
            font-size: 12px;
            padding: 2px 10px;
            border-radius: 99px;
            border: 1px solid;
            white-space: nowrap;
            flex-shrink: 0;
        }








  .course-students-list {
        min-height: 200px;
	  padding: 0px 20px;
    }
    
    .course-students-list .no-selection,
    .course-students-list .error-message {
        text-align: center;
        color: #999;
        padding: 40px 20px;
        font-size: 16px;
    }
    
    .course-students-list .loading-students {
        text-align: center;
        padding: 40px 20px;
        color: #666;
    }
    
    .course-students-container {
        width: 100%;
    }
    
    .course-students-container .students-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .course-students-container .student-item {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        border: none;
        background: transparent;
        padding: 0;
    }
    
    .course-students-container .student-info {
        flex: 0 0 auto;
    }
    
    .course-students-container .student-item:hover {
        background: transparent;
        box-shadow: none;
    }
    
    .course-students-container .student-avatar {
        margin-left: 12px;
        flex-shrink: 0;
    }
    
    .course-students-container .student-avatar img {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: block;
    }
    
    .course-students-container .student-info {
        display: flex;
        flex-direction: column;
    }
    
    .course-students-container .student-name {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #414651;
        line-height: 1.5;
        margin-bottom: 4px;
    }
    
    .course-students-container .student-meli-code {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #535862;
        line-height: 1.5;
    }
    
    .course-students-container .student-checkboxes {
        display: flex;
        align-items: center;
        gap: 16px;
        border: 1px solid #E9EAEB;
        border-radius: 6px;
        padding: 6px;
        flex: 1;
        justify-content: center;
        margin: 0 20px;
    }
    
    .course-students-container .checkbox-label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #414651;
        cursor: default;
        padding: 4px 8px;
        border-radius: 4px;
    }
    
    .course-students-container .checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: default;
        margin: 0;
        position: relative;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        border: 2px solid #999;
        border-radius: 3px;
        background-color: #fff;
        transition: all 0.2s;
    }
    
    .course-students-container .checkbox-label input[type="checkbox"]:disabled {
        opacity: 1;
        cursor: default;
    }
    
    .course-students-container .checkbox-label input[type="checkbox"]:checked {
        border-color: #999;
        background-color: #999;
    }
    
    .course-students-container .checkbox-label input[type="checkbox"]:checked::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: translate(-50%, -60%) rotate(45deg);
    }
    
    .course-students-container .checkbox-label.mentor-checked input[type="checkbox"]:checked {
        border-color: #079455;
        background-color: #079455;
    }
    
    .course-students-container .checkbox-label.student-checked input[type="checkbox"]:checked {
        border-color: #2370A6;
        background-color: #2370A6;
    }
    
    .course-students-container .student-icon {
        flex-shrink: 0;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
    }
    
    .course-students-container .student-icon i {
        font-size: 20px;
        width: 20px;
        height: 20px;
        color: #338DC4;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .course-students-container .no-students {
        text-align: center;
        padding: 40px 20px;
        color: #999;
    }







    .course-mentors-count {
        display: inline-block;
    }
    
    .course-mentors-count .mentors-count-number {
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: #414651;
        line-height: 1.5;
        border: 1px solid #E9EAEB;
        background-color: #FAFAFA;
        border-radius: 99px;
        padding: 1px 8px;
        display: inline-block;
    }









      .course-students-container .student-icon {
        cursor: pointer;
    }
    
    /* استایل پاپ‌آپ */
    .student-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999999 !important;
        display: none;
        align-items: center;
        justify-content: center;
    }
    
    .student-popup-overlay.active {
        display: flex !important;
    }
    
    .student-popup-content {
        width: 432px;
        border-radius: 12px;
        background-color: #fff;
        padding: 20px;
        position: relative;
        z-index: 999999 !important;
    }
    
    .student-popup-close {
        position: absolute;
        top: 10px;
        left: 10px;
        background: none !important;
        border: none !important;
        font-size: 18px;
        cursor: pointer;
        color: #999 !important;
        padding: 0 !important;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
        outline: none !important;
        transition: none !important;
    }
    
    .student-popup-close:hover,
    .student-popup-close:focus,
    .student-popup-close:active {
        background: none !important;
        border: none !important;
        color: #999 !important;
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .student-popup-close i {
        font-size: 18px;
    }
    
    .student-popup-hr {
        border: none;
        border-top: 1px solid #E9EAEB;
        margin-top: 20px;
        padding: 0;
    }
    
    .student-popup-course-box {
        background-color: #FAFAFA;
        border: 1px solid #E9EAEB;
        border-radius: 6px;
        padding: 6px 8px;
        margin-top: 20px;
    }
    
    .course-box-label {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #535862;
    }
    
    .course-box-title {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #535862;
    }
    
    .student-popup-body {
        display: flex;
        align-items: center;
    }
    
    .popup-loading,
    .popup-error {
        text-align: center;
        padding: 20px;
        color: #999;
    }
    
    /* استایل لیست دانش‌آموزان در پاپ‌آپ */
    .student-popup-students-list {
        margin-top: 20px;
    }
    
    .popup-students-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .popup-student-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .popup-student-avatar {
        flex-shrink: 0;
    }
    
    .popup-student-avatar img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: block;
    }
    
    .popup-student-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .popup-student-name {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #414651;
        line-height: 1.5;
    }
    
    .popup-student-meli-code {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #535862;
        line-height: 1.5;
    }
    
    .no-students-popup {
        text-align: center;
        padding: 20px;
        color: #999;
    }
    
    /* استایل پروفایل منتور در پاپ‌آپ */
    .mentor-profile-popup {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mentor-profile-avatar {
        flex-shrink: 0;
    }
    
    .mentor-profile-avatar img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: block;
    }
    
    .mentor-profile-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .mentor-profile-name {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #414651;
        line-height: 1.5;
    }
    
    .mentor-profile-status {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        border-radius: 99px;
    }
    
    /* استایل برای مربی و دانش‌آموز */
    .mentor-profile-status.status-mentor-student {
        padding: 1px 6px;
        background-color: #FAFAFA;
        border: 1px solid #E9EAEB;
        color: #414651;
    }
    
    /* استایل برای مربی */
    .mentor-profile-status.status-mentor {
        padding: 1px 6px;
        background: #ECFDF3;
        color: #067647;
        border: 1px solid #ABEFC6;
    }
    
    /* استایل برای دانش‌آموز */
    .mentor-profile-status.status-student {
        padding: 1px 6px;
        background: #EFF8FF;
        color: #175CD3;
        border: 1px solid #B2DDFF;
    }
/****************************************************************/
 .user-connected-courses-2 {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .user-connected-courses-2 li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px;
        margin-bottom: 8px;
        background: #fff;
        border: 1px solid #E9EAEB;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .user-connected-courses-2 li:hover {
        background: #F9FAFB;
        border-color: #D1D5DB;
    }
    
    .user-connected-courses-2 li.selected {
        background: #EFF8FF;
        border-color: #2370A6;
    }
    
    .user-connected-courses-2 .course-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }
    
    .user-connected-courses-2 .course-left img {
        width: 45px;
        height: 36px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
    }
    
    .user-connected-courses-2 .course-title {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: #414651;
    }
    
    .user-connected-courses-2 .course-badge {
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        padding: 2px 8px;
        border-radius: 99px;
        border: 1px solid;
        white-space: nowrap;
    }
    
    .course-students-list-2 {
        margin-top: 20px;
    }
    
    .course-students-list-2 .no-selection {
        text-align: center;
        color: #999;
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        padding: 20px;
    }
    
    .course-students-list-2 .loading-students {
        text-align: center;
        padding: 20px;
        color: #666;
        font-family: 'iranyekan', sans-serif;
    }
    
    .course-students-list-2 .error-message {
        text-align: center;
        color: #dc3545;
        padding: 20px;
        font-family: 'iranyekan', sans-serif;
    }
    
    .course-students-list-2 ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .course-students-list-2 .student-item-2 {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .course-students-list-2 .student-avatar-2 {
        flex-shrink: 0;
    }
    
    .course-students-list-2 .student-avatar-2 img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: block;
    }
    
    .course-students-list-2 .student-info-2 {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .course-students-list-2 .student-name-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #414651;
        line-height: 1.5;
        margin-bottom: 2px;
    }
    
    .course-students-list-2 .student-meli-code-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #535862;
        line-height: 1.5;
    }
    
    .course-students-list-2 .student-checkboxes-2 {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        border: 1px solid #E9EAEB;
        border-radius: 6px;
        padding: 6px;
        background: #FAFAFA;
    }
    
    .course-students-list-2 .checkbox-label-2 {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        color: #414651;
    }
    
    .course-students-list-2 .checkbox-label-2 input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 1px solid #E9EAEB;
        border-radius: 4px;
        background: #FAFAFA;
        cursor: pointer;
        position: relative;
        margin: 0;
    }
    
    .course-students-list-2 .checkbox-label-2 input[type="checkbox"]:checked.mentor-checkbox-2 {
        background: #079455;
        border-color: #079455;
    }
    
    .course-students-list-2 .checkbox-label-2 input[type="checkbox"]:checked.student-checkbox-2 {
        background: #2370A6;
        border-color: #2370A6;
    }
    
    .course-students-list-2 .checkbox-label-2 input[type="checkbox"]:checked::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 12px;
        font-weight: bold;
    }
    
    .course-students-list-2 .student-icon-2 {
        color: #338DC4;
        font-size: 20px;
        cursor: pointer;
        flex-shrink: 0;
        transition: opacity 0.2s;
    }
    
    .course-students-list-2 .student-icon-2:hover {
        opacity: 0.7;
    }
    
    /* استایل‌های پاپ‌آپ */
    .student-popup-overlay-2 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999999 !important;
    }
    
    .student-popup-content-2 {
        background: white;
        border-radius: 12px;
        padding: 20px;
        width: 432px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        z-index: 1000000 !important;
    }
    
    .student-popup-close-2 {
        position: absolute;
        top: 10px;
        left: 10px;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        transition: none !important;
        color: #999 !important;
        font-size: 18px;
        cursor: pointer;
        z-index: 10;
        padding: 5px;
    }
    
    .student-popup-close-2:hover,
    .student-popup-close-2:focus,
    .student-popup-close-2:active {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        transform: none !important;
        opacity: 0.7 !important;
    }
    
    .student-popup-body-2 {
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }
    
    .mentor-profile-popup-2 {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mentor-profile-avatar-2 {
        flex-shrink: 0;
    }
    
    .mentor-profile-avatar-2 img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: block;
    }
    
    .mentor-profile-info-2 {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mentor-profile-name-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #414651;
    }
    
    .mentor-profile-status-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        padding: 1px 6px;
        border-radius: 99px;
    }
    
    .mentor-profile-status-2.status-mentor-student {
        background-color: #FAFAFA;
        border: 1px solid #E9EAEB;
        color: #414651;
    }
    
    .mentor-profile-status-2.status-mentor {
        background: #ECFDF3;
        color: #067647;
        border: 1px solid #ABEFC6;
    }
    
    .mentor-profile-status-2.status-student {
        background: #EFF8FF;
        color: #175CD3;
        border: 1px solid #B2DDFF;
    }
    
    .student-popup-hr-2 {
        border: none;
        border-top: 1px solid #E9EAEB;
        margin-top: 20px;
        padding: 0;
    }
    
    .student-popup-course-box-2 {
        background-color: #FAFAFA;
        border: 1px solid #E9EAEB;
        border-radius: 6px;
        padding: 6px 8px;
        margin-top: 20px;
    }
    
    .course-box-label-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #535862;
    }
    
    .course-box-title-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #535862;
    }
    
    .student-popup-students-list-2 {
        margin-top: 15px;
        max-height: 300px;
        overflow-y: auto;
        padding-right: 5px;
    }
    
    .popup-students-list-2 {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .popup-student-item-2 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .popup-student-avatar-2 {
        flex-shrink: 0;
    }
    
    .popup-student-avatar-2 img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: block;
    }
    
    .popup-student-info-2 {
        display: flex;
        flex-direction: column;
    }
    
    .popup-student-name-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #414651;
        line-height: 1.5;
        margin-bottom: 2px;
    }
    
    .popup-student-meli-code-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #535862;
        line-height: 1.5;
    }








       .remove-mentors-btn-2 {
        font-family: 'iranyekan', sans-serif;
        font-size: 14px;
        font-weight: 500;
        padding: 8px 16px;
        background-color: #dc3545;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.2s;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .remove-mentors-btn-2 i {
        font-size: 20px;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .remove-mentors-btn-2 .btn-text {
        display: inline-block;
    }
    
    .remove-mentors-btn-2:hover:not(:disabled) {
        background-color: #c82333;
    }
    
    .remove-mentors-btn-2:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }








.student-item-2 {
        display: flex;
        align-items: center;
        gap: 12px;
        transition: background-color 0.2s;
        padding: 8px;
        border-radius: 4px;
    }
    
    .student-item-2.selected {
        background-color: #fef3f2;
    }
    
    .mentor-select-checkbox-2 {
        width: 20px;
        height: 20px;
        cursor: pointer;
        flex-shrink: 0;
        accent-color: #D92D20;
    }
    
    .mentor-select-checkbox-2:checked {
        accent-color: #D92D20;
    }
    
    /* برای مرورگرهایی که accent-color را پشتیبانی نمی‌کنند */
    .mentor-select-checkbox-2[type="checkbox"] {
        -webkit-appearance: checkbox;
        -moz-appearance: checkbox;
        appearance: checkbox;
    }
    
    .mentor-select-checkbox-2[type="checkbox"]:checked {
        background-color: #D92D20;
        border-color: #D92D20;
    }











    .selected-course-title {
        font-family: 'iranyekan', sans-serif;
    }
    
    .selected-course-title .course-title-label {
        font-family: 'iranyekan', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #181D27;
    }
    
    .selected-course-title .course-title-text {
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #717680;
    }






.add-mentor-checkboxes {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        border: 1px solid #E9EAEB;
        border-radius: 6px;
        padding: 6px;
        background: #FAFAFA;
    }
    
    .add-checkbox-label {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        font-family: 'IRANYekan', sans-serif;
        font-size: 14px;
        color: #414651;
    }
    
    .add-mentor-checkbox:checked {
        accent-color: #079455;
    }
    
    .add-student-checkbox:checked {
        accent-color: #2370A6;
    }














        .institute-course-detail-header {
            display: flex;
            align-items: center;
            gap: 12px;
            direction: rtl;
            margin-bottom: 20px;
        }
        .institute-course-detail-header img {
            width: 70px;
            height: 56px;
            object-fit: cover;
            border-radius: 6px;
            flex-shrink: 0;
        }
        .institute-course-detail-header .course-detail-placeholder {
            width: 70px;
            height: 56px;
            background: #f0f0f0;
            border-radius: 6px;
            flex-shrink: 0;
        }
        .institute-course-detail-header .course-detail-inner {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }
        .course-detail-title {
            font-family: 'iranyekan', sans-serif;
            font-size: 18px;
            font-weight: 600;
            color: #181D27;
            margin: 0;
            word-wrap: break-word;
            margin-left: 8px;
        }
        .course-detail-badge {
            font-family: 'iranyekan', sans-serif;
            font-size: 12px;
            font-weight: 500;
            display: inline-block;
            white-space: nowrap;
            border-radius: 99px;
            padding: 1px 6px;
        }
        .course-detail-badge-mentor {
            background: #ECFDF3;
            color: #067647;
            border: 1px solid #ABEFC6;
        }
        .course-detail-badge-student {
            background: #EFF8FF;
            color: #175CD3;
            border: 1px solid #B2DDFF;
        }
        .course-detail-badge-mentor-student {
            background-color: #FAFAFA;
            border: 1px solid #E9EAEB;
            color: #414651;
        }
        .course-detail-error {
            font-family: 'iranyekan', sans-serif;
            color: #d32f2f;
            padding: 10px;
        }







        .institute-course-performance-title {
            display: flex;
            align-items: center;
            gap: 16px;
            direction: rtl;
            flex-wrap: wrap;
        }
        .performance-title-item {
            font-family: 'iranyekan', sans-serif;
            font-size: 16px;
            font-weight: 600;
            color: #717680;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding-bottom: 8px;
            position: relative;
            transition: all 0.3s ease;
        }
        .performance-title-item.performance-selectable {
            cursor: pointer;
        }
        .performance-title-item.selected {
            color: #1E5C89;
        }
        .performance-title-item.selected::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 3px;
            background-color: #2370A6;
        }
        .performance-count-badge {
            background: #FAFAFA;
            border: 1px solid #E9EAEB;
            border-radius: 99px;
            color: #414651;
            font-weight: 500;
            font-size: 14px;
            font-family: 'iranyekan', sans-serif;
            padding: 1px 8px;
            display: inline-block;
            transition: all 0.3s ease;
        }
        .performance-title-item.selected .performance-count-badge {
            background: #EDF7FF;
            border: 1px solid #C3E3FA;
            color: #1E5C89;
        }







 .institute-course-performance-title {
            display: flex;
            align-items: center;
            gap: 16px;
            direction: rtl;
            flex-wrap: wrap;
        }
        .performance-title-item {
            font-family: 'iranyekan', sans-serif;
            font-size: 16px;
            font-weight: 600;
            color: #717680;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            padding-bottom: 8px;
            position: relative;
            transition: all 0.3s ease;
        }
        .performance-title-item.performance-selectable {
            cursor: pointer;
        }
        .performance-title-item.selected {
            color: #1E5C89;
        }
        .performance-title-item.selected::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 3px;
            background-color: #2370A6;
        }
        .performance-count-badge {
            background: #FAFAFA;
            border: 1px solid #E9EAEB;
            border-radius: 99px;
            color: #414651;
            font-weight: 500;
            font-size: 14px;
            font-family: 'iranyekan', sans-serif;
            padding: 1px 8px;
            display: inline-block;
            transition: all 0.3s ease;
        }
        .performance-title-item.selected .performance-count-badge {
            background: #EDF7FF;
            border: 1px solid #C3E3FA;
            color: #1E5C89;
        }












    
    .institute-mentor-students-header {
        display: flex;
        align-items: center;
        gap: 12px;
        direction: rtl;
        margin-bottom: 24px;
    }
    .institute-mentor-students-header img {
        width: 70px;
        height: 56px;
        object-fit: cover;
        border-radius: 6px;
    }
    .institute-mentor-students-header .course-detail-placeholder {
        width: 70px;
        height: 56px;
        background: #F2F4F7;
        border-radius: 6px;
    }
    .institute-mentor-students-header .course-detail-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .institute-mentor-students-header .course-detail-title {
        font-family: 'iranyekan', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #181D27;
        margin: 0;
        width: fit-content;
    }
    .institute-mentor-students-header .mentor-info {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #717680;
		padding-right: 15px;
        border-right: 1px solid #E9EAEB;
    }
    .institute-mentor-students-header .mentor-info img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        object-fit: cover;
    }
    .institute-mentor-students-header .mentor-info .mentor-name {
        color: #181D27;
    }
    .institute-mentor-students-header .course-detail-badge {
        padding: 4px 12px;
        border-radius: 99px;
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        display: inline-block;
        width: fit-content;
        background: #FAFAFA;
        border: 1px solid #E9EAEB;
        color: #414651;
    }










    .institute-student-detail-header {
        display: flex;
        align-items: center;
        gap: 12px;
        direction: rtl;
        margin-bottom: 24px;
    }
    .institute-student-detail-header img {
        width: 70px;
        height: 56px;
        object-fit: cover;
        border-radius: 6px;
    }
    .institute-student-detail-header .course-detail-placeholder {
        width: 70px;
        height: 56px;
        background: #F2F4F7;
        border-radius: 6px;
    }
    .institute-student-detail-header .course-detail-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .institute-student-detail-header .course-detail-title {
        font-family: 'iranyekan', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #181D27;
        margin: 0;
        width: fit-content;
    }
    .institute-student-detail-header .student-info {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'iranyekan', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #181D27;
    }
    .institute-student-detail-header .student-info img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        object-fit: cover;
    }
    .institute-student-detail-header .student-badge {
        padding: 4px 12px;
        border-radius: 99px;
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        display: inline-block;
        width: fit-content;
        background: #EFF8FF;
        border: 1px solid #B2DDFF;
        color: #175CD3;
    }


.acw-curriculum {
	font-family: iranyekan;
}


    .institute-student-detail-header .mentor-badge {
        padding: 4px 12px;
        border-radius: 99px;
        font-family: 'iranyekan', sans-serif;
        font-size: 12px;
        font-weight: 500;
        display: inline-block;
        width: fit-content;
        background: #ECFDF3;
        border: 1px solid #ABEFC6;
        color: #067647;
    }

/* Courses of Mentors Tabs */
.courses-of-mentors-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    direction: rtl;
    flex-wrap: wrap;
    margin: 20px 0;
}

.courses-of-mentors-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}
.msi-toggle {
  border: none !important;
  background: none !important;
}



    