body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}

.container {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 20px;
}

#problem {
  font-size: 18px;
  margin-bottom: 20px;
}

.options button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.options button:hover {
  background-color: #45a049;
}

#result {
  font-weight: bold;
  margin-top: 10px;
}

#score {
  margin-top: 20px;
}

#history {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

#history li {
  margin-bottom: 10px;
  padding-bottom: 10px; /* Thêm padding dưới để tạo khoảng cách với đường nét đứt */
  border-bottom: 1px dashed #ccc; /* Thêm đường nét đứt */
}

#history li:last-child { /* Loại bỏ đường nét đứt ở mục cuối cùng */
  border-bottom: none;
}


#history li div:last-child {
  margin-left: 20px; /* Thụt lề đáp án và kết quả */
  font-weight: bold;
}

/* Kiểu dáng số thứ tự nhảy */
#history li div:first-child::before {
  counter-increment: question-counter; /* Tăng bộ đếm */
  content: counter(question-counter) ". "; /* Hiển thị số thứ tự */
  font-weight: bold;
  margin-right: 5px;
}

#history {
  counter-reset: question-counter; /* Khởi tạo bộ đếm */
}
