.gm-mgmtpage {
  &.amos-tabs {
    width: 100%;
    height: 100%;
    background: var(--gm-mgmtpage-background-color);

    > .amos-tabs-list {
      height: 42px;
      border-bottom: var(--gm-mgmtpage-tabsList-border-color);
      background: var(--gm-mgmtpage-tabsList-background-color);

      .gm-mgmtpage-leftbtns {
        display: inline-flex;
        align-items: center;
        height: 100%;
      }

      .gm-mgmtpage-rightbtns {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        flex: 1;
        padding-right: 10px;
        text-align: right;
      }
    }
  }

  > .amos-tabs-panel {
    height: calc(100% - 42px);
    padding: 0;
    background: var(--gm-mgmtpage-tabspanel-background-color);
  }
}

.gm-mgmt-panel {
  width: 100%;
  height: 100%;

  .gm-mgmt-panel-left {
    width: 50%;
    height: 100%;
    padding: 15px 20px;
    border-right: 1px solid var(--gm-border-color, #e5e5e5);
  }

  .gm-form-collapse {
    &.amos-collapse {
      background-color: transparent;
      border: 0;
      border-radius: 0;

      .amos-collapse-item {
        border-bottom: 0;
      }

      .amos-collapse-header {
        display: flex;
        height: 36px;
        padding: 0;
        align-items: center;
        flex-direction: row-reverse;
        justify-content: flex-end;
        padding-left: 0;

        &::before {
          height: 1px;
          margin-right: 0;
          margin-left: 5px;
          background: var(--gm-border-color, #e5e5e5);
          content: '';
          flex: 1;
        }

        .amos-collapse-header-title {
          display: flex;
          height: 100%;
          align-items: center;
          margin-right: 8px;
          font-size: var(--gm-content-ft, 16px);
          font-weight: var(--gm-content-ftweight, 16px);
          color: var(--gm-content-color, #333);
        }

        .amos-collapse-header-arrow {
          position: relative;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 24px;
          height: 24px;

          i {
            left: 2px;
            font-weight: bold;
            color: var(--gm-content-color, #333);
          }
        }
      }

      .amos-collapse-content {
        padding: 0;
        background-color: transparent;

        &::before {
          display: none;
        }

        &::after {
          display: none;
        }

        .amos-form-builder-field-content textarea {
          height: 100%;
        }
      }
    }
  }
}
