/* Calculator-specific styles */
.calculator {
  padding: 60px 0;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs {
  background: white;
  border-radius: 12px;
  padding: 32px;
}

.calc-inputs {
  position: sticky;
  top: 100px;
}

/* Slider Input */
.slider-group {
  margin-bottom: 32px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label span:first-child {
  font-weight: 500;
  color: var(--text-dark);
}

.slider-value {
  background: var(--light-blue);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.slider-track {
  position: relative;
  margin-bottom: 8px;
}

.slider-track input[type="range"] {
  width: 100% !important;
  height: 8px !important;
  border-radius: 4px !important;
  background: #e2e8f0 !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 8px 0 !important;
}

.slider-track input[type="range"]::-webkit-slider-runnable-track {
  width: 100% !important;
  height: 8px !important;
  background: #e2e8f0 !important;
  border-radius: 4px !important;
}

.slider-track input[type="range"]::-moz-range-track {
  width: 100% !important;
  height: 8px !important;
  background: #e2e8f0 !important;
  border-radius: 4px !important;
}

.slider-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  margin-top: 0 !important;
}

.slider-track input[type="range"]::-moz-range-thumb {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #2563eb !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Dropdown */
.dropdown-group {
  margin-bottom: 32px;
}

.dropdown-group label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  background: white;
  cursor: pointer;
  outline: none;
}

select:focus {
  border-color: var(--primary-blue);
}

/* Results Card - Dark Blue */
.calc-results {
  background: #1e293b !important;
  color: white !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  border-radius: 12px !important;
  padding: 32px !important;
}

.calc-results h3 {
  color: white !important;
  text-align: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
}

.annual-cost {
  text-align: center;
  margin-bottom: 40px;
}

.annual-cost-value {
  font-size: 56px !important;
  font-weight: 700 !important;
  color: white !important;
  margin-bottom: 8px !important;
}

.annual-cost-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.metric-box {
  text-align: center;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  line-height: 1.4;
}

.disclaimer {
  font-size: 11px;
  opacity: 0.6;
  text-align: center;
  line-height: 1.5;
}

/* Reference Section */
.reference-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
}

.reference-section h4 {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-gray);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.task-name {
  font-size: 15px;
  color: var(--text-dark);
}

.task-time {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.reference-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.reference-footer a {
  color: var(--primary-blue);
  text-decoration: none;
}

.reference-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-inputs {
    position: static;
  }

  .annual-cost-value {
    font-size: 42px;
  }

  .metric-value {
    font-size: 24px;
  }
}
