.taskbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 30px;
  background: linear-gradient(180deg, #2563d4 0%, #1a4fc4 6%, #1d56cc 50%, #1a4fc4 94%, #1845b8 100%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 0;
  user-select: none;
}

.taskbar-start {
  height: 100%;
  padding: 0 12px 0 8px;
  background: linear-gradient(180deg, #57a818 0%, #3d8c10 8%, #438f12 40%, #3d8c10 92%, #336b0c 100%);
  border: none;
  border-radius: 0 10px 10px 0;
  box-shadow: 1px 0 3px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  color: white;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  font-weight: bold;
  font-style: italic;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
}

.taskbar-start img {
  width: 16px;
  height: 16px;
}

.taskbar-start:hover {
  filter: brightness(1.1);
}

.taskbar-divider {
  width: 1px;
  height: 22px;
  background: rgba(0,0,0,0.3);
  box-shadow: 1px 0 0 rgba(255,255,255,0.15);
  margin: 0 3px;
}

.tasklist {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}

.taskbar-tab {
  text-decoration: none;
  height: 22px;
  max-width: 160px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 3px;
  border: none;
  outline: 1px solid rgba(8, 41, 111, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.taskbar-tab img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.taskbar-tab.active {
  background: linear-gradient(180deg, #164dbc 0%, #184eb8 100%);
  box-shadow: inset -1px -1px 3px #2a5db6, inset 1px 0.5px 2px rgba(0,0,0,0.5);
}

.taskbar-tab:not(.active) {
  background: linear-gradient(180deg, #4892f7 0%, #397df3 30%, #3980f4 66%, #3981f4 100%);
  box-shadow: inset 2px 0 2px rgba(155,197,255,0.5), inset -1px -0.5px 3px #2652b0;
}

.taskbar-tab:not(.active):hover {
  filter: brightness(1.1);
}

.taskbar-spacer {
  flex: 1;
}

.systray {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 6px;
  background: linear-gradient(180deg, #0e47b3 0%, #1254c8 50%, #0e47b3 100%);
  border-left: 1px solid rgba(0,0,0,0.3);
}

.systray img {
  width: 16px;
  height: 16px;
}

.taskbar-clock {
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  color: white;
  white-space: nowrap;
  padding-left: 4px;
}

@media (max-width: 600px) {
  .taskbar-tab img {
    display: none;
  }

  .taskbar-tab {
    padding: 0 6px;
  }

  .systray img {
    display: none;
  }

  .taskbar-start img {
    display: none;
  }
}

@media (max-width: 400px) {
  .taskbar-start span {
    display: none;
  }

  .taskbar-tab span {
    display: none;
  }

  .taskbar-tab {
    min-width: 20px;
    padding: 0 4px;
  }
}
