.gm-tablepage-detail-pane {
  width: 100%;
  height: 100%;
  min-width: 200px;
  overflow: auto;

  .detail-item {
    display: flex;
    padding-left: 5px;
    font-size: 13px;
    line-height: 37px;
    color: rgba(63, 63, 63, 1);
  }

  .gm-tablepage-detail-pane-title {
    display: flex;
    width: 100%;
    height: 31px;
    padding: 0 13px 0 20px;
    font-size: var(--gm-tablepage-filter-title-ft, 14px);
    font-weight: var(--gm-tablepage-filter-title-ft-weight, normal);
    letter-spacing: 1px;
    color: var(--gm-tablepage-filter-title-ft-color, rgba(51, 51, 51, 1));
    align-items: center;
    font-stretch: normal;
    background: var(--gm-tablepage-filter-title-bg, linear-gradient(360deg, white 0%, #f3f3f3 100%));
    border-bottom: solid 1px var(--gm-tablepage-th-bottom-border, #e5e5e5);

    span {
      flex: 1;
    }

    img {
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
  }

  .gm-tablepage-detail-pane-footer {
    display: flex;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: solid 1px var(--gm-tablepage-border-color, #e5e5e5);
    justify-content: center;
    align-items: center;

    .amos-btn {
      height: auto;

      & + .amos-btn {
        margin-left: 20px;
      }

      .std-inner-text {
        font-size: 14px;
      }
    }
  }
}

.gm-tablepage-detail-pane-content {
  height: calc(100% - 32px);
  padding: 0;

  .amos-std-form-vertical {
    width: 100%;
  }

  .amos-std-form-vertical-content {
    width: 100%;

    .amos-std-form-vertical-inner {
      width: 100%;
    }
  }
}

.gm-tablepage-details-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
