body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f2f5;
  padding: 30px;
  margin: 0;
}

.calculator {
  background: white;
  max-width: 700px;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #2e8b57;
  margin-bottom: 25px;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

form input, form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  background-color: #2e8b57;
  color: white;
  padding: 12px;
  margin-top: 20px;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #256a46;
}

#result {
  margin-top: 30px;
}

.result-summary {
  background: #e6f4ea;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.result-summary p {
  margin: 8px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

h3 {
  margin-bottom: 10px;
  color: #2e8b57;
  text-align: center;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th {
  background-color: #2e8b57;
  color: white;
  padding: 12px;
  text-align: center;
}

td {
  padding: 10px;
  text-align: right;
}

td:first-child, th:first-child {
  text-align: center;
}

tr:nth-child(even) {
  background-color: #e5f8e7;
}

tr:nth-child(odd) {
  background-color: #ffffff;