.toast-notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 100003;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.5rem;
  border-radius: 0.875rem;
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.95) 0%,
    rgba(15, 23, 42, 0.98) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 380px;
}
.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}
.toast-notification.hiding {
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition: all 0.3s ease-in;
}
.toast-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon.success {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.2) 0%,
    rgba(22, 163, 74, 0.15) 100%
  );
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.toast-icon.success svg {
  color: #22c55e;
}
.toast-icon.error {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.2) 0%,
    rgba(220, 38, 38, 0.15) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.toast-icon.error svg {
  color: #ef4444;
}
.toast-icon.warning {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.2) 0%,
    rgba(245, 158, 11, 0.15) 100%
  );
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.toast-icon.warning svg {
  color: #fbbf24;
}
.toast-content {
  flex: 1;
  min-width: 0;
}
.toast-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.15rem;
}
.toast-message {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.4;
}
.toast-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(71, 85, 105, 0.4);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.toast-close:hover {
  background: rgba(71, 85, 105, 0.6);
  color: #f1f5f9;
}
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 0.875rem 0.875rem;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  transition: width linear;
}
.toast-notification.error .toast-progress {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}
.toast-notification.warning .toast-progress {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}
