* { box-sizing: border-box; }
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background-color: #ffffff;
      color: #1c1917;
      margin: 0; padding: 0;
    }
    h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }

    body#home-page{
      background: #ffffff !important;
    }
    
    body {min-height: calc(100vh + 5px);}

    /* Desktop navigation header */
    .nav-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: #ffffff;
      border-bottom: 1px solid #e7e5e4;
      padding: 0 40px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-inner {
      max-width: 1280px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

    .nav-logo {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: #1c1917;
      margin: 0;
      flex-shrink: 0;
    }

    .nav-search-bar {
      flex: 1;
      max-width: 500px;
      display: flex;
      align-items: center;
      gap: 10px;
      background: #ffffff;
      border: 1.5px solid #e7e5e4;
      border-radius: 9999px;
      padding: 12px 16px;
      flex-shrink: 0;
      transition: border-color 150ms, box-shadow 150ms;
    }
    .nav-search-bar:focus-within {
      border-color: #0ea5e9;
      box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
    }
    .nav-search-bar svg { flex-shrink: 0; }
    .nav-search-bar span {
      flex: 1;
      font-size: 14px;
      font-weight: 500;
      color: #1c1917;
    }
    .nav-search-bar button {
      width: 20px;
      height: 20px;
      background: #e7e5e4;
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 150ms;
    }
    .nav-search-bar button:hover { background: #d6d3d1; }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    /* Filters pill button — sits right next to the search bar */
    .nav-filter-btn {
      position: relative;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 16px;
      border-radius: 9999px;
      border: 1.5px solid #e7e5e4;
      background: #fff;
      cursor: pointer;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #44403c;
      white-space: nowrap;
      flex-shrink: 0;
      transition: border-color 150ms, background 150ms;
    }
    .nav-filter-btn:hover {
      border-color: #d6d3d1;
      background: #f5f5f4;
    }
    .nav-filter-btn svg { flex-shrink: 0; stroke: #44403c; stroke-width: 1.75; }
    .nav-filter-btn.active {
      border-color: #4f46e5;
      color: #4f46e5;
    }
    .nav-filter-btn.active svg { stroke: #4f46e5; }

    .nav-filter-badge {
      display: none;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #4f46e5;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .nav-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: linear-gradient(135deg, #0ea5e9, #4f46e5);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: #ffffff;
      font-size: 12px;
      flex-shrink: 0;
      cursor: pointer;
    }

    /* Content container */
    .content-wrapper {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 40px;
    }

    /* Results count bar */
    .results-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 0 8px;
    }
    .results-count {
      font-size: 24px;
      font-weight: 300;
      color: #1c1917;
    }
    .sort-dropdown {
      position: relative;
      display: inline-block;
    }
    .sort-dropdown-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      border: 1.5px solid #e7e5e4;
      border-radius: 9999px;
      background: #fff;
      color: #44403c;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: border-color 150ms, background 150ms;
    }
    .sort-dropdown-btn:hover {
      border-color: #d6d3d1;
      background: #f5f5f4;
    }
    .sort-dropdown-btn svg { flex-shrink: 0; stroke: #78716c; }
    .sort-menu {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: white;
      border: 1px solid #e7e5e4;
      border-radius: 14px;
      box-shadow: 0 8px 24px -4px rgb(0 0 0 / 0.12);
      overflow: hidden;
      z-index: 50;
      min-width: 160px;
    }
    .sort-menu.open { display: block; }
    .sort-menu-item {
      display: block;
      width: 100%;
      padding: 11px 16px;
      text-align: left;
      background: none;
      border: none;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 500;
      color: #44403c;
      cursor: pointer;
      transition: background 100ms;
    }
    .sort-menu-item:hover { background: #f5f5f4; }
    .sort-menu-item.selected { font-weight: 700; color: #0ea5e9; }

    /* Tutor card grid */
    .tutor-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      padding: 32px 0 4px 0;
    }

    .tutor-search-bar{
      margin-top: 10px;
    }
    /* Tutor card */
    .tutor-card {
      background: white;
      border-radius: 20px;
      border: 1px solid #f5f5f4;
      overflow: hidden;
      box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05), 0 0 0 1px rgb(0 0 0 / 0.03);
      display: flex;
      flex-direction: column;
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }
    .tutor-card:active { transform: scale(0.98); }
    @media (hover: hover) {
      .tutor-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px -4px rgb(0 0 0 / 0.10), 0 0 0 1px rgb(0 0 0 / 0.04);
      }
    }

   .tutor-card-hero {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background layer */
.tutor-card-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;
  filter: blur(4px);
}


/* Content stays sharp */
.tutor-card-initials,
.tutor-card-badges {
  position: relative;
  z-index: 2;
}

/* Avatar image */
.tutor-card-initials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

    /* .tutor-card-hero {
      position: relative;
      height: 200px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #0ea5e9, #4f46e5);
    } */
    .tutor-card-initials {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      font-weight: 700;
      color: white;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .tutor-card-body {
      padding: 25px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .tutor-card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 12px;
      gap: 12px;
    }

    .tutor-card-info h4 {
      font-size: 18px;
      font-weight: 700;
      color: #1c1917;
      margin: 0 0 4px 0;
    }
    .tutor-card-info p {
      font-size: 12px;
      color: #a8a29e;
      margin: 0 0 4px 0;
    }
    .tutor-card-location {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      color: #a8a29e;
      margin: 4px 0;
    }
    .tutor-card-location svg {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
    }

    .tutor-card-price {
      text-align: right;
      flex-shrink: 0;
    }
    /* .tutor-card-price-amount {
      font-size: 16px;
      font-weight: 700;
      color: #1c1917;
      margin: 0;
    }
    .tutor-card-price-amount span {
      font-size: 12px;
      font-weight: 400;
      color: #a8a29e;
    } */
.tutor-card-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px; /* slightly tighter */

  font-size: 9px; /* reduced from 11px (~18% smaller visually) */
  font-weight: 500; /* softer than 600 */

  background: #ecfdf5; /* very light mint green */
  color: #166534; /* softer, less harsh green */

  padding: 3px 8px; /* reduced from 4px 10px */
  border-radius: 9999px;

  margin-top: 6px;
  margin-bottom: 4px;
}

.tutor-card-verified svg {
  width: 10px;  /* reduced from 12px */
  height: 10px;
  flex-shrink: 0;
}
    /* .tutor-card-verified {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      background: #dcfce7;
      color: #15803d;
      padding: 4px 10px;
      border-radius: 9999px;
      margin-top: 6px;
      margin-bottom: 4px;
    }
    .tutor-card-verified svg {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
    } */

    .tutor-card-description {
      font-size: 13px;
      color: #78716c;
      line-height: 1.5;
      margin: 12px 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .tutor-card-meta {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #78716c;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .tutor-card-meta span.separator { color: #d6d3d1; user-select: none; }

    .tutor-card-skills {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }
    .tutor-card-skill {
      font-size: 12px;
      background: #f5f5f4;
      color: #57534e;
      padding: 4px 10px;
      border-radius: 9999px;
    }

    .tutor-card-rating {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: #78716c;
    }
    .tutor-card-rating svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
      color: #f59e0b;
    }
    .tutor-card-rating-value {
      font-weight: 600;
      color: #1c1917;
    }
    .tutor-card-no-reviews {
  font-size: 12px;
  color: #64748b; /* soft gray */
  font-weight: 500;
}
.tutor-card-price-amount {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a; /* strong primary */
}

/* Fix for /hr visibility */
.tutor-card-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: #475569; /* darker than before, readable but secondary */
  margin-left: 2px;
}

/* Optional fallback style */
.tutor-card-price-na {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}
    /* Name + rating on same header line */
    .tutor-card-name-row {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 2px;
    }
    .tutor-card-name-row h4 { margin: 0; }
    .tutor-card-name-row .sep { color: #d6d3d1; font-size: 14px; }
    .tutor-card-rating-inline {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      color: #78716c;
    }
    .tutor-card-rating-inline svg {
      width: 13px;
      height: 13px;
      flex-shrink: 0;
      fill: #f59e0b;
    }
    .tutor-card-rating-inline .tutor-card-rating-value {
      font-weight: 600;
      color: #1c1917;
      font-size: 12px;
    }

    /* Highlighted subject tag (searched subject) */
    .tutor-card-skill-active {
      background: #0ea5e9;
      color: white;
      font-weight: 500;
    }

    .tutor-card-badges {
      position: absolute;
      top: 12px;
      left: 12px;
      right: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .tutor-card-top-badge {
      background: white;
      color: #1c1917;
      font-size: 11px;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    }
    .tutor-card-top-badge svg {
      width: 10px;
      height: 10px;
      color: #f59e0b;
    }

    .tutor-card-save-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.3);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: transform 0.15s ease, background 0.15s ease;
      flex-shrink: 0;
    }
    .tutor-card-save-btn:hover { background: rgba(0, 0, 0, 0.4); }
    .tutor-card-save-btn svg {
      width: 18px;
      height: 18px;
      stroke: white;
      stroke-width: 2;
      fill: none;
    }
    .tutor-card-save-btn.saved svg { fill: white; }

    /* Skeleton loading */
    @keyframes shimmer {
      0%   { background-position: -600px 0; }
      100% { background-position:  600px 0; }
    }
    .skel {
      background: linear-gradient(90deg, #f0efed 25%, #e8e6e3 50%, #f0efed 75%);
      background-size: 600px 100%;
      animation: shimmer 1.4s ease-in-out infinite;
      border-radius: 6px;
    }
    .skeleton-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid #f5f5f4;
      box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05), 0 0 0 1px rgb(0 0 0 / 0.03);
      display: flex;
      flex-direction: column;
    }
    #skeletonList {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      padding: 32px 0;
      transition: opacity 0.25s ease;
    }
    #tutorCardList {
      display: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    /* Filter panel modal (desktop) */
    .filter-backdrop {
      position: fixed;
      inset: 0;
      z-index: 90;
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .filter-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }

    .filter-panel {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.95);
      width: calc(100% - 40px);
      max-width: 560px;
      max-height: 82vh;
      z-index: 1000;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 20px 60px -12px rgba(0,0,0,0.3);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1), transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .filter-panel.open {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
    }

    .filter-panel-inner {
      display: flex;
      flex-direction: column;
      min-height: 0;
      height: 100%;
    }

    /* Header: X icon on left (invisible spacer), "Filters" centered, close button on right */
    .filter-panel-header {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 24px;
      border-bottom: 1px solid #e7e5e4;
      flex-shrink: 0;
    }
    .filter-panel-header h2 {
      font-size: 16px;
      font-weight: 700;
      color: #1c1917;
      margin: 0;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }
    .filter-panel-close {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      border-radius: 9999px;
      border: 1.5px solid #d6d3d1;
      background: white;
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 150ms, border-color 150ms;
    }
    .filter-panel-close:hover { background: #f5f5f4; border-color: #a8a29e; }

    .filter-scroll {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 24px 24px 8px;
    }
    .filter-scroll::-webkit-scrollbar { width: 4px; }
    .filter-scroll::-webkit-scrollbar-track { background: transparent; }
    .filter-scroll::-webkit-scrollbar-thumb {
      background: #d6d3d1;
      border-radius: 9999px;
    }

    .filter-group {
      margin-bottom: 0;
      padding: 24px 0;
      border-bottom: 1px solid #e7e5e4;
    }
    .filter-group:last-child {
      border-bottom: none;
      padding-bottom: 8px;
    }
    .filter-group label {
      display: block;
      font-size: 16px;
      font-weight: 700;
      color: #1c1917;
      margin-bottom: 16px;
      font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .filter-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .panel-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 16px;
      border-radius: 9999px;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      border: 1.5px solid #e7e5e4;
      background: white;
      color: #44403c;
      cursor: pointer;
      white-space: nowrap;
      transition: all 150ms cubic-bezier(0.4,0,0.2,1);
      -webkit-tap-highlight-color: transparent;
    }
    .panel-pill:hover {
      border-color: #bae6fd;
      background: #f0f9ff;
      color: #0284c7;
    }
    .panel-pill.active {
      background: linear-gradient(135deg, #0ea5e9, #4f46e5);
      border-color: transparent;
      color: white;
      box-shadow: 0 2px 8px rgba(79,70,229,0.25);
    }

    .filter-input {
      width: 100%;
      padding: 10px 16px;
      border: 1.5px solid #e7e5e4;
      border-radius: 9999px;
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      background: white;
      color: #1c1917;
      outline: none;
      transition: border-color 150ms;
    }
    .filter-input:focus { border-color: #0ea5e9; }

    /* Footer: "Clear all" left, "Show X Tutors" right */
    .filter-panel-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 24px;
      border-top: 1px solid #e7e5e4;
      flex-shrink: 0;
      background: white;
      gap: 16px;
    }
    /* "Clear all" — text link, disabled until filters active */
    .filter-reset {
      background: none;
      border: none;
      padding: 4px 0;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #a8a29e;
      cursor: default;
      text-decoration: underline;
      text-underline-offset: 2px;
      transition: color 150ms;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .filter-reset.has-filters {
      color: #1c1917;
      cursor: pointer;
    }
    .filter-reset.has-filters:hover { color: #44403c; }
    /* "Show X Tutors" pill — always visible, secondary purple, disabled until filters active */
    .filter-apply {
      padding: 14px 28px;
      border-radius: 9999px;
      border: none;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 14px;
      font-weight: 700;
      background: #4f46e5;
      color: white;
      cursor: pointer;
      transition: background 150ms, opacity 150ms;
      white-space: nowrap;
    }
    .filter-apply:hover { background: #4338ca; }
    .filter-apply:active { background: #3730a3; }
    .tutor-search-bar{
      display:flex; align-items:center;justify-content:center;  gap:10px;
    }
    /* Responsive grid */
    @media (max-width: 1210px) {
      .tutor-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      #skeletonList {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 900px) {
      .tutor-grid {
        grid-template-columns: repeat(1, 1fr);
      }
      #skeletonList {
        grid-template-columns: repeat(1, 1fr);
      }
       .tutor-search-bar{
       margin-top:15px;
    }
    }
      
    @media (max-width: 768px) {
      .nav-header {
        padding: 0 16px;
        height: auto;
        flex-direction: column;
        gap: 12px;
      }
      .nav-inner {
        max-width: none;
        flex-direction: column;
        gap: 12px;
      }
      .nav-logo {
        align-self: flex-start;
        font-size: 18px;
      }
      .nav-search-bar {
        max-width: none;
        flex: 1;
        width: 100%;
      }
      .nav-right {
        align-self: flex-end;
      }
      .content-wrapper {
        padding: 0 16px;
      }
      .tutor-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 4px 0;
      }
      #skeletonList {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0;
      }
      .filter-panel {
        width: 100%;
        max-width: 430px;
        bottom: 0;
        top: auto;
        transform: translateX(-50%) translateY(100%);
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
      }
      .filter-panel.open {
        transform: translateX(-50%) translateY(0);
      }
      .filter-text{
        display: none;
      }
      .nav-filter-badge{
        display: flex; position: absolute; top: -3px; right: -3px; width: 17px; height: 17px; border-radius: 50%; background: rgb(79, 70, 229); color: rgb(255, 255, 255); font-size: 10px; font-weight: 700; align-items: center; justify-content: center; border: 2px solid rgb(255, 255, 255);
      }
      .nav-filter-btn{
        flex-shrink:0; position:relative; width:40px; height:40px; border-radius:50%; border:1.5px solid #e7e5e4; background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);
      }
    }

    /* ── Price Range Dual Slider ───────────────────────── */
    .price-slider-wrap { padding: 4px 2px 2px; }
    .price-slider-display {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 14px;
    }
    .price-slider-display .price-val {
      font-size: 13px; font-weight: 700; color: #1c1917;
      background: #f5f5f4; border-radius: 8px; padding: 4px 10px;
    }
    .price-slider-display .price-sep {
      font-size: 12px; color: #a8a29e; font-weight: 500;
    }
    .price-track-wrap {
      position: relative; height: 28px; display: flex; align-items: center;
    }
    .price-track {
      position: absolute; left: 0; right: 0;
      height: 4px; background: #e7e5e4; border-radius: 9999px;
    }
    .price-fill {
      position: absolute; height: 4px;
      background: linear-gradient(90deg, #0ea5e9, #4f46e5);
      border-radius: 9999px;
    }
    .price-track-wrap input[type="range"] {
      position: absolute; width: 100%;
      -webkit-appearance: none; appearance: none;
      background: transparent; pointer-events: none;
      height: 24px; margin: 0;
      border:none;
    }
    .price-track-wrap input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none;
      width: 20px; height: 20px; border-radius: 50%;
      background: #fff; border: 2px solid #4f46e5;
      box-shadow: 0 1px 6px rgba(79,70,229,0.25);
      pointer-events: auto; cursor: pointer;
    }
    .price-track-wrap input[type="range"]::-moz-range-thumb {
      width: 20px; height: 20px; border-radius: 50%;
      background: #fff; border: 2px solid #4f46e5;
      box-shadow: 0 1px 6px rgba(79,70,229,0.25);
      pointer-events: auto; cursor: pointer;
    }
    .price-track-wrap input[type="range"]:hover::-webkit-slider-thumb {
      border-color: #4338ca;
      box-shadow: 0 1px 8px rgba(79,70,229,0.35);
    }

    /* ── Tutor Status / Academic Tier expandable chips ─── */
    .status-chip-wrap { display: flex; flex-direction: column; gap: 8px; }
    .status-chip {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 10px 14px; border-radius: 10px;
      border: 1.5px solid #e7e5e4; background: white; cursor: pointer;
      transition: all 150ms cubic-bezier(0.4,0,0.2,1);
    }
    .status-chip:hover { border-color: #bae6fd; background: #f0f9ff; }
    .status-chip.active {
      background: linear-gradient(135deg, rgba(14,165,233,0.07), rgba(79,70,229,0.07));
      border-color: #4f46e5;
    }
    .status-chip-icon {
      width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
      display: flex; align-items: center; justify-content: center;
    }
    .status-chip-text { flex: 1; }
    .status-chip-label {
      font-size: 13px; font-weight: 600; color: #1c1917;
      display: block; line-height: 1.3;
    }
    .status-chip.active .status-chip-label { color: #4338ca; }
    .status-chip-sub {
      font-size: 11px; color: #78716c; font-weight: 400; margin-top: 2px;
      line-height: 1.4;
    }














    /* Active filter chips row */
    .active-chips-row {
      display: flex;
      gap: 12px;
      padding: 20px 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .active-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      border-radius: 9999px;
      font-size: 13px;
      font-weight: 600;
      background: #eef2ff;
      color: #4f46e5;
      border: 1.5px solid #c7d2fe;
      white-space: nowrap;
      cursor: pointer;
      transition: background 150ms, border-color 150ms;
      flex-shrink: 0;
    }
    .active-chip:hover {
      background: #e0e7ff;
      border-color: #a5b4fc;
    }
    .active-chip-x {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #c7d2fe;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .active-chip-x svg {
      width: 7px;
      height: 7px;
      stroke: #4f46e5;
      stroke-width: 2.5;
      stroke-linecap: round;
    }

    /* Empty state container */
    .empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 40px 40px;
      text-align: center;
      min-height: calc(100vh - 240px);
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50%       { transform: translateY(-8px); }
    }
    .illustration {
      animation: float 3.5s ease-in-out infinite;
      margin-bottom: 40px;
      flex-shrink: 0;
    }

    .empty-state h2 {
      font-size: 28px;
      font-weight: 700;
      color: #1c1917;
      margin: 0 0 12px 0;
    }

    .empty-state p {
      font-size: 16px;
      font-weight: 400;
      color: #78716c;
      line-height: 1.6;
      margin: 0 0 40px 0;
      max-width: 420px;
    }

    /* Action buttons row */
    .empty-actions {
      display: flex;
      gap: 12px;
      margin-bottom: 36px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-primary {
      padding: 12px 28px;
      border-radius: 9999px;
      border: none;
      background: #4f46e5;
      color: white;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: background 150ms;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }
    .btn-primary:hover { background: #4338ca; }
    .btn-primary svg {
      width: 16px;
      height: 16px;
      stroke: white;
      stroke-width: 2;
    }

    .btn-secondary {
      padding: 11px 27px;
      border-radius: 9999px;
      border: 1.5px solid #e7e5e4;
      background: white;
      color: #57534e;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background 150ms, border-color 150ms;
    }
    .btn-secondary:hover {
      background: #f5f5f4;
      border-color: #d6d3d1;
    }



    /* Responsive */
    @media (max-width: 768px) {
      .empty-state {
        padding: 40px 20px 20px;
        min-height: auto;
      }
      .empty-state h2 {
        font-size: 22px;
      }
      .empty-state p {
        font-size: 15px;
      }
    }

    
.desktop {
  display: flex;
}

@media (max-width: 768px) {
  .desktop {
    display: none !important;
  }
}
.mobile_filter {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile_filter {
    display: flex !important;
  }
}

.filter_section_right{
 display: flex !important;
 flex-direction: row !important;
 align-items: center !important;
 gap:10px !important
}