.sp-smart-post-tab-panel {
  .sp-smart-post-button-group {
    width: 100%;

    &-list {
      display: flex;
      width: 100%;
    }

    &-list {
      border: 1px solid #d7dade;

      button {
        padding: 0px;
        background-color: #ffffff;
        color: #1e1e1e;
        box-shadow: none;
        width: 100%;
        height: 32px;
        justify-content: center;
        position: relative;

        &:focus:not(:disabled) {
          outline: none;
          box-shadow: none;
        }

        span {
          display: flex;
          justify-content: center;
          align-items: center;
        }

        p {
          opacity: 0;
          visibility: hidden;
          position: absolute;
          top: -40px;
          right: 50%;
          transform: translateX(50%);
          background-color: #757575;
          color: #fff;
          padding: 8px 10px;
          white-space: nowrap;
          font-size: 10px;
          border-radius: 4px;
          transition: 0.3s;
        }

        & p::after {
          position: absolute;
          content: "";
          top: 30px;
          right: 50%;
          transform: translateX(50%);
          border-width: 10px;
          border-color: #757575 transparent transparent transparent;
          border-style: solid;
          opacity: 0;
          visibility: hidden;
          transition: 0.3s;
        }
      }

      button:hover span{
        color: #1e1e1e;
      }

      button:hover p {
        opacity: 1;
        visibility: visible;
      }

      button:hover p::after {
        opacity: 1;
        visibility: visible;
      }
    }

    &-list {
      button.active {
        span {
          background-color: var( --sp-smart-primary-2-400 );
          color: #fff;
          width: calc(100% - 4px);
          height: 28px;

          svg {
            fill: #fff;

            path {
              stroke: #fff;
            }
          }
        }
      }
    }

    .has-border {
      button {
        border-left: 1px solid #d7dade;
        margin-left: 0;

        &:first-child {
          border-left: 0;
        }
      }
    }
  }

  .sp-smart-post-button-group.button-style-2 {
    justify-content: space-between;
    align-items: center;

    .sp-smart-post-button-group-list {
      width: 130px;
    }

    .sp-smart-post-component-title,
    .sp-smart-post-component-top {
      margin-bottom: 0;
    }
  }
}

.sp-smart-post-component-top.sp-smart-post-component-title,
.sp-smart-post-header .sp-smart-post-component-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 9px;
}

.sp-smart-post-d-flex .sp-smart-post-header .sp-smart-post-component-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}