/* src/css/base/breakpoints.css */

/* src/css/calculator-light.css */
.evt-calc input,
.evt-calc select {
  appearance: none;
  background: transparent;
  color: var(--color-text);
  border-radius: 0;
  flex: 1;
  padding: 12px;
  box-sizing: content-box;
}
.evt-calc select {
  color: var(--color-text-light);
}
.evt-calc article {
  padding: 0;
}
.evt-calc small {
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-serif);
  color: var(--color-text-light);
}
.evt-calc input:focus,
.evt-calc select:focus {
  outline-offset: 2px;
  outline: 1px solid var(--color-primary);
}
.evt-calc-row {
  background-color: var(--color-input-background);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}
.evt-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
}
.evt-calc-field label,
.evt-calc-card h3 {
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-serif);
  color: var(--color-text-light);
  text-transform: none;
}
.evt-calc-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  @media screen and (min-width: 576px) {
    margin-bottom: 32px;
  }
  @media screen and (min-width: 768px) {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1.25rem;
    margin-bottom: 48px;
  }
  @media screen and (min-width: 992px) {
    margin-bottom: 72px;
  }
  .evt-calc-form {
    @media screen and (min-width: 768px) {
      grid-column: span 3;
    }
    @media screen and (min-width: 992px) {
      grid-column: span 3;
    }
  }
  .evt-calc-results {
    @media screen and (min-width: 768px) {
      grid-column: 5 / span 5;
    }
  }
}
.evt-calc-input {
  flex: 1 1 auto;
  width: 100%;
}
.evt-calc-select {
  text-align: right;
  flex-shrink: 0;
  max-width: fit-content;
}
.evt-calc-select--uncertainty {
  width: 62px;
  text-align: center;
}
.evt-calc-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  @media screen and (min-width: 768px) {
    padding-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    row-gap: 0;
  }
}
.evt-calc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.evt-calc-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  @media screen and (min-width: 768px) {
    width: calc(50% - 0.625rem);
  }
}
.evt-calc-cta p {
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-serif);
  color: var(--color-text-light);
}
.evt-calc-card--good .evt-calc-value {
  color: var(--color-primary);
}
.evt-calc-card--bad .evt-calc-value {
  color: var(--color-error);
}
.evt-calc-value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.evt-calc-range {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
