.calculator {
  height: 100%;
}

.calculator .elementor-widget-container {
  height: 100%;
}

.calculator-container {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 25px;
  background-image: linear-gradient(180deg, #4a7729 0%, #5c9735 100%);
  max-width: 400px;
  margin: 0 auto;
}

.calculator-container .calculator-img {
  margin-bottom: 20px;
  width: 120px;
  height: 120px;
}

.calculator-container .calculator-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.calculator-img .after {
  display: none;
}

.calculator-img.calculated .before {
  display: none;
}

.calculator-img.calculated .after {
  display: block;
}

.calculator-container .calculator-img .result {
  display: none;
}

.calculator-container .calculator-title {
  text-transform: none;
  color: white;
  font-size: 1.6rem;
  text-align: center;
  font-weight: 700;
  width: 100%;
}

.calculator-container .calculator-description {
  color: white;
  text-align: center;
}

.calculator-container .calculator-input {
  margin-bottom: 10px;
  background-color: #c6d8c0;
  width: 100%;
  outline: none;
  text-align: center;
  color: black;
}

.calculator-container .calculator-input::placeholder {
  text-align: center;
}

.calculator-container .calculator-input:hover,
.calculator-container .calculator-input:focus {
  background-color: #c6d8c0;
  border-color: #4d7b2b;
}

.calculator-container .calculator-button {
  width: 100%;
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
}

.calculator-container .calculator-button i {
  position: absolute;
  right: 20px;
  font-size: 20px;
}

.calculator .hidden {
  display: none;
}

.calculator .popover-facts-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 20px;
  cursor: pointer;
}

.calculator .popover-facts-link:hover {
}

.calculator .popover-facts {
  z-index: 9999;
  position: fixed;
  top: 50%;
  padding: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 480px;
  max-height: 100vh;
  overflow-y: auto;
  background-color: #4c7a2a;
  color: white !important;
}

.calculator .popover-facts strong {
  color: white !important;
  font-size: 16px;
}

.calculator .popover-close-btn {
  position: absolute;
  right: 0px;
  top: 0px;
  background-color: transparent;
  border: none;
  font-size: 20px;
}

.calculator .calculator-form {
	display: flex;
	flex-direction: column;
    align-items: center;
	gap: 10px;
    color: white;
}
