.credit-order-add-page {
  padding-bottom: 100px; // leave space for FixedButton
}

.attachments {
  display: flex;
  flex-direction: column;
  gap: 12px;

  &__empty {
    color: #999;
    font-size: 14px;
  }

  &__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  &__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    max-width: 100%;
  }

  &__name {
    font-size: 13px;
    color: #333;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__remove {
    color: #999;
    display: inline-flex;
    align-items: center;
  }
}

.agreement {
  margin: 12px 16px 0;
  display: flex;
  align-items: center;

  &__text {
    color: #666;
    margin-left: 6px;
  }

  &__link {
    color: #1677ff;
    margin-left: 4px;
  }
}

