@import '@/styles/common.less';
@import '@/styles/variables.less';

.group-card {
  width: 100%;
  padding: 32px;
  background: #FFF;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;

  &__group-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  &__group-avatar {
    width: 88px;
    height: 88px;
  }

  &__group-info {
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 32px;

    &.full {
      flex: 1;
    }
  }

  &__group-title-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  &__group-title {
    flex: 1;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    color: @blColor;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__group-full-icon {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: @blHighlightColor;
    border: 2px solid @blHighlightColor;
    border-radius: 4px;
    padding: 0 6px;
    margin-left: 10px;
    margin-bottom: 1px;
  }

  &__group-desc {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 28px;
    line-height: 40px;
    font-weight: 400;
    margin-top: 16px;
  }

  &__group-job-count {
    color: @blColor;
  }

  &__group-view {
    color: @blHighlightColor;
    margin-left: 10px;
  }

  &__group-button {
    .button(@width: 176px; @height: 56px; @fontSize: 28px; @fontWeight: 500; @borderRadius: 48px;);
  }
}