<div
  class="viewer-container"
  #rendererContainer
  [style.height.px]="height"
  [style.border-radius]="borderRadius"
>
  @if (loading) {
    <div class="loading-overlay">
      <div class="spinner"></div>
      <span>{{ "STL_VIEWER.LOADING" | translate }}</span>
    </div>
  }
  @if (file && !loading) {
    <div class="dims-overlay">
      {{ dimensions.x }} x {{ dimensions.y }} x {{ dimensions.z }} mm
    </div>
  }
</div>
