.mobile-top-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.mobile-menu-toggle {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mobile-menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-top-bar-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.mobile-menu-toggle:hover {
  opacity: 0.7;
}
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #2c3e50;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: none;
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: none;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-sidebar {
  position: fixed;
  top: 56px;
  left: -280px;
  width: 280px;
  height: calc(100% - 56px);
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.mobile-sidebar-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  background: #ffffff;
}

.mobile-sidebar-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.mobile-sidebar-menu li {
  margin: 0;
}

.mobile-sidebar-menu li a {
  display: block;
  padding: 14px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-sidebar-menu li a:hover {
  background: #f8f9fa;
  color: #1a252f;
}

.mobile-sidebar-menu .mobile-submenu {
  position: relative;
}

.mobile-sidebar-menu .mobile-submenu > a {
  position: relative;
  padding-right: 45px;
}

.mobile-sidebar-menu .mobile-submenu > a::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.mobile-sidebar-menu .mobile-submenu.active > a::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.mobile-sidebar-menu .mobile-submenu ul {
  display: none;
  background: #fafafa;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-sidebar-menu .mobile-submenu.active ul {
  display: block;
}

.mobile-sidebar-menu .mobile-submenu ul li a {
  padding: 12px 20px 12px 40px;
  font-size: 14px;
  color: #666;
  border-left: 3px solid transparent;
}

.mobile-sidebar-menu .mobile-submenu ul li a:hover {
  background: #f0f0f0;
  color: #333;
  border-left-color: #00c0ed;
}

@media screen and (max-width: 768px) {
  .tm-menus {
    display: none !important;
  }
  
  .mobile-top-bar {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  body {
    padding-top: 56px;
    transition: transform 0.3s ease;
  }
  
  .main-tu {
    padding-top: 0;
    padding-left: 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .mobile-sidebar-menu li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li:nth-child(1) {
    transition-delay: 0.1s;
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li:nth-child(2) {
    transition-delay: 0.15s;
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li:nth-child(3) {
    transition-delay: 0.2s;
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li:nth-child(4) {
    transition-delay: 0.25s;
  }
  
  .mobile-sidebar.active .mobile-sidebar-menu li:nth-child(5) {
    transition-delay: 0.3s;
  }
}

@media screen and (max-width: 480px) {
  .mobile-sidebar {
    width: 260px;
    left: -260px;
  }
  
  .mobile-menu-toggle {
    top: 12px;
    left: 12px;
  }
  
  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 5px 0;
  }
}

.mobile-sidebar-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #666666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.mobile-sidebar-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333333;
}