.gtgsc {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gtgsc__button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.gtgsc__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.gtgsc__icon-img {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 767px) {
  .gtgsc__icon,
  .gtgsc__icon-img {
    width: 16px;
    height: 16px;
  }
}

.gtgsc--light .gtgsc__button {
  color: #1f2937;
}
.gtgsc--light .gtgsc__button:hover {
  background: rgba(31, 41, 55, 0.08);
}

.gtgsc--dark .gtgsc__button {
  color: #ffffff;
}
.gtgsc--dark .gtgsc__button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.gtgsc__mini-flag {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gtgsc--light .gtgsc__mini-flag {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gtgsc--dark .gtgsc__mini-flag {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.gtgsc__mini-flag-img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .gtgsc__mini-flag,
  .gtgsc__mini-flag-img {
    width: 10px;
    height: 10px;
  }
}

.gtgsc__menu {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 20px);
  left: 0;
  transform: translateX(-50%);
  min-width: 140px;
  max-height: 320px;
  overflow: auto;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
  background: var(--e-global-color-accent);
  border: none;
}

.gtgsc--light .gtgsc__menu {
  background: var(--e-global-color-accent);
  border: none;
}

.gtgsc--dark .gtgsc__menu {
  background: var(--e-global-color-accent);
  border: none;
  color: inherit;
}

.gtgsc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gtgsc__item {
  margin: 0;
  padding: 0;
}

.gtgsc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  user-select: none;
}

.gtgsc__link:hover,
.gtgsc__link:focus {
  outline: none;
}

.gtgsc--light .gtgsc__link:hover,
.gtgsc--light .gtgsc__link:focus {
  background: rgba(0, 0, 0, 0.06);
}

.gtgsc--dark .gtgsc__link:hover,
.gtgsc--dark .gtgsc__link:focus {
  background: rgba(255, 255, 255, 0.10);
}

.gtgsc__link-flag {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.gtgsc__disabled {
  display: block;
  padding: 10px;
  opacity: 0.75;
}
