::-moz-selection {
  background-color: #D8A068;
  color: #0F202E;
}

::selection {
  background-color: #D8A068;
  color: #0F202E;
}

body {
  margin: 0;
  padding-top: 5rem;
  box-sizing: border-box;
  background-color: #F5EEE1;
  color: #0F202E;
  font-family: "Playfair Display", serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading {
  position: fixed;
  left: 0;
  top: 0;
  border: 0.2rem solid #D8A068;
  background-color: #0F202E;
  color: #F5EEE1;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 1rem;
  border-radius: 0 0 15px 0;
  z-index: 9;
}

#interestForm {
  min-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inputGroup {
  margin-bottom: 1vh;
  display: flex;
  flex-direction: column;
  min-width: 50%;
}

.submitBtn {
  max-width: 50%;
  cursor: pointer;
  border: 0.25vh solid #0F202E;
  background-color: #0F202E;
  color: #F5EEE1;
  transition-duration: 150ms;
  border-radius: 5px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.submitBtn i,
#result i,
#copyTableBtn i,
#downloadPdfBtn i,
#totalSum i {
  color: #D8A068;
}

.submitBtn:hover {
  background-color: #F5EEE1;
  color: #0F202E;
}

#resultText {
  margin-top: 1vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  font-size: 1.3rem;
  color: #0F202E;
}

#figure,
#totalSumAmount {
  font-size: 2rem;
  text-align: center;
}

#result,
#totalSum {
  text-align: center;
}

.interestFigs,
.totalFigs {
  width: min(14rem, calc(50vw - 1.5rem));
  min-width: 0;
}

.resultBoxes {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 1vh;
  border-radius: 5px;
  border: 0.2vh solid transparent;
}

#figure:hover,
#totalSumAmount:hover {
  cursor: copy;
  border-color: #0F202E;
}

#intBreakdown {
  width: min(40%, 72rem);
  margin: 2vh auto;
  border: 1px solid #0F202E;
  border-collapse: collapse;
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 1rem;
  text-align: right;
}

#intBreakdown td {
  border: 1px solid #0F202E;
  padding: 0.6rem 0.75rem;
}

#intBreakdown tr:first-child,
#intBreakdown tr:last-child {
  background-color: #0F202E;
  color: #F5EEE1;
  font-weight: 700;
}

#intBreakdown tr:first-child td,
#intBreakdown tr:last-child td {
  border-color: #F5EEE1;
}

.tableActions {
  display: none;
  width: min(40%, 72rem);
  gap: 0.5rem;
  justify-content: flex-end;
  margin: -1vh auto 2vh;
}

.tableActions.visible {
  display: flex;
}

.copyTableBtn,
.downloadPdfBtn {
  cursor: pointer;
  border: 0.15rem solid #0F202E;
  background-color: #0F202E;
  color: #F5EEE1;
  transition-duration: 150ms;
  border-radius: 5px;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  padding: 0.35rem 0.6rem;
}

.copyTableBtn:hover,
.copyTableBtn:focus-visible,
.downloadPdfBtn:hover,
.downloadPdfBtn:focus-visible {
  background-color: #F5EEE1;
  color: #0F202E;
}

.pdfExport {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.5rem !important;
  overflow: visible !important;
  display: block !important;
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

.pdfExport button,
.pdfExport .tableActions,
.pdfExport .toaster {
  display: none !important;
}

.pdfExport .heading {
  position: static;
  width: calc(100% - 0.4rem);
  box-sizing: border-box;
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
}

.pdfExport #interestForm,
.pdfExport #resultText,
.pdfExport #intBreakdown,
.pdfExport .inputGroup,
.pdfExport .interestFigs,
.pdfExport .totalFigs {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.pdfExport #interestForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
}

.pdfExport .fieldInputs {
  height: 2.5rem;
  font-size: 1rem;
}

.pdfExport #resultText {
  display: none;
}

.pdfExport .pdfSummary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  margin: 1rem 0;
}

.pdfExport .pdfSummaryBox {
  min-width: 0;
  text-align: center;
}

.pdfExport .pdfSummaryLabel {
  font-size: 1.3rem;
}

.pdfExport .pdfSummaryLabel i {
  color: #D8A068;
}

.pdfExport .pdfSummaryValue {
  margin-top: 0.5rem;
  font-size: 2rem;
}

.pdfExport input,
.pdfExport select,
.pdfExport #intBreakdown {
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

.pdfExport #intBreakdown {
  margin-top: 0.5rem;
}

.pdfExport #intBreakdown tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.pdfExport .interestType select {
  display: none !important;
}

.pdfExport .pdfInterestType {
  font-weight: bold;
}

.pdfExport #intBreakdown tr:first-child,
.pdfExport #intBreakdown tr:last-child {
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

.pdfExport #intBreakdown tr:first-child td,
.pdfExport #intBreakdown tr:last-child td {
  border-color: #000000;
}

.toaster {
  position: absolute;
  bottom: 1vh;
  left: 1vh;
  border: 0.1vh solid #0F202E;
  border-radius: 5px;
  padding: 1vh;
  background-color: #0F202E;
  color: #F5EEE1;
  transform: translate(0%);
  transition-duration: 150ms;
  font-size: 2rem;
}

.toasterHidden {
  transform: translate(-150%);
}

.hide {
  display: none;
  transition-duration: 1.5s;
}

.fieldInputs {
  font-family: "Playfair Display", serif;
  border: none;
  border-bottom: 0.25vh solid #0F202E;
  margin-top: 1vh;
  outline: none;
  cursor: text;
  background-color: #F5EEE1;
  font-size: 2rem;
  height: 5rem;
}

input::-webkit-datetime-edit-day-field:focus,
input::-webkit-datetime-edit-month-field:focus,
input::-webkit-datetime-edit-year-field:focus {
  background-color: #c0564a;
  color: #0F202E;
  outline: none;
}

.dropdown {
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  background-color: #F5EEE1;
  color: #0F202E;
  outline: none;
  border: none;
  border-bottom: 0.15rem solid #0F202E;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  cursor: pointer;
  font-weight: bold;
}/*# sourceMappingURL=intstyle.css.map */