.hot-roi-calculator {
  --hot-roi-primary: var(--e-global-color-primary, #2c6e9f);
  --hot-roi-border: rgba(0, 0, 0, 0.12);
  --hot-roi-muted: rgba(0, 0, 0, 0.62);
  --hot-roi-bg: rgba(255, 255, 255, 0.85);
  --hot-roi-soft-bg: rgba(0, 0, 0, 0.03);
  color: inherit;
  font: inherit;
  margin: 2rem 0;
}

.hot-roi-calculator__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0;
}

.hot-roi-calculator__progress-item {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--hot-roi-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--hot-roi-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hot-roi-calculator__progress-item.is-complete,
.hot-roi-calculator__progress-item.is-active {
  border-color: var(--hot-roi-primary);
  color: var(--hot-roi-primary);
}

.hot-roi-calculator__progress-item.is-active {
  background: var(--hot-roi-primary);
  color: #fff;
}

.hot-roi-calculator__progress-line {
  width: 2.3rem;
  height: 2px;
  background: var(--hot-roi-border);
}

.hot-roi-calculator[data-current-step="2"] .hot-roi-calculator__progress-line:nth-child(2),
.hot-roi-calculator[data-current-step="3"] .hot-roi-calculator__progress-line:nth-child(2),
.hot-roi-calculator[data-current-step="3"] .hot-roi-calculator__progress-line:nth-child(4) {
  background: var(--hot-roi-primary);
}

.hot-roi-calculator__panel {
  margin-top: 1.25rem;
  border: 1px solid var(--hot-roi-border);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--hot-roi-bg);
}

.hot-roi-calculator__step {
  display: none;
}

.hot-roi-calculator__step[hidden] {
  display: none;
}

.hot-roi-calculator__step.is-active {
  display: block;
}

.hot-roi-calculator__fieldset {
  border: 1px solid var(--hot-roi-border);
  border-radius: 10px;
  margin: 0;
  padding: 1rem;
  min-width: 0;
}

.hot-roi-calculator__fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hot-roi-calculator__field {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
}

.hot-roi-calculator__field:last-child {
  margin-bottom: 0;
}

.hot-roi-calculator__field > span {
  font-size: 0.9rem;
  color: var(--hot-roi-muted);
}

.hot-roi-calculator__slider-field {
  margin: 0 0 1.35rem;
}

.hot-roi-calculator__slider-field:last-child {
  margin-bottom: 0;
}

.hot-roi-calculator__slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.hot-roi-calculator__slider-head span {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}

.hot-roi-calculator__slider-head strong {
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.hot-roi-calculator__slider-field input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  padding: 0!important;
  border: none!important;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.hot-roi-calculator__slider-field input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--e-global-color-51a84d0) 0%,
    var(--e-global-color-fe4415b) 30%
  );
}

.hot-roi-calculator__slider-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border: 1px solid #7F57F1;
  border-radius: 50%;
  background: #7F57F1;
}

.hot-roi-calculator__slider-field input[type="range"]::-moz-range-track {
  height: 5px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--e-global-color-51a84d0) 0%,
    var(--e-global-color-fe4415b) 30%
  );
}

.hot-roi-calculator__slider-field input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 1px solid var(--hot-roi-primary);
  border-radius: 50%;
  background: var(--hot-roi-primary);
}

.hot-roi-calculator__industry-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hot-roi-calculator__industry-option {
  display: block;
  position: relative;
}

.hot-roi-calculator__industry-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hot-roi-calculator__industry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 8.4rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--hot-roi-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hot-roi-calculator__industry-option input[type="radio"]:checked + .hot-roi-calculator__industry-card {
  border-color: var(--hot-roi-primary);
  background: rgba(44, 110, 159, 0.08);
}

.hot-roi-calculator__industry-option input[type="radio"]:focus + .hot-roi-calculator__industry-card {
  outline: 2px solid var(--hot-roi-primary);
  outline-offset: 2px;
}

.hot-roi-calculator__industry-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.hot-roi-calculator__industry-label {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
}

.hot-roi-calculator__field input[type="number"],
.hot-roi-calculator__field select {
  width: 100%;
  border: 1px solid var(--hot-roi-border);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  line-height: 1.3;
  padding: 0.55rem 0.65rem;
}

.hot-roi-calculator__field input[type="number"]:focus,
.hot-roi-calculator__field select:focus {
  border-color: var(--hot-roi-primary);
  outline: none;
}

.hot-roi-calculator__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}

.hot-roi-calculator__options label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--hot-roi-border);
  background: #fff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.hot-roi-calculator__options input {
  margin: 0;
}

.hot-roi-calculator__options--single label {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
}

.hot-roi-calculator__options--single input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hot-roi-calculator__options--single span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hot-roi-border);
  border-radius: 7px;
  background: #fff;
  color: var(--hot-roi-muted);
  font-size: 0.86rem;
  line-height: 1.2;
  padding: 0.35rem 0.75rem;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.hot-roi-calculator__options--single input[type="radio"]:checked + span {
  border-color: var(--hot-roi-primary);
  color: var(--hot-roi-primary);
  background: rgba(44, 110, 159, 0.08);
}

.hot-roi-calculator__options--single input[type="radio"]:focus + span {
  outline: 2px solid var(--hot-roi-primary);
  outline-offset: 2px;
}

.hot-roi-calculator__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hot-roi-calculator__actions [data-action="prev"] {
  margin-right: auto;
}

.hot-roi-calculator__button {
  appearance: none;
  border: 1px solid var(--hot-roi-border);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  padding: 0.62rem 1rem;
}

.hot-roi-calculator__button--primary {
  border-color: var(--hot-roi-primary);
  background: var(--hot-roi-primary);
  color: #fff;
}

.hot-roi-calculator__button--indicator .elementor-button-text {
  display: flex;
  align-items: baseline;
}

.hot-roi-calculator__button--indicator .elementor-button-text:after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #D3232A;
}

.hot-roi-calculator__results {
  margin-top: 1.2rem;
}

.hot-roi-calculator__kpis {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hot-roi-calculator__kpi {
  border: 1px solid var(--hot-roi-border);
  border-radius: 8px;
  padding: 0.8rem;
  background: var(--hot-roi-soft-bg);
}

.hot-roi-calculator__kpi p {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: var(--hot-roi-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hot-roi-calculator__kpi strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.hot-roi-calculator__kpi--monthly {
  border-color: rgba(44, 110, 159, 0.24);
  background: rgba(44, 110, 159, 0.08);
}

.hot-roi-calculator__kpi--monthly p {
  color: #187cad;
}

.hot-roi-calculator__kpi--annual {
  border-color: rgba(0, 158, 101, 0.24);
  background: rgba(0, 158, 101, 0.08);
}

.hot-roi-calculator__kpi--annual p {
  color: #00a06b;
}

.hot-roi-calculator__kpi--roi {
  border-color: rgba(224, 155, 34, 0.26);
  background: rgba(224, 155, 34, 0.1);
}

.hot-roi-calculator__kpi--roi p {
  color: #d39100;
}

.hot-roi-calculator__table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.hot-roi-calculator__table {
  width: 100%;
  border-collapse: collapse;
}

.hot-roi-calculator__table th,
.hot-roi-calculator__table td {
  border-bottom: 1px solid var(--hot-roi-border);
  font-size: 0.9rem;
  line-height: 1.3;
  padding: 0.65rem 0.3rem;
  text-align: right;
  white-space: nowrap;
}

.hot-roi-calculator__table th:first-child,
.hot-roi-calculator__table td:first-child {
  text-align: left;
}

.hot-roi-calculator__table tbody tr.is-realistic {
  background: rgba(44, 110, 159, 0.14);
}

.hot-roi-calculator__table tbody tr.is-realistic td {
  font-weight: 700;
}

.hot-roi-calculator__note {
  margin: 0.9rem 0 0.75rem;
  color: var(--hot-roi-muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .hot-roi-calculator__slider-head {
    align-items: center;
  }

  .hot-roi-calculator__industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hot-roi-calculator__industry-card {
    min-height: 7.3rem;
  }

  .hot-roi-calculator__panel {
    border-radius: 10px;
    padding: 1rem;
  }

  .hot-roi-calculator__kpis {
    grid-template-columns: 1fr;
  }

  .hot-roi-calculator__button {
    width: auto;
  }
}

@media (max-width: 520px) {
  .hot-roi-calculator__industry-grid {
    grid-template-columns: 1fr;
  }
}
