body, h1, h2, p, table, button, input {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

#user-input-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align to the left */
  height: 150px; /* Fixed height to prevent expansion */
}

.user-input-form input {
  width: 120px; /* Adjust the width of the input boxes as needed */
  height: 30px;
}

#user-input-table {
  width: 15%; /* Adjust the width of the table as needed */
  margin-top: 20px; /* Add margin to the top */
}

#user-input-table input {
  width: 50px; /* Adjust the width as needed */
}

.user-input-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
}



table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 0.5px solid #ddd;
  padding: 1px; /* Reduce padding */
  text-align: left;
}

th {
  background-color: #f2f2f2;
  font-size: 14px; /* Adjust the font size as needed */
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

#canvas-container {
  width: 1000px; /* Update the width to 1000px */
  height: 1000px; /* Update the height to 1000px */
  margin: 20px auto; /* Center horizontally */
  position: relative;
  border: 1px solid #ddd;
}

#canvas-container canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#canvas-container .controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#canvas-container .controls label {
  font-weight: bold;
}