.calculator {
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  background-color: var(--background);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-section {
  text-align: center;
  margin-bottom: 60px;
  color: var(--foreground);
  background-color: var(--background);
}

.header-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--foreground);
}

.header-section .subtitle {
  font-size: 1.25rem;
  color: var(--foreground);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: var(--foreground);
}

.description {
  text-align: center;
  color: var(--foreground);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  outline: none;
  transition: 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #004080;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

input[type="range"]:hover {
  background: #bbb;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1.4rem;
  text-align: center;
  outline: none;
  transition: 0.3s;
}

input[type="text"]:focus {
  border-color: #004080;
  box-shadow: 0 0 5px rgba(0, 64, 128, 0.3);
}

.salary-display {
  display: none;
}

.radio-group {
  display: flex;
  justify-content: left;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.result {
  background-color: var(--background);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--foreground);
  margin-top: 1.5rem;
}

.result-amount {
  font-size: 2rem;
  font-weight: bold;
}

.info {
  margin-top: 2rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--foreground);
  line-height: 1.8;
}

@media (max-width: 480px) {
  .header-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-section h1 {
    font-size: 2.5rem;
  }
}

.faq-icon {
  font-size: 1.5rem;
  transition: 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
