body {
  margin: 0;
  padding: 0;
  font-family: "Tahoma", "Arial", sans-serif;
  font-size: 11px;
  background-color: #008080; /* Teal wallpaper */
  color: #000;
  overflow: hidden;
  user-select: none;
  height: 100vh;
}

.desktop {
  width: 100vw;
  height: calc(100vh - 28px);
  position: relative;
  box-sizing: border-box;
}

/* Desktop Icons */
.desktop-icons {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
  width: 80px;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.icon-img {
  font-size: 32px;
  margin-bottom: 5px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
}

.icon-label {
  font-size: 11px;
  padding: 2px 4px;
  background: transparent;
  text-shadow: 1px 1px 1px #000;
  word-break: break-all;
}

.icon:hover .icon-label {
  background-color: #000080;
}

/* Windows 95 Outset/Inset */
.win95-window {
  position: absolute;
  top: 100px;
  left: 150px;
  width: 320px;
  background-color: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  box-shadow: 1px 1px 0px #000000;
  padding: 3px;
  z-index: 10;
}

.win-title-bar {
  background: linear-gradient(90deg, #000080, #1080d0);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 4px 4px 4px;
  cursor: move;
}

.win-title {
  font-weight: bold;
}

.win-controls {
  display: flex;
  gap: 2px;
}

.ctrl-btn {
  background-color: #c0c0c0;
  border-top: 1.5px solid #ffffff;
  border-left: 1.5px solid #ffffff;
  border-bottom: 1.5px solid #808080;
  border-right: 1.5px solid #808080;
  color: #000;
  font-family: "Courier New", monospace;
  font-size: 9px;
  width: 14px;
  height: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.ctrl-btn:active {
  border-top: 1.5px solid #808080;
  border-left: 1.5px solid #808080;
  border-bottom: 1.5px solid #ffffff;
  border-right: 1.5px solid #ffffff;
}

.close-btn {
  margin-left: 2px;
  font-weight: bold;
}

.win-menu-bar {
  display: flex;
  gap: 12px;
  padding: 4px 6px;
  border-bottom: 1px solid #808080;
}

.win-menu-bar span {
  cursor: pointer;
}

.win-menu-bar span:hover {
  background: #000080;
  color: #fff;
}

.win-body {
  background: #ffffff;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  margin-top: 4px;
}

.notepad-textarea {
  width: 100%;
  height: 160px;
  border: none;
  resize: none;
  outline: none;
  font-family: "Courier New", monospace;
  font-size: 12px;
  padding: 5px;
  box-sizing: border-box;
}

/* Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 28px;
  background-color: #c0c0c0;
  border-top: 2px solid #ffffff;
  display: flex;
  align-items: center;
  padding: 2px;
  box-sizing: border-box;
  z-index: 100;
}

.start-btn {
  font-family: "Tahoma", "Arial", sans-serif;
  font-weight: bold;
  font-size: 11px;
  background-color: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  outline: none;
}

.start-btn:active {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.start-logo {
  font-size: 12px;
}

.task-divider {
  width: 2px;
  height: 20px;
  background-color: #808080;
  border-right: 1px solid #fff;
  margin: 0 8px;
}

.active-tasks {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.task-item {
  width: 120px;
  background-color: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.task-item.active {
  background-color: #e0e0e0;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  font-weight: bold;
}

.clock {
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  padding: 3px 8px 3px 8px;
  background-color: #c0c0c0;
  margin-right: 4px;
  font-size: 11px;
}
