/* explore_tutors.css — local_lat_findtutors
 * Adapted from local/findtutors/css/explore_tutors_details.css
 * Removed: Google Fonts CDN @import lines (non-standard)
 * Fonts are expected to be loaded by the theme.
 */

/* ---------- Variables ---------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --border: #DCDCE5;
  --border-focus: #2563eb;
  --bg: #ffffff;
  --bg-hover: #f2f4f7;
  --text: #121117;
  --dark-text: #000;
  --text-muted: #4D4C5C;
  --text-section: #1d2939;
  --accent: #FF2500;
  --input-bg: #f9fafb;
  --gray: #F4F4F4;
  --gray-light: #f6f6f6;
}

.wrapper-course:has(.tutors_listing_page) {
  padding: 27px 80px;
}

.tutors_listing_page {
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

/* video popup */
.video-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9999;
}

.video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 3%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3%;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 3%;
  border: none;
}

.video-wrapper .yt-cta {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3%;
  overflow: hidden;
  background: #000;
}

.video-wrapper .yt-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.video-wrapper .yt-cta-btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s;
}

.video-wrapper .yt-cta-btn:hover {
  transform: scale(1.05);
  color: #fff;
  text-decoration: none;
}

.video-close {
  position: absolute;
  top: 0px;
  right: 14px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 999;
}

/* pagination */
.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: Arial, sans-serif;
}

.pagination a:not(a.first):not(a.last) {
  border: 1px solid #ccc;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.pagination a:not(a.first):not(a.last):not(a.active):hover {
  background: #f0f0f0;
}

.pagination a.active:hover {
  background: rgba(255, 88, 60, 1) !important;
}

.pagination a.first {
  margin-right: 10px;
}

.pagination a.last {
  margin-left: 10px;
}

.pagination .active {
  background: #ff2500;
  color: #fff;
  cursor: default;
}

.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination .ellipsis {
  border: none;
  cursor: default;
}

/* ---------- Filter Dropdowns ---------- */
.fiter_shadow {
  box-shadow: 0 20px 15px 0 rgba(0, 0, 0, .05);
}

.filters_box {
  margin-left: -80px;
  /* width: 100vw; */
  width: calc(100% + 160px);
  padding-inline: 80px;
  position: sticky;
  top: 55px;
  z-index: 3;
  background: var(--bg);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter {
  position: relative;
  min-width: 200px;
  flex: 1;
  height: 61px;
  cursor: pointer;
}

.filter-button:hover {
  border: 2px solid var(--dark-text);
}

.filter-button {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  height: 61px;
  display: flex;
  padding: 10px 18px;
  align-items: center;
  justify-content: space-between;
}

.filter-button.open {
  border-color: var(--border-focus);
}

.filter-button .label {
  display: block;
  font-size: 12px;
  color: var(--text);
}

.filter-button .selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-button .value {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-button .icon {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.dropdown_filters {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 300px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}

.dropdown_filters.open {
  display: block;
}

.bottom_filters .filter-button {
  height: auto !important;
}

.bottom_filters .value {
  font-weight: 400 !important;
}

.dropdown_filters li .section-label {
  font-size: 14px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--text);
  height: 40px;
  display: flex;
  align-items: center;
}

label.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-bottom: 0;
}

.switch_btn .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch_btn .switch input:checked+.slider {
  background-color: #001CB1;
}

.switch_btn .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #D7D7D9;
  transition: background-color 0.3s ease;
  border-radius: 69px;
  width: 45px;
  height: 25px;
}

.switch_btn .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 2.6px;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.dropdown_filters li .item {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 18px;
  cursor: pointer;
  height: 60px;
  border-bottom: 1px solid #f2f4f7;
}

/* availability dropdown */
.available_dropdown.dropdown_filters {
  scrollbar-width: none;
  padding: 16px;
}

.find_groups_details_titlelg {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.find_groups_details_sectiontitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 4px;
}

.daysAvailable button {
  min-height: 40px;
  padding-block: 0;
  display: flex;
  height: 40px;
  padding-inline: 18px;
}

.find_groups_details_chip {
  border: 2px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 8px 18px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 68px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.find_groups_details_chip:hover {
  background: #f8f9fc;
}

.find_groups_details_chip--active {
  background: var(--find_groups_details-active-soft);
  border-color: #c9d6ff;
  box-shadow: inset 0 0 0 1px #c9d6ff;
}

.duration.find_groups_details_chip_label {
  font-size: 14px;
  font-weight: 400;
}

span.find_groups_details_chip_label {
  font-weight: 600;
  font-size: 14px;
}

.search-wrapper {
  position: relative;
  margin: 18px 18px 3px 18px;
}

.search-wrapper input {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  height: 53px;
  display: flex;
  align-items: center;
  padding-right: 18px;
  padding-left: 48px;
  padding-block: 0;
  font-size: 16px;
  box-shadow: none;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 17px;
  top: 49%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
}

.dropdown_filters ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown_filters li.section-label {
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  height: 40px;
  display: flex;
  align-items: center;
}

.dropdown_filters li.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 18px;
  cursor: pointer;
  font-size: 16px;
  height: 60px;
}

.nobd.dropdown_filters {
  padding-block: 13px;
}

.nobd.dropdown_filters li.item {
  margin-inline: 14px;
  padding-inline: 12px;
  border-radius: 10px;
}

.dropdown_filters li.item+li.item {
  border-top: 1px solid #f2f4f7;
}

.nobd.dropdown_filters li.item+li.item {
  border-top: 0px solid #f2f4f7;
}

.dropdown_filters li.item:hover {
  background: var(--bg-hover);
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkbox.selected {
  background: var(--accent);
  border: none;
}

.checkbox.selected::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  top: 2px;
  left: 7px;
}

/* Availability */
.segment-group {
  margin: 0 12px 12px;
}

.segment-group .segment-label {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}

.segment-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.segment-options .time-option {
  flex: 1 1 calc(33.333% - 8px);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
}

.segment-options .time-option.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.day-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 12px;
}

.day-options .day-option {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.day-options .day-option.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Slider */
.find_groups_details_range_wrap {
  padding: 6px 6px 14px 6px;
}

.find_groups_details_range_track {
  position: relative;
  height: 4px;
  border-radius: 9999px;
}

.find_groups_details_range_fill {
  position: absolute;
  height: 4px;
  border-radius: 9999px;
  background: var(--text);
  left: 0;
  right: 0;
  transform: translateZ(0);
}

.find_groups_details_range_thumb {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid var(--dark-text);
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  cursor: grab;
  touch-action: none;
}

.slider-dropdown {
  padding: 20px 18px 18px 18px;
}

.slider-dropdown .range-label {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
  height: 40px;
  margin: 0 12px;
}

.slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--text);
  border-radius: 2px;
}

.slider-container input[type=range] {
  -webkit-appearance: none;
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  pointer-events: none;
}

.slider-container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--bg);
  border: 2px solid var(--text);
  border-radius: 4px;
  cursor: pointer;
  pointer-events: all;
}

/* ---------- Teachers Section ---------- */

.teacherSection .card-wrapper {
  display: none;
}

.teacherSection .teacher-card:hover {
  border: 2px solid var(--dark-text);
}

.teacherSection .teacher-card {
  display: flex;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid #0000001F;
  padding: 24px;
  position: relative;
  height: 306px;
  box-shadow: 0px 9.38px 21.56px 0px #00000008, 0px 88.13px 52.5px 0px #00000005, 0px 156.56px 62.81px 0px #00000000, 0px 244.69px 68.44px 0px #00000000;
  cursor: pointer;
  width: 100%;
}

.find_groups_details_available_review_card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.find_groups_details_available_star {
  width: 18px;
  height: 18px;
}

/* Collapsed state */
.clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Expanded state */
.clamp-4.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media(max-width: 1300px) {
  .clamp-4 {
    -webkit-line-clamp: 1;
  }
}

.teacherSection .teacher-avatar img {
  min-width: 160px;
  height: 160px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid #1211170F;
}

.teacherSection .teacher-details {
  flex: 1;
  margin-left: 16px;
}

.teacherSection .teacher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.teacherSection .teacher-name {
  font-size: 20px;
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.teacherSection .verified {
  color: var(--accent);
}

.teacherSection .favorite {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  position: absolute;
  top: 20px;
  right: 21px;
  padding: 0;

}

.teacherSection .meta-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.teacherSection .meta-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

.teacherSection .bio {
  font-size: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  max-height: 4.5em;
}

.hideit:hover,
.teacherSection .see-more:hover {
  color: var(--accent) !important;
}

.teacherSection .see-more {
  font-size: 16px;
  color: var(--text);
  text-decoration: underline;
  font-weight: 500;
}

.teacherSection .teacher-list-active .action-panel {
  /* top: 68% !important; */
}

.teacher-avatar-box.green {
  background: #09A64D;
}

.teacher-avatar-box.gray {
  background: #B8B8B8;
}

.teacher-avatar-box {
  border: 1px solid #000000;
  border-radius: 4px;
  height: 24px;
  width: 24px;
  z-index: 2;
  position: absolute;
  right: 7px;
  top: 129px;
}

.teacherSection .action-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 284px;
  position: relative;
  height: 100%;
  justify-content: end;
}

.teacherSection .ratings {
  font-size: 21px;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.teacherSection .small-text {
  font-size: 14px;
  color: var(--text-muted);
}

.teacherSection .stats {
  /* position: absolute; */
  font-size: 16px;
  font-weight: 600;
  /* top: 80px;
  right: 24px; */
  display: flex;
  gap: 16px;
}

.teacherSection .stats small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.teacherSection .btn-primary,
.teacherSection .btn-outline {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--text);
  font-size: 18px;
  font-weight: 600;
}

.teacherSection .btn-primary:hover {
  background: rgba(255, 88, 60, 1) !important;
}

.teacherSection .btn-primary {
  background: var(--accent);
  color: #fff;
}

.teacherSection .btn-outline {
  background: none;
  color: var(--text);
}

.teacherSection .btn-outline:hover {
  background: #f8f9fc;
}

.teachers_listing .schedule-panel {
  border: 2px solid #DCDCE5 !important;
  background: var(--bg);
  min-height: 357.7px;
  box-shadow: 0px 9.38px 21.56px 0px #00000008, 0px 10.93px 25.15px 0px #00000008, 0px 45.92px 45.92px 0px #00000008;
  flex-direction: column;
  border-radius: 20px;
  max-width: 404px;
  min-width: 404px;
  margin-left: 34px;
  transition: transform 0.9s ease;
  padding: 16px;
  max-height: 357.57px;
}

.teachers_listing .schedule-panel.visible {
  visibility: visible !important;
}

.teachers_listing .schedule-preview {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 197px;
  border-radius: 8px;
  border: 2px solid #000000;
}

.teachers_listing .schedule-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.teachers_listing .schedule-preview.no-thumb {
  background: #1a1a2e;
}

.teachers_listing .play-icon {
  position: absolute;
  font-size: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 17px;
  right: 13px;
  cursor: pointer;
}

.teachers_listing .schedule-btn:hover {
  background: #f8f9fc;
}

.teachers_listing .schedule-btn {
  margin-top: 16px;
  padding-inline: 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  border: 2px solid var(--dark-text);
  font-weight: 600;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teachers_listing .see-profile-btn {
  margin-top: 12px;
  padding-inline: 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 18px;
  border: 2px solid var(--dark-text);
  font-weight: 600;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  text-decoration: none;
}

.teachers_listing .see-profile-btn:hover {
  background: #f8f9fc;
}

.top-search {
  height: 48px;
  display: flex;
  align-items: center;
  border: 2px solid #DCDCE5;
  border-radius: 8px;
  box-shadow: none;
  font-size: 14px;
  color: var(--text);
  padding-left: 50px;
}

.top-search-icon {
  position: absolute;
  left: 17px;
  top: 41%;
  transform: translateY(-50%);
}

.height-auto {
  height: auto !important;
}

.hidden {
  display: none;
}

/* ---------- Expanded "Why Choose" Section ---------- */
.teacher-why-choose {
  margin-top: 20px;
}

.why-choose-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0 0 16px 0;
}

.teacher-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info .reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
}

.reviewer-info .reviewer-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.teacherSection .hideit {
  font-size: 16px;
  color: var(--text);
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  margin-top: 12px;
}

.heading_level_0 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.heading_level_2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.heading_level_3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.muted_text {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.small_text {
  font-weight: 400;
  font-size: 14px;
  color: var(--text);
}

.font-400 {
  font-weight: 400 !important;
}

.font-600 {
  font-weight: 600 !important;
}

.tutors_dynamic_section {
  max-width: 1280px;
  margin: 0 auto;
}

.outline_box {
  border: 2px solid var(--border);
  border-radius: 8px;

}

.outline_box * {
  margin: 0 auto;
}

/* media queries mobile design */
@media(max-width: 1400px) {
  .teacherSection .action-panel {
    min-width: auto;
  }
}

@media(max-width: 1299px) {
  .teachers_listing .schedule-panel {
    min-width: 265px
  }

  .teacherSection .teacher-avatar img {
    min-width: 100px;
    height: 100px;
  }

  .teacher-avatar-box {
    right: 5px;
    top: 80px;
    height: 15px;
    width: 15px;
  }

}

@media(max-width: 992px) {
  .schedule-panel {
    display: none !important;
  }
}

@media(max-width: 768px) {
  .wrapper-course:has(.tutors_listing_page) {
    padding: 16px;
  }

  .editmode-switch-form {
    display: none !important;
  }

  .tabs_container .nav-tabs {
    background: var(--gray-light);
    border-radius: 8px;
  }

  .tabs_container .nav-tabs .nav-link.active {
    background-color: var(--bg);
    border: 2px solid var(--border);
  }

  .tabs_container .nav-tabs .nav-link {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    border: none;
    border-radius: 8px;
    padding-block: 0px;
    padding-inline: 16px;
  }

  .tabs_container .nav-tabs .nav-link.active:hover,
  .nav-tabs .nav-item.show .nav-link:hover {
    color: var(--dark);
  }


  .action-btns {
    display: none !important;
  }

  .teacherSection .action-panel {
    display: none;
    min-width: auto;
    margin-left: auto;
  }

  .teacherSection .teacher-avatar {
    height: 80px;
    width: 80px;
  }

  .teacherSection .teacher-avatar img {
    min-width: auto;
    object-fit: auto;
    height: 80px;
    width: 80px;
  }

  .teacher-avatar-box {
    border: 1px solid #fff;
    border-radius: 2px;
    height: 12px;
    width: 12px;
    right: 5px;
    bottom: 5px;
    top: unset;
  }

  .filters_box {
    padding: 0;
    margin: 0;
    width: auto;
    position: static !important;
  }

  /* filters */
  .mobile_filter {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    padding: 12px 16px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
  }

  .mobile_filters_scroll {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    /* Firefox */
  }

  .mobile_filters_scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }

  .mobile_filters_box {
    flex-wrap: nowrap;
  }

  .fmobile_filter {
    flex: 0 0 auto;
  }

  .list_count {
    margin-top: 24px;
  }

  .available_teacher {
    font-weight: 600 !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-bottom: 16px;
  }

  .sort_heading {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
  }

  .teacherSection {
    /* margin-block: 0 !important; */
  }

  .teacherSection .favorite {
    top: 13px;
  }

  .gray_box {
    background: var(--gray);
    border: 1px solid var(--gray);
    border-radius: 8px;
  }

  .ratings {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text);
  }

  .ratings span {
    font-size: 14px;
    color: var(--text-muted);
  }

  .clamp-4 {
    -webkit-line-clamp: 3;
  }

  .meta-list li:nth-child(1) {
    display: none;
  }

  .teacherSection .teacher-card {
    display: flex;
    background: var(--bg);
    /* border-radius: 0; */
    position: relative;
    height: 207px;
    box-shadow: none;
    /* border: none; */
    /* border-block: 1px solid #0000001F; */
    padding: 12px 16px;
    position: relative;
  }

  .tutors_dynamic_section {
    /* margin-left: -16px;
    width: calc(100% + 32px); */
  }

  #page-wrapper #page nav.rui-topbar-wrapper,
  #page-wrapper #page> :nth-child(2),
  #page-wrapper #page:has(.tutors_listing_page) .rui-mobile-nav {
    display: none;
  }


  #page-wrapper #page:has(.tutors_listing_page) {
    padding: 0;
  }

  .dynamic_section {
    margin-top: 16px;
    margin-bottom: 100px;
  }

  .meta-list {
    order: 3;
  }

  /* all filters */

  .modal-content.filterModal-content {
    border: none;
    border-radius: 0px;
  }

  .view_tutors {
    position: fixed;
    bottom: 0;
    border: none;
    border-top: 1px solid #0000001F;
    width: 100%;
    margin-left: -16px;
    background: white;
    box-shadow: -196px -84px 52.5px 0px #00000005, -76px -135px 52.5px 0px #00000005, 0px 8px 32px 0px #12111726;


  }

  .view_tutors button {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text);
    font-size: 16px;
    font-weight: 600;
    background: var(--accent);
    color: var(--bg);
  }

  .modal-dialog.filterModal .filterModal-header {
    box-shadow:
      0px 9.38px 21.56px 0px #00000008,
      0px 88.13px 52.5px 0px #00000005,
      0px 156.56px 62.81px 0px #00000000,
      0px 244.69px 68.44px 0px #00000000;
    border-bottom: 1px solid #0000001F;
    z-index: 1;
    position: sticky;
    top: 0;
    background: var(--bg);
  }

  .modal-dialog.filterModal .slider_box {
    border-bottom: 1px solid #0000001F;
  }

  .modal-dialog.filterModal .search_field {
    border-radius: 8px;
    border: 1px solid #0000001F;
    box-shadow: none;
  }

  .modal-dialog.filterModal .search_box {
    position: relative;
  }

  .modal-dialog.filterModal .search_icon {
    position: absolute;
    top: 12px;
    left: 14px;
  }

  .modal-dialog.filterModal ul.flags li {
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 8px;
  }

  .modal-dialog.filterModal ul.nopad li {
    padding-inline: 0;
  }

  .modal-dialog.filterModal ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
  }

  .modal-dialog.filterModal ul li .filtercheckbox.active {
    background: var(--accent);
  }

  .modal-dialog.filterModal ul li .filtercheckbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    border-radius: 4px;
  }

  .modal-dialog.filterModal ul li .filtercheckbox svg {
    min-width: 20px;
  }

  /* range part of filter */

  .range_track {
    position: relative;
    height: 4px;
    border-radius: 9999px;
  }

  .range_fill {
    position: absolute;
    height: 4px;
    border-radius: 9999px;
    background: var(--dark-text);
    left: 0;
    right: 0;
    transform: translateZ(0);
  }

  .range_thumb {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 2px solid var(--dark-text);
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    cursor: grab;
    touch-action: none;
  }

  .range-label {
    font-size: 22px;
    font-weight: 500;
    color: var(--text)
  }

  /* all filters */
  /* sort modal */
  .modal-dialog.sort-dialog {
    position: fixed;
    bottom: 0;
    margin: 0;
    width: 100%;
    transform: translateY(100%) !important;
    transition: transform 0.2s ease-out !important;
}
.modal.show .modal-dialog.sort-dialog {
    transform: translateY(0) !important;
}
.sortModal-content {
    height: 350px;
    overflow: auto;
}
.sortModal li {
    list-style: none;
    padding-block: 13px;
    border-bottom: 1px solid #0000001F;
}

  /* favorites screen */
  .sort-dialog,
  .favModal,
  .learnModal,
  .filterModal {
    max-width: none;
  }

  .learnModal-content {
    border: none;
  }

  .modal-dialog.favModal .favModal-header {
    border-bottom: 1px solid #0000001F;
    background: var(--bg);
  }

  .modal-dialog.filterModal .back,
  .modal-dialog.favModal .back {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid #EDEDED;
    position: absolute;
    top: 20px;
    left: 16px;
  }

  .tutors_dynamic_section {
    margin-bottom: 100px;
  }

  /* favorites screen */

  .learnModal-content ul li {
    padding: 16px;
    font-weight: 400;
    font-size: 16px;
    color: var(--text);
    border: 2px solid #0000001F;
    border-radius: 8px;
    margin-bottom: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* footer */
  .footer_navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    box-shadow: 0px -9px 21.56px 0px #00000008, 0px -86px 52.5px 0px #00000005, 0px -156px 62.81px 0px #00000000, 0px -200px 68.44px 0px #00000000;

    border: 0.94px solid #0000001F;
    z-index: 999;
  }

  .bf-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .bf-icon img {
    margin: auto;
  }

  .bf-title {
    font-weight: 500;
    font-size: 12px;
    color: var(--dark-text);
  }

  .bf-title.active {
    color: var(--accent) !important;
  }

  .bf-item .bf-title:not(.active),
  .bf-item .bf-icon img:not(.active) {
    opacity: 0.8;
  }

  .see-more {
    display: none;
  }

  .stats {
    position: static !important;
  }


  /* footer */
}