@font-face {
  font-family: "Outfit";
  src: url("./assets/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.bpr-demo-page {
  min-height: 100vh;
  margin: 0;
  padding: 80px 24px 110px;
  background: #f6f6f6;
}

.bpr-calculator {
  --bpr-navy: #002c4d;
  --bpr-green: #7ebe23;
  --bpr-bright-green: #84bd00;
  --bpr-dark-green: #5c8f13;
  --bpr-text: #212529;
  --bpr-muted: #646669;
  --bpr-border: #d9d9d9;
  --bpr-line: #efefef;
  --bpr-surface: #f7f7f7;
  --bpr-track: #bac7d5;
  --bpr-danger: #b91c1c;
  --bpr-danger-soft: #fff1ed;
  width: 100%;
  color: var(--bpr-text);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.bpr-calculator *,
.bpr-calculator *::before,
.bpr-calculator *::after {
  box-sizing: border-box;
}

.bpr-calculator button,
.bpr-calculator input,
.bpr-calculator select {
  font: inherit;
}

.bpr-calculator__shell {
  width: min(100%, 1256px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 25px 20px rgba(0, 0, 0, 0.09);
}

.bpr-calculator__header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  background: var(--bpr-navy);
  color: #fff;
}

.bpr-calculator__header h1,
.bpr-calculator__header p,
.bpr-calculator__header span {
  margin: 0;
}

.bpr-calculator__header h1 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.bpr-calculator__header p {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
}

.bpr-calculator__header > span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.bpr-calculator__body {
  padding: 55px 31px 63px;
}

.bpr-calculator__workspace {
  display: grid;
  grid-template-columns: minmax(0, 704px) minmax(0, 453px);
  gap: 37px;
  align-items: start;
}

.bpr-calculator__controls {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 40px;
}

.bpr-limit-alert {
  position: relative;
  padding: 17px 20px 16px 22px;
  border-left: 6px solid #ff9b00;
  border-radius: 5px;
  background: var(--bpr-danger-soft);
}

.bpr-limit-alert p {
  margin: 0;
  font-size: 14px;
}

.bpr-limit-alert button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a55314;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bpr-field-grid {
  display: grid;
  gap: 20px;
}

.bpr-field-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bpr-field-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bpr-field {
  min-width: 0;
}

.bpr-field label,
.bpr-range-field label,
.bpr-modal-email > label {
  display: block;
  margin-bottom: 5px;
  color: var(--bpr-text);
  font-size: 14px;
  font-weight: 500;
}

.bpr-field small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 10px;
  font-weight: 400;
}

.bpr-field .form-control,
.bpr-field .form-select,
.bpr-money-input,
.bpr-rate-input {
  min-height: 40px;
  border: 1px solid var(--bpr-border);
  border-radius: 5px;
  background-color: #fff;
  color: #212121;
  font-size: 14px;
  box-shadow: none;
}

.bpr-field .form-control,
.bpr-field .form-select {
  padding: 9px 15px;
}

.bpr-field .form-control::placeholder,
.bpr-money-input input::placeholder,
.bpr-rate-input input::placeholder,
.bpr-callback-panel .form-control::placeholder {
  color: #b8bec8;
  opacity: 1;
}

.bpr-money-input,
.bpr-rate-input {
  display: flex;
  height: 44px;
  align-items: center;
  overflow: hidden;
}

.bpr-money-input input,
.bpr-rate-input input {
  min-width: 0;
  height: 100%;
  flex: 1 1 auto;
  padding: 10px 15px;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
  color: #212121;
}

.bpr-money-input > span {
  display: flex;
  height: 20px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  margin-right: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--bpr-border);
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.bpr-money-input .bi-chevron-down {
  font-size: 10px;
}

.bpr-rate-input {
  height: 40px;
}

.bpr-rate-input i {
  margin-right: 12px;
  color: #4a4a4a;
  font-size: 20px;
}

.bpr-rate-input input:disabled {
  color: #212121;
  opacity: 1;
  -webkit-text-fill-color: #212121;
}

.bpr-field .form-control:focus,
.bpr-field .form-select:focus,
.bpr-money-input:focus-within,
.bpr-rate-input:focus-within,
.bpr-modal-email .input-group:focus-within,
.bpr-date-input:focus-within {
  border-color: var(--bpr-green);
  box-shadow: 0 0 0 3px rgba(126, 190, 35, 0.14);
}

.bpr-rate-switch {
  display: flex;
  min-height: 13px;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  padding: 0;
}

.bpr-rate-switch .form-check-input {
  width: 22px;
  height: 11px;
  float: none;
  margin: 0;
  border: 0;
  background-color: #ccc;
  box-shadow: none;
  cursor: pointer;
}

.bpr-rate-switch .form-check-input:checked {
  background-color: var(--bpr-green);
}

.bpr-rate-switch .form-check-label {
  margin: 0;
  color: #666;
  font-size: 10px;
  font-weight: 400;
  cursor: pointer;
}

.bpr-range-field {
  min-width: 0;
}

.bpr-range-field__heading,
.bpr-range-field__limits {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bpr-range-field__heading {
  min-height: 28px;
}

.bpr-range-field__heading label {
  margin: 0;
}

.bpr-range-field__heading output {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(126, 190, 35, 0.2);
  color: var(--bpr-dark-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.bpr-range {
  --range-progress: 0%;
  width: 100%;
  height: 35px;
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.bpr-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--bpr-bright-green) 0,
    var(--bpr-bright-green) var(--range-progress),
    var(--bpr-track) var(--range-progress),
    var(--bpr-track) 100%
  );
}

.bpr-range::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: var(--bpr-track);
}

.bpr-range::-moz-range-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--bpr-bright-green);
}

.bpr-range::-webkit-slider-thumb {
  width: 34px;
  height: 34px;
  margin-top: -14px;
  border: 11px solid #fff;
  border-radius: 50%;
  background: var(--bpr-bright-green);
  box-shadow: 0 5px 12px rgba(79, 94, 113, 0.12), 0 2px 6px rgba(79, 94, 113, 0.16);
  appearance: none;
  -webkit-appearance: none;
}

.bpr-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 11px solid #fff;
  border-radius: 50%;
  background: var(--bpr-bright-green);
  box-shadow: 0 5px 12px rgba(79, 94, 113, 0.12), 0 2px 6px rgba(79, 94, 113, 0.16);
}

.bpr-range:focus-visible::-webkit-slider-thumb {
  outline: 3px solid rgba(126, 190, 35, 0.3);
  outline-offset: 2px;
}

.bpr-range--fixed {
  --range-progress: 0%;
  cursor: default;
  opacity: 1;
}

.bpr-range-field__limits {
  margin-top: -1px;
  color: #666;
  font-size: 10px;
}

.bpr-calculator__summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 17px;
}

.bpr-borrow-card,
.bpr-summary-card,
.bpr-affordability-card,
.bpr-callback-panel {
  border-radius: 10px;
}

.bpr-borrow-card {
  display: flex;
  min-height: 123px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  background: var(--bpr-surface);
  text-align: center;
}

.bpr-borrow-card p,
.bpr-borrow-card small {
  margin: 0;
  color: var(--bpr-text);
  font-size: 12px;
}

.bpr-borrow-card p {
  font-weight: 500;
  text-transform: uppercase;
}

.bpr-borrow-card small {
  font-weight: 300;
}

.bpr-borrow-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #212121;
  line-height: 1.2;
}

.bpr-borrow-card div span {
  font-size: 18px;
  font-weight: 500;
}

.bpr-borrow-card div strong {
  font-size: 42px;
  font-weight: 500;
}

.bpr-summary-card,
.bpr-affordability-card {
  padding: 20px;
  border: 1px solid var(--bpr-border);
  background: #fff;
}

.bpr-summary-card h2,
.bpr-affordability-card h2 {
  margin: 0;
  color: var(--bpr-text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.bpr-summary-card h2 {
  text-transform: uppercase;
}

.bpr-breakdown {
  margin: 16px 0 0;
}

.bpr-breakdown > div {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--bpr-line);
}

.bpr-breakdown dt,
.bpr-breakdown dd {
  margin: 0;
  color: var(--bpr-text);
  font-size: 14px;
}

.bpr-breakdown dt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 300;
}

.bpr-breakdown dd {
  font-weight: 500;
}

.bpr-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.bpr-dot--principal { background: var(--bpr-bright-green); }
.bpr-dot--interest { background: #dff1cc; }
.bpr-dot--fee { background: #718096; }

.bpr-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}

.bpr-summary-total strong {
  color: var(--bpr-dark-green);
  font-weight: 500;
}

.bpr-affordability-card__heading {
  display: flex;
  min-height: 28px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bpr-affordability-card h2 {
  font-weight: 500;
  letter-spacing: 0;
}

.bpr-affordability-badge {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(126, 190, 35, 0.2);
  color: var(--bpr-dark-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.bpr-affordability-badge.is-over {
  background: #fff0ef;
  color: #d84343;
}

.bpr-affordability-meter {
  height: 6px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 100px;
  background: #ececec;
}

.bpr-affordability-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--bpr-green);
  transition: width 180ms ease;
}

.bpr-affordability-meter span.is-over {
  background: #ad121b;
}

.bpr-affordability-card > p {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 300;
}

.bpr-other-options {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--bpr-line);
}

.bpr-other-options > span {
  display: block;
  margin-bottom: 12px;
  color: var(--bpr-muted);
  font-size: 12px;
}

.bpr-other-options > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bpr-product-card {
  display: flex;
  min-height: 119px;
  align-items: flex-start;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--bpr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--bpr-text);
  text-align: left;
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.bpr-product-card:hover,
.bpr-product-card:focus-visible {
  border-color: var(--bpr-green);
  box-shadow: 0 6px 18px rgba(0, 44, 77, 0.08);
  transform: translateY(-2px);
}

.bpr-product-name {
  min-height: 34px;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.bpr-product-detail {
  margin-top: 8px;
  color: var(--bpr-muted);
  font-size: 11px;
  line-height: 15px;
}

.bpr-product-link {
  margin-top: auto;
  color: var(--bpr-green);
  font-size: 12px;
  font-weight: 500;
}

.bpr-calculator__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 55px;
}

.bpr-calculator__actions > div {
  display: flex;
  width: 467px;
  gap: 20px;
}

.bpr-calculator .btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  box-shadow: none;
}

.bpr-calculator .btn i {
  font-size: 22px;
  line-height: 1;
}

.bpr-btn-primary {
  border: 1px solid var(--bpr-green);
  background: var(--bpr-green);
  color: #fff;
}

.bpr-btn-primary:hover,
.bpr-btn-primary:focus-visible {
  border-color: #6da71b;
  background: #6da71b;
  color: #fff;
}

.bpr-btn-secondary {
  border: 1px solid var(--bpr-dark-green);
  background: #fff;
  color: var(--bpr-dark-green);
}

.bpr-btn-secondary:hover,
.bpr-btn-secondary:focus-visible {
  border-color: var(--bpr-green);
  background: #f4faec;
  color: #47780a;
}

.bpr-calculator__actions > div .btn {
  min-width: 0;
  flex: 1 1 0;
  white-space: nowrap;
}

.bpr-apply-button {
  width: 281px;
}

.bpr-calculator .btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.bpr-calculator .bpr-btn-primary:disabled {
  border-color: var(--bpr-green);
  background: var(--bpr-green);
  color: #fff;
}

.bpr-calculator .bpr-btn-secondary:disabled {
  border-color: var(--bpr-dark-green);
  background: #fff;
  color: var(--bpr-dark-green);
}

.bpr-callback-panel {
  min-height: 618px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--bpr-border);
  background: #fff;
}

.bpr-callback-panel header h2,
.bpr-callback-panel header p {
  margin: 0;
}

.bpr-callback-panel header h2 {
  font-size: 24px;
  font-weight: 600;
}

.bpr-callback-panel header p {
  margin-top: 8px;
  color: var(--bpr-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.bpr-callback-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 37px;
}

.bpr-callback-panel .bpr-field label {
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.bpr-callback-panel .form-control,
.bpr-callback-panel .form-select {
  height: 48px;
  border-radius: 10px;
  color: var(--bpr-text);
  font-weight: 300;
}

.bpr-datetime-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bpr-date-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border: 1px solid var(--bpr-border);
  border-radius: 10px;
}

.bpr-date-input i {
  flex: 0 0 auto;
  color: #718096;
  font-size: 18px;
}

.bpr-date-input .form-control {
  min-width: 0;
  padding-left: 0;
  border: 0;
}

.bpr-callback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bpr-action-status {
  min-height: 20px;
  margin: 8px 0;
  font-size: 12px;
}

.bpr-action-status[data-kind="success"] { color: var(--bpr-dark-green); }
.bpr-action-status[data-kind="error"] { color: var(--bpr-danger); }
.bpr-action-status[data-kind="pending"] { color: var(--bpr-muted); }

.bpr-calculator.is-callback-view .bpr-calculator__actions {
  display: none;
}

.bpr-repayment-modal {
  font-family: "Outfit", sans-serif;
}

.bpr-repayment-modal .modal-dialog {
  width: min(calc(100% - 40px), 1310px);
  max-width: 1310px;
  margin: 146px auto 20px;
}

.bpr-repayment-modal .modal-content {
  min-height: 376px;
  padding: 42px 43px 40px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  transition: min-height 180ms ease;
}

.bpr-repayment-modal.is-email-expanded .modal-content {
  min-height: 472px;
}

.bpr-modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.bpr-modal-heading h2 {
  margin: 0;
  color: #000;
  font-size: 21px;
  font-weight: 700;
  line-height: 26px;
}

.bpr-modal-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -24px -26px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
}

.bpr-modal-close i {
  font-size: 32px;
  line-height: 1;
}

.bpr-plan-table-wrap {
  margin-top: 33px;
  overflow: hidden;
  border: 1px solid var(--bpr-border);
  border-radius: 10px;
}

.bpr-plan-table {
  min-width: 980px;
  table-layout: fixed;
  color: var(--bpr-text);
}

.bpr-plan-table > :not(caption) > * > * {
  padding: 10px 16px;
  border-color: var(--bpr-line);
  vertical-align: middle;
}

.bpr-plan-table thead th {
  height: 35px;
  background: var(--bpr-surface);
  color: var(--bpr-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.bpr-plan-table tbody td,
.bpr-plan-table tfoot td {
  height: 42px;
  font-size: 14px;
}

.bpr-plan-table tbody td {
  font-weight: 400;
}

.bpr-plan-table tfoot td {
  border: 0;
  background: var(--bpr-surface);
  font-weight: 600;
}

.bpr-modal-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 41px;
}

.bpr-modal-actions .bpr-btn-primary {
  min-width: 259px;
}

.bpr-modal-actions .bpr-btn-secondary {
  min-width: 224px;
}

.bpr-modal-email {
  width: 462px;
  margin-top: 37px;
}

.bpr-modal-email > label {
  margin-bottom: 8px;
  color: var(--bpr-muted);
  font-weight: 600;
}

.bpr-modal-email .input-group {
  height: 44px;
  flex-wrap: nowrap;
  border: 1px solid var(--bpr-border);
  border-radius: 5px;
}

.bpr-modal-email .input-group-text,
.bpr-modal-email .form-control,
.bpr-modal-email .input-group .btn {
  height: 42px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.bpr-modal-email .input-group-text {
  padding: 0 0 0 12px;
  background: #fff;
  color: var(--bpr-muted);
}

.bpr-modal-email .form-control {
  min-width: 0;
  padding-left: 10px;
  color: var(--bpr-text);
  font-size: 14px;
}

.bpr-modal-email .input-group .btn {
  min-height: 42px;
  min-width: 130px;
  padding: 0 18px;
  border-left: 1px solid var(--bpr-border);
  border-radius: 0 4px 4px 0;
  background: var(--bpr-line);
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.bpr-modal-email .bpr-action-status:empty {
  min-height: 0;
  margin: 0;
}

.modal-backdrop.bpr-modal-backdrop.show {
  opacity: 0.72;
}

@media (max-width: 1199.98px) {
  .bpr-calculator__body {
    padding-inline: 28px;
  }

  .bpr-calculator__workspace {
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
    gap: 28px;
  }

  .bpr-field-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bpr-other-options > div {
    grid-template-columns: 1fr;
  }

  .bpr-product-card {
    min-height: 92px;
  }
}

@media (max-width: 991.98px) {
  .bpr-calculator__workspace {
    grid-template-columns: 1fr;
  }

  .bpr-calculator__summary,
  .bpr-callback-panel {
    width: 100%;
  }

  .bpr-calculator__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bpr-calculator__actions > div,
  .bpr-apply-button {
    width: 100%;
  }

  .bpr-other-options > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bpr-repayment-modal .modal-dialog {
    width: min(calc(100% - 32px), 900px);
    margin-top: 80px;
  }

  .bpr-plan-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 767.98px) {
  .bpr-demo-page {
    padding: 20px 12px 48px;
  }

  .bpr-calculator__shell {
    border-radius: 12px;
  }

  .bpr-calculator__header {
    min-height: 76px;
    align-items: flex-start;
    padding: 20px;
  }

  .bpr-calculator__header h1 {
    font-size: 19px;
  }

  .bpr-calculator__header p,
  .bpr-calculator__header > span {
    font-size: 12px;
  }

  .bpr-calculator__body {
    padding: 32px 20px 36px;
  }

  .bpr-calculator__controls {
    gap: 28px;
  }

  .bpr-field-grid--three,
  .bpr-field-grid--two {
    grid-template-columns: 1fr;
  }

  .bpr-calculator__actions {
    margin-top: 36px;
  }

  .bpr-calculator__actions > div {
    flex-direction: column;
    gap: 12px;
  }

  .bpr-calculator .btn {
    width: 100%;
  }

  .bpr-other-options > div {
    grid-template-columns: 1fr;
  }

  .bpr-callback-panel {
    min-height: 0;
  }

  .bpr-datetime-row,
  .bpr-callback-actions {
    grid-template-columns: 1fr;
  }

  .bpr-repayment-modal .modal-dialog {
    width: calc(100% - 24px);
    margin: 20px auto;
  }

  .bpr-repayment-modal .modal-content {
    min-height: 0;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px 20px;
    border-radius: 14px;
  }

  .bpr-modal-close {
    margin: -10px -6px 0 0;
  }

  .bpr-modal-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .bpr-modal-actions .btn,
  .bpr-modal-email {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .bpr-calculator__header > span {
    display: none;
  }

  .bpr-borrow-card div strong {
    font-size: 36px;
  }

  .bpr-summary-total,
  .bpr-affordability-card__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bpr-modal-email .input-group {
    height: auto;
    flex-wrap: wrap;
    border: 0;
  }

  .bpr-modal-email .input-group-text,
  .bpr-modal-email .form-control {
    border-top: 1px solid var(--bpr-border);
    border-bottom: 1px solid var(--bpr-border);
  }

  .bpr-modal-email .input-group-text {
    border-left: 1px solid var(--bpr-border);
    border-radius: 5px 0 0 5px;
  }

  .bpr-modal-email .form-control {
    border-right: 1px solid var(--bpr-border);
    border-radius: 0 5px 5px 0;
  }

  .bpr-modal-email .input-group .btn {
    width: 100%;
    margin-top: 8px;
    margin-left: 0 !important;
    border: 1px solid var(--bpr-border);
    border-radius: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpr-calculator *,
  .bpr-calculator *::before,
  .bpr-calculator *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
