.topBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  color: #e1e5f2;
}

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

.activitiesButton {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #e1e5f2;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.activitiesButton:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.activitiesButton.active {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.6);
}

.centerSection {
  flex: 1;
  display: flex;
  justify-content: center;
}

.title {
  font-size: 14px;
  font-weight: 500;
  color: #e1e5f2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.rightSection {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeDisplay {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  line-height: 1.2;
}

.time {
  font-weight: 600;
  color: #e1e5f2;
}

.date {
  color: #cbd5e1;
  font-size: 11px;
}

.powerButton {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.powerButton:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

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

  .title {
    font-size: 13px;
  }

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

  .timeDisplay {
    font-size: 11px;
  }

  .date {
    font-size: 10px;
  }

  .powerButton {
    padding: 4px;
  }
}

@media (max-width: 480px) {
  .title {
    display: none;
  }

  .timeDisplay {
    display: none;
  }
}
