.elementor-8163 .elementor-element.elementor-element-ef6f212{--display:flex;}/* Start custom CSS for html, class: .elementor-element-eb6c3e8 */#calculator-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  max-width: 900px;
  margin: auto;
}

.calc-heading {
  text-align: center;
  margin-bottom: 25px;
}

.calc-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.calc-label {
  width: 45%;
  font-size: 14px;
}

.calc-input-box {
  width: 55%;
  position: relative;
}

.calc-input {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.percent-input::after {
  content: "%";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-error {
  display: none;
  font-size: 12px;
  color: red;
}

.calc-input::placeholder {
  font-size: 11px;
}

#output-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.6s ease;
  margin-top: 25px;
  padding: 0 20px;
  border-top: 1px dashed #ccc;
  background: #e9f7ef;
  border-radius: 6px;
}

#output-section.show-result {
  max-height: 1000px; /* large enough to fit content */
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}


.calc-buttons {
  margin-top: 20px;
  text-align: center;
}

.calc-buttons button {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#submitCalc {
  background: #0073e6;
  color: white;
}

#resetCalc {
  background: #dc3545;
  color: white;
}

#submitCalc:hover,
#resetCalc:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}/* End custom CSS */