/* Estilos principales */
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  height: 100vh;
  overflow: hidden;
}

#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#toolbar {
  margin-bottom: 10px;
}

#toolbar button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#toolbar button:hover {
  background-color: #1976d2;
}

#world {
  display: grid;
  gap: 1px;
  margin-top: 10px;
}

.tile {
  width: 40px;
  height: 40px;
  background-color: #ccc;
  border: 1px solid #999;
  cursor: pointer;
}

.grass {
  background-color: #7cfc00;
}

.water {
  background-color: #1e90ff;
}

.forest {
  background-color: #228b22;
}

/* Estilos diferenciados para el botón Reset */
#reset {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  display: block;
}

#reset:hover {
  background-color: #d32f2f;
}
