* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Courier New", monospace;
}

/* ---------- Taskbar (same as the other pages) ---------- */

.taskbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.25);

  /* the taskbar keeps the same gradient look as the rest of the site */
  background: linear-gradient(to bottom, #0a1a4d, #3a0d5c);
}

.taskbar-btn {
  color: white;
  text-decoration: none;
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
}

.taskbar-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Two-section workspace layout ---------- */

.workspace {
  display: flex;
  height: calc(100% - 60px); /* full page height, minus the taskbar's height */
}

/* Left panel: tools/notes — same deep blue-to-purple gradient as the rest of the site */
.tools-panel {
  width: 30%;
  background: linear-gradient(to bottom, #0a1a4d, #3a0d5c);
  color: white;
  padding: 20px;
}

.project-title {
  font-family: "Courier New", monospace;
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
}

/* Right panel: staff area — plain white, for now */
.staff-panel {
  width: 70%;
  background-color: white;
}

#game {
    width: 100%;
    margin: 50px auto;
    text-align: center;
}

#canvas-container {
    width: 100%;
    height: 100%;
}

#note-buttons, #rest-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#note-buttons button, #rest-buttons button {
    width: 70px;
    height: 50px;
    font-size: 20px;
    font-weight: bold;
    background-color: white;
    border: 2px solid #333;
    border-radius: 6px;
    cursor: pointer;
}

#note-buttons button:hover, #rest-buttons button:hover {
    background-color: #ddd;
}

#note-buttons button:active, #rest-buttons button:active {
    background-color: #aaa;
}

.btn-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#note-buttons .selected, #rest-buttons .selected {
  background-color:#bfa7df
}

#editor-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

#editor-actions button {
  background: white;
  border: 2px solid #333;
  border-radius: 6px;
  padding: 10px 16px;
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

#editor-actions button:hover {
  background: #ddd;
}

.instructions-box {
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  text-align: left;
}

.instructions-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.instructions-box ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.7;
  font-size: 14px;
}