/* Sonner Toast Notification Styles */
.sonner-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100vw - 48px);
  pointer-events: none;
}

.sonner-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(18, 22, 34, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-family: 'Outfit', -apple-system, sans-serif;
  animation: sonnerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sonner-toast.sonner-hiding {
  animation: sonnerSlideOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.sonner-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.sonner-toast.error {
  border-color: rgba(254, 44, 85, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 44, 85, 0.15);
}
.sonner-toast.error .sonner-icon {
  color: #fe2c55;
  background: rgba(254, 44, 85, 0.15);
}

.sonner-toast.success {
  border-color: rgba(0, 245, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 212, 0.15);
}
.sonner-toast.success .sonner-icon {
  color: #00f5d4;
  background: rgba(0, 245, 212, 0.15);
}

.sonner-toast.warning {
  border-color: rgba(255, 190, 11, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 190, 11, 0.15);
}
.sonner-toast.warning .sonner-icon {
  color: #ffbe0b;
  background: rgba(255, 190, 11, 0.15);
}

.sonner-toast.info {
  border-color: rgba(37, 244, 238, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 244, 238, 0.15);
}
.sonner-toast.info .sonner-icon {
  color: #25f4ee;
  background: rgba(37, 244, 238, 0.15);
}

.sonner-content {
  flex: 1;
  min-width: 0;
}

.sonner-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.sonner-description {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
  word-break: break-word;
}

.sonner-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: 4px;
  flex-shrink: 0;
}

.sonner-close:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
}

.sonner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  width: 100%;
  transform-origin: left;
  animation: sonnerProgress linear forwards;
}

.sonner-toast.error .sonner-progress { background: #fe2c55; }
.sonner-toast.success .sonner-progress { background: #00f5d4; }
.sonner-toast.warning .sonner-progress { background: #ffbe0b; }
.sonner-toast.info .sonner-progress { background: #25f4ee; }

@keyframes sonnerProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
