.activitiesOverview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(30px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 60px 40px 40px;
  color: #00d4ff;
}

.activitiesOverview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 153, 204, 0.06) 0%, transparent 50%);
  animation: neonOverlayShift 15s ease-in-out infinite;
  z-index: -1;
}

@keyframes neonOverlayShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.searchContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.searchBox {
  display: flex;
  align-items: center;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 24px;
  padding: 12px 20px;
  width: 400px;
  gap: 12px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), inset 0 1px 0 rgba(0, 255, 255, 0.1);
  color: #00d4ff;
}

.searchBox input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #00d4ff;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.searchBox input::placeholder {
  color: rgba(0, 212, 255, 0.6);
}

.workspaces {
  flex: 1;
  margin-bottom: 40px;
}

.workspace {
  margin-bottom: 30px;
}

.workspaceLabel {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.windowsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  justify-items: center;
}

.windowPreview {
  width: 300px;
  height: 200px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.windowPreview:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 255, 255, 0.1);
  transform: translateY(-2px);
}

.windowHeader {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(10, 14, 39, 0.8);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.windowIcon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  transform: scale(0.5);
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.windowTitle {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.closeButton {
  background: none;
  border: none;
  color: #00d4ff;
  cursor: pointer;
  padding: 2px;
  border-radius: 2px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.closeButton:hover {
  opacity: 1;
  background: rgba(0, 212, 255, 0.2);
  color: #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.windowContent {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 40px);
}

.windowPlaceholder {
  opacity: 0.4;
  transform: scale(2);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.appsGrid {
  margin-top: auto;
}

.sectionTitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 20px;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.appItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.appItem:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

.appIcon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
}

.appName {
  font-size: 12px;
  text-align: center;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

@media (max-width: 768px) {
  .activitiesOverview {
    padding: 40px 20px 20px;
  }

  .searchBox {
    width: 100%;
    max-width: 400px;
  }

  .windowsGrid {
    grid-template-columns: 1fr;
  }

  .windowPreview {
    width: 100%;
    max-width: 300px;
  }

  .apps {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 15px;
  }
}
