#arc_language_selector {
  cursor: pointer;
  line-height: 1.4;
}

.arc_language_selector__fixed_position {
  position: fixed;
  bottom: 1em;
  right: 1em;
}

.arc_language_selector__detect_theme_position {
  display: inline-block;
  position: relative;
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  text-align: unset;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                          supported by Chrome, Edge, Opera and Firefox */
}

.arc-ls-sticky {
  display: flex;
  align-items: center;
  padding: 0.3em;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  color: #444444;
}

.arc-ls-sticky > div {
  display: flex;
  align-items: center;
}

.arc-ls-sticky span,
.arc-ls-sticky img {
  margin: 0 0.2em;
}

.arc-ls-sticky img {
  width: calc(1em * 4 / 3);
  height: 1em;
  object-fit: cover;
  border-radius: 0.2em;
}

.arc-ls-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  text-align: left;
}

.arc-ls-popup__ar {
  text-align: unset;
}

.arc-ls-popup__open {
  display: flex;
}

.arc-ls-popup > div {
  min-width: 240px;
  position: relative;
  background-color: #ffffff;
  margin: 1em;
  padding: 2em;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
}

.arc-ls-title {
  text-align: center;
  margin: 0 1em 1em;
  font-size: 1.2em;
}

.arc-ls-close-icon {
  position: absolute;
  top: 0em;
  right: 0em;
  width: 2.4em;
  height: 2.4em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arc-ls-close-icon svg {
  width: 1.2em;
  height: auto;
  transition: transform 0.2s;
  fill: inherit;
}

.arc-ls-close-icon:hover svg {
  transform: scale(1.5);
}

.arc-ls-selector {
  margin-bottom: 1em;
  position: relative;
}

.arc-ls-selector-label {
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

.arc-ls-selector-head {
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  color: #444444;
  border-radius: 0.3em;
}

.arc-ls-selector-body {
  margin-top: 0.2em;
  position: absolute;
  background-color: #ffffff;
  width: 100%;
  z-index: 1;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
  display: none;
  border-radius: 0.3em;
  overflow: hidden;
  background-color: #ffffff;
  color: #444444;
}

.arc-ls-selector-body > div {
  max-height: 240px;
  overflow-y: auto;
}

.arc-ls-selector-body .arc-ls-selector-item {
  border-bottom: 1px solid #dcdcdc;
}

.arc-ls-selector__open .arc-ls-selector-body {
  display: block;
}

/* Width */
#arc_language_selector .arc-ls-selector-body > div::-webkit-scrollbar {
  width: 0.5em;
}

/* Track */
#arc_language_selector .arc-ls-selector-body > div::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
#arc_language_selector .arc-ls-selector-body > div::-webkit-scrollbar-thumb {
  background: #bbbbbb;
  border-radius: 0.3em;
}

/* Handle on hover */
#arc_language_selector .arc-ls-selector-body > div::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.arc-ls-selector-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  gap: 0.5em;
}

.arc-ls-selector-item-flag {
  display: flex;
  align-items: center;
}

.arc-ls-selector-item-flag img {
  width: calc(1em * 4 / 3);
  height: 1em;
  object-fit: cover;
  border-radius: 0.2em;
}

.arc-ls-selector-item-name {
  flex: 1;
  line-height: 1;
}

.arc-ls-selector-item-icon {
  display: flex;
  align-items: center;
}

.arc-ls-selector-item-icon svg {
  width: 1em;
  height: auto;
  fill: inherit;
}

.arc-ls-action {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 2em;
}

.arc-ls-action > div {
  padding: 0.6em;
  width: calc(50% - 2em);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0.3em;
  box-sizing: content-box;
}

.arc-ls-action-cancel {
  background-color: #f1f1f1;
  color: #444444;
}

.arc-ls-action-submit {
  background-color: #444444;
  color: #f1f1f1;
}

/* ----------------------------------- */
/* DETECT THEME POSITION */
.arc-highlight {
  outline: 1px solid red;
  cursor: pointer;
}

.arc-action-block {
  position: absolute;
  z-index: 999999;
}

.arc-action-btn {
  min-width: 60px;
  min-height: 34px;
  background-color: #1ab6cf;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 0.3em;
}

.arc-action-btn:hover,
.arc-action-btn_selected {
  background-color: 148ea1;
}

.arc-submit-block {
  z-index: 999999999999;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1em 3em;
  display: flex;
  align-items: center;
  box-shadow: 5px 10px 8px 10px #888888;
  cursor: pointer;
}

.arc-submit-block button {
  min-width: 100px;
  min-height: 40px;
  border: none;
  color: #ffffff;
  margin-left: 1em;
  border-radius: 0.3em;
}

.arc-submit-block .__discard {
  background-color: #e04b59;
}

.arc-submit-block .__discard:hover {
  background-color: #d32535;
}

.arc-submit-block .__submit {
  background-color: #1ab6cf;
}

.arc-submit-block .__submit:hover {
  background-color: #148ea1;
}

.arc-submit-block .__disabled {
  background-color: #dcdcdc;
  color: #999999;
}

.arc-submit-label {
  display: flex;
  flex: 1;
  color: #007bff;
  font-size: 1.2em;
}
/* END DETECT THEME POSITION */
/* ----------------------------------- */

/* ----------------------------------- */
/* DETECT ALTERNATES */
.arc-ls-detect-alternates {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.arc-ls-detect-alternates > div {
  max-width: 600px;
  text-align: center;
  padding: 1em;
  margin: 1em;
  font-size: 2em;
  color: blue;
  background-color: #ffffff;
  line-height: 1.3;
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px,
    rgba(0, 0, 0, 0.12) 0px 1px 8px 0px;
}
/* END DETECT ALTERNATES */
/* ----------------------------------- */
