/* ===== MAIN WINDOW ===== */
.main-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; /*95vw;*/
  max-width: 90vw; /*1200px;*/
  height: 85vh;
  background-color: #c0c0c0;
  border: 2px outset #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

/* ===== TITLEBAR ===== */
.window-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  cursor: move;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.window-title img {
  width: 20px;
  height: 20px;
}

/* ===== WINDOW BUTTONS ===== */
.window-button {
  width: 24px;
  height: 24px;
  background-color: #c0c0c0;
  border: 2px outset #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  font-family: Arial, sans-serif;
}

.window-button:active {
  border-style: inset;
}

/* ===== TOOLBAR ===== */
.toolbar {
  background-color: #c0c0c0;
  border-bottom: 2px solid #808080;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.toolbar-button {
  background: silver;
  color: #000;
  border: 2px outset #C0C0C0;
  padding: 6px 12px;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.toolbar-button:active {
  border-style: inset;
}

/* ===== CONTENT ===== */
.window-content {
  flex: 1;
  background-color: #fff;
  overflow: auto;
  padding: 8px;
}

/* ===== FORM WINDOW VARIANT ===== */
.window-form .window-content {
  background-color: #c0c0c0;
  padding: 20px;
}
