.opzio-savings-calculator,
.opzio-savings-calculator * {
  box-sizing: border-box;
}

.opzio-savings-calculator {
  --opzio-calc-columns: 3;
  --opzio-calc-gap: 20px;
  --opzio-calc-section-gap: 52px;
  --opzio-calc-input-height: 62px;

  width: 100%;
  color: #ffffff;
}

.opzio-savings-calculator__fields {
  display: grid;
  grid-template-columns: repeat(var(--opzio-calc-columns), minmax(0, 1fr));
  gap: var(--opzio-calc-gap);
  width: 100%;
}

.opzio-savings-calculator__field {
  min-width: 0;
}

.opzio-savings-calculator__label {
  display: block;
  margin: 0 0 17px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.opzio-savings-calculator__input {
  width: 100%;
  height: var(--opzio-calc-input-height);
  border: 0;
  outline: 0;
  background: #252525;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 0 26px;
  border-radius: 9px;
  appearance: auto;
  transition: box-shadow 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.opzio-savings-calculator__input:focus {
  box-shadow: 0 0 0 1px rgba(255, 86, 56, 0.55), 0 14px 40px rgba(255, 86, 56, 0.16);
}

.opzio-savings-calculator__result {
  width: 480px;
  max-width: 100%;
  margin: var(--opzio-calc-section-gap) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 36px;
  border: 2px dashed rgba(255, 255, 255, 0.34);
  border-radius: 20px;
  background: transparent;
  text-align: center;
}

.opzio-savings-calculator__result-label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.opzio-savings-calculator__result-value {
  color: #ff5638;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.opzio-savings-calculator.is-updating .opzio-savings-calculator__result-value {
  animation: opzSavingsPulse 0.28s ease;
}

@keyframes opzSavingsPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.045); }
  100% { transform: scale(1); }
}

@media (max-width: 767px) {
  .opzio-savings-calculator__result {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opzio-savings-calculator *,
  .opzio-savings-calculator *::before,
  .opzio-savings-calculator *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
