<div class="fvtt-lethal-fantasy progression-message {{#if success}}progression-success{{else}}progression-failure{{/if}}">
  <div class="progression-header">
    <div class="progression-icon">
      {{#if success}}
        <i class="fa-solid fa-check-circle"></i>
      {{else}}
        <i class="fa-solid fa-hourglass-half"></i>
      {{/if}}
    </div>
    <div class="progression-info">
      <div class="actor-name">{{actorName}}</div>
      <div class="progression-subtitle">
        {{#if success}}
          {{localize "LETHALFANTASY.ProgressionMessage.canAct"}}
        {{else}}
          {{localize "LETHALFANTASY.ProgressionMessage.cannotAct"}}
        {{/if}}
      </div>
    </div>
  </div>

  <div class="progression-details">
    {{#if weaponName}}
      <div class="progression-weapon">
        <i class="fa-solid fa-sword"></i>
        <span><strong>{{weaponName}}</strong></span>
      </div>
    {{/if}}

    {{#if rollResult}}
      <div class="progression-roll">
        <span class="roll-label">{{localize "LETHALFANTASY.ProgressionMessage.diceResult"}}</span>
        <span class="roll-value">{{rollResult}}</span>
      </div>
    {{/if}}

    {{#if progressionCount}}
      <div class="progression-count">
        <i class="fa-solid fa-dice-d20"></i>
        <span>{{localize "LETHALFANTASY.ProgressionMessage.progressionCount"}} <strong>{{progressionCount}}</strong></span>
      </div>
    {{/if}}
  </div>
</div>
