

.error-message {
    color: white !important;
    background-color: lightcoral; /* lighter color for the background */
    padding: 10px; /* space around the text */
    margin: 0 auto;
    /*
    width: 100% !important;
    */
    border-radius: 5px;

    font-weight: bold;
    text-align: justify;

    max-width: 100%; /* Garante que a div não ultrapasse o container pai */
    word-wrap: break-word; /* Permite quebra de palavras longas */
    white-space: normal; /* Garante que o texto quebre em novas linhas */
    overflow-wrap: break-word; /* Alternativa para compatibilidade com navegadores */
}

.info-message {
    color: #106EC5;
    background-color: #E8F3FF;
    padding: 10px; /* space around the text */
    margin: 0 auto;
    width: 100% !important;
    border-radius: 5px;

    font-weight: bold;
    text-align: justify;
}

.warning-message {
    color: white !important;
    background-color: #e6cb5e; /* lighter color for the background */
    padding: 10px; /* space around the text */
    margin: 0 auto;
    width: 100% !important;
    border-radius: 5px;

    font-weight: bold;
    text-align: center;
}

.success-message {
    background-color: #E8FFF2;
    color: #17C653;
    padding: 10px; /* space around the text */
    margin: 0 auto;
    width: 100% !important;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Modify the shake animation to be more subtle */
@keyframes shake {
    0% { transform: translate(0.5px, 0.5px) rotate(0deg); }
    10% { transform: translate(-0.5px, -1px) rotate(-0.5deg); }
    20% { transform: translate(-1.5px, 0px) rotate(0.5deg); }
    30% { transform: translate(1.5px, 1px) rotate(0deg); }
    40% { transform: translate(0.5px, -0.5px) rotate(0.5deg); }
    50% { transform: translate(-0.5px, 1px) rotate(-0.5deg); }
    60% { transform: translate(-1.5px, 0.5px) rotate(0deg); }
    70% { transform: translate(1.5px, 0.5px) rotate(-0.5deg); }
    80% { transform: translate(-0.5px, -0.5px) rotate(0.5deg); }
    90% { transform: translate(0.5px, 1px) rotate(0deg); }
    100% { transform: translate(0.5px, -1px) rotate(-0.5deg); }
}

/* The shake animation */
.animate {
    animation: shake 0.5s; /* half a second shake animation */
    animation-iteration-count: 1; /* shake twice */
}
