.modal-backdrop {
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 100;
}

.modal-backdrop.is-active { display: flex; }
.modal-dialog { background: #ffffff; border-radius: var(--radius-medium); box-shadow: var(--shadow-large); max-height: 90vh; max-width: 520px; overflow-y: auto; padding: 24px; width: 100%; }
.modal-dialog h2 { font-size: 18px; margin-bottom: 18px; }
.modal-dialog__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

.toast-stack { display: flex; flex-direction: column; gap: 10px; position: fixed; right: 20px; top: 20px; z-index: 200; }
.toast { animation: toast-slide-in 0.25s; background: #ffffff; border-left: 4px solid var(--color-primary); border-radius: 10px; box-shadow: var(--shadow-large); font-size: 13px; font-weight: 500; max-width: 340px; padding: 12px 18px; }
.toast--success { border-left-color: var(--color-success); }
.toast--error { border-left-color: var(--color-danger); }
.toast--warning { border-left-color: var(--color-warning); }

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(120%); }
  to { opacity: 1; transform: translateX(0); }
}

.badge { border-radius: 20px; display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; }
.badge--success { background: var(--color-success-light); color: var(--color-success); }
.badge--danger { background: var(--color-danger-light); color: var(--color-danger); }
.badge--warning { background: var(--color-warning-light); color: var(--color-warning); }
.badge--primary { background: var(--color-primary-light); color: var(--color-primary-dark); }

.empty-state { color: var(--color-muted); padding: 40px 20px; text-align: center; }
.empty-state__icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.u-text-right { text-align: right; }
.u-text-center { text-align: center; }
.u-text-muted { color: var(--color-muted); }
.u-text-success { color: var(--color-success); }
.u-text-danger { color: var(--color-danger); }
.u-font-bold { font-weight: 700; }
