.tutor-wrap-parent {
  padding-bottom: 0 !important;
}

/* Sidebar container */
.tutor-dashboard-left-menu {
  background: #191b22;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px -4px rgba(16, 16, 20, 0.1);
  height: fit-content !important;
}

.tutor-row.tutor-frontend-dashboard-maincontent {
  padding-top: 112px !important;
}

@media (max-width: 767px) {
  .tutor-row.tutor-frontend-dashboard-maincontent {
    padding-top: 0 !important;
  }
}
@media (min-width: 1920px) {
  .tutor-row.tutor-frontend-dashboard-maincontent {
    padding-top: 0 !important;
    width: 95% !important;
    margin: 0 auto !important;
  }
}

.tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-permalinks li a {
  padding: 12px 20px !important;
  text-align: right;
  display: flex !important;
  align-items: flex-end !important;
}

.tutor-dashboard
  .tutor-frontend-dashboard-maincontent
  ul.tutor-dashboard-permalinks:before {
  display: none !important;
}

.tutor-dashboard .tutor-frontend-dashboard-header {
  display: none !important;
}

/* Sidebar list */
.tutor-dashboard-permalinks {
  list-style: none;
  margin: 0 !important;
  padding: 12px 0px !important;
}

/* Sidebar items */
.tutor-dashboard-menu-item {
  margin-bottom: 12px;
}

/* Links */
.tutor-dashboard-menu-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease;
  line-height: 118%;
}

/* Icons */
.tutor-dashboard-menu-item-icon {
  font-size: 20px;
  color: #9ca3af; /* gray for inactive */
}

span.tutor-dashboard-menu-item-text {
  margin-left: 4px !important;
}

/* Hover + Active */
.tutor-dashboard-menu-item-link:hover,
.tutor-dashboard-menu-item-link.is-active,
.tutor-dashboard
  .tutor-dashboard-left-menu
  .tutor-dashboard-permalinks
  li.active
  a {
  background: #2b2d34 !important;
  color: #fff !important;
  border-radius: 48px !important;
  display: flex !important;
  padding: 12px 0 12px 20px !important;
  align-items: center !important;
}

.tutor-dashboard-menu-item-link:hover .tutor-dashboard-menu-item-icon,
.tutor-dashboard-menu-item-link.is-active .tutor-dashboard-menu-item-icon {
  color: #fff;
}

/* Divider */
.tutor-dashboard-menu-divider {
  border-top: 1px solid #2a2d35;
  margin: 16px 0;
}

.tutor-icon-mortarboard-o:before {
  content: "" !important;
  background: url("https://designinghero.academy/wp-content/uploads/2025/09/graduation-cap-fill1.svg") !important;
  background-size: contain !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
}
.tutor-icon-star-bold:before {
  content: "";
  background: url("https://designinghero.academy/wp-content/uploads/2025/09/star.svg");
  background-size: contain;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.tutor-icon-gear:before {
  content: "";
  background: url("https://designinghero.academy/wp-content/uploads/2025/09/profile.svg");
  background-size: contain;
  display: inline-block;
  width: 20px;
  height: 20px;
}
.tutor-icon-signout:before {
  content: "";
  background: url("https://designinghero.academy/wp-content/uploads/2025/09/signout.svg");
  background-size: contain;
  display: inline-block;
  width: 20px;
  height: 20px;
}

/* Content Css for my course page */
.tutor-dashboard .tutor-dashboard-content {
  padding: 24px !important;
  background: #161820 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  margin: 0 auto;
}

.custom-enrolled-heading {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}
.custom-settings-heading {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.custom-enrolled-courses {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.custom-enrolled-courses .tutor-card.tutor-course-card {
  background: #22242b;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
}

.custom-enrolled-courses .tutor-course-card .tutor-course-thumbnail {
  border-radius: 16px;
  position: relative;
  border: 1px solid rgba(248, 241, 254, 0.2);
  box-shadow: 0 6px 20px -8px rgba(58, 0, 102, 0.2);
}

.custom-enrolled-courses .tutor-course-name a {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 125% !important;
}

.custom-enrolled-courses .tutor-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

.custom-enrolled-courses .tutor-card.tutor-course-card {
  background: #22242b;
  padding: 20px;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.custom-enrolled-courses .tutor-course-thumbnail {
  border-radius: 16px;
  box-shadow: 0 6px 20px -8px rgba(58, 0, 102, 0.2) !important;
  border: 1px solid rgba(248, 241, 254, 0.2);
}
.custom-enrolled-courses .tutor-course-name a {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}
.custom-enrolled-courses .tutor-course-name a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}
.custom-enrolled-courses .tutor-course-name {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.custom-enrolled-courses .tutor-course-progress span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  line-height: 134%;
}

.custom-enrolled-courses .tutor-progress-bar {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
}

.custom-enrolled-courses .tutor-progress-value {
  background: #14b570 !important;
}

/* Gradient Button */
.custom-enrolled-courses .list-item-button {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50px;
  box-sizing: border-box;
}

/* Style the link */
.custom-enrolled-courses .list-item-button > a {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  background: transparent !important;
  border-radius: inherit;
  border: 1.4px solid rgba(255, 255, 255, 0.2) !important;
  box-sizing: border-box;
  width: -webkit-fill-available;
  font-size: 16px;
  font-weight: 600;
  line-height: 110%;
}

/* Background layers */
.custom-enrolled-courses .list-item-button::before,
.custom-enrolled-courses .list-item-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Normal background */
.custom-enrolled-courses .list-item-button::before {
  background-image: linear-gradient(
      0deg,
      rgba(244, 190, 255, 0.1) 0%,
      rgba(244, 190, 255, 0.1) 100%
    ),
    linear-gradient(135deg, #eccf73 0%, #900dc8 49.52%, #420098 100%);
  opacity: 1;
}

/* Hover background */
.custom-enrolled-courses .list-item-button::after {
  background-image: linear-gradient(
      0deg,
      rgba(244, 190, 255, 0.1) 0%,
      rgba(244, 190, 255, 0.1) 100%
    ),
    linear-gradient(135deg, #43009c 0%, #b20ed6 50.48%, #eccf73 100%);
  opacity: 0;
}

.custom-enrolled-courses .list-item-button:hover::before {
  opacity: 0;
}
.custom-enrolled-courses .list-item-button:hover::after {
  opacity: 1;
}

/* Gradient Button */
button.list-item-button {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 50px;
  box-sizing: border-box;
  padding: 0;
}

@media (max-width: 767px) {
  button.list-item-button {
    width: 100% !important;
  }
}

/* Style the link */
button.list-item-button > a {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 16px 28px;
  color: #fff;
  text-decoration: none;
  background: transparent !important;
  border-radius: inherit;
  border: 1.4px solid rgba(255, 255, 255, 0.2) !important;
  box-sizing: border-box;
  width: -webkit-fill-available;
  font-size: 16px;
  font-weight: 600;
  line-height: 110%;
}

/* Background layers */
button.list-item-button::before,
button.list-item-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  inset: 0;
  /* left: 29px;
  right: 29px;
  top: 15px;
  bottom: 15px; */
  border-radius: 50px;
}

/* Normal background */
button.list-item-button::before {
  background-image: linear-gradient(
      0deg,
      rgba(244, 190, 255, 0.1) 0%,
      rgba(244, 190, 255, 0.1) 100%
    ),
    linear-gradient(135deg, #eccf73 0%, #900dc8 49.52%, #420098 100%);
  opacity: 1;
}

/* Hover background */
button.list-item-button::after {
  background-image: linear-gradient(
      0deg,
      rgba(244, 190, 255, 0.1) 0%,
      rgba(244, 190, 255, 0.1) 100%
    ),
    linear-gradient(135deg, #43009c 0%, #b20ed6 50.48%, #eccf73 100%);
  opacity: 0;
}

button.list-item-button:hover::before {
  opacity: 0;
}
button.list-item-button:hover::after {
  opacity: 1;
}

@media (max-width: 767px) {
  .custom-enrolled-courses .tutor-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

/* Profile Page Css */
.custom-tutor-photo div#tutor_profile_area {
  top: 0 !important;
  left: 0 !important;
}
.tutor-dashboard .tutor-dashboard-content #tutor_profile_cover_photo_editor {
  height: 198px !important;
}

#custom_tutor_profile_edit_form label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 600;
  line-height: 110%;
}

#custom_tutor_profile_edit_form input.tutor-form-control {
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(240, 240, 241, 0.04);
  display: flex;
  height: 48px;
  padding: 14px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  font-size: 16px;
  font-weight: 500 !important;
  line-height: 110% !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

#custom_tutor_profile_edit_form input.tutor-form-control::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

ul.custom-tutor-nav.tutor-nav {
  background: #1f2129;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px;
  padding: 4px;
  gap: 16px;
  /* width: max-content;
  margin: 0 auto; */
}

li.custom-tutor-nav-item.tutor-nav-item .is-active,
li.custom-tutor-nav-item.tutor-nav-item a:hover {
  border-bottom-color: transparent !important;
  background: #31333a;
  color: #fff;
  height: 44px;
  border-radius: 8px;
}

.tutor-nav:not(.tutor-nav-pills):not(.tutor-nav-tabs) .tutor-nav-link {
  border-bottom: none !important;
}

a.tutor-nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px !important;
  font-weight: 600;
}

a.tutor-nav-link.tutor-icon-profile::before {
  content: "";
  display: inline-block;
  background: url(https://designinghero.academy/wp-content/uploads/2025/09/profile-lms.svg)
    no-repeat center center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
a.tutor-nav-link.tutor-icon-key::before {
  content: "";
  display: inline-block;
  background: url(https://designinghero.academy/wp-content/uploads/2025/09/key.svg)
    no-repeat center center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.custom-tutor-photo #tutor_photo_meta_area {
  position: relative;
  top: 142px;
}

@media (max-width: 767px) {
  .custom-tutor-photo #tutor_photo_meta_area {
    padding: 0 !important;
  }
  button#remove-photo-btn {
    width: 100% !important;
    margin-top: 10px !important;
  }
  .custom-tutor-profile-buttons {
    display: inline-block !important;
    width: 54% !important;
  }
}

.custom-tutor-profile-section {
  display: flex;
  align-items: center;
}

.tutor-profile-photo-wrapper {
  margin-right: 16px;
}

.custom-tutor-profile-buttons {
  display: flex;
  width: 50%;
  gap: 16px;
}

.profile-button {
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(240, 240, 241, 0.04);
  display: flex;
  height: 36px;
  padding: 12px 16px;
  align-items: center;
  align-self: stretch;
  font-size: 14px;
  font-weight: 500 !important;
  line-height: 110% !important;
  color: rgba(255, 255, 255, 0.7) !important;
  gap: 6px !important;
}

.custom-upload-btn span {
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  cursor: pointer;
}
button#remove-photo-btn img {
  width: 17px;
  height: 17px;
}

.success-alert {
  color: #08935a;
  font-size: 13px;
  font-weight: 500;
  line-height: 110%;
  background: #d2f9e1;
  border: 1px solid #38cf89;
  border-radius: 8px;
  min-height: 34px;
  align-items: center;
  padding: 10px 0px 10px 12px;
  margin-bottom: 16px;
}

.error-alert {
  color: #ea2a2a;
  font-size: 13px;
  font-weight: 500;
  line-height: 110%;
  background: #ffe0e0;
  border: 1px solid #ff6868;
  border-radius: 8px;
  min-height: 34px;
  align-items: center;
  padding: 10px 0px 10px 12px;
  margin-bottom: 16px;
}

.tutor-empty-state.custom-empty-state {
  text-align: center;
  margin-top: 150px;
  margin-bottom: 150px;
}

.tutor-empty-state.custom-empty-state h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  line-height: 160%;
  margin-top: 8px;
  margin-bottom: 4px;
}

.tutor-empty-state.custom-empty-state p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  margin-bottom: 16px;
}

span.list-item-button.enroll-button {
  width: fit-content !important;
  margin: 0 auto !important;
}

span.list-item-button.enroll-button a::after {
  content: "";
  background: url(https://designinghero.academy/wp-content/uploads/2025/08/arrow-up-right.svg);
  background-size: contain;
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  top: 2px;
  left: 4px;
}

.tutor-dashboard-elementor-container {
  margin-bottom: -268px;
}

.tutor-dashboard-elementor-container
  .elementor-3585
  .elementor-element.elementor-element-23040f93::before {
  display: none !important;
}

@media (max-width: 767px) {
  .tutor-empty-state.custom-empty-state {
    margin-top: 36px;
    margin-bottom: 36px;
  }
  .tutor-dashboard-elementor-container {
    margin-bottom: 0;
  }

  .tutor-dashboard-elementor-container
    .elementor-3585
    .elementor-element.elementor-element-23040f93::before {
    display: none !important;
  }
  .tutor-dashboard-elementor-container
    .elementor-3585
    .elementor-element.elementor-element-23040f93 {
    min-height: 0 !important;
  }
  .tutor-wrap-parent {
    padding-bottom: 0;
    padding-top: 30px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .elementor-4875
    .elementor-element.elementor-element-25f5b655
    .elementskit-navbar-nav
    > li
    > a {
    height: auto !important;
  }
}

.tutor-dashboard #tutor-dashboard-footer-mobile {
  display: none !important;
}

.tutor-icon-brand-youtube-bold:before {
  content: "" !important;
  background: url(https://designinghero.academy/wp-content/uploads/2025/09/play-fill.svg) !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item-icon {
  color: rgba(255, 255, 255, 0.6) !important;
}

.tutor-course-single-sidebar-wrapper
  .tutor-course-topic-item:hover
  .tutor-course-topic-item-icon {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Review Section Css*/

@media (max-width: 767px) {
  .custom-modal-content {
    padding: 32px 16px 40px 16px !important;
  }
  .review-card {
    padding: 20px 20px 24px 20px !important;
    width: 100% !important;
  }
  .given-reviews-wrapper {
    margin-left: -6px;
    margin-right: -6px;
  }
}
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.custom-modal-content {
  background: #1d1f2b;
  color: rgba(255, 255, 255, 0.8);
  padding: 32px 40px 40px 40px;
  border-radius: 24px;
  width: 500px;
  height: 585px;
  max-width: 90%;
  position: relative;
  border: 1px solid #373a41;
}

.custom-modal-content h4 {
  font-size: 24px;
  font-weight: 700;
  opacity: 0.8;
  padding-bottom: 20px;
}

form#custom-review-form {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}
form#custom-review-form label {
  display: block;
  margin-bottom: 4px;
}
form#custom-review-form select {
  display: flex;
  height: 48px;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(240, 240, 241, 0.04);
  width: -webkit-fill-available;
  background-image: url(https://designinghero.academy/wp-content/uploads/2025/10/chevron-down.svg) !important;
  background-repeat: no-repeat !important;
  background-position-x: calc(100% - 20px) !important;
  background-position-y: center !important;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.6);
}
form#custom-review-form select:hover {
  cursor: pointer;
}
form#custom-review-form textarea {
  display: flex;
  height: 174px;
  padding: 16px 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(240, 240, 241, 0.04);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.4);
}

.empty-review {
  text-align: center;
  padding: 50px 0;
}

p.empty-review-heading {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 16px;
}

p.empty-review-content {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  width: 382px;
  margin: 0 auto;
}
.close-modal {
  position: absolute;
  top: 21px;
  right: 16px;
  cursor: pointer;
}
.rating-label {
  display: inline !important;
  padding-right: 15px;
}
.rating-stars {
  display: inline;
}
.rating-stars .star {
  cursor: pointer;
  color: #888;
  display: inline-block;
  transition: transform 0.2s ease;
}
.rating-stars .star img {
  width: 22px;
  height: 22px;
  opacity: 0.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rating-stars .star.active img,
.rating-stars .star.selected img {
  opacity: 1;
  transform: scale(1.1);
}

.rating-stars .star.active,
.rating-stars .star:hover {
  color: #ffd700;
}

.review-btn {
  margin-top: 30px;
  width: 100% !important;
}

a.review-btn-link {
  box-shadow: 0px 0px 0px 1.4px rgba(255, 255, 255, 0.2) inset;
  padding: 16px 28px;
  text-align: center;
  width: -webkit-fill-available !important;
  font-size: 18px;
}

.given-reviews-wrapper {
  margin-top: 20px;
}
.review-card {
  background: #1d1f27;
  border-radius: 16px;
  padding: 24px 24px 32px 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50%;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.review-rating {
  font-size: 20px;
  color: #dd8c08;
}
.review-rating .star img {
  width: 22px;
  height: 22px;
  opacity: 0.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.review-rating .star.filled img {
  opacity: 1;
}

.review-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12px;
}
.review-body {
  margin-bottom: 15px;
  line-height: 1.6;
}
.review-body p {
  color: rgba(255, 255, 255, 0.6);
}
.review-footer {
  font-size: 16px;
  font-weight: 500;
}

.review-main-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  align-items: center;
}
.review-section-title {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}
