/* Toastr.js CSS - Modern High-Definition Theme */
#toast-container {
  position: fixed !important;
  z-index: 9999999 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}

#toast-container.toast-top-right {
  top: 24px !important;
  right: 24px !important;
}

#toast-container.toast-top-left {
  top: 24px !important;
  left: 24px !important;
}

#toast-container.toast-bottom-right {
  bottom: 24px !important;
  right: 24px !important;
}

#toast-container.toast-bottom-left {
  bottom: 24px !important;
  left: 24px !important;
}

#toast-container.toast-top-center {
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

#toast-container.toast-bottom-center {
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

#toast-container .toast,
.toast.toast-success,
.toast.toast-error,
.toast.toast-warning,
.toast.toast-info {
  pointer-events: auto !important;
  position: relative !important;
  min-width: 320px;
  max-width: 440px;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.45), 0 6px 16px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #ffffff !important;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(-16px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.toast.toast-closing {
  transform: translateY(-10px) scale(0.92);
  opacity: 0;
}

/* Color Variants */
.toast-success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.45) !important;
}

.toast-error {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  border: 1px solid rgba(251, 113, 133, 0.45) !important;
}

.toast-warning {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
}

.toast-info {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
}

.toast-icon-wrap {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.toast-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.toast-body-wrap {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.toast-message {
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.95;
  word-break: break-word;
}

.toast-close-button {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 6px;
  margin-top: -2px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.toast-close-button:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  width: 100%;
}
