/* Calculator Module Styles */
.pricing-calculator-wrapper {
  display: flex !important;
  justify-content: {% if module.position == "center" %}center{% elif module.position == "right" %}flex-end{% else %}flex-start{% endif %} !important;
  padding-top: px !important;
  padding-bottom: px !important;
  {% if module.background_type == "color" %}
  background-color:  !important;
  {% elif module.background_type == "gradient" %}
  background: linear-gradient(deg, , ) !important;
  {% elif module.background_type == "transparent" %}
  background: transparent !important;
  {% endif %}
}

.pricing-calculator-wrapper .pricing-calculator {
  width: 100% !important;
  max-width: px !important;
  background-color:  !important;
  border-radius: px !important;
  padding: px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  {% if module.font_family %}
  font-family:  !important;
  {% endif %}
}

.pricing-calculator-wrapper .calculator-header {
  text-align: {% if module.header_alignment == "center" %}center{% elif module.header_alignment == "right" %}right{% else %}left{% endif %} !important;
  margin-bottom: 24px !important;
}

.pricing-calculator-wrapper .calculator-title {
  font-size: px !important;
  color:  !important;
  font-weight:  !important;
  margin: 0 0 8px 0 !important;
}

.pricing-calculator-wrapper .calculator-subtitle {
  font-size: px !important;
  color:  !important;
  margin: 0 !important;
}

.calculator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: px !important;
  font-weight:  !important;
  color:  !important;
  margin-bottom: 4px !important;
}

.form-input {
  padding: 10px !important;
  font-size: px !important;
  color:  !important;
  border: 1px solid  !important;
  border-radius: px !important;
  transition: border-color 0.2s !important;
  background-color: #ffffff !important;
}

.form-input:focus {
  outline: none !important;
  border-color:  !important;
}

.module-selection {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 12px !important;
  padding: 20px !important;
  background-color:  !important;
  border-radius: px !important;
  margin-bottom: 24px !important;
}

.module-checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.module-label {
  font-size: 15px !important;
  font-weight: 500 !important;
  color:  !important;
  cursor: pointer !important;
}

.form-input:disabled,
.form-checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f5f5f5;
}

.disabled-note {
  color: ;
  font-size: 12px;
  font-style: italic;
  margin-top: 4px;
}

.discount-highlight {
  background-color:  !important;
  color:  !important;
  padding: 12px !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

.price-breakdown {
  background-color:  !important;
  padding: 20px !important;
  border-radius: px !important;
  position: sticky !important;
  top: 20px !important;
  height: fit-content !important;
  min-height: 100% !important;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-row:last-child {
  border-bottom: none;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 2px solid rgba(0,0,0,0.2);
}

.price-label {
  font-size: 16px !important;
  color:  !important;
}

.price-value {
  font-size: 16px !important;
  font-weight: 600 !important;
  color:  !important;
}

.total-label {
  font-size: 20px !important;
  font-weight: 700 !important;
  color:  !important;
}

.total-value {
  font-size: 24px !important;
  font-weight: 700 !important;
  color:  !important;
}

@media (max-width: 968px) {
  .calculator-form {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .price-breakdown {
    position: static;
  }
}

@media (max-width: 768px) {
  .pricing-calculator {
    padding: 20px;
  }
  
  .calculator-title {
    font-size: px;
  }
}
