body {
  /* font-family: Arial, sans-serif; */
  background-color: #008080;
  margin: 0;
  padding: 0;
  padding-bottom: 32px; /* Account for taskbar height */
}

.title-bar {
  position: absolute;
  width: calc(100% - 11px);
  cursor: move;
}

.title-bar-text {
  font-weight: bold;
}

.title-bar-controls a {
  color: white;
  text-decoration: none;
}

.window {
  position: absolute;
  width: 400px;
  z-index: 100;
}

.window-body {
  padding-top: 10px;
}

.main-window .window-body {
  height: calc(100% - 30px); /* Account for title bar height */
  padding: 14px 4px 4px;
}

.window-body a {
  text-decoration: none;
}

.window-body a:hover {
  text-decoration: underline;
}

#info {
  top: 10px;
  left: 10px;
}

#posts {
  top: 155px;
  left: 10px;
}

#posts marquee {
  padding: 10px;
}

#posts .post-header {
  font-weight: bold;
  font-size: 12px;
}

#post-content {
  top: 10px;
  left: 426px;
  width: 800px;
  height: 600px;
}

.maximized {
  top: 0 !important;
  left: 0 !important;
  width: calc(100% - 6px) !important;
  height: calc(100% - 38px) !important; /* Account for taskbar (30px) + margin (8px) */
  z-index: 1000;
}

/* Taskbar styles */
#taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 30px;
  z-index: 1001;
  background: #c0c0c0;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #808080;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  box-sizing: border-box;
}

#start-button {
  height: 24px;
  padding: 2px 8px;
  background: #c0c0c0;
  border: 1px outset #c0c0c0;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  cursor: pointer;
}

#start-button:hover {
  background: #dfdfdf;
}

#start-button:active {
  border: 1px inset #c0c0c0;
  background: #a0a0a0;
}

#taskbar-buttons {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  background: #c0c0c0;
  height: 20px;
  margin-right: 4px;
}

.taskbar-button {
  height: 18px;
  padding: 1px 6px;
  font-size: 11px;
  min-width: 80px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #c0c0c0;
  border: 1px outset #c0c0c0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.taskbar-button:hover {
  background: #dfdfdf;
}

.taskbar-button:active {
  border: 1px inset #c0c0c0;
  background: #a0a0a0;
}

#system-tray {
  background: #c0c0c0;
  border: 1px inset #c0c0c0;
  padding: 2px 6px;
  height: 20px;
  display: flex;
  align-items: center;
  font-size: 11px;
}

#clock {
  font-family: "MS Sans Serif", sans-serif;
  font-size: 11px;
}

/* Start Menu styles */
#start-menu {
  position: fixed;
  bottom: 32px;
  left: 0;
  width: 180px;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  z-index: 1002;
  font-family: "MS Sans Serif", sans-serif;
  font-size: 11px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.start-menu-header {
  background: linear-gradient(90deg, #000080 0%, #0000ff 100%);
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 12px;
  border-bottom: 1px solid #808080;
}

.start-menu-items {
  padding: 2px 0;
}

.start-menu-item {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  cursor: pointer;
  transition: background-color 0.1s;
}

.start-menu-item:hover {
  background: #316ac5;
  color: white;
}

.start-menu-icon {
  font-size: 16px;
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

.start-menu-text {
  flex: 1;
  white-space: nowrap;
}

.start-menu-separator {
  height: 1px;
  background: #808080;
  margin: 2px 8px;
  border-top: 1px solid #dfdfdf;
}
  
/* Portrait styling for Information window */
.info-window-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.portrait-image {
  max-width: 80px;
  max-height: 100px;
  width: auto;
  height: auto;
  margin-top: 5px;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
}
