/* Container das mensagens */
.message-container{
    position: fixed;    
    z-index: 1000;
    display: flex;
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.alert {
    padding: 12px 20px;
    margin-top: 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    width: 60%;
    align-items: center;
    justify-content: space-between;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Ícones e cores para cada tipo de mensagem */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error, .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Botão de fechar a mensagem */
.alert .close-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
}

.alert .close-btn:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .alert{
        width: 90%;
    }
}
