.calculator-page {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-container h1 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
}

.calculator-container > p {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.package-selector h2,
.add-ons-section h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.package-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.package-option {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.package-option:hover {
  border-color: #0055ff;
  transform: translateY(-2px);
}

.package-option.selected {
  border-color: #0055ff;
  background: rgba(0, 85, 255, 0.05);
}

.package-option h3 {
  margin: 0;
  color: #333;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0055ff;
  margin: 1rem 0;
}

.package-features {
  color: #666;
  font-size: 0.9rem;
}

.package-features > div {
  margin: 0.5rem 0;
}

.add-ons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.add-on-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.add-on-item label {
  display: block;
  color: #333;
  font-weight: 500;
}

.add-on-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.add-on-input input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.add-on-price {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.total-section {
  border-top: 2px solid #eee;
  padding-top: 2rem;
}

.total-breakdown {
  margin-bottom: 1.5rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0;
  color: #666;
}

.total-amount {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.add-on-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.add-on-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #0055ff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #0055ff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.slider-value {
  font-size: 0.9rem;
  color: #666;
  text-align: right;
}

.max-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.max-input label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-weight: normal;
}

.max-value-input {
  width: 80px;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.max-value-input:focus {
  border-color: #0055ff;
  outline: none;
}

@media (max-width: 768px) {
  .calculator-page {
    padding: 2rem 1rem;
  }
  
  .package-options {
    grid-template-columns: 1fr;
  }
  
  .add-ons-grid {
    grid-template-columns: 1fr;
  }
  
  .add-on-controls {
    gap: 0.75rem;
  }
  
  .max-input {
    flex-direction: row;
    justify-content: flex-end;
  }
} 