/* 🔔 Toast Notification System */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-content i {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-content span {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

/* Toast Types */
.toast-success {
  border-right: 4px solid #10b981;
}

.toast-success i {
  color: #10b981;
}

.toast-error {
  border-right: 4px solid #ef4444;
}

.toast-error i {
  color: #ef4444;
}

.toast-warning {
  border-right: 4px solid #f59e0b;
}

.toast-warning i {
  color: #f59e0b;
}

.toast-info {
  border-right: 4px solid #3b82f6;
}

.toast-info i {
  color: #3b82f6;
}

/* RTL Support */
[dir="rtl"] .toast-notification {
  right: auto;
  left: 20px;
  transform: translateX(-400px);
}

[dir="rtl"] .toast-notification.show {
  transform: translateX(0);
}

[dir="rtl"] .toast-success,
[dir="rtl"] .toast-error,
[dir="rtl"] .toast-warning,
[dir="rtl"] .toast-info {
  border-right: none;
  border-left: 4px solid;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .toast-notification {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
    transform: translateY(-100px);
  }

  .toast-notification.show {
    transform: translateY(0);
  }

  [dir="rtl"] .toast-notification {
    transform: translateY(-100px);
  }

  [dir="rtl"] .toast-notification.show {
    transform: translateY(0);
  }
}
