body {
  font-family: "Tahoma", "Arial", sans-serif;
  background-color: #0084c2;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  user-select: none;
}

.desktop {
  background-image: url('../assets/desktop.jpg');
  background-size: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.desktop .icon {
  width: 48px;
  height: 48px;
  position: absolute;
  user-select: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.desktop .icon > img {
  pointer-events: none;
  user-select: none;
  width: 48px;
  height: 48px;
}

.desktop .taskbar {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to top, #3b5998, #3b5998);
height: 60px;
padding: 4px;
box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: space-between;
}

.desktop .taskbar .start-button {
padding: 5px 10px;
background-color: #27c93f;
color: #fff;
border-radius: 5px;
cursor: pointer;
width: 100px;
display: flex;
align-items: center;
}

.desktop .taskbar .taskbar-icons {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 5px;
overflow-y: hidden;
overflow-x: auto;
max-width: 100%;
align-items: center;
padding: 5px;
height: 45px;
}

.desktop .taskbar .taskbar-icons .icon {
display: inline-flex;
width: 40px;
height: 40px;
background-color: #ffffff;
border: 1px solid #c0c0c0;
border-radius: 3px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
cursor: pointer;
align-items: center;
justify-content: center;
font-size: 12px;
}

.window {
  width: 400px;
  height: 300px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  overflow: hidden;
  position: absolute;
}

.window .content {
font-family: "Tahoma", "Arial", sans-serif;
color: #000;
background-color: #C0C0C0;
padding: 10px;
width: calc(100% - 20px);
height: calc(100% - 20px);
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.window .content h1,
.window .content h2,
.window .content h3 {
color: #000080;
font-weight: bold;
margin: 5px 0;
}

.window .content p {
color: #000;
margin: 8px 0;
font-size: 13px;
}

.window .content input[type="text"],
.window .content input[type="password"],
.window .content input[type="email"],
.window .content input[type="number"],
.window .content textarea,
.window .content select {
display: block;
width: calc(100% - 16px);
padding: 4px;
margin: 8px 0;
font-size: 12px;
color: #000;
background-color: #f5f5f5;
border: 2px solid #a9a9a9;
box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.5);
}


.window .content button {
font-size: 12px;
padding: 3px 8px;
color: #000;
background-color: #e3e3e3;
border: 2px solid #c0c0c0;
border-radius: 2px;
box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7), -1px -1px 0 rgba(0, 0, 0, 0.1);
cursor: pointer;
margin: 8px 4px;
}

.window .content button:hover {
background-color: #d4d0c8;
}

.window .content button:active {
background-color: #c3c3c3;
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.window .content label {
font-size: 12px;
color: #000;
}

.window .content fieldset {
border: 1px solid #a9a9a9;
padding: 5px 10px;
margin: 10px 0;
}

.window .content legend {
color: #000080;
font-size: 12px;
padding: 0 5px;
}

.window .content .table {
width: 100%;
border-collapse: collapse;
margin: 8px 0;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.window .content .table th,
.window .content .table td {
border: 1px solid #c0c0c0;
padding: 4px;
font-size: 12px;
color: #000;
}

.window .content .table th {
background-color: #e3e3e3;
color: #000080;
}

.window .content .table tr:nth-child(even) {
background-color: #f5f5f5;
}

.highlight {
position: absolute;
background-color: rgba(173, 216, 230, 0.5);
border: 1px solid rgba(0, 0, 255, 0.8);
pointer-events: none;
z-index: 2;
}

.xp-canvas {
  border: 2px solid #3366CC;
  background-color: #E3EFFF;
  padding: 10px;
}

.xp-input {
  border: 1px solid #7F9DB9;
  border-radius: 2px;
  background-color: #FFFFFF;
  box-shadow: inset 1px 1px 1px #E0E0E0, inset -1px -1px 1px #FFFFFF;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
}

.xp-button {
  padding: 5px 10px;
  border: 1px solid #808080;
  background-color: #E3EFFF;
  color: #000000;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 1px 1px 2px #B0B0B0, -1px -1px 2px #FFFFFF;
}

.xp-button:hover {
  background-color: #C0D9FF;
}

.xp-button:active {
  background-color: #A9C6FF;
  box-shadow: inset 1px 1px 2px #5C7F9D;
}

.xp-text {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #000000;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 550px;
  width: 100%;
  border: 1px solid #a0a0a0;
}

.message-box {
  flex-grow: 1; 
  overflow-y: auto;
  padding: 10px;
}

.message-container {
  background-color: #e5e5e5;
  padding: 8px;
  border: 1px solid #a0a0a0;
  margin: 5px 10px;
  color: #000;
  font-size: 12px;
  font-family: "Tahoma", sans-serif;
  border-radius: 3px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.username {
  font-weight: bold;
  color: #000080;
  margin-right: 5px;
}

.timestamp {
  font-style: italic;
  color: #6c6c6c;
  font-size: 11px;
}

.input-container {
  display: flex;
  gap: 5px;
  padding: 10px;
  border-top: 1px solid #a0a0a0;
}

input[type="text"] {
  flex: 1;
  padding: 4px;
  font-family: "Tahoma", sans-serif;
  font-size: 12px;
  border-radius: 3px;
}

.notepad {
  width: 400px;
  height: 300px;
  background-color: #ffffff;
  border: 2px solid #000080;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 0px;
  overflow: hidden;
  position: absolute;
}

.notepad-textarea {
  font-family: "Courier New", monospace;
  color: #000;
  background-color: #f5f5f5;
  padding: 10px;
  width: 100%;
  height: 100%;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  border: none;
  resize: none;
}

.xp-color-palette {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.xp-color-box {
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  cursor: pointer;
}

.xp-custom-color-picker {
  margin: 5px;
  width: 40px;
  height: 20px;
  border: none;
  cursor: pointer;
}

/* Windows XP Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 2px 5px;
  z-index: 2000;
  box-sizing: border-box;
  background-color: #1c1c1c; /* XP taskbar dark gray */
  border-top: 1px solid #a0a0a0; /* Light gray border for separation */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow */
  font-family: 'Tahoma', sans-serif; /* XP system font */
}

/* Start button */
.start-button {
  margin-right: 10px;
  padding: 2px 10px;
  background: #c0c0c0; /* XP button background */
  border: 1px solid #a0a0a0; /* XP button border */
  border-radius: 3px;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.start-button:hover {
  background: #a0a0a0; /* Hover effect */
}

/* Taskbar icons */
.taskbar-icons {
  flex: 1;
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 4px;
}

/* Individual icons buttons */
.taskbar-icons button {
  height: 32px;
  padding: 0 10px;
  background-color: #c0c0c0; /* XP button background */
  border: 1px solid #a0a0a0; /* XP button border */
  border-radius: 3px;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.taskbar-icons button:hover {
  background-color: #a0a0a0; /* Hover effect */
}

.clock {
  width: 60px;
  text-align: center;
  font-family: 'Tahoma', sans-serif; /* Use XP's system font */
  font-size: 12px;
  background-color: #c0c0c0; /* XP clock background */
  padding: 4px;
  border: 1px solid #a0a0a0; /* XP clock border */
  border-radius: 3px;
  color: #000;
}

