@charset "UTF-8";

:root {
  --fz-scrollbar-size: 7px;
  --fz-scrollbar-thumb: rgba(79, 195, 247, 0.65);
  --fz-scrollbar-thumb-hover: rgba(79, 195, 247, 0.9);
  --fz-scrollbar-track: rgba(18, 34, 45, 0.6);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--fz-scrollbar-thumb) var(--fz-scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--fz-scrollbar-size);
  height: var(--fz-scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--fz-scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--fz-scrollbar-thumb);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--fz-scrollbar-thumb-hover);
}

.lang-switcher {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 800;
  width: fit-content;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 43, 54, 0.9);
  color: #4fc3f7;
  border: 1px solid #4fc3f7;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 22px;
  background-image: linear-gradient(45deg, transparent 50%, #4fc3f7 50%), linear-gradient(135deg, #4fc3f7 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.lang-switcher:hover {
  background: rgba(79, 195, 247, 0.2);
  transform: translateY(-1px);
}

.lang-switcher:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.4);
}

.lang-switcher option {
  color: #1c2b36;
}


@media (max-width: 768px) {
  #lang-select.lang-switcher {
    width: fit-content;
    min-width: 0;
    max-width: none;
    padding: 4px 6px;
    font-size: 11px;
    text-align: center;
    padding-right: 6px;
    background-image: none;
  }
}
