.hsr-calc-card {
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
  border: 1px solid #dbe7ff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 200, 0.04);
  padding: 30px 35px 34px;
}

.hsr-calc-card h3 {
  margin: 0 0 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: #172d72;
}

.hsr-calc-field {
  margin-bottom: 18px;
}

.hsr-calc-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 400;
  color: #172d72;
}

.hsr-calc-input {
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
}

.hsr-calc-input input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  color: #152763;
  text-align: center;
  min-width: 60px;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

.hsr-calc-input input::-webkit-outer-spin-button,
.hsr-calc-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hsr-calc-btn {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #dbe7ff;
  background: #f8fbff;
  font-size: 18px;
  line-height: 1;
  color: #172d72;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hsr-calc-btn:hover {
  background: #eef5ff;
  border-color: #bcd1ff;
}

.hsr-calc-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hsr-calc-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dbe7ff;
  transition: all 0.15s;
}

.hsr-calc-option--active,
.hsr-calc-option:has(input:checked) {
  background: #f1f6ff;
  border-color: #1f5bff;
}

.hsr-calc-option input {
  accent-color: #1f5bff;
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.hsr-calc-option span {
  font-size: 13px;
  line-height: 1.35;
  color: #435579;
  flex: 1;
}

.hsr-calc-option--active span,
.hsr-calc-option:has(input:checked) span {
  color: #172d72;
}

.hsr-calc-summary {
  margin-top: 32px;
  border-top: 1px solid #dbe7ff;
  padding-top: 17px;
}

.hsr-calc-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 37px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #526284;
}

.hsr-calc-summary > div > :last-child {
  color: #435579;
  font-weight: 600;
}

.hsr-calc-summary__total {
  margin-top: 6px;
  padding-top: 15px;
  border-top: 2px solid #1f5bff;
  font-size: 15px;
  font-weight: 800;
  color: #172d72;
}

.hsr-calc-summary__total strong {
  color: #1f5bd7;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}
