.window {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 300px;
  background: white;
  border: 2px solid #333;
  border-radius: 5px;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  z-index: 10;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center center;
}

.window.small { width: 200px; }
.window.normal { width: 500px; }
.window.medium { width: 800px; }
.window.large { width: 700px; }

@keyframes windowOpen {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes windowClose {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0; }
}

.window-header {
  background: #333;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
}

.window-body {
  padding: 15px;
}

.window-header button {
  background: #555;
  color: #fff;
  border: 2px outset #888;
  padding: 2px 6px;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
}

.window-header button:hover {
  background: #c33;
}

.window-header button:active {
  border: 2px inset #888;
  background: #900;
}