/* This container floats on top */
.flash-container {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none; /* So it doesn’t block clicks */
    z-index: 9999;
    margin-top: 18vh;
  }

.flash {
    pointer-events: auto;
    padding: 12px 48px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 90%;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.flash-success {
    background-color: #28a745;
}

.flash-danger {
    background-color: #dc3545;
}
