/* Блок ig-toast. Перенесён из выгрузки 2. Дизайн/1. этап/2026-09-19 (blocks/admin.css). */

/* Тост-уведомление */

.ig-toast {
  position: fixed;
  top: 66px;
  right: 36px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: var(--space-3) 14px var(--space-3) var(--space-4);
  border-radius: 10px;
  background: rgba(29, 42, 46, 0.92);
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}

.ig-toast__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--success-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-toast--danger .ig-toast__icon {
  background: var(--danger-600);
}

.ig-toast--warning .ig-toast__icon {
  background: #b26a00;
}

.ig-toast__icon .ig-icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.ig-toast__close {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.ig-toast__close .ig-icon {
  width: 14px;
  height: 14px;
}
