/* Main Color : #443D69 */
/* Secn Color : #E7AC0D */

.mirror-x {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.text-main {
  color: var(--mainColor) !important;
}

.text-main-light {
  color: #d3caff !important;
}

.text-sec {
  color: var(--secondaryColor) !important;
}

.bg-main {
  background-color: #443d69;
}

.bg-sec {
  background-color: #e7ac0d;
}

.banner-section {
  background-color: var(--mainColor);
}

.banner-img {
  max-width: 800px;
}

@media screen and (max-width: 1450px) {
  .banner-img {
    max-width: 650px;
  }
}

@media screen and (max-width: 1199px) {
  .banner-img {
    max-width: 480px;
  }
}

@media screen and (max-width: 575px) {
  .banner-img {
    max-width: 320px;
  }
}

.header-main-wrapper .header-logo img {
  width: 60px;
}

@media screen and (max-width: 575px) {
  .header-main-wrapper .header-logo img {
    width: 95px !important;
  }
}

.partner-section-title {
  font-size: 26px !important;
}

.partner-section-title span {
  font-weight: 700;
}

.partner-section-title span::before {
  width: 180px !important;
  bottom: -18px !important;
}

.top-2 {
  position: relative;
  top: 2px;
}

.subhead-half-rounded {
  background-color: #e7ac0d;
  color: #443d69;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.subhead-full-rounded {
  background-color: #e7ac0d;
  color: #443d69;
  border-radius: 50px;
  border-radius: 50px;
}

.blog-section-subhead::before {
  width: 200px !important;
  bottom: -20px !important;
}

.text-sec {
  color: #808080;
}

.social-link {
  height: 60px;
  background-color: transparent;
  font-size: 13px;
  margin-left: 10px;
}

.social-link:last-child {
  margin-left: 0;
}

.social-link img {
  width: 20px;
  margin-left: 10px;
}

.google-link {
  border: 1px solid #ff4b26;
}

.facebook-link {
  border: 1px solid #3b5998;
}

.text-dec-underline {
  text-decoration: underline !important;
}

.course-details-section * {
  font-family: "Cairo", sans-serif;
}

.course-details-section .author-thumb img {
  margin-left: 10px;
}

.details-tab-content .tab-content .course-sections {
  margin-top: 45px;
}

.details-tab-content .tab-content .course-sections .accordion-item {
  margin-bottom: 20px;
  text-align: right;
}

.details-tab-content .tab-content .course-sections .accordion-button {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  margin-left: 15px;
  line-height: 1.5;
}

.details-tab-content .tab-content .course-sections .accordion-body .head-title {
  font-size: 13px;
  position: relative;
  top: 3px;
  color: #5d4fa3;
  font-weight: 600;
}

.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .head-title
  .time-wrap
  .time-title {
  font-size: 12px;
  position: relative;
  top: 2px;
  color: #6e6e6e;
  font-weight: 500;
}

.details-tab-content .tab-content .course-sections .accordion-body .time-title {
  font-size: 12px;
  position: relative;
  top: 5px;
}

.details-tab-content .tab-content .course-sections .accordion-body .lecture {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .lecture:last-child {
  margin-bottom: 0;
}

.lecture > .main-wrap {
  width: 75%;
}

.lecture > .time-wrap {
  width: 25%;
  justify-content: end;
}

.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .lecture.disabled
  .main-wrap
  .head-title {
  color: #a7a7a7;
}

.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .lecture.disabled
  .time-wrap
  .time-title {
  color: #a7a7a7;
}

.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .lecture.disabled
  .main-wrap
  img,
.details-tab-content
  .tab-content
  .course-sections
  .accordion-body
  .lecture.disabled
  .time-wrap
  img {
  filter: grayscale(100%) opacity(50%);
}

@media screen and (max-width: 991px) {
  .update-image-form {
    text-align: center;
    margin-bottom: 30px;
  }
}

.update-image-form .upload-btn {
  border: 1px solid #443d69;
  padding: 10px 20px;
  color: #443d69 !important;
  background-color: transparent !important;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
}

.update-image-form .profile-img img {
  margin-bottom: 15px;
}

.update-image-form .profile-img img {
  width: 150px;
  height: 150px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}

.profile-form {
  margin-top: 0;
}

.profile-form .form-wrapper {
  padding-top: 0;
}

.profile-form-wrapper {
  padding: 40px;
}

@media screen and (max-width: 991px) {
  .profile-form-wrapper {
    padding: 30px 20px;
  }
}

.no-courses-holder {
  padding: 20px 10px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.no-courses-holder i {
  font-size: 60px;
  color: #5d4fa3;
  margin-bottom: 20px;
}

.no-courses-holder span {
  font-weight: 600;
  margin-bottom: 30px;
}

.no-courses-holder .main-link {
  border: 1px solid #443d69;
  color: #443d69;
  padding: 8px 15px;
  border-radius: 10px;
  width: 150px;
  display: inline-block;
  text-align: center;
  transition: all 0.4s;
}

.no-courses-holder .main-link:hover {
  background-color: #443d69;
  color: #ffffff;
}

.no-courses-holder .sec-link {
  border: 1px solid #e7ac0d;
  color: #e7ac0d;
}

.no-courses-holder .sec-link:hover {
  background-color: #e7ac0d;
  color: #ffffff;
}

@media screen and (max-width: 375px) {
  .no-courses-holder .main-link {
    display: block;
  }
}

.single-team-lg .team-thumb img {
  width: 200px;
}

.instructors-details-wrapper {
  margin-top: 60px;
  margin-bottom: 60px;
}

.instructor-details-wrapper .single-courses {
  margin-top: 0;
}

.instructor-details-wrapper.instructor-courses {
  margin-top: 34px;
}

.fav-toggle.fav {
  color: #ff4b26;
}

.revoked-price {
  font-size: 14px;
  color: #747474;
  text-decoration: line-through;
  position: relative;
  top: -15px;
}

.single-form.has-show-pass input {
  padding-left: 2.5rem !important;
}

.single-form.has-show-pass {
  position: relative;
}

.single-form.has-show-pass .show-pass-btn,
.single-form.has-show-pass .hide-pass-btn {
  position: absolute;
  top: 18px;
  left: 10px;
  background: transparent;
  border: none;
  display: none;
  color: #443d69;
}

/**/

.register-login-form .iti--separate-dial-code .iti__selected-flag {
  width: 90px !important;
  max-height: 58px;
  justify-content: center !important;
}

.register-login-form .iti__arrow {
  display: none !important;
}

.register-login-form .iti--separate-dial-code .iti__selected-dial-code {
  margin-right: 6px !important;
  margin-left: 0 !important;
  font-size: 15px !important;
}

.register-login-form .iti__country-list {
  max-width: 25em !important;
}

.brand-active .swiper-button-next,
.brand-active .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 1px solid var(--mainColor);
}

.brand-active .swiper-button-next::after,
.brand-active .swiper-button-prev::after {
  font-size: 20px;
  color: var(--secondaryColor);
}

.brand-active .swiper-button-prev {
  right: 0 !important;
  left: auto !important;
}

.brand-active .swiper-button-next {
  left: 0 !important;
  right: auto !important;
}

.exam-container {
  max-height: 1200px;
  overflow-y: auto;
}

@media screen and (max-height: 650px) {
  .exam-container {
    max-height: 600px;
  }
}

.exam-container {
  padding: 40px;
}

.bg-sec {
  background-color: #e9e4ff;
}

.exam-container .head {
  width: 100%;
  margin-bottom: 30px;
  color: #443d69;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 20px;
}

.exam-container .head a {
  font-weight: 700;
  font-size: 15px;
}

.exam-container .head span {
  font-size: 15px;
}

.exam-container .content * {
  font-family: "Cairo", sans-serif;
}

.exam-container .content h4 {
  font-family: "Cairo", sans-serif;
  font-size: 20px;
  margin-bottom: 40px;
}

.exam-container .qa-item {
  display: flex;
  justify-content: start;
  align-items: start;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9e9e9;
}

.exam-container .qa-item:last-of-type {
  border-bottom: none;
}

.exam-container .qa-item .num {
  display: inline-flex;
  margin-left: 15px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid #443d69;
  font-size: 14px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 575px) {
  .exam-container .qa-item .num {
    width: 55px;
  }
}

.exam-container .qa-item .question-name {
  font-size: 16px;
  margin-bottom: 0;
  position: relative;
  top: 3px;
  font-weight: 600;
}

.exam-container .qa-item .question-answers .form-check.with-img {
  position: relative;
}

.exam-container .qa-item .question-answers .form-check.with-img input {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
}

.exam-container .qa-item .question-answers .form-check.with-img label {
  padding-right: 0 !important;
}

.submit-exam {
  background-color: #443d69;
  color: #ffffff;
  padding: 10px 30px;
  text-align: center;
  border: none;
  transition: all 0.4s;
}

.submit-exam:hover {
  background-color: #544797;
  color: #ffffff;
}

.exam-result-section {
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.exam-result-section * {
  font-family: "Cairo", sans-serif;
}

.exam-result-section span {
  width: 240px;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 10px solid #23c204;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 700;
  color: #23c204;
}

.exam-result-section span.failed {
  border: 10px solid #e42f17;
  color: #e42f17;
}

.exam-result-section h5 {
  font-size: 30px;
}

.exam-result-section .state {
  border: 1px solid#23c204;
  color: #000000;
  padding: 10px 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.exam-result-section .state.failed {
  border: 1px solid#e42f17;
}

.card-abs-views {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: #ffffffcb;
  color: #544797;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid #3b5998;
}

.q-img {
  max-width: 20em;
}

/* About styles */

.text-cairo {
  font-family: "Cairo", sans-serif !important;
}

.values-list {
  list-style: auto;
  padding-right: 20px;
}

.top-header-instructor-link {
  background-color: #d3caff;
  border-radius: 10px;
  padding: 4px 10px;
  color: #443d69;
  font-size: 12px;
}

.filter-100 {
  -webkit-filter: brightness(100);
  filter: brightness(100);
}

.knowldge-items-list {
  list-style: circle;
  padding-right: 40px;
}

.knowldge-items-list li {
  padding-right: 10px;
}

.knowldge-items-list li::marker {
  color: var(--secondaryColor);
  font-weight: 700;
}

/* 22/08/2023 Instructor Admin */

.brightness-100 {
  -webkit-filter: brightness(100);
  filter: brightness(100);
}

.login-header-search button:lang(ar) {
  left: 5px;
  right: auto;
}

.login-header-search .search-input input:lang(ar) {
  padding-left: 53px;
  padding-right: 30px;
}

.login-header-search:lang(ar) {
  margin-right: auto;
  margin-left: 30px;
}

.login-header-search button {
  color: #c8befb;
}

.login-header-action .notification {
  color: #c8befb;
}

.sidebar-wrapper {
  right: 0;
  left: auto;
  background-color: #5d4fa3;
}

.sidebar-wrapper .menu-list a.active,
.sidebar-wrapper .menu-list a:hover {
  background-color: #44387f;
  border-color: #44387f;
}

.page-content-wrapper {
  padding-left: 25px;
  padding-right: 120px;
}

@media screen and (max-width: 991px) {
  .page-content-wrapper {
    padding-right: 25px;
  }
}

.page-content-wrapper h1,
.page-content-wrapper h2,
.page-content-wrapper h3,
.page-content-wrapper h4,
.page-content-wrapper h5,
.page-content-wrapper h6,
.page-content-wrapper p,
.page-content-wrapper span {
  font-family: "Cairo", sans-serif !important;
}

.page-content-wrapper .message .message-content {
  padding-left: 0;
  padding-right: 20px;
  padding-top: 0;
}

.courses-item .content-title {
  padding-right: 45px;
  padding-left: 15px;
}

@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .courses-item .content-title {
    padding-right: 30px;
    padding-left: 10px;
  }
}

.courses-item .content-title .meta .action + .action {
  margin-left: 0;
  margin-right: 10px;
}

.courses-item .content-wrapper .content-box {
  text-align: center;
}

.courses-item .content-wrapper .content-box .count {
  font-size: 15px;
  font-weight: 500;
}

.courses-item .content-wrapper .content-box i {
  font-size: 18px;
}

.admin-courses-tab-content .courses-item .item-thumb a img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 50px;
  max-height: 50px;
}

@media only screen and (max-width: 1199px) {
  .admin-courses-tab-content .courses-item .item-thumb {
    text-align: center;
  }
  .admin-courses-tab-content .courses-item .content-wrapper {
    justify-content: center;
  }
  .admin-courses-tab-content .courses-item .content-title .meta {
    gap: 6px;
    justify-content: center;
  }
  .admin-courses-tab-content .courses-item .content-box {
    padding: 8px;
  }
  .admin-courses-tab-content .courses-item .content-box .count {
    font-size: 12px;
  }
}

.admin-breadcrumb li {
  margin-right: 0;
  margin-left: 0;
  font-size: 14px;
}

.admin-breadcrumb li:first-child {
  margin-right: 0 !important;
}

.admin-breadcrumb li a {
  color: #44387f;
  font-weight: 600;
}

.admin-breadcrumb li span {
  color: #44387f;
  opacity: 0.75;
}

.admin-courses-tab-content .form-card {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  padding: 40px;
  border-radius: 5px;
}

@media screen and (max-width: 767px) {
  .admin-courses-tab-content .form-card {
    padding: 20px;
  }
  .page-content-wrapper {
    padding: 10px !important;
  }
}

.select2-input {
  width: 100%;
}

.select2-selection__rendered {
  text-align: right;
}

.select2.select2-container {
  width: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  left: 3px;
  right: auto;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 10px;
  padding-right: 10px;
}

.single-form .select2-selection {
  height: 60px;
}

.single-form .select2-selection__rendered {
  position: relative !important;
  top: 14px !important;
}

.single-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 30%;
}

.single-form .select2-container--default .select2-selection--multiple,
.single-form .select2-container--default .select2-selection--single {
  font-size: 15px;
  border: 1px solid #e9e4ff !important;
  border-radius: 10px;
  background-color: #fff;
  text-align: right;
  overflow-y: auto;
  overflow-x: hidden;
}

.single-form
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #44387f;
  color: #ffffff;
  font-size: 14px;
}

.single-form .select2-container .select2-search--inline .select2-search__field {
  font-family: "Cairo", sans-serif;
  text-align: right;
  width: 100%;
  top: 17px;
  position: relative;
  line-height: 8px;
  right: 10px;
}

.admin-courses-tab-content .single-form .form-check-label {
  padding-right: 25px;
}

.admin-courses-tab-content .single-form input[type="file"] {
  height: auto;
  line-height: 50px;
}

.admin-courses-tab-content .error {
  font-size: 14px;
  color: #c20404;
}

.form-group:has(.select2-input.error) .select2-container .select2-selection {
  border-color: #c20404 !important;
}

.admin-courses-tab-content .single-form input.error {
  border-color: #c20404 !important;
}

.hover-white:hover {
  color: #ffffff !important;
}

.backend-errors,
.backend-success {
  background-color: #f2c3c3a4;
  padding: 20px;
  border-radius: 8px;
}

.backend-errors .item,
.backend-success .item {
  color: #c20404;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.backend-success {
  background-color: #d9fde1;
}

.backend-success .item {
  color: #1b9603;
}

.admin-form-overlay {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -100%;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: #00000086;
  transition: opacity 0.3s;
}

.admin-form-overlay.visible {
  right: 0;
  opacity: 1;
}

.admin-form-overlay .inner-container {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  background-color: #ffffff;
  padding: 40px;
  right: -100%;
  opacity: 0;
  overflow-y: auto;
  transition: all 0.4s;
}

.admin-form-overlay.visible .inner-container {
  right: 0;
  opacity: 1;
}

.admin-form-overlay .inner-container::-webkit-scrollbar {
  width: 10px;
}

.admin-form-overlay .inner-container::-webkit-scrollbar-thumb {
  width: 10px;
  border-radius: 50px;
  background-color: #c9c9c9;
}

.admin-form-overlay .inner-container::-webkit-scrollbar-track {
  width: 10px;
  background-color: #edeeee;
}

.admin-form-overlay .inner-container .close-overlay-btn {
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: transparent;
  border: 0;
  font-size: 24px;
  color: #544797;
}

.admin-action-btn {
  padding: 10px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #44387f;
  color: #44387f !important;
  font-size: 14px !important;
  transition: all 0.2s;
}

.admin-action-btn:hover {
  background-color: #44387f;
  color: #ffffff !important;
}

.admin-text-primary {
  color: #44387f !important;
}

.admin-primary-bg {
  background-color: #ededed;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-delete-bg {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffe5e5;
}

.admin-delete-bg p,
.admin-delete-bg i {
  color: #ad0000 !important;
}

.admin-text-sec {
  color: #6c6c6c;
}

.admin-courses-tab-content
  .courses-item
  .content-title
  .meta
  .action:nth-of-type(1) {
  background-color: #e6e1ff;
  color: #000000;
}

.admin-badge {
  padding: 3px 12px;
  text-align: center;
  display: inline-block;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge.primary {
  background-color: #e1ecfd;
  color: #3262b0;
}

.admin-badge.info {
  background-color: #d9f2fa;
  color: #54b4d3;
}

.admin-badge.success {
  background-color: #e3ffee;
  color: #14a44d;
}

/* ============================================
   NEW COURSES PAGE LAYOUT - DOROOB STYLE
   ============================================ */

/* Page Header */
.courses-new-layout {
  padding-top: 40px;
}

.courses-page-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f7ff 0%, #fff 50%, #fffbf0 100%);
  border-radius: 20px;
  overflow: hidden;
}

.courses-page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(68, 61, 105, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.courses-page-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(231, 172, 13, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Header Decoration */
.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.decoration-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e7ac0d, transparent);
  border-radius: 2px;
}

.decoration-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #443d69 0%, #5d4fa3 100%);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(68, 61, 105, 0.3);
  animation: pulse-icon 2s ease-in-out infinite;
}

.decoration-icon i {
  font-size: 24px;
  color: #fff;
}

@keyframes pulse-icon {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(68, 61, 105, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(68, 61, 105, 0.4);
  }
}

.courses-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0;
  position: relative;
  z-index: 1;
}

.courses-page-title .title-highlight {
  color: #443d69;
  position: relative;
}

.courses-page-title .title-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 100%;
  height: 8px;
  background: rgba(231, 172, 13, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* Page Subtitle */
.courses-page-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0 auto 25px;
  max-width: 600px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Header Stats */
.header-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 15px 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(68, 61, 105, 0.15);
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #443d69;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, #ddd, transparent);
}

/* Search Section */
.courses-search-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.courses-search-section .search-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 600px;
  gap: 10px;
}

.courses-search-section .search-input {
  flex: 1;
  height: 50px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 0 20px;
  font-size: 15px;
  transition: border-color 0.3s;
}

.courses-search-section .search-input:focus {
  outline: none;
  border-color: #443d69;
}

.courses-search-section .search-btn,
.courses-search-section .clear-btn {
  height: 50px;
  padding: 0 25px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.courses-search-section .search-btn {
  background-color: #443d69;
  color: #fff;
}

.courses-search-section .search-btn:hover {
  background-color: #5d4fa3;
}

.courses-search-section .clear-btn {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.courses-search-section .clear-btn:hover {
  background-color: #e5e5e5;
}

.courses-search-section .view-toggle {
  display: flex;
  gap: 5px;
}

.courses-search-section .view-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #999;
  cursor: pointer;
  transition: all 0.3s;
}

.courses-search-section .view-btn:hover,
.courses-search-section .view-btn.active {
  border-color: #443d69;
  color: #443d69;
  background-color: #f5f3ff;
}

/* Main Content with Sidebar */
.courses-main-content {
  display: flex;
  gap: 30px;
}

/* Sidebar - Tracks Filter */
.courses-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.tracks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.track-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}

.track-item:last-child {
  border-bottom: none;
}

.track-item:hover {
  background-color: #f9f8ff;
}

.track-item.active {
  background-color: #443d69;
  color: #fff;
}

.track-item .track-name {
  font-size: 15px;
  font-weight: 500;
}

.track-item .track-count {
  font-size: 13px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  font-weight: 600;
}

.track-item.active .track-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Courses Grid Container */
.courses-grid-container {
  flex: 1;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.courses-grid > [class*="col-"] {
  padding: 10px;
}

/* New Course Card Style - Kanban */
.course-card-new {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card-new:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.course-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.course-card-new:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Course Author Section */
.course-card-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.course-card-author .author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-card-author .author-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.course-card-author .author-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-author .author-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.course-card-author .author-name a {
  color: #333;
  transition: color 0.3s;
}

.course-card-author .author-name a:hover {
  color: #443d69;
}

.course-card-tag {
  background: #e7ac0d;
  color: #443d69;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.course-card-tag a {
  color: #443d69;
}

.course-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-title a {
  color: #333;
  transition: color 0.3s;
}

.course-card-title a:hover {
  color: #443d69;
}

/* Course Meta (Time & Lectures) */
.course-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: #666;
  font-size: 13px;
}

.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-card-meta i {
  color: #443d69;
  font-size: 14px;
}

/* Course Price & Review */
.course-card-price-review {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.course-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-card-price .sale-price {
  font-size: 18px;
  font-weight: 700;
  color: #443d69;
}

.course-card-price .old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.course-card-price .free-badge {
  background: #28a745;
  color: #fff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
}

.course-card-review {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-card-review .rating-count {
  background: #e7ac0d;
  color: #443d69;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

.course-card-review .rating-star {
  position: relative;
  width: 80px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath fill='%23ddd' d='M7 0l1.5 4.5H14l-4 3 1.5 4.5L7 9l-4.5 3 1.5-4.5-4-3h5.5L7 0zm16 0l1.5 4.5H30l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L23 0zm16 0l1.5 4.5H46l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L39 0zm16 0l1.5 4.5H62l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L55 0zm16 0l1.5 4.5H78l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L71 0z'/%3E%3C/svg%3E")
    no-repeat;
  background-size: contain;
}

.course-card-review .rating-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cpath fill='%23e7ac0d' d='M7 0l1.5 4.5H14l-4 3 1.5 4.5L7 9l-4.5 3 1.5-4.5-4-3h5.5L7 0zm16 0l1.5 4.5H30l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L23 0zm16 0l1.5 4.5H46l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L39 0zm16 0l1.5 4.5H62l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L55 0zm16 0l1.5 4.5H78l-4 3 1.5 4.5-4.5-3-4.5 3 1.5-4.5-4-3h5.5L71 0z'/%3E%3C/svg%3E")
    no-repeat;
  background-size: contain;
}

.course-card-category {
  font-size: 13px;
  color: #888;
  margin-bottom: 15px;
  flex: 1;
  display: none;
}

.course-card-btn {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .courses-sidebar {
    width: 240px;
  }
}

@media (max-width: 991px) {
  .courses-main-content {
    flex-direction: column;
  }

  .courses-sidebar {
    width: 100%;
    order: -1;
  }

  .tracks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: transparent;
    box-shadow: none;
  }

  .track-item {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 25px;
    border-bottom: 2px solid #e5e5e5;
  }

  .track-item:hover {
    border-color: #443d69;
  }

  .track-item.active {
    border-color: #443d69;
  }
}

@media (max-width: 767px) {
  .courses-search-section {
    flex-direction: column;
    align-items: stretch;
  }

  .courses-search-section .search-wrapper {
    max-width: 100%;
  }

  .courses-search-section .view-toggle {
    justify-content: center;
  }

  .course-card-title {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .courses-page-header {
    padding: 30px 15px;
  }

  .courses-page-title {
    font-size: 26px;
  }

  .courses-page-subtitle {
    font-size: 14px;
  }

  .header-stats {
    gap: 15px;
  }

  .stat-item {
    padding: 12px 18px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

  .stat-divider {
    display: none;
  }

  .decoration-icon {
    width: 50px;
    height: 50px;
  }

  .decoration-icon i {
    font-size: 20px;
  }

  .decoration-line {
    width: 40px;
  }
}

@media (max-width: 575px) {
  .courses-page-header {
    padding: 25px 15px;
  }

  .courses-page-title {
    font-size: 22px;
  }

  .courses-page-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .header-stats {
    flex-direction: column;
    gap: 10px;
  }

  .stat-item {
    width: 100%;
    max-width: 200px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 10px 15px;
  }

  .stat-number {
    font-size: 18px;
  }

  .courses-search-section .search-wrapper {
    flex-wrap: wrap;
  }

  .courses-search-section .search-input {
    width: 100%;
    margin-bottom: 10px;
  }

  .courses-search-section .search-btn,
  .courses-search-section .clear-btn {
    flex: 1;
  }

  .decoration-icon {
    width: 45px;
    height: 45px;
  }

  .decoration-icon i {
    font-size: 18px;
  }

  .decoration-line {
    width: 30px;
  }
}

/* List View Mode */
.courses-grid.list-view {
  flex-direction: column;
}

.courses-grid.list-view > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.courses-grid.list-view .course-card-new {
  flex-direction: row;
  align-items: stretch;
}

.courses-grid.list-view .course-card-image {
  width: 300px;
  flex-shrink: 0;
  aspect-ratio: auto;
  min-height: 200px;
}

.courses-grid.list-view .course-card-content {
  flex: 1;
  justify-content: space-between;
  padding: 20px 25px;
}

.courses-grid.list-view .course-card-author {
  margin-bottom: 10px;
}

.courses-grid.list-view .course-card-title {
  font-size: 18px;
  -webkit-line-clamp: 1;
  margin-bottom: 10px;
}

.courses-grid.list-view .course-card-meta {
  margin-bottom: 12px;
}

.courses-grid.list-view .course-card-price-review {
  padding-top: 12px;
}

@media (max-width: 991px) {
  .courses-grid.list-view .course-card-image {
    width: 250px;
  }
}

@media (max-width: 767px) {
  .courses-grid.list-view .course-card-new {
    flex-direction: column;
  }

  .courses-grid.list-view .course-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 0;
  }

  .courses-grid.list-view .course-card-title {
    -webkit-line-clamp: 2;
  }
}
