.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 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  min-height: 32px;
}

.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;
}

.custom-value-input {
  width: 100px;
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: right;
}

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

.slider::-webkit-slider-thumb:active {
  transform: scale(1.2);
}

.slider::-moz-range-thumb:active {
  transform: scale(1.2);
}

@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;
  }
} 

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

.addon-category {
  margin-bottom: 2.5rem;
}

.addon-category h3 {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.addon-items {
  display: grid;
  gap: 1.5rem;
}

.addon-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.addon-label {
  display: block;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.radio-option:hover {
  background-color: #f1f3f5;
}

.radio-option input[type="radio"] {
  margin-top: 0.25rem;
}

.radio-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  gap: 1rem;
}

.included-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2b8a3e;
  background: #d3f9d8;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.price-tag {
  font-size: 0.9rem;
  color: #495057;
  white-space: nowrap;
}

.slider-control {
  margin-top: 1rem;
}

.slider-control input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #dee2e6;
  border-radius: 3px;
  outline: none;
}

.slider-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #0055ff;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.slider-control input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #0055ff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}

.slider-control input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider-control input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.slider-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  color: #495057;
  font-size: 0.9rem;
}

/* Disabled state styling */
.radio-option input[type="radio"]:disabled + .radio-label {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .addon-items {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 767px) {
  .addon-items {
    grid-template-columns: 1fr;
  }
  
  .radio-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .price-tag {
    align-self: flex-end;
  }
} 

/* Add these styles for the service selector */
.service-selector {
  margin-bottom: 3rem;
}

.service-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.service-option {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #495057;
  background: #fff;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-option:hover {
  border-color: #0055ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 85, 255, 0.1);
}

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

/* Add icons to the buttons */
.service-option::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.service-option[data-service="wordpress"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2m0 19.5c-5.246 0-9.5-4.254-9.5-9.5S6.754 2.5 12 2.5s9.5 4.254 9.5 9.5-4.254 9.5-9.5 9.5'/%3E%3C/svg%3E");
}

.service-option[data-service="compute"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M4 1h16c1.654 0 3 1.346 3 3v16c0 1.654-1.346 3-3 3H4c-1.654 0-3-1.346-3-3V4c0-1.654 1.346-3 3-3m0 1.5c-.827 0-1.5.673-1.5 1.5v16c0 .827.673 1.5 1.5 1.5h16c.827 0 1.5-.673 1.5-1.5V4c0-.827-.673-1.5-1.5-1.5H4Z'/%3E%3C/svg%3E");
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-options {
    flex-direction: column;
    align-items: stretch;
  }

  .service-option {
    width: 100%;
    padding: 0.75rem 1rem;
  }
} 