* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden; /* Prevent scrolling */
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1300px; /* Limit the max width */
  overflow: hidden;
  padding: 10px; /* For a bit of spacing */
}

.canvas-container {
  position: relative;
  width: 0%; /* Takes full width of container */
  height: auto; /* Adjusts automatically */
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas {
  background-color: #fff;
  border: 1px solid #ccc;
  display: block;
}

.actions-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.button {
  width: 120px; /* Set a fixed width for all buttons */
  text-align: center; /* Center the text horizontally */
  display: inline-block; /* Ensures proper button rendering */
  padding: 5px 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0056b3;
}

.highlighted {
  background-color: #0056b3;
  color: white;
}

.control-container {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

label {
  font-size: 16px;
}

select {
  width: 120px;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

table td {
  padding: 10px;
  text-align: center;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 5px;
}
