@import url('data:font/woff2;base64,d09GMgABAAAAAAWYAAoAAAAABNwAAAVNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgkIKgySCWwsIAAE2AiQDCgQgBQYHOBuzA8iOw7jhO7LFUv7jgf/X/X+f2fOe/+4HkCk3U6aE6hLVZJdcgtZZdprEU+HqGneSTFNJCyQtsLJAE7fAAk5xAtYvR02WQjvK5YXgCZCEP2GdNOKuuA2b5qHhre42EKUpAAhNATB8ysRx7lVCJYRtxfcI24xBgDACmAJSEPSLOEIwREG/iAYmsSIiVUKx+A80EQCI0uxGEEtRgfXYBYhAVJYkA3v2bVyW1JdNzjI1c7oew7s5u4a3tXaJr41j2s6xdjjLlkVrZFtrc9vYFJ293kUbrXw8Y5y99vZ5tN8Re/vd4+Py3j6O9L1n6q5ed3W9k5v7OD7g3oYt/dYOej7gy+AXw3LDXrKi+41xz/u+GPSyC1sGfxu8a8DJ3icP9K3tXc3Omlva/k9LppNpSy0lPjEOSN7K9rZM6S0kPwQQ+LdiQn1Ok+8+HVreLvn84fhgz6t5rfe8Puz1kNsXQnFKKwrfD/nt/5Ir92b+OuzpE9e/fK0HQGCkHTmvTHnW9HfE6CIoD3/37+sM/hcPxr1gTsAVDgTaUsyEGqI2yKdZi6hQy1FFEBUNW6Tk0EKjJSInIpOKdxHH+ZNnFdJiQwAA=' format('woff2')), monospace;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 12px;
  overflow: hidden;
  background: #C0C0C0;
  cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAASCAYAAACE1oM7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAdgAAAHYBTnsmCAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFYSURBVDiNpZM9SwNBEIafgxBsbGwtLQQrwcJCG1sLG1vBQrBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLCwULCwsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQsLGwsLBQ'), auto;
  line-height: 1.2;
}

.app {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.desktop {
  width: 100%;
  height: 100%;
  position: relative;
  background: #C0C0C0;
  background-image: 
    radial-gradient(circle at 25% 25%, #000 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, #000 1px, transparent 1px),
    radial-gradient(circle at 25% 75%, #000 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, #000 1px, transparent 1px);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px, 0 2px, 2px 0;
}

.window {
  position: absolute;
  background: #C0C0C0;
  border: 3px solid #000;
  box-shadow: 3px 3px 0px #808080;
  min-width: 200px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.window-titlebar {
  background: #C0C0C0;
  border-bottom: 2px solid #000;
  padding: 4px 8px;
  font-weight: bold;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  user-select: none;
}

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

.window-button {
  width: 16px;
  height: 16px;
  background: #C0C0C0;
  border: 1px solid #000;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
}

.window-button:hover {
  background: #A0A0A0;
}

.window-content {
  flex: 1;
  background: #C0C0C0;
  overflow: auto;
}

.window-resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  cursor: se-resize;
  background: linear-gradient(-45deg, transparent 4px, #000 4px, #000 6px, transparent 6px);
}

.terminal {
  background: #C0C0C0;
  color: #000;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 11px;
  padding: 8px;
  height: 100%;
  overflow-y: auto;
  line-height: 1.3;
}

.terminal-line {
  margin-bottom: 2px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-cursor {
  background: #000;
  color: #C0C0C0;
  animation: blink 1.06s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.file-manager {
  padding: 8px;
  height: 100%;
}

.file-header {
  display: grid;
  grid-template-columns: 1fr 80px 120px;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #000;
  margin-bottom: 4px;
  font-weight: bold;
}

.file-list {
  height: calc(100% - 30px);
  overflow-y: auto;
}

.file-item {
  display: grid;
  grid-template-columns: 1fr 80px 120px;
  gap: 8px;
  padding: 2px 0;
  cursor: pointer;
}

.file-item:hover {
  background: #A0A0A0;
}

.clock-widget {
  padding: 12px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.clock-date {
  font-size: 11px;
  margin-bottom: 4px;
}

.clock-time {
  font-size: 14px;
  font-weight: bold;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.graphics-demo {
  padding: 8px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.retro-canvas {
  border: 1px solid #000;
  background: #C0C0C0;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.tools-panel {
  padding: 8px;
  height: 100%;
}

.tools-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 8px;
}

.tools-done {
  text-align: center;
  padding: 2px 8px;
  border: 1px solid #000;
  margin-bottom: 8px;
  cursor: pointer;
  background: #C0C0C0;
}

.tools-done:hover {
  background: #A0A0A0;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  font-size: 10px;
}

.tool-item {
  padding: 2px 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.tool-item:hover {
  border: 1px solid #000;
  background: #A0A0A0;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #C0C0C0;
  border: 1px solid #000;
}

::-webkit-scrollbar-thumb {
  background: #808080;
  border: 1px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background: #606060;
}

/* Selection styles */
::selection {
  background: #000;
  color: #C0C0C0;
}

/* Retro cursor styles for different actions */
.window:hover {
  cursor: default;
}

.window-titlebar:hover {
  cursor: move;
}

.window-resize-handle:hover {
  cursor: se-resize;
}