/* Add this to your site's CSS file */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
    max-width: 80%;
}

.notification {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slide-in 0.5s ease-out, fade-out 0.5s ease-out 4.5s forwards;
    opacity: 0.95;
}

.notification.success {
    background-color: #4CAF50;
    color: white;
}

.notification.info {
    background-color: #2196F3;
    color: white;
}

.notification.warning {
    background-color: #ff9800;
    color: white;
}

.notification.danger {
    background-color: #f44336;
    color: white;
}

.notification .close-btn {
    float: right;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.95;
    }
}

@keyframes fade-out {
    from {
        opacity: 0.95;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}
