/* Purchase Notification Styles */
.purchase-notification {
    position: fixed;
    bottom: 10px;
    left: 20px;
    background: #fff;
    background: #27ae60;;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    width: 400px; 
    z-index: 9999;
    display: none;
    border-left: 4px solid rgba(186, 7, 22);;
    animation: slideInFromLeft 0.3s ease;
    color: white;
}

.purchase-notification.show {
    display: block;
}





.purchase-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}


.purchase-info {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    /* color: #333; */
    margin-bottom: 3px;
}

.purchase-details {
    /* color: #666; */
    font-size: 14px;
}

.time-ago {
    /* color: #999; */
    font-size: 12px;
    margin-top: 5px;
}

/* Slide in from left animation */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Slide out to left animation */
@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .purchase-notification {
        width: 300px;
        left: 10px;
        bottom: 10px;
        padding: 12px;
    }
    
    .purchase-notification-content {
        gap: 8px;
    }
    

    
    .customer-name {
        font-size: 14px;
    }
    
    .purchase-details {
        font-size: 13px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .purchase-notification {
        width: 290px;
        left: 5px;
        bottom: 5px;
        padding: 10px;
    }
}