/* Main notification container */
#sales-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 14px;
    display: flex;
    align-items: center;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Notification when visible */
#sales-notification.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Product image styling */
.notification-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #f0f0f0;
}

/* Content section */
.notification-content {
    flex-grow: 1;
}

/* Heading (customer name) */
.notification-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

/* Product name */
.notification-product {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0 0 4px 0;
}

/* Time indicator */
.notification-time {
    font-size: 12px;
    color: #777;
    margin: 0;
}

/* Verified badge */
.verified-badge {
    display: inline-block;
    background-color: #4caf50;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
}

/* Close button */
.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #bbb;
    font-size: 12px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* Pulse animation for the dot */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    #sales-notification {
        width: calc(100% - 40px);
        max-width: 300px;
        bottom: 10px;
        right: 10px;
    }
    
    .notification-image {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
}