.error {
  border: 1px solid red;
}

#breakdown {
  margin-top: 2px;
}

.stamp-duty-button-container {
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  gap: 8px;
}

.calculator-button.stamp-duty-button {
  width: 50%;
}

.calculator-button.stamp-duty {
  width: 50%;
  padding: 0;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 40px;
  line-height: 38px;
}

.calculator-box.location {
  width: 100%;
}

#breakdownTableContainer {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}

.result-table-row {
  display: flex;
  justify-content: space-between;
  height: 45px;
  width: fit-content;
  min-width: 40%;
  line-height: 45px;
}

.header-text {
  text-align: left;
  display: flex;
  width: fit-content;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.125px;
}

.header-result {
  text-align: right;
  display: flex-end;
  width: fit-content;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.125px;
  margin-left: 50px;
}

.small-decimals {
  font-size: 0.8em;
}

table {
  width: 100%;
}

.breakdown {
  width: 100%;
}

.repayment-table-header,
.repayment-table-header.mobile {
  height: 60px;
}

.repayment-table-header th {
  text-transform: uppercase;
}

.repayment-table-head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  color: white;
}

.repayment-table-header {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
  background-color: transparent;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.125px;
  color: white;
  text-transform: uppercase;
  font-size: 12px;
}

.table-cell-header-width {
  margin-top: 0;
  height: 40px;
  align-items: center;
  align-content: center;
}

.column-1,
.column-2,
.column-3,
.column-4 {
  height: 45px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.column-1 {
  width: 10%;
}

.column-2 {
  width: 40%;
  text-align: left;
  padding-left: 10%;
}

.column-3,
.column-4 {
  width: 25%;
}

.column-1.summary,
.column-2.summary,
.column-1.mobile-summary,
.column-4.summary {
  font-weight: 600;
  height: 40px;
}

.column.summary {
  padding: 20px 0 10px 0;
  white-space: nowrap;
  font-weight: 600;
}

.column.summary.right {
  text-align: right;
}

.calculator-header-result-2 {
  margin-top: 10px;
  margin-bottom: 30px;
}

.table-rectangle {
  margin-bottom: 5px;
}

.odd-row {
  background-color: #f9f9f9;
}

/* --- Media Queries --- */

@media (max-width: 800px) {
  .interestRate-box-title {
    padding: 10px 0 0 0;
    text-align: center;
  }

  .column-1 {
    display: none;
  }

  .column-2.summary.mobile {
    display: flex;
  }

  .column-2.summary.web {
    display: none;
  }
}

@media (max-width: 600px) {
  .column-2.summary {
    font-weight: 600;
    font-size: 18px;
    height: 60px;
  }

  .calculator-header-result-2 {
    margin-bottom: 10px;
  }
}

@media (max-width: 450px) {
  .calculator-button {
    padding: 0 8px;
  }

  .calculator-box.location {
    margin-top: 25px;
  }

  .result-table-row {
    width: auto;
  }

  .header-text {
    font-size: 14px;
  }

  .header-result {
    margin-left: auto;
    font-size: 22px;
  }

  .column-1,
  .column-2,
  .column-3,
  .column-4 {
    width: fit-content;
    font-size: 14px;
  }

  .column-1 {
    display: none;
  }

  .column-2.summary.mobile {
    display: flex;
  }

  .resultNumber-container {
    flex-direction: column;
    gap: 0vw;
  }

  .resultNumber-box {
    margin-bottom: 20px;
  }
}
