.client-selector-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-selector-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  z-index: 1;
}

.client-selector-button {
  cursor: pointer;
  padding: 10px 16px;
  min-width: 240px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}

.client-selector-button.active {
  background: linear-gradient(45deg, #ff9966, #ff5e62, #ffc371);
  background-size: 300% 300%;
  animation: morph 10s ease infinite;
  color: #fff;
  box-shadow: 0 0 6px #f47840, 0 0 16px #f47840;
}

.client-selector-dropdown {
  display: none;
  position: absolute;
  top: 50px;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* lichter en transparanter */
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  padding: 16px;
  max-height: 360px;
  overflow-y: auto;
  backdrop-filter: blur(6px); /* ✨ glassy effect */
}

.client-selector-dropdown input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  font-size: 14px;
  backdrop-filter: blur(3px);
}

#client-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; /* ruimte tussen lijstitems */
}

#client-list li {
  padding: 16px 24px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.025);
  color: #f0f0f0;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 14px;
  display: flex;
  align-items: center;
}

#client-list li:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: scale(1.01);
}

#client-list li.active {
  background: linear-gradient(45deg, #ff9966, #ff5e62, #ffc371);
  background-size: 300% 300%;
  animation: morph 10s ease infinite;
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 100, 50, 0.5);
}


@keyframes morph {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
