/* Container for stacking notifications */
#notify-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse; /* Newest appears at the bottom, pushing old ones up */
    gap: 10px;
    pointer-events: none;
}

/* Individual Toast Box */
.notify-item {
    pointer-events: auto;
    min-width: 280px;
    max-width: 380px;
    background: #ffffff;
    border-left: 5px solid #ccc;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    animation: notify-slide-in 0.3s ease-out forwards;
}

.notify-title { 
    font-weight: 700; 
    margin-bottom: 4px; 
    display: block; 
    font-size: 14px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notify-text { 
    font-size: 14px; 
    color: #444; 
    line-height: 1.4;
}

/* SUCCESS (Green) */
.notify-success { border-left-color: #2ecc71; }
.notify-success .notify-title { color: #27ae60; }

/* MODIFIED (Blue) */
.notify-info { border-left-color: #3498db; }
.notify-info .notify-title { color: #2980b9; }

/* WARNING (Yellow) */
.notify-warning { border-left-color: #f1c40f; }
.notify-warning .notify-title { color: #f39c12; }

/* ERROR/DELETED (Red) */
.notify-deleted, .notify-error { 
    border-left-color: #e74c3c; 
    background-color: #fff5f5; /* Subtle red tint for urgency */
}
.notify-deleted .notify-title, .notify-error .notify-title { color: #c0392b; }

/* Animations */
@keyframes notify-slide-in {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

.notify-fade-out {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}
