html, body {
  margin: 0;
  padding: 0;
}
canvas {
  display: block;
}
select, button, input[type="checkbox"] {
  box-sizing: border-box;
}
select {
  min-width: 60px;
  height: 28px;
  padding: 2px 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zM0 3l2 2 2-2z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 28px;
}

select:focus {
  outline: 2px solid #007acc;
  outline-offset: -2px;
  border-color: #007acc;
}

select:hover {
  border-color: #999;
}

button {
  min-width: 80px;
  height: 28px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
   transition: all 0.15s ease-in-out;
}

button:hover {
  background-color: #e9ecef;
  border-color: #999;
}

button:active {
  background-color: #dee2e6;
  border-color: #666;
  transform: translateY(1px);
}

button:focus {
  outline: 2px solid #007acc;
  outline-offset: -2px;
}

button:disabled {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background-color: #ffffff;
  border: 2px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease-in-out;
}

input[type="checkbox"]:hover {
  border-color: #999;
}

input[type="checkbox"]:focus {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}

input[type="checkbox"]:checked {
  background-color: #007acc;
  border-color: #007acc;
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
}