#board {
  display: grid;
  grid-template-columns: repeat(8, 60px);
  grid-template-rows: repeat(8, 60px);
  width: 480px;
  border: 2px solid black;
}

.white {
  background-color: #f0d9b5;
}

.black {
  background-color: #b58863;
}

.highlight {  
  display: none;
}

.selected {
  box-shadow: 0 0 0 3px green inset;
}

.valid {
  box-shadow: 0 0 0 3px red inset;
}

.square {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  border: 1px solid transparent; /* ensures full outline appears */
  box-sizing: border-box; /* include border in layout */
  cursor: default; /* default pointer by default */
}

.moveable:hover {
  cursor: pointer; /* hand pointer */
}

.status-bar {
  width: 484px; /* same as board */
  background-color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 8px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-sizing: border-box; /* ensures padding included in width */
  text-align: center;
}


.toolbar {
  width: 484px; /* same as board */
  background-color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 8px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-sizing: border-box; /* ensures padding included in width */
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info, .settings {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* ===== Menu Overlay ===== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

.menu-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.menu-box select,
.menu-box button {
  padding: 6px;
  font-size: 14px;
}

.menu-box button {
  cursor: pointer;
}


body {
  font-family: 'Courier New', Courier, monospace;
  background: #caced3;
  display: flex;             
  flex-direction: column;    /* Stack children vertically */
  justify-content: center;   
  align-items: center;       
  height: 100vh;             
  text-align: center;
  padding: 2em;
  margin: 0;                 
}