.window__outer {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 500px;
  width: 500px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  border-radius: 0.5rem;
}

.window__outer.window__show {
  opacity: 1;
  transform: scale(1);
}

.window__outer.window__closing {
  opacity: 0;
  transform: scale(0.9);
}

.window__titlebar {
  background: #333;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  cursor: move;
  user-select: none;
}

.window__titlebar__text {
  flex-grow: 1;
  font-family: "JetBrains Mono", monospace;
  user-select: none;
}

.window__contents {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
}

.window__resize-handle {
  opacity: 0;
  width: 10px;
  height: 10px;
  position: absolute;
  z-index: 1;
  cursor: se-resize;
  bottom: 0;
  right: 0;
}

.window__close-btn {
  width: 1rem;
  cursor: pointer;
  filter: invert(100%) sepia(36%) saturate(2%) hue-rotate(333deg)
    brightness(107%) contrast(101%);
  -webkit-user-drag: none;
}

.window__icon {
  height: 1rem;
  margin-right: .5rem;
  -webkit-user-drag: none;
}