.custom-search-bar {
  text-align: center;
  margin: 40px auto;
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  /* border: 4px solid red !important; */
}
.search-input-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
#custom-search-input {
  width: 500px;
  padding: 12px 48px 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #3174cc;
  font-size: 16px !important;
  margin: 0;
  display: block;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
#custom-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  padding: 0;
  color: #888;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: none;
}
.search-tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 0 auto;
  padding: 12px 8px 8px 8px;
  box-sizing: border-box;
}
.search-tag-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 2px solid #3b8eea;
  border-radius: 16px;
  background: #fff;
  color: #3b8eea;
  font-size: 18px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s, color 0.2s;
}
.search-tag-pill:hover, .search-tag-pill.active {
  background: #3b8eea;
  color: #fff;
}
#live-search-suggestions {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  display: none;
  text-align: left;
}
#live-search-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#live-search-suggestions li {
  padding: 10px 16px;
  cursor: pointer;
}
#live-search-suggestions li:hover {
  background: #f0f0f0;
}

/* Floating Change Style button and dropdown */
.csbe-style-dropdown-float {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  margin: 20px 30px 0 0;
}
.csbe-style-btn-float {
  background: #3b8eea;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59,142,234,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
}
.csbe-style-btn-float:hover {
  background: #2566b3;
  box-shadow: 0 4px 16px rgba(59,142,234,0.15);
}
.csbe-style-dropdown-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(59,142,234,0.15);
  padding: 8px 0;
  display: none;
  z-index: 30;
}
.csbe-style-dropdown-item {
  padding: 12px 24px;
  font-size: 16px;
  color: #222;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: none;
}
.csbe-style-dropdown-item:hover {
  background: #3275cc;
  color: #ffffff;
}
.csbe-style-dropdown-item.csbe-style-selected {
  background: #3b8eea;
  color: #fff;
  font-weight: 600;
}
.csbe-keywords-dropdown-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.csbe-keywords-dropdown-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Modern tag style */
.csbe-modern-tags .search-tags-row {
  background: transparent;
  box-shadow: none;
}
.csbe-modern-tags .search-tag-pill {
  background: #fff;
  color: #222;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 24px 0 rgba(59,142,234,0.08);
  font-size: 18px;
  font-weight: 500;
  margin: 10px 8px 10px 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}
.csbe-modern-tags .search-tag-pill:hover,
.csbe-modern-tags .search-tag-pill.active {
  background: #eaf3fc;
  color: #2566b3;
  box-shadow: 0 8px 32px 0 rgba(59,142,234,0.15);
}
.csbe-modern-tags .tag-icon {
  display: none;
}
.csbe-modern-tags .tag-label {
  font-weight: 500;
  font-size: 16px !important;
  letter-spacing: 0.01em;
} 