.flash-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
}

.flash-modal {
  position: relative;
  width: min(480px, 90vw);
  padding: 25px;
  background: var(--blush-base);
  border: 1px solid var(--dusk-rose);
  border-radius: 16px;
  box-sizing: border-box;
}

.flash-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.flash-success,
.flash-error {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flash-success h3 {
  color: #16a34a;
}

.flash-error h3 {
  color: #dc2626;
}

/* @media (min-width: 850px) {
  .flash-overlay {
    top: 150px;
    right: 50px;
    left: 0;
    transform: none;
  }
} */
