.flashes {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 80%;
    max-width: 500px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flash-success, .flash-error, .flash-info {
    position: relative;
    background-color: rgba(212, 237, 218, 0.9);
    color: #155724;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.flash-error {
    background-color: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border-color: #f5c6cb;
}

.flash-info {
    background-color: rgba(204, 229, 255, 0.9);
    color: #004085;
    border-color: #b8daff;
}

.flash-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: inherit;
    cursor: pointer;
}



