.flash {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 1rem;
  color: var(--background-color, #fff);
  border-radius: var(--pico-border-radius, 2rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  animation: slide-in 0.3s ease-out, fade-out 0.5s 2.5s forwards;
}

.flash.hello {
  font-size: 50px;
}

.flash.notice {
  background-color: var(--pico-color-green-500, #4caf50); 
}

.flash.alert {
  background-color: var(--pico-color-red-500, #d93526);  
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

.flash-title {
  font-weight: bold;
  margin: 0;
}

.flash-message {
  margin: 0;
}
