/* ---------- SWITCH IOS ORIGINAL ---------- */
.ios-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  margin-left: 1rem;
}
.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 28px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--secondary);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
/* ---------- SELECTOR IDIOMA ORIGINAL ---------- */
.lang-switcher {
  display: flex;
  gap: .25rem;
  margin-right: 1rem;
}
.lang-switcher button {
  border: none;
  background: transparent;
  color: var(--light);
  font-weight: 600;
  padding: .25rem .5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s;
}
.lang-switcher button.active,
.lang-switcher button:hover {
  background: var(--secondary);
}
.switcher-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
}
@media(max-width:768px){
  .switcher-wrapper {
    margin: .5rem 0 0 auto;
  }
}