html, body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

canvas {
  display: block;
  margin: 15px auto;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  margin-top: 10px;
  font-size: 28px;
}

#status {
  margin: 10px 0;
  font-weight: bold;
  color: #007bff;
  padding: 5px 10px;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 5px;
  display: inline-block;
}

#current-note {
  font-size: 24px;
  margin: 15px 0;
  font-weight: bold;
  color: #2a2a2a;
  padding: 5px;
  transition: all 0.2s ease;
}

#canvas-container {
  position: relative;
  margin: 0 auto;
}

/* Button styling */
button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 5px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

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

button:active {
  background-color: #3e8e41;
}

/* Calibration UI styling */
#calibration-ui {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#calibration-ui button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

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

#calibration-ui button:active {
  background-color: #3e8e41;
}

#current-class, #sample-counter {
  font-size: 16px;
  margin: 10px 0;
}
