
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f0f0f0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #333;
}

.slider-container {
  margin: 20px 0;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #666;
}

.slider {
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
}

.slider:disabled {
  background: #eee;
}

.auto-calculated {
  color: #888;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4CAF50;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #4CAF50;
  cursor: pointer;
}

.table-container {
  margin-top: 30px;
  overflow-x: auto;
}

@media screen and (max-width: 600px) {
  th, td {
    padding: 6px 4px;
    font-size: 0.85em;
  }
  
  table th:nth-child(2),
  table th:nth-child(3),
  table td:nth-child(2),
  table td:nth-child(3) {
    display: none;
  }
  
  table th:nth-child(4),
  table td:nth-child(4) {
    white-space: nowrap;
    font-size: 0.8em;
  }
  
  table tr td:nth-child(4):before {
    content: attr(data-summary);
    display: block;
    font-size: 0.9em;
    white-space: normal;
    color: #666;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 10px;
  text-align: right;
  border: 1px solid #ddd;
}

th {
  background-color: #f5f5f5;
}

td:first-child, th:first-child {
  text-align: left;
}
