.flash-stack {
  position: relative;
  max-width: 960px;
  margin: 20px auto 8px auto;
  padding: 0 16px;
  z-index: 1200;
}

body.page-admin .flash-stack {
  margin-top: 24px;
}

.flash-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-left: 6px solid #2563eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  animation: flash-pop 0.25s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.flash-card.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
}

.flash-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

.flash-body {
  flex: 1;
}

.flash-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #475569;
}

.flash-text {
  font-size: 1rem;
  color: #0f172a;
}

.flash-text strong {
  font-weight: 700;
}

.flash-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: inherit;
  cursor: pointer;
  padding: 0 6px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.flash-close:hover {
  opacity: 1;
}

.flash-success {
  border-left-color: #16a34a;
  color: #166534;
}

.flash-danger {
  border-left-color: #dc2626;
  color: #991b1b;
}

.flash-warning {
  border-left-color: #f97316;
  color: #9a3412;
}

.flash-info {
  border-left-color: #2563eb;
  color: #1d4ed8;
}

@keyframes flash-pop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
