
.hf-custom-dropdown-trigger {
  box-sizing: border-box;
  position: relative;
  z-index: 120;
  width: 100%;
  
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.125rem;
  color: #fff;
  background: rgba(16, 19, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 640px) {
  .hf-custom-dropdown-trigger {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}
.hf-custom-dropdown-trigger:focus {
  outline: none;
  border-color: rgba(109, 182, 242, 0.62);
  box-shadow: 0 0 0 3px rgba(109, 182, 242, 0.18);
}
.hf-custom-dropdown-trigger--inline {
  width: auto;
  min-width: 6.25rem;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
}


.hf-phone-dial-prefix {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.hf-phone-dial-prefix > .hf-custom-dropdown-trigger--inline {
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
}
#jobs-location-dropdown .hf-custom-dropdown-trigger {
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.125rem;
}
@media (min-width: 640px) {
  #jobs-location-dropdown .hf-custom-dropdown-trigger {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}
.hf-custom-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.25rem;
  max-height: 15rem;
  overflow-x: hidden;
  overflow-y: scroll;
  pointer-events: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #10131b;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.45),
    0 10px 10px -5px rgba(0, 0, 0, 0.35);
  z-index: 140;
  padding: 0.25rem 0;
  list-style: none;
  margin: 0;
}
.hf-custom-dropdown-list--narrow {
  right: auto;
  width: 14rem;
}

.hf-custom-dropdown-list.hidden {
  display: none !important;
}
.hf-custom-dropdown-list:not(.hidden) {
  display: block;
  z-index: 260;
}
[data-hf-cdd],
.hf-phone-dial-prefix {
  position: relative;
  z-index: 1;
  overflow: visible;
}
[data-hf-cdd]:has(.hf-custom-dropdown-list:not(.hidden)),
.hf-phone-dial-prefix:has(.hf-custom-dropdown-list:not(.hidden)) {
  z-index: 250;
}

[data-ui-settings-panel="account"],
[data-ui-settings-panel="account"] .hf-ui-stack,
[data-ui-settings-panel="account"] form.hf-ui-stack,
[data-ui-settings-panel="account"] .grid {
  overflow: visible;
}
.hf-custom-dropdown-list--entity-profile.hidden {
  display: none !important;
}
.hf-custom-dropdown-list--entity-profile:not(.hidden) {
  display: block;
  max-height: min(15rem, calc(100vh - 12rem));
  overflow-y: auto;
  z-index: 220;
}
.hf-custom-dropdown-list::-webkit-scrollbar {
  width: 0.625rem;
}
.hf-custom-dropdown-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
}
.hf-custom-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(63, 127, 220, 0.45);
  border-radius: 9999px;
  border: 1px solid rgba(16, 19, 27, 0.9);
}
.hf-custom-dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  cursor: pointer;
  color: #c9c7c6;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: #10131b;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.hf-custom-dropdown-option:hover,
.hf-custom-dropdown-option:focus,
.hf-custom-dropdown-option--active {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.hf-custom-dropdown-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}
.hf-custom-dropdown-flag--compact {
  width: 1.25rem;
  height: 0.875rem;
}
#jobs-location-dropdown .hf-custom-dropdown-flag {
  width: 1.25rem;
  height: 0.875rem;
}
.hf-custom-dropdown-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hf-custom-dropdown-chevron {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: #7b7f91;
}
#jobs-location-dropdown .hf-custom-dropdown-chevron {
  width: 0.875rem;
  height: 0.875rem;
}
