:root {
  --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .06);
}

/* ── Search UI ──────────────────────────────────────── */
.search-section { 
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #3993d0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.search-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
}

.search-bar-wrap {
  position: relative;
  margin-bottom: 12px;
}

.search-bar-wrap svg.ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8a919e;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1.5px solid #ddddd8;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #1a1e26;
  background: #F4F4F1;
  transition: border-color .2s, background .2s;
  outline: none;
}

.search-input:focus {
  border-color: #f79431;
  background: #fff;
}

.search-input::placeholder {
  color: #8a919e;
}

.filters-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-select {
  flex: 1;
  min-width: 155px;
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1.5px solid #ddddd8;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #1a1e26;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A919E' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  outline: none;
  transition: border-color .2s;
  cursor: pointer;
}

.filter-select:focus {
  border-color: #f79431;
}

.filter-btn-clear {
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid #ddddd8;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4a5260;
  background: #ffffff;
  cursor: pointer;
  transition: all .2s;
  display: none;
  white-space: nowrap;
}

.filter-btn-clear:hover {
  border-color: #3993d0;
  color: #3993d0;
}

.search-mobile-bar {
  display: none;
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
}

.search-mobile-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.search-mobile-title svg.ico {
  width: 18px;
  height: 18px;
}

.search-section .chevron {
  transition: transform 0.3s ease;
  color: #fff;
  width: 16px;
  height: 16px;
}

.search-section.is-open .chevron {
  transform: rotate(180deg);
}

.search-btn {
    width: 100%;
    margin-top: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background: #f79431;
    padding: 10px 10px;
    border-radius: 5px / 10px;
    border: 1px solid #f79431;
}

.search-btn:hover {
    background: #e88528;
    color: #ffffff;
    border-color: #e88528;
}

/* ── Mobile ──────────────────────────────────────────── */
@media(max-width:820px) {
  .member-phone {
    display: none;
  }

  .search-mobile-bar {
    display: flex;
  }

  .search-panel {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.33s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .search-section.is-open .search-panel {
    max-height: 500px;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .search-bar-wrap {
    margin-bottom: 8px;
  }

  .filters-row {
    flex-direction: column;
  }

  .filter-select {
    min-width: unset;
    width: 100%;
    height: 38px;
    flex: none;
  }
}