.swu-tripfinder-bar-section {
  width: 100%;
}

.swu-tripfinder-bar {
  --swu-tf-accent: #22c55e;
  --swu-tf-accent-hover: #16a34a;
  --swu-tf-text: #ffffff;
  --swu-tf-muted: rgba(255, 255, 255, 0.65);
  --swu-tf-border: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  box-shadow:
    0 10px 40px -10px rgba(0, 0, 0, 0.45),
    0 2px 8px -2px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 10px;
  max-width: 1100px;
  margin: 24px auto;
  font-family: inherit;
  color: var(--swu-tf-text);
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s ease,
    border-color 0.4s ease;
}

.swu-tripfinder-bar:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 56px -10px rgba(0, 0, 0, 0.55),
    0 4px 14px -2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.swu-tripfinder-bar .swu-tf-field {
  flex: 1 1 0;
  padding: 14px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  cursor: pointer;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.swu-tripfinder-bar .swu-tf-field:hover {
  background: rgba(255, 255, 255, 0.05);
}

.swu-tripfinder-bar .swu-tf-number {
  position: absolute;
  top: 8px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.swu-tripfinder-bar .swu-tf-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--swu-tf-text);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  font-family: inherit;
  pointer-events: none;
}

.swu-tripfinder-bar .swu-tf-display {
  font-size: 16px;
  line-height: 1.3;
  color: var(--swu-tf-text);
  font-family: inherit;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swu-tripfinder-bar .swu-tf-display.is-placeholder {
  color: var(--swu-tf-muted);
}

.swu-tripfinder-bar .swu-tf-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  z-index: 2;
}

.swu-tripfinder-bar .swu-tf-divider {
  width: 1px;
  background: var(--swu-tf-border);
  margin: 12px 0;
  flex: 0 0 1px;
}

.swu-tripfinder-bar .swu-tf-submit {
  margin-left: auto;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: none;
  background: var(--swu-tf-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  align-self: center;
  box-shadow: 0 6px 18px -4px rgba(34, 197, 94, 0.55);
}

.swu-tripfinder-bar .swu-tf-submit:hover {
  background: var(--swu-tf-accent-hover);
  transform: scale(1.05);
  box-shadow: 0 8px 22px -4px rgba(34, 197, 94, 0.7);
}

.swu-tripfinder-bar .swu-tf-submit:active {
  transform: scale(0.98);
}

.swu-tf-menu {
  position: fixed;
  background: rgba(20, 30, 45, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 18px 44px -10px rgba(0, 0, 0, 0.6);
  max-height: 320px;
  overflow-y: auto;
  z-index: 2147483647;
  padding: 6px;
  display: none;
  min-width: 240px;
  color: #fff;
  font-family: inherit;
}

.swu-tf-menu.is-open {
  display: block;
}

.swu-tf-menu .swu-tf-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  line-height: 1.3;
  transition: background 0.15s ease;
}

.swu-tf-menu .swu-tf-opt:hover,
.swu-tf-menu .swu-tf-opt.is-active {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .swu-tripfinder-bar {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
  }

  .swu-tripfinder-bar:hover {
    transform: none;
  }

  .swu-tripfinder-bar .swu-tf-divider {
    width: auto;
    height: 1px;
    margin: 0 12px;
  }

  .swu-tripfinder-bar .swu-tf-field {
    padding: 16px 20px;
    border-radius: 18px;
  }

  .swu-tripfinder-bar .swu-tf-submit {
    margin: 8px auto 4px;
  }

  .swu-tf-menu {
    max-height: 60vh;
  }
}
