/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  margin-left: auto;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-actions {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-actions.active {
    transform: translateX(0);
  }

  .mobile-menu-toggle.active span:first-child {
    transform: translateY(10px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:last-child {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* Специальные стили для элементов в мобильном меню */
  .btn-saved,
  .btn-instruction,
  .btn-support {
    width: 80%;
    justify-content: center;
    margin: 5px 0;
  }

  .user-info {
    width: 80%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
  }

  .nav-settings {
    margin-bottom: 10px;
  }

  .user-label {
    margin: 10px 0;
  }

  .btn-auth {
    width: 80%;
    justify-content: center;
    margin: 5px 0;
  }

  .logout-form {
    width: 80%;
  }

  .btn-logout {
    width: 100%;
    justify-content: center;
  }
}
