/* =============================
 * ending global/base styles
 * ============================= */

/* =============================
 * starting progress bar styles
 * ============================= */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
.progress-bar {
  width: 100%;
  background: #efefef;
  position: relative;
  display: none;
  z-index: 2;
}
.progress-indicator {
  border-radius: 24px;
  width: 10%;
  height: 4px;
  border-radius: 0px 6px 6px 0px;
  background: var(--Primary-700, #3b8057);
  transition: width 1s ease;
}
.progress-bar h5 {
  color: #aaa;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.14px;
  position: absolute;
  left: 20px;
  top: 10px;
}
.progress-bar span {
  color: var(--Primary-700, #3b8057);
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0.14px;
}

/* =============================
 * ending progress bar styles
 * ============================= */

/* =============================
 * starting validation message styles
 * ============================= */
.error-message {
  text-align: center;
  align-self: center;
  font: 400 16px Lato, sans-serif;
  color: red;
  display: none;
  margin: 0px;
}

/* =============================
 * ending validation message styles
 * ============================= */

/* =============================
 * starting main/quote-container/form-container styles
 * ============================= */
.main {
  flex: 1;
  padding: 0px 24px;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  background: #fff;
  z-index: 1;
}

.quote-container {
  max-width: 500px;
  width: 100%;
  margin: 0px auto;
  height: 100%;
  padding: 30px 0px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.form-container {
  width: 100%;
  height: 100%;
  font: 400 20px Lato, sans-serif;
}

.form-container > div {
  gap: 15px;
  width: 100%;
  align-items: stretch;
  min-height: calc(100dvh - 130px);
}
/* =============================
 * ending main/quote-container/form-container styles
 * ============================= */

/* =============================
 * starting reviews section styles
 * ============================= */
.button-review-container {
  max-height: 171px;
}
.reviews-container {
  width: 100%;
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: #f9f5e9;
  flex-shrink: 0;
  margin-top: auto;
}
.reviews-containerImage {
  flex: 1;
  overflow: hidden;
  height: 100%;
  border-radius: 50%;
}
.reviews-container img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.reviews-containerInfo {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  /* background-color: red; */
  height: 100%;
}

.reviews-containerInfo--top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviews-containerInfo--top h3 {
  color: var(--Neutral-600, #4b4b4b);
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.14px;
  text-wrap: nowrap;
  margin: 0px;
}

.reviews-containerInfo--bottom {
  color: var(--Neutral-600, #4b4b4b);
  /* leading-trim: both; */
  /* text-edge: cap; */
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.16px;
  margin: 0px;
}
/* =============================
 * ending reviews section styles
 * ============================= */

/* =============================
 * starting insurance/coverage/gender button styles
 * ============================= */
.container-insurance {
  width: 100%;
  max-width: 475px;
  flex-shrink: 0;
  border-radius: 16px;
  background: #edffef;
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 10px;
  margin: 0px auto;
  border: none;
  white-space: normal;
  text-align: left;
}
.coverage-button.selected,
.tobacco-button.selected,
.health-option.selected {
  background-color: var(--Primary-900, #0c6631);
  color: #fff;
}

.container-insurance h2 {
  color: #1d742b;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.24px;
  margin: 0px;
}

.container-insurance p {
  color: var(--Neutral-600, #4b4b4b);
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px;
  margin: 0px;
}

.container-insurance span {
  gap: 10px;
  border-radius: 8px;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.container-insurance svg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 117px;
  height: 117px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  opacity: 0.5;
  z-index: 1;
}

.container-wholeLifeinsurance {
  background: #edffef;
}

.container-wholeLifeinsurance:hover,
.container-wholeLifeinsurance:focus,
.container-wholeLifeinsurance:active {
  background: #edffef;
}
.container-wholeLifeinsurance.selected {
  border-radius: 20px;
  border: 1px solid #1d742b;
}

.container-wholeLifeinsurance.selected {
  border-radius: 20px;
  border: 1px solid #1d742b;
}
.container-termLifeInsurance.selected {
  border-radius: 20px;
  border: 1px solid #8c741e;
}

.container-termLifeInsurance {
  background: #fff9e4;
}

.container-termLifeInsurance:hover,
.container-termLifeInsurance:focus,
.container-termLifeInsurance:active {
  background: #fff9e4;
}

.container-wholeLifeinsurance span {
  text-align: left;
  color: #1d742b;
}
.container-termLifeInsurance h2 {
  color: #8c741e;
}
.container-termLifeInsurance span {
  color: #8c741e;
}
.container-termLifeInsurance svg {
  opacity: 0.8;
}
.coverage-button,
.tobacco-button {
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  color: var(--Primary-700, #3b8057);
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
  letter-spacing: 0.2px;
  border-radius: 24px;
  background: #edffef;
  border: none;
}

.coverage-button:hover,
.coverage-button:active,
.coverage-button:focus,
.tobacco-button:hover,
.tobacco-button:active,
.tobacco-button:focus {
  background: #edffef;
  color: var(--Primary-700, #3b8057);
}
.gender-button {
  display: flex;
  padding: 14px 24px 14px 32px;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  border: none;
  border-radius: 16px;
  background: #edffef;
  cursor: pointer;
}

.gender-button:hover,
.gender-button:active,
.gender-button:focus {
  background: #edffef;
  color: var(--Primary-700, #3b8057);
}

.gender-button span {
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
  letter-spacing: 0.2px;
  color: var(--Primary-700, #3b8057);
}
.gender-button svg {
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
  opacity: 0;
}
.gender-button.selected svg {
  opacity: 1;
}
.gender-button.selected span {
  color: white;
}
.gender-button.selected {
  background: var(--New-primary, #0c6631);
}

.step-topSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
  margin-top: 20px;
  height: 80%;
}

.input-button {
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  flex: 0 1 45%;
  min-width: 150px;
  border-radius: 24px;
  background: #edffef;
  color: #0c6631;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 28px */
  letter-spacing: 0.2px;
  height: 120px;
  border: none;
}

.input-button:hover,
.input-button:active,
.input-button:focus {
  background: #edffef;
  color: #0c6631;
}
/* =============================
 * ending insurance/coverage/gender button styles
 * ============================= */

/* =============================
 * starting rating section styles
 * ============================= */
.container-rating {
  margin-top: auto;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  display: flex;
  flex: 1;
}
.stars {
  display: inline-flex;
  gap: 4px;
}
.stars svg {
  width: 100%;
  min-width: 12px;
  max-width: 17px;
  height: auto;
  aspect-ratio: 1/1;
}
.container-rating h5 {
  color: #4a4949;
  text-align: center;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.16px;
  margin: 0px;
}
.container-rating span {
  font-weight: 700;
}
/* =============================
 * ending rating section styles
 * ============================= */

/* =============================
 * starting step/utility/helper styles
 * ============================= */
.hidden {
  display: none;
}
.active {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
}
h1.headline {
  color: var(--New-primary, #0c6631);
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 33.6px */
  letter-spacing: 0.24px;
  max-width: 300px;
  margin: 0px;
}
span.highlight {
  color: var(--Auxiliary-700, #f3b344);
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 0.24px;
}
.buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-center {
  justify-content: center;
}
.transition-button {
  text-align: center;
  border-radius: 12px;
  font: 500 24px Lato, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.transition-button svg {
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
}
.transition-button span {
  color: var(--Auxiliary-700, #f3b344);
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.back-button {
  background: var(--White, #fff);
  color: var(--Auxiliary-700, #f3b344);
  padding: 14px 0px;
  border: none;
}
.back-button:hover,
.back-button:active,
.back-button:focus {
  background: var(--White, #fff);
}
.next-button {
  background: var(--Auxiliary-700, #f3b344);
  color: var(--White, #fff);
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 14px 48px;
  border: none;
  margin-bottom: 10px;
}

.next-button:hover,
.next-button:active,
.next-button:focus {
  background: var(--Auxiliary-700, #f3b344);
  color: var(--White, #fff);
}
.mt--leftAuto {
  margin-right: auto;
}
.flex-start {
  justify-content: flex-start;
}
.subheading {
  color: var(--Neutral-600, #4b4b4b);
  text-align: center;
  margin: 28px 0px 0px;
  font: 400 18px Lato, sans-serif;
}
.text-inputs-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  gap: 28px;
  position: relative;
}

.text-inputs-container label {
  color: #2e2e2e;
  margin-bottom: 6px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#stateDiv {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #2e2e2e;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 133.333% */
}

.text-inputs-container input::placeholder {
  overflow: hidden;
  color: var(--Neutral-500, #8e8e8e);
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}
.small-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
input.input-field {
  font-size: 18px;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid var(--Colors-Border-border-secondary, #e9eaeb);
  font-family: Lato, sans-serif;
  font-weight: 400;
  background-color: white;
  color: black;
  box-sizing: border-box;
  width: 100%;
}

.input-field:focus,
.input-field:active {
  outline: none;
  border-color: var(--Primary-700, black);
}

.username {
  position: absolute;
  margin: 0 auto;
  opacity: 0;
}
.coverage-amount {
  text-align: center;
  margin-bottom: 32px;
  color: var(--New-primary, #0c6631);
  font: 700 32px Lato, sans-serif;
}
.slider-container {
  width: 100%;
}
/** Slider styles */
input[type="range"] {
  --thumb-height: 32px;
  --track-height: 10px;
  --track-color: #ebebeb;
  --brightness-hover: 180%;
  --brightness-down: 80%;
  --clip-edges: 0.125em;
  --track-radius: 12px;

  color: #3b8057;
  font-size: 1.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* === WebKit styles === */
input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: var(--thumb-height);
  transition: all 100ms ease;
}

input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
  position: relative;
}

input[type="range"]::-webkit-slider-thumb {
  --thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
  --clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
  --clip-bottom: calc(var(--thumb-height) - var(--clip-top));
  --clip-further: calc(100% + 1px);
  --box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0
    100vmax currentColor;

  width: var(--thumb-width, var(--thumb-height));
  background: linear-gradient(white 0 0) no-repeat left center / 100%
    calc(var(--track-height) + 7px);
  background-color: currentColor;
  border: 8px solid #32764d;
  border-radius: var(--thumb-width, var(--thumb-height));
  box-shadow: var(--box-fill);
  clip-path: polygon(
    100% -1px,
    var(--clip-edges) -1px,
    0 var(--clip-top),
    -100vmax var(--clip-top),
    -100vmax var(--clip-bottom),
    0 var(--clip-bottom),
    var(--clip-edges) 100%,
    var(--clip-further) var(--clip-further)
  );
  filter: brightness(100%);
}

input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(var(--track-color) 0 0) no-repeat center / 100%
    calc(var(--track-height) + 1px);
  border-radius: 12px;
}

/* === Firefox styles === */
input[type="range"],
input[type="range"]::-moz-range-track,
input[type="range"]::-moz-range-thumb {
  appearance: none;
  height: var(--thumb-height);
  transition: all 100ms ease;
}

input[type="range"]::-moz-range-thumb {
  width: var(--thumb-width, var(--thumb-height));
  background: currentColor;
  border: none;
  border-radius: var(--thumb-width, var(--thumb-height));
  cursor: grab;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  background: var(--track-color);
}

input[type="range"]::-moz-range-progress {
  appearance: none;
  background: currentColor;
  transition-delay: 30ms;
}

.slider-info {
  border-radius: 8px;
  background: #d9f6dc;
  display: flex;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  margin: 40px auto 0;
}

.slider-info svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.slider-info p {
  color: var(--Neutral-600, #4b4b4b);
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0px;
}

.range-labels {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
  color: #000;
  justify-content: space-between;
  font: 400 12px Lato, sans-serif;
}
.range-labels > div {
  color: var(--Neutral-600, #4b4b4b);
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.stick-container {
  display: flex;
  justify-content: space-between;
  height: 10px;
  margin: 0px 10px;
}
.stick {
  width: 1px;
  height: 100%;
  background-color: #8e8e8e;
}
.minor-stick {
  width: 1px;
  height: 50%;
  background-color: #cacaca;
}
.buttons-container {
  display: grid;
  width: 100%;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
  position: relative;
}
.get-started-button {
  display: inline-flex;
  padding: 8px 14px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: Lato;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 10px;
  background: #3b8057;
  z-index: 100;
}
.get-started-button span {
  color: white;
}
.get-started-button svg {
  position: relative;
  opacity: 1;
  width: 16px;
  height: 16px;
  aspect-ratio: 1/1;
}

.gap-24 {
  gap: 24px;
}
.gap-20 {
  gap: 20px;
}
.buttons-container-row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  row-gap: 10px;
  column-gap: 32px;
}
.buttons-container-column {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-content: space-between;
  gap: 20px;
}
.get-started-button-termLife {
  border-radius: 10px;
  background: #f3b344;
}
.getStarted-icon {
  width: 16px;
  height: 16px;
  aspect-ratio: 1 / 1;
}

.no-margin {
  margin: 0;
}
.gap-lg {
  gap: 32px;
}
.margin-top {
  margin-top: 20px !important;
}
.mb-large {
  margin-bottom: 40px !important;
}
.mb-medium {
  margin-bottom: 17px !important;
}
.container-insurance-bottom {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  gap: 5px;
}

.container-insurance-bottom > span {
  min-width: 117px;
}
/* =============================
 * ending step/utility/helper styles
 * ============================= */

/* =============================
 * starting submit/consent/validation/final step styles
 * ============================= */
.security-message {
  color: var(--Primary-700, #3b8057);
  text-align: left;
  font: 400 16px/1.4 Lato, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.security-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  min-width: 16px;
  margin: 0;
}

.security-message p {
  margin: 0px;
}

.submit-button {
  width: 100%;
  border-radius: 12px;
  background: var(--Auxiliary-700, #f3b344);
  color: var(--White, #fff);
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  font-style: normal;
  font: 700 20px Lato, sans-serif;
  margin-top: auto;
}

.submit-button:hover,
.submit-button:active,
.submit-button:focus {
  background: var(--Auxiliary-700, #f3b344);
  color: var(--White, #fff);
}

.consent-text {
  color: var(--Neutral-600, #4b4b4b);
  text-align: justify;
  font-family: Lato;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 116.667% */
  margin: 1px 0px 0px;
}

.button-review-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
}
/* =============================
 * ending submit/consent/validation/final step styles
 * ============================= */

/* =============================
 * starting animation/transition styles
 * ============================= */
.active.slide-in-right {
  animation: slideInRight 1.5s forwards;
}

.active.fade-in {
  animation: fadeInOpacity 1.5s ease-in;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Center the Lottie container */
#lottie-container {
  display: none;
  text-align: center;
  background: #fff;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 64px;
  height: calc(100dvh - 80px);
  box-sizing: border-box;
}

#lottie-animation {
  width: 275px;
  height: auto;
}

h1.loading-headline {
  color: #0c6631;
  font-family: Lato, sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.28px;
  max-width: 300px;
  margin: 0px;
}

.loading-headline .highlight {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 42px */
  letter-spacing: 0.28px;
}

#lottie-container p {
  margin: 0px;
  margin-top: auto;
  color: #424242;
  text-align: center;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  letter-spacing: 0.16px;
}

/* =============================
 * ending animation/transition styles
 * ============================= */

/* =============================
 * starting responsive styles
 * ============================= */
@media (min-width: 600px) {
  .form-container > div {
    gap: 40px;
  }
  .margin-top {
    margin-top: 0px;
  }
  .container-insurance > svg {
    bottom: 10px;
    right: 10px;
  }
  .quote-container {
    width: 500px;
    padding-bottom: 54px;
  }
  h1.headline {
    font-size: 36px;
    align-self: stretch;
    max-width: 100%;
  }

  .step7 {
    max-width: 425px;
  }
  span.highlight {
    font-size: 36px;
  }

  .step-topSection {
    height: initial;
  }

  .container-rating {
    margin-top: 40px;
  }

  .button-review-container {
    justify-content: space-between;
    margin-top: 14px;
    max-height: initial;
  }

  .gap-24 {
    gap: 40px;
  }

  /* Center the Lottie container */
  #lottie-container {
    padding-top: 115px;
    height: initial;
  }

  #lottie-animation {
    width: 439px;
  }

  h1.loading-headline {
    font-size: 36px;
    letter-spacing: 0.36px;
    max-width: 458px;
    margin-bottom: 20px;
  }

  .loading-headline .highlight {
    font-size: 36px;
    letter-spacing: 0.36px;
  }

  #lottie-container p {
    font-size: 18px;
    letter-spacing: 0.18px;
    margin-top: 0px;
  }
}

@media (max-height: 590px) {
  .coverage-button {
    padding: 12px 24px;
    font-size: 18px;
  }

  .sm-gap {
    gap: 14px;
  }
}
