#skyjobs-country-switcher {
  --sj-country-blue: #135797;
  position: fixed;
  top: 44%;
  left: 0;
  z-index: 1200;
  margin: 0;
  transform: translateY(-50%);
  color: #162c45;
  font: 15px/1.35 system-ui, sans-serif;
  text-align: left;
}

#skyjobs-country-switcher > summary {
  display: flex;
  width: 62px;
  height: 60px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 3px solid var(--sj-country-blue);
  border-left: 0;
  border-radius: 0 36px 36px 0;
  background: #fff;
  color: var(--sj-country-blue);
  cursor: pointer;
  list-style: none;
  box-shadow: 1px 3px 12px #17365533;
  touch-action: manipulation;
}

#skyjobs-country-switcher > summary::-webkit-details-marker {
  display: none;
}

#skyjobs-country-switcher > summary:hover,
#skyjobs-country-switcher[open] > summary {
  background: #edf6ff;
}

#skyjobs-country-switcher .sj-country-trigger-text {
  font-size: 10px;
  font-weight: 750;
}

#skyjobs-country-switcher > summary:focus-visible,
#skyjobs-country-switcher .sj-country-list a:focus-visible {
  outline: 2px solid var(--sj-country-blue);
  outline-offset: 2px;
}

#skyjobs-country-switcher:not([open]) > .sj-country-panel {
  display: none;
}

#skyjobs-country-switcher .sj-country-panel {
  position: absolute;
  top: 50%;
  left: calc(100% + 9px);
  width: 345px;
  max-width: calc(100vw - 85px);
  max-height: 76vh;
  max-height: 76dvh;
  box-sizing: border-box;
  overflow: auto;
  overscroll-behavior: contain;
  transform: translateY(-50%);
  padding: 15px;
  border: 1px solid #cbd8e5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 34px #132f5140;
}

#skyjobs-country-switcher .sj-country-heading {
  margin: 0 0 3px;
  color: #162c45;
  font-size: 18px;
  font-weight: 750;
}

#skyjobs-country-switcher .sj-country-intro {
  margin: 0 0 10px;
  color: #465d76;
  font-size: 13px;
}

#skyjobs-country-switcher .sj-country-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#skyjobs-country-switcher .sj-country-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#skyjobs-country-switcher .sj-country-list a {
  display: flex;
  min-height: 44px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #193c60;
  background: #fff;
  font-weight: 650;
  text-decoration: none;
}

#skyjobs-country-switcher .sj-country-list a:hover,
#skyjobs-country-switcher .sj-country-list a[aria-current] {
  background: #edf6ff;
  border-color: #c5dcf3;
}

#skyjobs-country-switcher .sj-country-list img {
  display: block;
  width: 28px;
  height: 21px;
  flex: 0 0 28px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #142e4926;
}

#skyjobs-country-switcher .sj-country-list small {
  display: block;
  color: #3d5873;
  font-size: 11px;
}

@media (max-width: 599px) {
  #skyjobs-country-switcher > summary {
    width: 54px;
    height: 52px;
  }

  #skyjobs-country-switcher .sj-country-panel {
    width: 257px;
    max-width: calc(100vw - 77px);
    max-height: 68vh;
    max-height: 68dvh;
    padding: 12px;
  }

  #skyjobs-country-switcher .sj-country-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
