.lbaic-settings-e {
  &-anf {
    &-popup {
      &-body {
        padding-block-start: 0;
        padding-block-end: 18px;
      }
    }

    &-divider-gap-end {
      margin-block-end: 18px;
    }

    & {

    }

    &-header {
      &-in {
        padding-block-end: 18px;
      }

      &-label {
        padding-block-end: 12px;
        font-size: var(--lbaic-settings-fs-20);
        font-weight: var(--lbaic-settings-fw-600);
        color: var(--lbaic-settings-popup-header-color);
        line-height: var(--lbaic-settings-lh-24);
      }

      &-desc {
        font-size: var(--lbaic-settings-fs-14);
        font-weight: var(--lbaic-settings-fw-500);
        color: var(--lbaic-settings-popup-header-desc-color);
        line-height: var(--lbaic-settings-lh-18);
      }
    }

    &-body {
      min-width: 0;
      height: 430px;
      display: grid;
      grid-template-rows: 1fr auto;
      padding-block-end: 10px;
      overflow: hidden;

      &-in {
        height: 100%;
        overflow: hidden;
        padding-block-end: 10px;
      }
    }

    &-table {
      &-wrapper {
        height: 100%;
        white-space: nowrap;
      }

      & {
        width: 100%;
        border-spacing: 0;
      }

      &-header {
        &-in {

        }

        &-item {
          padding-block: 10px;
          border-bottom: 1px solid var(--lbaic-settings-content-divider);
          text-align: left;
          vertical-align: middle;

          &:not(:last-child) {
            padding-inline-end: 8px;
          }
        }

        &-label {
          font-size: var(--lbaic-settings-fs-14);
          font-weight: var(--lbaic-settings-fw-400);
          color: var(--lbaic-settings-popup-header-desc-color);
          line-height: var(--lbaic-settings-lh-18);
        }
      }

      &-body {
        &-in {

        }

        &-item {
          padding-block: 10px;
          border-bottom: 1px solid var(--lbaic-settings-content-divider);
          vertical-align: middle;
          text-align: left;

          &:not(:last-child) {
            padding-inline-end: 8px;
          }

          &-in {
            display: flex;
            align-items: center;
            justify-content: flex-end;

            .lbaic-settings-button-primary {
              &:last-child {
                margin-inline-start: 8px;
              }
            }
          }
        }

        &-file {
          &-label {
            max-width: 123px;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
          }
        }

        &-label {
          font-size: var(--lbaic-settings-fs-14);
          color: var(--lbaic-settings-table-accordion-color);
          line-height: var(--lbaic-settings-lh-18);
        }

        &-remove {
          &-in {
            width: 24px;
            height: 24px;
            vertical-align: middle;
            background-color: var(--lbaic-settings-copilot-action-bg);
            border-radius: 3px;

            --lbaic-settings-loading-circle-width: 16px;

            &:hover {
              --lbaic-settings-copilot-action-bg: var(--lbaic-settings-button-bg-hover);
            }

            &:active {
              --lbaic-settings-copilot-action-bg: var(--lbaic-settings-button-bg-active)
            }
          }


          &-i {
            width: 16px;
            height: auto;
            display: block;
            margin: auto;
            fill: var(--lbaic-settings-table-accordion-i);
          }
        }
      }
    }

    &-footer {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    &-media-library {
      &-btn {
        width: 100%;
        height: 100%;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
      }

      &-divider {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 16px 0;

        &-text {
          font-size: var(--lbaic-settings-fs-12);
          font-weight: var(--lbaic-settings-fw-400);
          color: var(--lbaic-settings-file-upload-sub-color);
          text-transform: uppercase;
        }
      }
    }

    &-upload-options {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 16px;
    }

    &-upload-option {
      display: flex;
      flex-direction: column;
      min-width: 0;
      max-width: 100%;

      .lbaic-settings-file-upload {
        height: 100%;
        min-height: 120px;
      }

      .lbaic-settings-button-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
      }
    }
  }
}