/* TOAST CONTAINER */
.global-toast-container {
  position: fixed;
  top: var(--space-xl-24);
  right: var(--space-xl-24);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: var(--space-md-12);
}

/* TOAST */
.global-toast {
  min-width: 320px;
  max-width: 420px;
  padding: var(--space-lg-16) 18px;
  border-radius: var(--radius-lg-16);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: toastIn 0.25s ease;
}

/* ICON */
.global-toast-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-xl-18);
  flex-shrink: 0;
}

/* CONTENT */
.global-toast-content {
  flex: 1;
}

.global-toast-title {
  font-size: var(--font-md-14);
  font-weight: var(--font-bold-700);
  color: var(--color-text);
}

.global-toast-message {
  margin-top: var(--space-xs-04);
  font-size: var(--font-md-14);
  color: var(--color-text-secondary);
}

/* SUCCESS */
.global-toast.success .global-toast-icon {
  background: var(--color-success-light);
  color: var(--color-success);
}

/* ERROR */
.global-toast.error .global-toast-icon {
  background: var(--color-error-light);
  color: var(--color-error);
}

/* WARNING */
.global-toast.warning .global-toast-icon {
  background: var(--color-warning-light);
  color: var(--color-warning);
}

/* INFO */
.global-toast.info .global-toast-icon {
  background: var(--color-info-light);
  color: var(--color-info);
}

/* CONFIRM OVERLAY */
.global-confirm-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-drawer-overlay);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.global-confirm-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* CONFIRM CARD */
.global-confirm-card {
  width: 420px;
  max-width: calc(100% - 32px);
  background: var(--color-surface);
  border-radius: var(--radius-xl-24);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xl-24);
}

/* TITLE */
.global-confirm-title {
  font-size: var(--font-xl-18);
  font-weight: var(--font-bold-700);
  color: var(--color-text);
  margin-bottom: var(--space-md-12);
}

/* MESSAGE */
.global-confirm-message {
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-xl-24);
}

/* ACTIONS */
.global-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md-12);
}

/* ANIMATION */
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
