/* styles.css */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fafafa;
  color: #333;
  display: flex;
  justify-content: center;
  padding: 20px;
}
.container {
  background: #fff;
  padding: 20px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 4px;
  max-width: 500px;
  width: 100%;
}
h1 {
  margin-top: 0;
  font-size: 1.5rem;
  text-align: center;
}
.matrix-input {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}
.matrix-input div {
  display: flex;
  flex-direction: column;
}
.matrix-input label {
  font-weight: bold;
  margin-bottom: 4px;
}
.matrix-input input {
  padding: 6px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 2px;
}
button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
button:hover {
  opacity: 0.9;
}
.math-display {
  text-align: center;
  font-size: 1.2rem;
  margin: 15px 0;
}
canvas {
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  background: #f7f7f7;
}
