/* Store Realtime Notification Styles */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    word-wrap: break-word;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.notification-success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.notification-warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.notification-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-show {
    transform: translateX(0) !important;
}

.notification-hide {
    transform: translateX(400px) !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification-show {
        transform: translateY(0) !important;
    }
    
    .notification-hide {
        transform: translateY(-100px) !important;
    }
}
