@font-face {
  font-family: "Catalogue";
  font-display: swap;
  src: url("https://staging.depositpower.com.au/wp-content/uploads/et-fonts/Catalogue-Regular-1.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Catalogue";
  font-display: swap;
  src: url("https://staging.depositpower.com.au/wp-content/uploads/et-fonts/Catalogue-Medium.ttf") format("truetype");
  font-weight: 500;
}
.show {
  display: block !important;
}
.show-flex {
  display: flex !important;
}
.tab-button-wrapper {
  display: flex;
  padding: 8px;
  margin: auto;
  border-radius: 100px;
  border: 1px solid #E4DCEA;
  background-color: #E4DCEA;
}
.tab-button-wrapper .button-tab {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: 307px;
  padding: 11px 24px;
  border-radius: 1000px;
  font-size: 12px;
  font-weight: 600;
  color: #323232;
  cursor: default;
}
.tab-button-wrapper .button-tab * {
  cursor: inherit;
}
.tab-button-wrapper .button-tab span {
  font-size: 18px;
  text-align: center;
}
.tab-button-wrapper .button-tab .icon {
  display: none;
}
.tab-button-wrapper .button-tab .icon > svg {
  fill: #fff;
}
.tab-button-wrapper .button-tab .icon > svg path {
  fill: #323232;
}
.tab-button-wrapper .button-tab.active {
  background-color: #323232;
  color: #fff;
}
.tab-button-wrapper .button-tab.active .icon > svg {
  fill: #414141;
}
.tab-button-wrapper .button-tab.active .icon > svg .icon-border {
  stroke: #666666;
}
.tab-button-wrapper .button-tab.active .icon > svg path {
  fill: #fff;
}
#saving-heading-desc {
  display: none;
}
.calculator {
  background: #D4CADB;
  padding: 16px;
  border-radius: 24px;
}
.calculator .tab-description {
  text-align: center;
  max-width: 680px;
  padding: 0;
}
.calculator .tab-description p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  max-width: 100vw;
  color: #323232;
}
.calculator-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.calculator-form {
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.calculator-form * {
  font-family: 'Catalogue', Arial, Helvetica !important;
}
.calculator-form:not(.active) {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.calculator-form.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.calculator-form-wrapper {
  position: relative;
  margin-top: 40px;
  min-height: 300px;
}
.fee-calc {
  font-family: 'Catalogue', Arial, Helvetica;
}
.fee-calc.form-card {
  background-color: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
}
.fee-calc .form-group {
  margin-bottom: 15px;
}
.fee-calc .form-group.error input, .fee-calc .form-group.error select, .fee-calc .form-group.error .input-container {
  border-color: #d93025;
}
.fee-calc .form-group.error .error-message {
  display: block;
}
.fee-calc .form-group#select-months {
  margin-bottom: 24px;
}
.fee-calc label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 14px;
}
.fee-calc .subtext {
  font-size: 14px;
  color: #323232;
  margin-top: -8px;
}
.fee-calc select {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 11px;
  box-sizing: border-box;
  background-color: #fff;
  color: #444;
  appearance: none;
}
.fee-calc .select-wrapper {
  position: relative;
}
.fee-calc .select-wrapper::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M11.9998 14.9499C11.8665 14.9499 11.7415 14.9291 11.6248 14.8874C11.5081 14.8457 11.3998 14.7749 11.2998 14.6749L6.6998 10.0749C6.51647 9.89157 6.4248 9.65824 6.4248 9.3749C6.4248 9.09157 6.51647 8.85824 6.6998 8.6749C6.88314 8.49157 7.11647 8.3999 7.3998 8.3999C7.68314 8.3999 7.91647 8.49157 8.0998 8.6749L11.9998 12.5749L15.8998 8.6749C16.0831 8.49157 16.3165 8.3999 16.5998 8.3999C16.8831 8.3999 17.1165 8.49157 17.2998 8.6749C17.4831 8.85824 17.5748 9.09157 17.5748 9.3749C17.5748 9.65824 17.4831 9.89157 17.2998 10.0749L12.6998 14.6749C12.5998 14.7749 12.4915 14.8457 12.3748 14.8874C12.2581 14.9291 12.1331 14.9499 11.9998 14.9499Z' fill='%23323232'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.fee-calc .toggle-group {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 16px;
  margin-bottom: -12px;
}
.fee-calc .toggle-group input {
  display: none;
}
.fee-calc .toggle-group input:checked + .toggle-btn {
  background: var(--dp-color-secondary);
}
.fee-calc .toggle-btn .selected {
  background: #FCEA8C;
}
.fee-calc .toggle-btn:hover {
  background-color: #f9f9f9;
}
.fee-calc .input-container {
  display: flex;
  align-items: center;
  height: 36px;
}
.fee-calc .input-container span {
  margin-right: 3px;
  color: #333;
  padding-top: 1px;
}
.fee-calc .input-container input {
  border: none;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  font-size: 12px;
  color: #333;
  height: 100%;
}
.fee-calc .calculate-btn {
  display: block;
  width: 250px;
  margin: 30px auto 0;
  padding: 15px;
  background-color: #fef08a;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Raleway', Arial, sans-serif !important;
  transition: background 0.2s;
}
.fee-calc .calculate-btn:hover {
  background-color: #fde047;
}
.fee-calc .button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-group.rate {
  width: 100%;
}
.form-group .rate-wrapper {
  flex-direction: column;
  gap: 0;
}
.input-container {
  width: 100%;
  padding: 6px 18px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 11px;
  box-sizing: border-box;
  background-color: #fff;
  color: #444;
  appearance: none;
}
.toggle-group {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 16px;
}
.toggle-group input {
  display: none;
}
.toggle-group input:checked + .toggle-btn {
  background: var(--dp-color-secondary);
}
.toggle-btn {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #333;
  background: transparent;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}
.icon-btn {
  display: flex;
  gap: 8px;
  width: auto;
  justify-content: center;
  border: none;
  align-items: center;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  padding: 13px;
  cursor: pointer;
  font-family: 'Raleway', Arial, sans-serif !important;
  transition: background 0.2s;
}
.select-wrapper {
  _height: 56px;
}
.applicant-type {
  height: 100%;
}
.calc-card {
  background: #FBFBFB;
  padding: 24px;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
}
.saving-tab-content .calc-card {
  padding-top: 12px;
  padding-bottom: 16px;
  padding-left: 16px;
}
.date-card {
  display: none;
  margin-bottom: 25px;
}
.error-message {
  color: #d93025;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}
#result-fee, #result-saving {
  display: none;
  flex-direction: column;
  gap: 32px;
}
#result-fee .header, #result-saving .header {
  font-size: 12px;
  font-weight: 400;
  font-family: 'Catalogue', Arial, Helvetica !important;
  line-height: 110%;
  color: #666666;
}
#result-fee .result, #result-saving .result {
  font-size: 16px;
  font-weight: 500;
  font-family: 'Catalogue', Arial, Helvetica;
  line-height: 125%;
}
#result-fee p, #result-saving p {
  font-size: 12px;
  font-weight: 500;
  line-height: 135%;
  color: #666666;
}
#result-saving .description > p {
  font-size: 14px;
  line-height: 125%;
  font-weight: 400;
  color: #323232;
}
.et_pb_row_2.et_pb_row {
  width: 100%;
}
@media (min-width: 768px) {
  .calculator {
    padding: 24px;
  }
  .calculator .tab-description {
    padding: 0 59px;
  }
}
@media (min-width: 1024px) {
  .calculator {
    padding: 64px;
  }
  .calculator .tab-description {
    text-align: center;
    max-width: 680px;
    padding: 0 16px;
  }
  .calculator .tab-description p {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    max-width: 516px;
    color: #323232;
  }
  .calculator-form {
    padding: 40px;
  }
  .icon-btn {
    width: 189.33px;
    gap: 16px;
    padding: 10px 32px;
  }
  .et_pb_row_2.et_pb_row {
    width: 90% !important;
  }
  .tab-button-wrapper .button-tab {
    padding: 16px 24px;
    font-size: 22px;
    justify-content: center;
    height: 64px;
  }
  .tab-button-wrapper .button-tab span {
    font-size: 100%;
  }
  .tab-button-wrapper .button-tab .icon {
    display: block;
    width: 40px;
    height: 40px;
  }
  .saving-tab-wrapper .button-tab {
    padding: 16px 24px;
    font-size: 22px;
    justify-content: center;
    height: 64px;
  }
  #result-saving .description > p {
    font-size: 16px;
    line-height: 125%;
    font-weight: 400;
    color: #323232;
  }
  #result-fee .result {
    font-size: 32px;
    font-weight: 600;
  }
  #result-fee .header {
    font-size: 16px;
    font-weight: 500;
    color: #323232;
  }
  .saving-tabs-wrapper {
    display: flex;
    gap: 0;
    padding: 4px;
    width: fit-content !important;
    background-color: #F0F0F0;
    border-radius: 100px;
  }
  .saving-tab-button {
    padding: 17px 16px;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 20px;
    height: 45px;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    color: #323232;
    cursor: pointer;
    border-radius: 100px;
    background-color: transparent;
    transition: all 0.3s ease;
    border: none;
  }
  .toggle-btn {
    padding: 12px 23.5px;
    line-height: 100%;
    max-height: 40px;
  }
  .fee-calc label {
    font-weight: 500;
    font-size: 16px;
  }
  .fee-calc .input-container {
    display: flex;
    align-items: center;
    height: 56px;
  }
  .fee-calc .input-container input {
    font-size: 16px;
  }
  .fee-calc .calculate-btn {
    display: block;
    width: 284px;
    height: 48px;
    margin: 48px auto 0;
    padding: 10px 32px;
    background-color: #fef08a;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Raleway', Arial, sans-serif !important;
    transition: background 0.2s;
  }
  .fee-calc .button-container {
    flex-direction: row;
  }
  .fee-calc .form-group {
    margin-bottom: 25px;
  }
  .fee-calc select {
    width: 100%;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
    background-color: #fff;
    color: #444;
    appearance: none;
  }
  .form-group.rate {
    width: 48%;
  }
  .form-group .rate-wrapper {
    flex-direction: row;
    gap: 24px;
  }
  .form-group#select-months {
    margin-bottom: 0;
  }
  .result.button-wrapper {
    display: none;
  }
  .input-container {
    width: 100%;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
    background-color: #fff;
    color: #444;
    appearance: none;
  }
  #customer {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .modal-cal-content-body h4 {
    font-size: 18px !important;
    line-height: 36px !important;
    font-weight: 600 !important;
  }
  #dateinput::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
  .date-wrapper {
    position: relative;
    display: inline-block;
  }
  .date-wrapper::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 28px;
    height: 25px;
    background: url("https://staging.depositpower.com.au/wp-content/uploads/2026/03/Calendar.png") no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .field {
    position: relative;
  }
  .input-icon {
    position: absolute;
    left: 12px;
    display: none;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
  }
  .field-me::placeholder {
    font-size: 16px !important;
    line-height: 20px;
    font-weight: 400;
  }
}
.field-me::placeholder {
  font-size: 12px !important;
}
.field-wrapper {
  position: relative;
  display: inline-block;
}
.info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #5A5A5A;
  cursor: pointer;
}
.info-icon:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}
.tooltip-box {
  position: absolute;
  bottom: 180%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  padding: 16px 18px;
  background: #2c2c2c;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 100;
}
.tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #2c2c2c transparent transparent transparent;
}
.saving-tabs-wrapper {
  display: flex;
  gap: 0;
  background-color: #F0F0F0;
  border-radius: 100px;
  width: 100%;
  justify-content: center;
}
.saving-tab-button {
  padding: 17px 16px;
  font-size: 14px;
  font-weight: 400;
  color: #323232;
  cursor: pointer;
  border-radius: 100px;
  background-color: transparent;
  transition: all 0.3s ease;
  border: none;
}
.saving-tab-button:hover {
  background-color: rgba(50, 50, 50, 0.1);
}
.saving-tab-button.active {
  background-color: #2B357A;
  color: #fff;
}
.saving-tab-content {
  display: none;
}
.saving-tab-content.active {
  display: block;
}
.sub-description {
  color: #666666;
}
