/* Toastr Container */
.toastr-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  z-index: 99999;
  width: 100%;
  max-width: 28rem;
}

/* Position Classes */
.position-top-right {
  top: 1rem;
  right: 1rem;
}

.position-bottom-middle {
  bottom: 1rem;
  left: 40%;
}

.position-bottom-right {
  bottom: 1rem;
  right: 1rem;
}

/* Toast Base */
.toastr-container .toastr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Close Button */
.toastr-container .toastr .close {
  margin-top: 0.125rem;
  padding: 0.375rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.toastr-container .toastr .close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

/* Message Container */
.toastr .toast-message-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.toastr .toast-message {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.625;
}

.toastr .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Modern Toast Variants with Gradients */
.toastr-success {
  background: linear-gradient(135deg, #10b951 0%, #0d942f 100%);
  color: #ffffff;
}

.toastr-danger {
  background: linear-gradient(135deg, #f34141 0%, #ed3856 100%);
  color: #ffffff;
}

.toastr-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
}

.toastr-info {
  background: linear-gradient(135deg, #3981f5 0%, #0663d4 100%);
  color: #ffffff;
}

/* Smooth Animations */
.slide-bottom-enter-active,
.slide-bottom-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-bottom-enter-from,
.slide-bottom-leave-to {
  transform: translateY(0.5rem) scale(0.95);
  opacity: 0;
}
