/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f9d6e4; /* Pastel pink background */
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Desktop */
.desktop {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Taskbar */
.taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: #ffb6c1; /* Pastel pink taskbar */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.start-button {
  font-weight: bold;
  cursor: pointer;
  padding: 5px 10px;
}

.taskbar-icons {
  display: flex;
  gap: 5px;
}

.taskbar-icon {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.taskbar-icon:hover {
  background-color: #ffb6c1;
  color: #fff;
}

.time {
  font-size: 14px;
}

/* Window */
.window {
  width: 50vw;
  height: 50vh;
  max-width: 100vw;
  max-height: 100vh;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  resize: both;
  /* transition: all 0.3s ease; */
}

@media (max-width: 480px) {
  .window {
    width: 100%;
    height: 100%;
    border-radius: 0;
    resize: none;
  }
}

.window-header {
  height: 30px;
  background-color: #ffb6c1; /* Pastel pink header */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  font-weight: bold;
  cursor: move;
}

.window-controls span {
  cursor: pointer;
  margin-left: 10px;
  padding: 5px;
}

.window-controls span:hover {
  color: #ff69b4; /* Brighter pink for hover */
}

.window-body {
  display: flex;
  height: calc(100% - 30px);
}

@media (max-width: 480px) {
  .window-body {
    flex-direction: column;
  }
}

.drawer {
  width: 40%;
  background-color: #ffe4e1; /* Light pastel pink for drawer */
  padding: 10px;
  border-right: 1px solid #ffb6c1;
}

@media (max-width: 480px) {
  .drawer {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ffb6c1;
  }
}

.drawer-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-bottom: 5px;
  background-color: #fff;
  border: 1px solid #ffb6c1;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  color: #333;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.drawer-button.active, .drawer-button:hover, .drawer-button:focus {
  background-color: #ffb6c1; /* Brighter pink for active/hover */
  color: #fff;
  outline: none;
}

.content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: #ffe4e1;
}

.content::-webkit-scrollbar-thumb {
  background: #ffb6c1;
  border-radius: 4px;
}

.content-item {
  display: none;
}

.content-item.active {
  display: block;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  bottom: 50px;
  left: 10px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  padding: 10px 20px;
  cursor: pointer;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: #f0f0f0;
  outline: none;
}