/* =========================================================
   18. FOOTER
   ========================================================= */

.bb-footer {
  position: relative;
  height: 80px;
  padding: 0 var(--bb-side-margin);
  box-sizing: border-box;

  background: #e8eef8;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.bb-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 3;

  background-image: repeating-linear-gradient(
    to right,
    #111 0px,
    #111 24px,
    transparent 24px,
    transparent 28px
  );
}

/* --- footer left --- */

.bb-footer-left {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

/* --- footer center --- */

.bb-footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bb-question-pill {
  min-width: 220px;
  padding: 14px 22px;

  background: #1f1f1f;
  color: #fff;
  border: none;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bb-question-pill-caret {
  width: 10px;
  height: 10px;
  margin-left: 10px;
  position: relative;
  top: 4px;

  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;

  transform: rotate(-135deg);
  transition: transform 0.25s ease;
}

.bb-question-pill[aria-expanded="true"] .bb-question-pill-caret {
  transform: rotate(45deg);
  top: -4px;
}

/* --- footer right --- */

.bb-footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.bb-nav-btn {
  min-width: 120px;
  padding: 14px 28px;

  border: none;
  border-radius: 999px;

  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bb-nav-back,
.bb-nav-next {
  background: #3553d8;
  color: #fff;
}

.bb-nav-btn:hover,
.bb-question-pill:hover {
  opacity: 0.92;
}


/* =========================================================
   FORCE TEST FOOTER TO BOTTOM
   ========================================================= */

.bb-app {
  position: relative;
}

.bb-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
}

.bb-module-flow-screen {
  padding-bottom: 104px;
  box-sizing: border-box;
}