/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

/*! LAYOUT STYLES */

body {
  margin: 0;
  padding: 0;
  width: calc(100vw);
  height: 100%;
  overflow-x: hidden;
  font-family: "europa", sans-serif;
  color: #354052;
  text-align: center;
}

/*! DEFAULT STYLES */

header {
  margin-left: auto;
}

table {
  font-size: medium;
  border-collapse: collapse;
  text-align: left;
  padding: 1rem;
  width: 70%;
  margin: 1.5rem auto;
  position: relative;
  margin-top: -0.5rem;
  overflow: hidden;
  height: 100%;
}

th {
  margin: 0.5em 1em;
  height: 70px;
  text-align: center;
  font-weight: 300;
  font-family: "europa", sans-serif;
  border-bottom: 1px solid #ddc5b2;
  color: #061323;
}

td {
  text-align: center;
  padding: 0.5em 0.25em;
  height: 3.4rem;
  border-bottom: 1px solid #ddc5b2;
}

table th:nth-child(1),
td:nth-child(1) {
  border-right: 1px solid #ddc5b2;
}

table th:nth-child(2),
td:nth-child(2) {
  border-right: 1px solid #ddc5b2;
}

table tr:nth-child(1) {
  background: #e9eff7;
  color: black;
  font-weight: 400;
  font-size: 15px;
}

table td:last-child,
th:last-child {
  background-color: #f0ebee;
}

h1 {
  font-size: 28px;
  font-weight: 100;
  color: #e3f3ff;
}

h2 {
  font-size: 36px;
  font-weight: 300;
  color: #921795;
}

h3 {
  color: #80868d;
  font-size: 16px;
  font-weight: 300;
}

h4 {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.45;
  max-width: 700px;
}

h5 {
  font-size: 42px;
  font-weight: 100;
  color: #2764ac;
}

h6 {
  font-size: 12px;
  font-weight: 400;
  color: black;
  margin: 0;
  padding: 0;
}

/*! CLASS STYLES */

/*! IDs STYLES */

#mainContainer {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 100%;
}

#headerContainer {
  margin-top: 1rem;
  padding: 1rem;
  padding-bottom: 0px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

#calculatorsContainer {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

#header {
  display: flex;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  background: #2764ac;
}

#headerTextContainer {
  width: 100%;
  margin-left: 35px;
}

#printContainer {
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

#printContainer button {
  border: none;
  cursor: pointer;
  background-color: transparent;
}

#printContainer button:focus {
  outline: none;
}

#printContainer button:hover svg path {
  fill: #f9f9f7;
  transform: scale(1.1);
  transition: 300ms;
}

#printContainer svg {
  width: 23px;
  height: 23px;
}

#printContainer.hover {
  width: 30px;
  height: 30px;
}

#printContainer svg path {
  fill: #f9f9f7;
  transition: fill 250ms;
}

#tabs {
  justify-content: center;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0rem;
  width: 100%;
}

#calcGridLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
  /* height: 100%;
  overflow-y: scroll; */
}

#toggleBtnViewContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 2rem;
}

#recapRevTable {
  width: 100%;
  min-width: 850px;
  overflow-x: auto;
}

.tabs__radio {
  display: none;
}

.tabs__label {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  border-bottom: 3px solid transparent;
  width: 7rem;
}

.tabs__radio:checked + .tabs__label {
  width: 7rem;
  font-weight: bold;
  color: #2764ac;
  border-bottom: 3px solid #2764ac;
  transition: all 100ms ease-in;
}

.tab-content {
  display: none;
  width: 100%;
  margin-top: 2rem;
}

#tab1:checked ~ .content1 {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  align-items: start;
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
}

#tab2:checked ~ .content2 {
  display: block;
  overflow-x: auto;
  max-width: 70vw;
  width: 100%;
  justify-self: center;
}

#calculatorContainer {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
}

#billingTypeContainer {
  display: grid;
  justify-items: center;
  align-content: start;
  grid-template-columns: 1fr;
  border: 1px solid #ddc5b2;
  padding: 16px;
  width: 400px;
  height: 501px;
}

/* #billingTypeRadioBtnContainer::after {
  position: absolute;
  bottom: 355px;
  left: calc(31vw + 4px);
  right: calc(72vw);
  content: "";
  width: 15px;
  height: 15px;
  background: #fff;
  border: solid #DDC5B2;
  rotate: -90deg;
  border-width: 0 1px 1px 0;
  -webkit-transform: translateX(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) rotate(45deg);
  transform: translateX(-50%) rotate(45deg);
} */

#billingTypeRadioBtnContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.radio-wrapper {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 16px;
}

/* Hide native radio */
.square-radio {
  display: none;
}

.radio-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

/* Hide native radio input */
.square-radio {
  display: none;
}

/* Custom square label */
.square-label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.square-label::before {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #ddc5b2;
  background-color: white;
  transition: background-color 0.2s, border-color 0.2s;
}

.square-radio:checked + .square-label::before {
  background-color: #007bff;
  border-color: #007bff;
}

.inputWrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.inputWrapper input {
  text-align: start;
  height: 58px;
  font-size: 16px;
  border: 1px solid #ddc5b2;
  max-width: 400px;
  min-width: 240px;
}

.inputWrapperPurple {
}

.inputWrapperPurple input {
  width: 100%;
  text-align: start;
  height: 40px;
  font-size: 16px;
  border: 1px solid #921795;
  padding-left: 16px;
  max-width: 100px;
}

#tab1-inputs-container {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  text-align: center;
  width: 100%;
  gap: 0.5rem;
  margin-top: 2rem;
}

.resultsContainer {
  margin-top: 0.5rem;
  height: 155px;
  max-width: 20rem;
  width: 99%;
  background-color: #e9eff7;
  border: 1px solid #ddc5b2;
  display: block;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

#resultText {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#quickLookInputLabel1 {
  margin-left: -3rem;
}

#quickLookInputLabel2 {
  margin-left: -4rem;
}

.centeredGrid {
  display: grid;
  justify-items: start;
  align-items: start;
}

.leftColumn {
  text-align: left;
  padding-left: 1rem;
}

#footer {
  display: none;
  justify-content: center;
  align-items: start;
}
#footnotes {
  width: 75%;
}

/* STYLING FOR PAGE PRINT */
@media print {
  body {
    margin: 0;
  }

  #recapRevTable {
    width: 100%;
    margin-top: 1rem;
    min-width: 550px;
    overflow-x: visible;
  }

  .centeredGrid {
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-content: center;
    gap: 0.5rem;
  }

  #tabs {
    padding-bottom: 0px;
  }

  .resultsContainer {
    max-width: 220px;
    margin-top: 0px;
  }

  @page {
    size: auto; /* Or use: size: A4 landscape; */
    margin: 0mm; /* Reduce default margins */
  }

  th,
  td {
    border: 1px solid #000;
    padding: 6px;
  }

  /* Optional: Force landscape for wide tables */
  html,
  body {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1260px) {
  .radio-wrapper {
    padding: 0px;
  }

  #mainContainer {
    align-self: start;
    height: 100%;
    justify-items: center;
    align-content: start;
  }

  #headerContainer {
    width: calc(100vw);
    padding: 0rem;
    padding-top: 0rem;
  }

  #calcGridLayout {
    padding: 0px;
    justify-items: center;
  }

  #calculatorsContainer {
    width: calc(100vw);
    margin-left: auto;
    margin-right: auto;
  }

  #tab1:checked ~ .content1 {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    /* overflow-y: auto; */
  }

  #tab2:checked ~ .content2 {
    max-width: calc(100vw - 50px);
  }

  #tab1-inputs-container {
    gap: 0px;
  }

  #billingTypeRadioBtnContainer {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #billingTypeContainer {
    width: 98%;
    height: 100%;
    padding: 0px;
    margin-bottom: 2rem;
  }

  #quickLookInputLabel1 {
    margin-left: 0px;
  }

  #quickLookInputLabel2 {
    margin-left: 0px;
  }

  #resultsContainer {
    padding: 0px;
  }

  #footnotes {
    width: 80%;
  }
}

/*# sourceMappingURL=main.css.map */
