    .switchButtons button {
    transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.switchButtons button.active {
    opacity: 1;
}

.switchButtons button:not(.active) {
    opacity: 0.6;
}

.formContainer {
    display: none;
}

#registerForm {
    display: block;
}

.sidebar {
    display: none;
}
.openbtn {
    display: none;
}

.overlaytus {
    display: none;
}

.sidebar {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 99999999 !important;
  top: -10px;
  left: 0;
  background-color: rgba(32, 129, 83, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  color: white;
}
.sidebar-button {
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 100px;
    background-color: #F07E26;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: white;
    margin-top: auto; /* Чтобы кнопка всегда была внизу */
    position: absolute;
    bottom: 130px !important;
    left: 20px;
}
.sidebar a {
  padding: 10px 30px;
  text-decoration: none;
  font-size: 22px;
  color: white;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: rgba(19, 125, 59, 0.95);
}

.sidebar .closebtn_first {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
}

.openbtn {
  font-size: 30px;
  cursor: pointer;
  color: #383C38;
  padding: 10px 15px;
  border: none;
  margin: 10px;
  background-color: transparent;
}

.overlaytus {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: 1;
}

/* Когда меню открыто */
.sidebar.open {
  width: 100%; /* или 70%, чтобы не на всю ширину */

}
.overlaytus.show {
  opacity: 1;
  visibility: visible;
}
.language-dropdown {
  position: relative;
  margin-left: 20px;
}

.language-btn {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.language-menu {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(32, 129, 83, 0.95);
  border: 1px solid #ccc;
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.language-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.language-menu a:hover {
  text-decoration: underline;
}

/* Когда открыто */
.language-dropdown.open .language-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: flex; /* Уже у тебя стоит — оставляем */
}
.sidebar-links {
    margin-top: 50px;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

/* Когда открыто — поворачиваем стрелку вверх */
.language-dropdown.open .arrow-icon {
  transform: rotate(180deg);
}
