<div class="deal-details-container">
  <div class="deal-details-header">
    <h3>Deal Details</h3>
  </div>
  <div class="deal-cards">
    <div class="deal-card" *ngFor="let deal of dealDetails">
      <div class="deal-header">
        <div class="company-name">{{ deal.companyName }}</div>
        <div class="deal-stage" [style.background-color]="getStageColor(deal.stage)">
          {{ deal.stage }}
        </div>
      </div>
      <div class="deal-description">
        {{ deal.description }}
      </div>
      <div class="deal-info">
        <div class="info-item">
          <div class="info-label">Amount</div>
          <div class="info-value">{{ formatCurrency(deal.amount) }}</div>
        </div>
        <div class="info-item">
          <div class="info-label">Stage Days</div>
          <div class="info-value">{{ deal.stageDays }} days</div>
        </div>
        <div class="info-item">
          <div class="info-label">Contact</div>
          <div class="info-value">{{ deal.contactPerson }}</div>
        </div>
        <div class="info-item">
          <div class="info-label">Last Contact</div>
          <div class="info-value">{{ deal.lastContact }}</div>
        </div>
      </div>
    </div>
  </div>
</div>