body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.settings {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.task {
  margin: 20px 0;
}

.task-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.task-grid {
  display: grid;
  gap: 5px;
}

.number-grid, .input-row {
  display: grid;
  gap: 5px;
}

.number-cell, .input-cell {
  width: 60px; /* korábban 50px volt */
  height: 60px;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border: 1px solid #333;
  box-sizing: border-box;
}

.input-cell {
  appearance: textfield;
}

.underline {
  height: 3px;
  background: black;
  margin: 2px 0;
}

.operator, .multiplier {
  font-size: 24px;
  font-weight: bold;
  line-height: 50px;
}

.result {
  margin-top: 5px;
  font-weight: bold;
}

.correct {
  color: green;
}

.incorrect {
  color: red;
}
