.topBar {
  height: 32px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #00d4ff;
  font-size: 14px;
  font-weight: 400;
  z-index: 1000;
  user-select: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1), 0 0 10px rgba(0, 212, 255, 0.05);
  position: relative;
}

.topBar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(0, 255, 255, 0.05) 50%,
    rgba(0, 212, 255, 0.1) 100%
  );
  z-index: -1;
}

.left {
  display: flex;
  align-items: center;
}

.activitiesButton {
  background: none;
  border: none;
  color: #00d4ff;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.activitiesButton::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.activitiesButton:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.activitiesButton:hover::before {
  left: 100%;
}

.activitiesButton.active {
  background: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.6);
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.center {
  display: flex;
  align-items: center;
}

.dateTime {
  text-align: center;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.dateTime:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.5);
}

.time {
  font-size: 14px;
  font-weight: 600;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.date {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 1px;
  color: #00d4ff;
}

.right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.systemIndicators {
  display: flex;
  align-items: center;
  gap: 6px;
}

.indicator {
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: #00d4ff;
}

.indicator:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
  color: #00ffff;
}

.userMenu {
  position: relative;
}

.userButton {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(0, 212, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.userButton:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.5);
}

.userAvatar {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #00d4ff, #00ffff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e27;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3), 0 0 15px rgba(0, 255, 255, 0.2);
}

.userDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  z-index: 1001;
  animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.userInfo {
  padding: 12px;
  text-align: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.userName {
  font-weight: 600;
  margin-bottom: 4px;
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.userStatus {
  font-size: 12px;
  opacity: 0.8;
  color: #00ffaa;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

.menuDivider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
  margin: 8px 0;
}

.menuItem {
  width: 100%;
  background: none;
  border: none;
  color: #00d4ff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.menuItem::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.menuItem:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateX(4px);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.menuItem:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .topBar {
    padding: 0 8px;
  }

  .systemIndicators {
    gap: 4px;
  }

  .date {
    display: none;
  }

  .activitiesButton {
    padding: 4px 12px;
    font-size: 13px;
  }
}
