.indy-search-wrapper {
  position: relative;
  max-width: 527px;
  margin-inline: auto;
}

.indy-search-content {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #a6bacb;
  border-radius: 24px;
  height: 48px;
  padding: 4px;
  gap: 0;
  width: 100%;
}

.indy-search-input-wrapper {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  min-width: 0;
}

.indy-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.indy-search-icon svg {
  width: 100%;
  height: 100%;
}

.indy-search-wrapper .indy-search-input {
  flex: 1 0 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Suisse Int'l", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: rgba(34, 44, 54, 1);
  padding: 0;
  min-width: 0;
}

.indy-search-input::placeholder {
  color: rgba(34, 44, 54, 0.5);
}

.indy-search-wrapper .indy-search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fa5d89;
  border: none;
  border-radius: 24px;
  padding: 8px 24px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: "Suisse Int'l", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0;
  color: white;
  transition: background-color 0.2s ease;
}

.indy-search-button:hover {
  background: #e04d79;
}

.indy-search-button:active {
  background: #c93d69;
}

.indy-search-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.indy-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.indy-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #a6bacb;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.indy-search-result-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.indy-search-result-item:hover {
  background-color: #f5f5f5;
}

.indy-search-result-item:last-child {
  border-bottom: none;
}

#dept-list-wrapper {
  max-height: none;
  transition: max-height 0.3s ease;
  position: relative;
  padding: 0 16px;
}

#dept-list-wrapper:not(.expanded) {
  max-height: 342px;
  overflow: hidden;
}

#dept-list-wrapper:not(.expanded)::after {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  background-image: linear-gradient(to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 1));
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}