/* Wrapper – umožní víc zpráv pod sebou */
.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Základní flash box */
.flash {
    min-width: 260px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 1;
    transform: translateY(0);
    transition:
            opacity 0.6s ease,
            transform 0.6s ease;
}

/* Typy */
.flash-success {
    background-color: #2e7d32;
}

.flash-error {
    background-color: #c62828;
}

.flash-info {
    background-color: #1565c0;
}

/* Stav při miznutí */
.flash.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}
