html * {
  box-sizing: border-box;
}

body {
  background: #e2eff2;
  font-family: "Montserrat";
  font-weight: 500;
}

a {
  color:#1fade4;
}

strong {
  font-weight: 900;
}

.calculator-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8vh 0;
}

.calculator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  max-width: 90%;
  color: #000000;
}

.branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.calculator-tabs {
  background: #eeeeee;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2rem rgb(157 197 209 / 0.5);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.calculator-results {
  background: #1fade4;
  padding: 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  color: #fff;
  text-align: center;
}

span.result-heading {
  display: block;
  font-weight: 700;
}

.revenue-result {
}

span.subtext {
  font-size: 1rem;
}

.tab-nav {
  display: flex;
}

.tab {
  flex: 1 0 50%;
  text-align: center;
  font-weight: bold;
  color: #a7a8a8;
  padding: 1rem 0;
  background: #e2e2e2;
  cursor: pointer;
}

.tab.active {
  color: #1fade4;
  background: #eeeeee;
}

.tab:first-child {
  border-radius: 0.5rem 0 0 0;
}

.tab:last-child {
  border-radius: 0 0.5rem 0 0;
}

.calculator-details {
  padding: 1.5rem;
}

span.tab-content_description {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.calculator-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.calculator-label {
  font-size: 1rem;
  text-align: right;
}

.calculator-inputs input,
.calculator-inputs .input-wrap {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 0.25rem;
  padding: 0.25rem;
  border: 1px solid #b5b5b5;
  font-family: "Montserrat";
}

.calculator-inputs .input-wrap {
  padding: 0;
}

.input-wrap input {
  border: none;
  width: calc(100% - 1rem);
}

.input-dollar,
.input-percent {
  position: relative;
}

.input-dollar::after {
  content: "$";
  position: absolute;
  top: 50%;
  left: 0.25rem;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: rgb(0 0 0 / 50%);
}

.input-dollar input {
  margin-left: 1rem;
}

.input-percent::after {
  content: "%";
  position: absolute;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: rgba(0 0 0 / 0.5);
}
