/* Windows93 style with scroll panels */

body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: #008080 url('bg-tile.png') repeat;
  color: black;
  overflow-y: scroll;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #000080;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 6px 0;
  z-index: 1000;
  border-bottom: 3px solid black;
}

nav .nav-btn {
  background: #C0C0C0;
  border: 2px outset #fff;
  padding: 6px 12px;
  font-weight: bold;
  color: black;
  cursor: pointer;
  user-select: none;
  transition: all 0.1s ease;
}

nav .nav-btn:hover {
  background: #fff;
  border-style: inset;
}

nav .nav-btn.active {
  background: #000080;
  color: white;
  border-style: inset;
  cursor: default;
}

main {
  margin-top: 45px;
}

.panel {
  min-height: calc(100vh - 45px);
  padding: 20px;
  background: #C0C0C0;
  border: 2px solid black;
  margin: 10px 20px;
  box-shadow: 4px 4px #444;
  overflow-y: auto;
}

h1 {
  font-weight: bold;
  margin-bottom: 15px;
}

button {
  font-family: inherit;
  font-size: 14px;
  padding: 6px 12px;
  margin: 4px 6px 4px 0;
  border: 2px outset #ccc;
  background: #E0E0E0;
  cursor: pointer;
}

button.selected {
  border-style: inset;
  background: #000080;
  color: white;
}

.result-box {
  margin-top: 10px;
  padding: 10px;
  background: #FFF8DC;
  border: 1px solid #888;
  font-size: 13px;
  white-space: pre-line;
  min-height: 60px;
}

.card-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card {
  background: white;
  border: 2px solid black;
  padding: 10px;
  width: 220px;
  box-shadow: 2px 2px #444;
  font-size: 13px;
  user-select: none;
}
