/* assets/css/notifications.css */

.notification-container {
    position: fixed;
    bottom: 20px;  /* Changed from top to bottom */
    right: 20px;    /* Changed from right to left */
    z-index: 9999;
    width: 300px;
}

.notification {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(-100%);  /* Changed to slide from left */
    transition: all 0.5s ease-in-out;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.fade {
    transition: opacity 0.5s ease-out;
}

.notification-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notification-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.notification-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Ensure Bootstrap toast container sits above app UI */
.toast-container {
    z-index: 1060; /* above modals overlaying content */
}
