@include export-module('cc-transaction-line-activities-contact-moments-block-layout') {
  .co-transaction-line-activities-contact-moments-block {
    .contact-moments-block-wrapper {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      padding: 0.875rem 1rem;
      background: #ffffff;
      border: 1px solid #d9d9d9;
      border-radius: 0.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
      max-width: 20rem;
      color: #2f2f2f;
    }

    .contact-moments-block-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .contact-moments-block-title {
      font-size: 0.75rem;
      line-height: 1.2;
      color: #6f6f6f;

      &:first-child {
        flex: 1;
        font-weight: 600;
        color: #3a3a3a;
        font-size: 0.875rem;
      }

      &:last-child {
        white-space: nowrap;
        font-weight: 400;
      }
    }

    .contact-moments-block-content {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .contact-moments-block-content-text {
      flex: 1;
      font-size: 0.875rem;
      line-height: 1.4;
      color: #4a4a4a;
      word-break: break-word;
    }

    co-icon {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #3a3a3a;
      font-size: 1rem;
      margin-top: 0.125rem;
    }

    .contact-moments-block-footer {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .contact-moments-block-footer-text {
      font-size: 0.875rem;
      line-height: 1.3;
      color: #2f2f2f;

      &:first-child {
        font-weight: 700;
      }

      &:last-child {
        font-weight: 600;
      }
    }
  }
}
