.flash-overlay {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.flash-toast {
  pointer-events: auto;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  min-width: 280px;
  text-align: center;
  animation: fade-slide 0.3s ease-out;
}
.flash-success { background-color: #4caf50; }
.flash-error   { background-color: #f44336; }
.flash-warning { background-color: #ff9800; }
.flash-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}
@keyframes fade-slide {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}