.ff-excel-toolbar {
  width: 100%;
  display: flex;
  height: 24px !important; // need to be important to override the height of the toolbar
  align-items: center;

  .ff-excel-toolbar-divider {
    width: 1px;
    height: 20px;
    background-color: var(--excel-toolbar-divider);
    margin: 0 24px;
    border-radius: 1px;
    z-index: 1000;
  }

  .ff-excel-toolbar-font {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    .ff-excel-toolbar-font-family {
      width: 120px;
    }
    .ff-excel-toolbar-font-size {
      width: 56px;
    }
  }

  .ff-excel-toolbar-text {
    width: 100px;
    height: 24px;
    display: flex;
    gap: 8px;
    justify-content: space-between;

    .ff-excel-toolbar-icon-underline {
      display: flex;
      align-items: center;
    }
  }

  .ff-excel-toolbar-icon {
    width: 88px;
    height: 24px;
    display: flex;
    gap: 8px;
    justify-content: space-between;

    .ff-excel-toolbar-icon-color {
      width: 24px;
      height: 24px;
      border-radius: 4px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      &:hover {
        border-radius: 4px;
        background-color: var(--icon-hover-color);
      }
      .ff-icon-dark & {
        background-color: var(--brand-color);

        &.ff-icon-click:hover {
          background-color: var(--primary-button-text-color);
          svg path {
            fill: var(--brand-color);
          }
        }
      }
      &:hover {
        border-radius: 4px;
        background-color: var(--icon-hover-color);
      }
      .ff-icon-dark & {
        background-color: var(--brand-color);

        &.ff-icon-click:hover {
          background-color: var(--primary-button-text-color);
          svg path {
            fill: var(--brand-color);
          }
        }
      }
    }
  }

  .ff-excel-toolbar-menu {
    display: flex;
    align-items: center;
    width: 36px;
    height: 24px;
    .ff-excel-toolbar-menu-option {
      display: flex;
      align-items: center;
    }
  }
}
