body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  max-width: 700px;
  margin: auto;
  font-size: 18px;
}

h1, h2 {
  text-align: center;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 18px;
}

input[type="number"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 18px;
}

button {
  margin-top: 20px;
  padding: 10px 16px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #007bff;
  color: white;
  margin-right: 10px;
}

button[type="button"] {
  background-color: #e0e0e0;
}

#darkModeToggle {
  margin-bottom: 20px;
  background-color: #e0e0e0;
  font-size: 16px;
}

#result {
  margin-top: 30px;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 16px;
}

.result-table th,
.result-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.result-table th {
  background-color: #f0f0f0;
}

/* Dark mode */
.dark-mode {
  background-color: #1e1e1e;
  color: #ffffff;
}

.dark-mode input,
.dark-mode select {
  background-color: #2c2c2c;
  color: #ffffff;
  border: 1px solid #444;
}

.dark-mode .result-table th {
  background-color: #333;
  color: white;
}

.dark-mode .result-table td {
  border-color: #555;
  color: white;
}

.dark-mode button[type="submit"] {
  background-color: #0d6efd;
}

.dark-mode button[type="button"],
.dark-mode #darkModeToggle {
  background-color: #444;
  color: #fff;
}
