.flash-toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1100;
  width: min(92vw, 420px);
}

@media (max-width: 768px) {
  .flash-toast-container {
    top: 50%;
    width: min(92vw, 380px);
  }
}

/* App toast: small, top-right, light green like the reference snippet. */
.flash-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #ffffff; /* base "box" background */
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.flash-toast--success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-toast__badge {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 87, 36, 0.08);
  border: 1px solid rgba(21, 87, 36, 0.18);
  color: #155724;
}

.flash-toast__icon {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.flash-toast__message {
  flex: 1;
  min-width: 0;
}

.flash-toast__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 0 0 0 8px;
  cursor: pointer;
  opacity: 0.7;
}

.flash-toast__close:hover,
.flash-toast__close:focus {
  opacity: 1;
}

.flash-toast.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
