.cff-tabs {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.cff-tabs__nav {
  display: flex;
  flex: 0 0 18rem;
  flex-direction: column;
  gap: 0.5rem;
}

.cff-tabs__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 46px;
  padding: 10px 15px;
  border: 0;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 2px rgb(0 0 0 / 45.1%);
  color: #132e64;
  font-family: "Open Sans", sans-serif;
  line-height: 25.2px;
  text-align: left;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.cff-tabs__tab:focus {
  outline: 2px solid #0b5cab;
  outline-offset: 2px;
}

.cff-tabs__tab-label {
  flex: 1 1 auto;
  text-decoration: none;
}

.cff-tabs__tab-icon {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9edf3;
  color: rgb(50 62 72);
}

.cff-tabs__tab-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.35rem;
  height: 0.35rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translate(-60%, -50%) rotate(45deg);
}

.cff-tabs__panels {
  min-width: 0;
  flex: 1 1 auto;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  background-color: #fff;
  box-shadow: 1px 1px 6px rgb(0 0 0 / 16.1%);
  color: #24364b;
}

.cff-tabs__tab[aria-selected="true"]:not(.cff-tabs__tab--custom) {
  background-color: #1e428a;
  color: #fff;
}

.cff-tabs__tab[aria-selected="true"]:not(.cff-tabs__tab--custom) .cff-tabs__tab-icon {
  width: 36px;
  height: 36px;
  padding: 7.25px 11px;
  background-color: #132e64;
  color: #fff;
}

.cff-tabs__tab[aria-selected="true"] .cff-tabs__tab-icon::before {
  transform: translate(-50%, -35%) rotate(-45deg);
}

.cff-tabs__tab[aria-selected="false"]:not(.cff-tabs__tab--custom) {
  background-color: #fff;
  color: rgb(50 62 72);
}

.cff-tabs__tab[aria-selected="false"]:not(.cff-tabs__tab--custom):hover {
  background-color: #f5f7fb;
  text-decoration: none;
}

.cff-tabs__tab:hover,
.cff-tabs__tab:focus,
.cff-tabs__tab:active,
.cff-tabs__tab-label:hover,
.cff-tabs__tab-label:focus,
.cff-tabs__tab-label:active {
  text-decoration: none;
}

.cff-tabs__panel > :first-child {
  margin-top: 0;
}

.cff-tabs__panel > :last-child {
  margin-bottom: 0;
}

.cff-tabs__panel[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .cff-tabs {
    flex-direction: column;
    gap: 0;
  }

  .cff-tabs__nav {
    flex-basis: auto;
    width: 100%;
  }

  .cff-tabs__panels {
    display: none;
  }

  .cff-tabs__nav .cff-tabs__panel {
    display: block;
    margin: 0 0 0.5rem;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    box-shadow: 1px 1px 6px rgb(0 0 0 / 16.1%);
    color: #24364b;
  }

  .cff-tabs__nav .cff-tabs__panel[hidden] {
    display: none;
  }

  .cff-tabs__nav .cff-tabs__panel > :first-child {
    margin-top: 0;
  }

  .cff-tabs__nav .cff-tabs__panel > :last-child {
    margin-bottom: 0;
  }
}
