.insured-tab-container {
  // height: 52px;

  display: flex;
  flex-wrap: nowrap;
  overflow-y: hidden;
  overflow-x: scroll;
  background: #fafafa;

  .insured-tab {
    display: inline-block;
    padding: 9px 10px;
    margin: 8px 0 8px 8px;
    border-radius: 4px;
    background: var(--theme-primary-shallow);
    color: #343434;
    font-size: 13px;
    line-height: 1;

    position: relative;
    span {
      max-width: 4rem;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    &:last-child {
      margin-right: 8px;
    }
  }

  .active-tab {
    background: var(--theme-primary);
    color: #ffffff;
    &::before {
      content: '';
      display: block;
      width: 0px;
      height: 0px;
      border: 5px solid transparent;
      border-top: 5px solid var(--theme-primary);
      position: absolute;
      bottom: -10px;
      left: 50%;
      margin-left: -5px;
    }
  }
}
