.donation-alert {
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin-top: 20px;
    display: inline-block;
    min-width: 280px;
    animation: fadeIn 0.4s ease;
}

.donation-alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.donation-alert.error {
    width: 100%;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.donation-alert.loading {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}