:root {
  --yellow: #ffcb05;
  --secondary: #184a58;
  --secondary-light: #95acb2;
}

/* OVERRIDE BOOTSTRAP */
body.calculator {
  font-family: sunlife-sans, sans-serif;
  padding: 0;
  margin: 0 auto;
  color: #202223;
  max-width: 100%;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
}

.calculator label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0;
  font-weight: 400;
}

.calculator input[type="text"],
.calculator input[type="number"] {
  background: transparent;
}

.calculator h1,
.calculator h2,
.calculator h3,
.calculator h4,
.calculator h5,
.calculator h6,
.calculator p {
  margin: 0;
  font-size: 16px;
}
.calculator .header img {
  width: 100%;
}
.calculator .footer img {
  width: 100%;
}

.calculator a {
  text-decoration: none;
  color: inherit;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.calculator a:focus,
.calculator a:hover {
  text-decoration: none;
  color: inherit;
  outline: none;
}

.calculator .popover {
  border-left: 5px solid #00588b;
  background: var(--Secondary-secondary-50, #e8edee);
  border-radius: 0;
}

/* Custom CSS for popovers */
.calculator .popover {
  border: none;
  border-left: 5px solid #00588b;
  background: var(--Secondary-secondary-50, #e8edee);
  border-radius: 0;
}
.calculator .popover-title {
  background-color: #333;
  color: #fff;
}
.calculator .popover-content {
  color: #333;
}
.calculator .popover.right .arrow:after {
  border-right-color: #e8edee;
}
.calculator .popover.top .arrow:after {
  border-top-color: #e8edee;
}
.calculator .popover.bottom .arrow:after {
  border-bottom-color: #e8edee;
}
.calculator .popover.left .arrow:after {
  border-left-color: #e8edee;
}

/* END OF OVERRIDE BOOTSTRAP */

.calculator  main {
  margin: 24px auto;
  display: flex !important;
  justify-content: center;
  width: 100%;
  max-width: 1140px;
}

.calculator main iframe {
  border: 0;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
}

.calculator hr {
  background-color: #e8edee;
  color: #e8edee;
  opacity: 1;
}

@media only screen and (max-width: 1204px) {
  .calculator main iframe {
    width: 95%;
  }
}

.calculator .banner {
  position: relative;
}

.calculator .banner-text-container {
  background: #fff8e0;
  width: 388px;
  left: 44px;
}

.calculator .banner-title {
  font-family: sunlife-sans, sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%; /* 45px */
  margin: 0;
}


.calculator .banner-desc {
  font-family: sunlife-sans, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
}

.calculator .stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 60px 0;
}

.calculator .step {
  width: 160px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: default;
}

.calculator .step-circle {
  width: 40px;
  height: 40px;
  background-color: #e6e3da;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #5e5c58;
  margin-bottom: 8px;
}

.calculator .step-label {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
}

.calculator .step-line {
  width: 100px;
  height: 2px;
  background-color: #e6e3da;
  margin: 0 16px;
}

.calculator .step.completed .step-circle {
  background-color: #ffcb05;
}

.calculator .step.completed .step-label {
  color: #5b6062;
}

.calculator .step.ongoing .step-circle {
  background-color: #ffcb05;
  color: #202223;
}

.calculator .step.ongoing .step-label {
  color: #202223;
}

.calculator .step-title-container {
  background-color: #e6efef;
}

.calculator .step-title-container .step-n,
.calculator .title-step {
  font-weight: 400;
  margin: 0;
}

.calculator .step-n {
  font-size: 16px;
  line-height: 24px;
}

.calculator .title-step {
  font-size: 28px;
  line-height: 42px;
}

.calculator .form-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  border: 1px solid #ececec;
}

.calculator .form-section.perhitungan {
  padding: 0;
  gap: 16px;
  padding-bottom: 24px;
  border: none;
  border-bottom: 1px solid #ececec;
}

.calculator .input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calculator .input-box {
  display: flex;
  width: 161px;
  padding: 12px 16px;
  align-items: center;
  border: 1px solid #5b6062;
  background: #fff;
}

.calculator .input-box .inner-label {
  position: absolute;
  font-size: 12px;
  top: 8px;
  left: 16px;
  color: #5b6062;
}

.calculator input.input-box,
.calculator .input-box.with-inner-label.non-currency {
  width: 169px;
}

.calculator .input-box.with-inner-label {
  position: relative;
  padding-top: 27px;
  width: 438px;
}

.calculator .input-box.with-inner-label input:disabled {
  background-color: transparent;
}

/* Hide the default radio button */
.calculator input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #202223;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  margin: 0;
}

/* Style the inner circle when checked */
.calculator input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00588b;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.calculator .input-box.input-box.with-inner-label input {
  border: none;
  outline: none;
}

.calculator .disabled {
  background-color: #ececec !important;
}

/* Style the wrapper */
.calculator .radio-button {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  cursor: pointer;
}

/* Remove spinner buttons in number input for Chrome, Safari, Edge, Opera */
.calculator input[type="number"]::-webkit-inner-spin-button,
.calculator input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove spinner buttons in number input for Firefox */
.calculator input[type="number"] {
  -moz-appearance: textfield;
}

/* Keep the default border but remove the focus outline */
.calculator input[type="number"]:focus {
  outline: none;
  box-shadow: none;
}


.calculator .input-label {
  font-family: sunlife-sans, sans-serif;
  font-size: 20px;
}
.calculator .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: -4px;
}

.calculator .radio-group-button {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.calculator .radio-group-with-image {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.calculator .option-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #5b6062;
  width: 160px;
  height: 28px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  position: relative;
}

.calculator .option-button span {
  position: absolute;
  z-index: 10;
  border: none;
}

.calculator .option-button input {
  border: none;
}

.calculator .option-button input[type="radio"]:checked::before {
  content: "";
  width: 500px;
  height: 50px;
  background: #cceac7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border: none;
}

.calculator .option-button input[type="radio"]:focus {
  outline: transparent;
}

.calculator .option-button input[type="radio"]:checked + span {
  color: #003946;
}

.calculator .input-box.with-radio {
  background-color: transparent;
  position: relative;
  border: none;
}

.calculator .with-radio input[type="radio"] + span {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  border: 1px solid #5b6062;
  z-index: -1;
}

.calculator .with-radio input[type="radio"]:checked + span {
  border: 2px solid #0093cf;
  background-color: #e1f8ff;
}

.calculator .btn-check:checked ~ .title span {
  color: #184a58;
}

.calculator .option-image-button {
  display: flex;
  height: 48px;
  width: 203px;
  padding: 0 10px;
  margin: 1px 0 0 1px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #5b6062;
  background: #fff;
}

.calculator .option-image-button.gender {
  padding: 4px 24px;
}

.calculator .option-image-button.checked {
  border: 2px solid #0093cf;
  background-color: #e1f8ff;
  margin: 0;
}

.calculator .option-image-button.checked .title {
  color: #184a58;
}

.calculator .option-image-button.pensiun-option {
  width: 289px;
}

.calculator .calculation-tab {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #64868f;
}

.calculator .tab {
  flex: 1;
  padding: 10px 16px 16px 16px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  color: #5b6062;
  text-wrap: nowrap;
}

.calculator .tab.active {
  color: #202223;
  border-bottom: 3px solid #184a58;
}

.calculator .tab:hover {
  color: black;
}

/* Disabled option controlled input  */
/* #Tanggungan lain */

.calculator #tanggungan_input:disabled {
  background-color: #ececec;
}

/* Very small devices (extra small phones, 480px and down) */
@media (max-width: 480px) {
  .calculator .stepper {
    flex-direction: column;
    align-items: start;
  }

  .calculator .step {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin: 8px 0;
  }

  .calculator .step-line {
    width: 2px;
    height: 10px;
  }

  .calculator  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
    margin: 0;
  }
}

.calculator #nextBtn,
.calculator #nextBtn2,
.calculator #solusiBtn,
.calculator #submitEmailBtn {
  background-color: #ffcb05;
  padding: 12px 50px;
  border: none;
  font-size: 18px;
  font-weight: 700;
  color: #184a58;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator #submitEmailBtn {
  width: auto;
  cursor: pointer;
}

.calculator .modal{
  overflow: hidden;
}


.calculator .modal-dialog{
  display: block;
}

@media (min-width: 768px) {
  .calculator  .modal-dialog {
    max-width: 600px;
    width: auto;
    margin: 30px auto;
  }
}

@media (min-width: 992px) {
  .calculator  .modal-dialog.modal-lg{
      max-width: 800px;
  }
}

.calculator .modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.calculator .modal-content .form-input {
  width: 100%;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--Grey-Helios-Grey-800, #3d4142);
  background: var(--Netral-white, #fff);
}

.calculator .modal-content .form-control {
  border: none;
  height: 100%;
  width: 100%;
}

.calculator .modal-content .form-control:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.calculator #prevBtn {
  background-color: #ffffff;
  border: 1px solid #003946;
  padding: 12px 50px;
  font-size: 18px;
  font-weight: 700;
  color: #003946;
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator .section-count {
  display: flex;
  align-items: center;
  gap: 26px;
}
.calculator .box-balance {
  height: 20px;
  width: 20px;
  background-color: #0e9c25;
}

.calculator .box-target {
  height: 20px;
  width: 20px;
  background-color: #e0fae0;
  border: 1px solid #8bbf8b;
}

.calculator .bar-container {
  margin-top: 96px;
  background-color: #e0fae0;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.calculator .bar.balance {
  position: relative;
  background-color: #0e9c25;
  height: 100%;
}

.calculator .bar-container .marker {
  padding: 8px 12px;
  color: white;
  width: auto;
  position: absolute;
  top: -56px;
  background-color: #0e9c25;
  right: 0;
  transform: translateX(50%);
  white-space: nowrap;
}

.calculator .marker.min {
  left: 0;
  right: auto;
  transform: none;
}

.calculator .marker.max {
  right: -20px;
  left: auto;
  transform: none;
}

.calculator .marker.max.up98 {
  right: -10px;
  padding-right: 20px;
}

.calculator .tip-down {
  position: absolute;
  top: -24px;
  right: 0;
  transform: translateX(50%);
}

.calculator #ringkasan .section {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ececec;
}

.calculator #ringkasan .info {
  margin: 28px 0;
}

.calculator .gap {
  margin: 28px 0;
  color: #184a58;
  flex: 1;
}

.calculator .gap.max {
  position: absolute;
  top: 10;
  color: white;
}

.calculator #ringkasan .section-title {
  font-size: 24px;
  font-weight: 700;
}

.calculator .section-content {
  display: none;
}

.calculator .section-content.active {
  display: flex;
}

.calculator #prevBtn,
.calculator #nextBtn,
.calculator #nextBtn2,
.calculator #solusiBtn {
  cursor: pointer;
}

.calculator .modal {
  display: none;
}

.calculator .pensiun-desc {
  border-left: #184a58 5px solid;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calculator .section-title {
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

.calculator .error-message {
  color: red;
  font-size: 14px;
}

/* CUSTOM MODAL */
/* Custom CSS for the modal */
.calculator .modal-content {
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.calculator #modalEmailForm .modal-header {
  padding-bottom: 20px;
}
.calculator .modal-header {
  border-bottom: none;
  padding: 50px;
}

.calculator .modal-header .close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 30px;
  color: #000;
  font-weight: 400;
  opacity: 1;
}

.calculator .modal-body {
  position: relative;
  padding: 0px 20px 20px;
}

.calculator .modal-body .form-input {
  position: relative;
  padding-left: 40px;
}
.calculator .input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.calculator .modal-header .modal-title {
  color: #000;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
}

.calculator .modal-header .modal-title.form {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.calculator .modal-footer {
  padding-top: 0;
  padding-bottom: 40px;
}

.calculator .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 1;
  height: 404px;
  border: 1px solid var(--Secondary-secondary-200, #95acb2);
}

.calculator .card-img-top {
  border-bottom: 1px solid #ececec;
  height: 200px;
  object-fit: cover;
}

.calculator .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.calculator .card-title {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
}

.calculator .card-text {
  font-size: 16px;
  color: #000;
  margin-bottom: 8px;
  text-align: center;
}

.calculator .btn-submit {
  background: var(--Primary-primary-500, #ffcb05);
  display: flex;
  width: 200px;
  padding: 6px 50px 5px 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #184a58;
}

.calculator .btn-submit:hover {
  background-color: #e0a800;
}

.calculator #modalSolusiSelengkap .modal-cards {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 24px;
}

.calculator #section-3-summary .section {
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 30px;
}

.calculator #section-3-summary .info ul {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .calculator .row-cols-md-3 > .col {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}

/* Extra small devices (480px and below) */
@media (max-width: 480px) {
  .calculator .xs\:gap-20 {
    gap: 20px !important;
  }

  .calculator .input-box.with-inner-label {
    width: 100%;
  }

  .calculator #prevBtn,
  .calculator #nextBtn,
  .calculator #nextBtn2,
  .calculator #solusiBtn,
  .calculator #submitEmailBtn {
    padding: 12px 50px;
    width: 100%;
  }

  .calculator .btn-next {
    width: 100%;
  }

  .calculator #modalSolusiSelengkap .modal-cards {
    flex-direction: column;
  }
  .calculator .card-img-top {
    width: 100%;
    height: auto;
  }
}