.alert-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}


.alert-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.alert-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.alert-container.success {
    background-color: #16a34a; /* verde */
}

.alert-container.warning {
    background-color: #f59e0b; /* amarelo */
}

.alert-container.error {
    background-color: #dc2626; /* vermelho */
}

.bounce-in {
    animation: bounce-in 0.5s ease-out;
}

@keyframes bounce-in {
    0% {
        transform: scale(0.95) translateY(-20px);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) translateY(5px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.alert-content {
    position: relative;
}

.progress-bar {
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.6);
    width: 0%;
    animation: progress 6s linear forwards;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}


.message{
    width: 100%;
    padding: 0px 8px;
} 

.text_error{
    color: red;
}