.saas-member-drawer {
  .pisell-lowcode-drawer-body {
    padding: 0;
  }

  &_tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .pisell-lowcode-tabs-nav {
      padding: 0 24px;
      margin-bottom: 0;
      border-bottom: 1px solid #f0f0f0;
    }

    .pisell-lowcode-tabs-content-holder {
      flex: 1;
      overflow: hidden;
    }

    .pisell-lowcode-tabs-content {
      height: 100%;
    }

    .pisell-lowcode-tabs-tabpane {
      height: 100%;
      overflow-y: auto;
    }
  }

  &_tab-content {
    padding: 20px 20px 0 20px;
    min-height: 100%;
    position: relative;
  }

  &_section-header {
    margin: 0 0 16px 0;
  }

  &_section {
    margin-bottom: 16px;

    &:first-child {
      margin-top: 0;
    }
    background-color: rgb(249, 250, 251);
    border: 1px solid var(--Gray-300, #d0d5dd);
    border-radius: 8px;
    padding: 20px 20px 0px 20px;
  }

  .pisell-lowcode-drawer-footer {
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid #f0f0f0;

    .saas-member-drawer_footer {
      display: flex;
      justify-content: flex-end;
    }
  }

  .pisell-lowcode-alert {
    margin-top: 8px;
    margin-bottom: 16px;
    background-color: #e9ebef;
    border-color: #d2d2d2;
    color: #838a98;
    font-size: 12px;

    .pisell-lowcode-alert-message {
      color: #838a98;
    }
  }

  &_extension-placeholder {
    padding: 40px 20px;
    text-align: center;
    background: #fafafa;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    p {
      margin: 8px 0;

      &:first-child {
        font-size: 14px;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.65);
      }
    }
  }

  &_extension-tab-content {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .saas-member-drawer_section-header {
      position: relative;
      margin-bottom: 0;

      &-actions {
        position: absolute;
        top: 20px;
        right: 12px;
      }

      &-title {
        font-size: 16px;
        font-weight: 500;
        color: #101828;
        padding: 20px 20px 0px 20px;
      }

      &-subtitle {
        font-size: 14px;
        color: #667085;
        padding: 0px 20px;
      }
    }

    .extension-form-iframe-container {
      width: 100%;
      position: relative;
      flex: 1;

      .extension-form-iframe-loading {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.8);
        z-index: 1;
      }

      .extension-form-iframe {
        width: 100%;
        height: 100%;
        min-height: 400px;
      }
    }
  }

  .pisell-lowcode-form-item {
    margin-bottom: 16px;
  }
}

.saas-member-drawer_bind-modal-label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #74777a;

  &::after {
    display: inline-block;
    margin-inline-start: 4px;
    color: #ff4d4f;
    font-family: SimSun, sans-serif;
    line-height: 1;
    content: '*';
  }
}
