.custom-alert-container {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.custom-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.35s ease forwards;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.97;
}

.custom-alert:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Màu theo loại */
.custom-alert.success { background: linear-gradient(135deg, #22c55e, #15803d); }
.custom-alert.error { background: linear-gradient(135deg, #ef4444, #991b1b); }
.custom-alert.warning { background: linear-gradient(135deg, #f59e0b, #b45309); }
.custom-alert.info { background: linear-gradient(135deg, #3b82f6, #1e40af); }

.custom-alert .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-alert .message {
  flex-grow: 1;
  line-height: 1.4;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

.dark .custom-alert {
  color: #e5e7eb;
  box-shadow: 0 6px 18px rgba(255,255,255,0.08);
}
