/* ========== WINDOWS ========== */
.window {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 400px;
  height: 300px;
  background-color: #1e1e1e;
  border: 1px solid #444;
  box-shadow: 0 0 10px #000;
  z-index: 10;
  animation: windowPopIn 0.2s ease-out;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  resize: both;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  min-height: 150px;
  overflow: hidden;
  /* Prevent full window from scrolling */
}

.window-body {
  flex: 1;
  overflow: auto;
  padding: 10px;
}


.window:hover {
  box-shadow: 0 0 15px #000;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  color: white;
  padding: 4px 8px;
  font-family: monospace;
  font-weight: bold;
  cursor: move;
  user-select: none;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-grow: 1;
}

.window-icon {
  width: 16px;
  height: 16px;
}

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

.window-controls button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.window-controls button:hover {
  color: #f00;
}

.window-body {
  padding: 10px;
}

/* Entry Animation */
@keyframes windowPopIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}