* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #ff0000;
}

h1 {
  color: #666;
  font-size: 2.2em;
  margin-bottom: 15px;
  font-weight: normal;
}

.description {
  color: #888;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.calculator-form {
  border: none;
  padding: 0;
  background-color: transparent;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group-full {
  width: 100%;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #666;
  font-size: 1.1em;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  background-color: #f9f9f9;
  color: #666;
}

.slider-container {
  position: relative;
  margin-bottom: 10px;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  accent-color: #ff0000;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #666;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #666;
  cursor: pointer;
  border: none;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.slider-value {
  color: #666;
  font-size: 1.1em;
}

.points-display {
  background-color: #d4edda;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  color: #155724;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s;
}

.points-display.green {
  background-color: #28a745; /* Darker green for ≥60 points */
  color: #fff;
}

.results-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.result-box {
  flex: 1;
  border: 2px solid #666;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  background-color: #d4edda;
}

.result-label {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 5px;
  font-weight: bold;
}

.result-value {
  font-size: 1.5em;
  color: #155724;
  font-weight: bold;
}

.footer-link {
  margin-top: 20px;
  text-align: left;
}

.footer-link a {
  color: #666;
  text-decoration: underline;
  font-size: 0.9em;
}

.footer-link a:hover {
  color: #ff6b6b;
}
