.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    padding: 15px;
    position: relative;
    transition: opacity 0.5s ease;
    position: relative;
    transition: opacity 0.5s ease, transform 0.3s ease;
    transform-origin: top right;
    animation: fadeIn 0.3s forwards;

}

.alert.success {
    border-left-color: #28a745;
    background-color: #d4edda;
}

.alert.error {
    border-left-color: #dc3545;
    background-color: #f8d7da;
}

.alert.warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
}

.alert.info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
}

.alert-content {
    padding-right: 20px;
    padding-bottom: 4px;
    margin-bottom: 6px;
    border-bottom: 1px dashed #040404;
}

.alert-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* Animação de pulsar - corrigida (removida duplicação) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Classe aplicada após 3s - corrigida para aplicar no botão inteiro */
.pulsar {
    animation: pulse 1s infinite;
}

/* Estilo para as imagens dentro dos botões com classe pulsar */
.pulsar img {
    animation: pulse 1s infinite;
}


/* Adicione isso ao seu arquivo CSS */
@keyframes circularBorderColor {
    0% {
        border-color: rgb(255, 0, 0);
    }

    25% {
        border-color: rgb(233, 233, 169);
    }

    50% {
        border-color: rgb(255, 0, 0);
    }

    75% {
        border-color: rgb(255, 233, 169);
    }

    100% {
        border-color: rgb(255, 255, 0);
    }
}

.campo-obrigatorio {
    /* border: 2px solid red; */
    border-radius: 4px;
    animation: circularBorderColor 2s linear infinite;
}