/* Custom styles for Xerox Star simulation */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  background: #c0c0c0;
  user-select: none;
  overflow: hidden;
}

/* Window shadows for depth */
.absolute.bg-gray-200 {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Icon hover effects */
.cursor-pointer:hover {
  filter: brightness(1.1);
}

/* Calculator button styling */
.grid button {
  transition: background-color 0.1s;
  border: 1px solid #333;
}

/* Text selection styling */
::selection {
  background: rgba(59, 130, 246, 0.3);
}

/* Retro scrollbars */
::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border: 1px inset #ccc;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border: 1px outset #aaa;
}

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

/* Window title bar styling */
.cursor-move {
  background: linear-gradient(to bottom, #4a5568, #2d3748);
}

/* Icon selection highlighting */
.bg-blue-500.bg-opacity-30 {
  border: 1px dashed #3b82f6;
  background: rgba(59, 130, 246, 0.2) !important;
}

/* Retro button styling */
button {
  border: 2px outset #c0c0c0;
}

button:active {
  border: 2px inset #c0c0c0;
}

/* Document text styling */
.font-mono {
  line-height: 1.4;
}

/* Calculator display styling */
.text-green-400 {
  color: #4ade80;
  text-shadow: 0 0 5px #4ade80;
}

/* Mail system styling */
.border-gray-400 {
  border-style: inset;
  border-width: 2px;
}

/* Desktop pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.1) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

/* Window resize cursor */
.absolute.bg-gray-200:hover {
  cursor: default;
}

/* Status bar styling */
.bg-gray-800 {
  border-top: 1px solid #4a5568;
  font-family: 'Courier New', monospace;
}

/* Authentic 1980s color palette */
.bg-gray-300 {
  background-color: #d0d0d0;
}

/* Icon animation on selection */
.bg-blue-500.bg-opacity-30 {
  animation: iconSelect 0.2s ease-in-out;
}

@keyframes iconSelect {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Dialog styling */
.fixed.inset-0 {
  backdrop-filter: none;
}

.border-4 {
  border-style: outset;
}

/* Link styling */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}