<!-- Контейнер-строка -->
<div
  class="toggle-container"
  [class.disabled]="disabled"
  (click)="toggle()"
  tabindex="0"
  role="switch"
  [attr.aria-checked]="checked"
  [attr.aria-disabled]="disabled"
>
  <!-- Дорожка + ползунок -->
  <div class="switch" [class.checked]="checked">
    <span class="thumb"></span>
  </div>

  <!-- Подпись -->
  <span class="label" *ngIf="label">{{ label }}</span>
</div>
