/* amigaos.css – Styling inspired by Amiga Workbench */

body {
  background-color: #084b8a;
  font-family: "Courier New", monospace;
  color: #00ff00;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#desktop {
  width: 100vw;
  height: 100vh;
  position: relative;
  padding: 12px;
  background-color: #084b8a;
  background-image: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 72px;
  cursor: pointer;
  color: white;
  font-size: 12px;
  font-family: "Courier New", monospace;
}

.icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 4px;
}

.window {
  position: absolute;
  border: 3px ridge #ccc;
  width: 400px;
  box-shadow: 3px 3px 0 #222;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.title-bar {
  background-color: #336699;
  color: white;
  padding: 6px 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  user-select: none;
  font-size: 14px;
}

.title-bar .close-btn {
  background-color: #ccc;
  color: black;
  border: 1px solid #666;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
  cursor: pointer;
}

.window-content {
  flex: 1;
  padding: 0px;
  overflow: auto;
  font-size: 14px;
  font-family: "Courier New", monospace;
  white-space: pre-wrap;
}

/* Specific App Backgrounds */
.app-bbs .window-content {
  background-color: #000000;
  color: #00ff00;
}

.app-readme .window-content {
  background-color: #FFFFFF;
  color: #000000;
  font-family: Arial, sans-serif;
}

.app-calc .window-content,
.app-dev .window-content,
.app-trash .window-content {
  background-color: #DDDDDD;
  color: #000000;
}

.app-ascii .window-content {
  background-color: #000000;
  color: #00FF00;
  font-family: "Courier New", monospace;
}

.window iframe {
  width: 100%;
  height: 100%;
  border: none;
}

button {
  background-color: #336699;
  color: white;
  border: 1px solid #ccc;
  padding: 4px 8px;
  font-family: "Courier New", monospace;
  cursor: pointer;
}

input[type="text"] {
  background-color: black;
  color: #00ff00;
  border: 1px solid #00ff00;
  font-family: "Courier New", monospace;
  padding: 4px;
  font-size: 14px;
  width: 100%;
}
